Page 38 of 55
Re: When your OS goes crazy - Screenshots
Posted: Sat Sep 17, 2016 4:56 am
by Ycep
Sik wrote:How did you manage to pull off tha--
...oh
Very simple.
Code: Select all
getch()
{
[...]
if(ShiftPressed)
return shiftkey[scancode];
else
return normalkey[scancode];
[...]
}
Re: When your OS goes crazy - Screenshots
Posted: Sat Sep 17, 2016 7:58 am
by matt11235
Lukand wrote:Sik wrote:How did you manage to pull off tha--
...oh
Very simple.
Code: Select all
getch()
{
[...]
if(ShiftPressed)
return shiftkey[scancode];
else
return normalkey[scancode];
[...]
}
I think you misunderstood his message.
deleted typed * instead of &, Sik wondered how he managed to do that until he realized that they're next to each other on the keyboard.
Re: When your OS goes crazy - Screenshots
Posted: Sun Sep 18, 2016 3:48 am
by osdever
Strange bug with TrueType
Re: When your OS goes crazy - Screenshots
Posted: Mon Sep 19, 2016 6:45 am
by BrightLight
Moved the mouse while the OS was still drawing the window, making it draw an unfinished (and corrupt) back buffer to the display.
Re: When your OS goes crazy - Screenshots
Posted: Mon Sep 19, 2016 7:40 am
by osdever
Offtop:
I don't see the image. Who sees it?
Re: When your OS goes crazy - Screenshots
Posted: Mon Sep 19, 2016 8:02 am
by Octacone
catnikita255 wrote:Offtop:
I don't see the image. Who sees it?
same I can't see it
omarrx024(your last image)
Re: When your OS goes crazy - Screenshots
Posted: Mon Sep 19, 2016 8:25 am
by BrightLight
Re: When your OS goes crazy - Screenshots
Posted: Tue Sep 20, 2016 7:38 am
by Ycep
Strange image.
I usually do not post there (I posted only once, and never again) there. You would be suprised when you could see how my OS looks like (negative) in this 30% done-developement stages...
Re: When your OS goes crazy - Screenshots
Posted: Tue Sep 20, 2016 11:10 pm
by BrightLight
Lukand wrote:Strange image.
It is. It happened because a bug in my window creation function, in which IRQs are allowed to happen. So when the mouse is moved, the OS uses XMM registers to redraw the screen (an SSE memcpy really.) Yet, the graphics code is using the same XMM registers for alpha blending, thus corrupting the state and making weird colors. I should add SIMD context saving to my IRQ handler.
Re: When your OS goes crazy - Screenshots
Posted: Wed Sep 21, 2016 2:09 am
by Brendan
Hi,
omarrx024 wrote:Lukand wrote:Strange image.
It is. It happened because a bug in my window creation function, in which IRQs are allowed to happen. So when the mouse is moved, the OS uses XMM registers to redraw the screen (an SSE memcpy really.) Yet, the graphics code is using the same XMM registers for alpha blending, thus corrupting the state and making weird colors. I should add SIMD context saving to my IRQ handler.
That's 2 bugs - using SSE within an IRQ handler (for any reason); and touching one device's stuff (video) from a completely unrelated device driver (mouse).
Cheers,
Brendan
Re: When your OS goes crazy - Screenshots
Posted: Wed Sep 21, 2016 5:18 am
by osdever
Green starfield. Hello to GlauxOS!
Re: When your OS goes crazy - Screenshots
Posted: Thu Sep 22, 2016 4:34 am
by SpyderTL
catnikita255 wrote:Green starfield. Hello to GlauxOS!
I will be genuinly impressed if you tell me that the system is in text mode when this happens.
Re: When your OS goes crazy - Screenshots
Posted: Thu Sep 22, 2016 6:49 am
by osdever
No, it's 1024x768x32.
Re: When your OS goes crazy - Screenshots
Posted: Thu Sep 22, 2016 10:45 pm
by Sik
On the flipside, once on Windows 98 I got a S3 driver to glitch when switching video modes and I ended up with text mode with an arrow in the middle (and a column of glitch pixels to go along, while we're at it), so it's not exactly an impossible feat.
Re: When your OS goes crazy - Screenshots
Posted: Fri Sep 23, 2016 1:36 am
by osdever
Wow!