OSDev.org
https://forum.osdev.org/

When your OS goes crazy - Screenshots
https://forum.osdev.org/viewtopic.php?f=1&t=18924
Page 1 of 50

Author:  finarfin [ Sat Jan 17, 2009 2:27 pm ]
Post subject:  When your OS goes crazy - Screenshots

We have a post called "What does your OS look like? (Screen Shots..)"

and i thought: "Why don't do a post with screenshots of our OS when it goes crazy?"

When we are coding, and our new pieces of code make our OS to strange things, print unprintable and etc.

I begin with my screenshot (i collect them :D):
Image
That happens when i was trying in old version of my OS the task switching (I had the feeling that the OS was laughing at me?, wath do you think? :D)

Image
That happens when i insert a very very long command (over 260 characters).

If you have screenshot of your Os when it goes crazy i think it would be nice to post them here.

bye ^_^

Author:  LordMage [ Sat Jan 17, 2009 5:52 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

Wish I had know this was going to be posted, I had mine spew a few hours ago, I fixed the problem though and didn't think to get a screenie.

Author:  Troy Martin [ Sat Jan 17, 2009 6:00 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

This happened when I tried to do 8x8 font in 640x480 VGA mode :)

Attachments:
oh noes.png
oh noes.png [ 8.91 KiB | Viewed 75654 times ]

Author:  Love4Boobies [ Sat Jan 17, 2009 7:28 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

Gee, Troy... I remember getting similar results back in the days of Borland Pascal's graphics unit. Borland compilers came with video drivers for a few popular video cards (except generic ones like VGA). I never knew what the hell caused those red pixels to appear. I thought it had something to do with their implementation; WHY RED? What exactly did you do?

Author:  neon [ Sat Jan 17, 2009 8:11 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

I forget what I was doing but I remember one time when I was clearing a region of memory. I watched the system (It was printing some info out). Nothing much new. Then out of nowhere a few seconds later the entire display turned black.

Turns out I was overwriting a buffer somewhere infinitely with the value 0...That could have turned nasty when it reached the end of memory...or even before reaching the end of memory...

Author:  Troy Martin [ Sat Jan 17, 2009 8:46 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

Love4Boobies wrote:
What exactly did you do?

Code:
mov ax,0012h    ; Set up 640x480 graphics mode
xor bx,bx
int 10h

mov ax,1112h    ; Use 8x8 font
xor bx,bx
int 10h

Author:  froggey [ Sat Jan 17, 2009 11:09 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

This happened after I messed up a memcpy and dumped my kernel's debug info to VGA memory. :)

Attachments:
duuude.png
duuude.png [ 36.52 KiB | Viewed 72580 times ]

Author:  01000101 [ Sat Jan 17, 2009 11:36 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

ooo pretty. =)

I don't have any shots yet, when I do I'll post.

Author:  xyzzy [ Sun Jan 18, 2009 2:13 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

I just went through my screenshots directory and picked up all the screw-ups I could find:

Image
Really old version of my kernel - don't quite remember what happened but it looks like the panic function is causing an exception, causing a recursive panic. Fun! :D

Image
Quite recently when I was writing my terminal driver - bad memcpy in the scrolling code! I think it had ended up copying part of the kernel onto the VGA memory

Image
When my PNG display application went wrong =)

Image
Font setting fail! :)

Author:  Combuster [ Sun Jan 18, 2009 5:31 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

Quote:
Font setting fail!
Consider it a novel method of setting leetspeak font :)

Author:  Firestryke31 [ Sun Jan 18, 2009 10:41 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

Heh, if you still have the code that did that, you could just for laughs implement some sort of 'mirrored mode.' Plus, if you did that, you'd have most of the code for a RTL language!

Author:  jal [ Wed Jan 21, 2009 5:00 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

Love4Boobies wrote:
WHY RED?


The character font resides at plane 2 (EGA, VGA) and 3 (VGA) in text mode (plane 0 = character, plane 1 = attribute). When setting the (text mode) font, the BIOS writes to plane 2. It just so happens that writing to plane 2 encodes for attribute 0100b, which is dark red. I doubt it having anything to do with your BGI problems of yore :).


JAL

Author:  Craze Frog [ Tue Jan 27, 2009 6:16 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

When I tried to resume Windows:
The smilies were blinking on and off.

Image
Image

Author:  DeletedAccount [ Tue Jan 27, 2009 11:33 am ]
Post subject:  Re: When your OS goes crazy - Screenshots

Thats possibly a hardware issue . Most the time windows crashes due to poorly written third party drivers , Microsoft cannot take the blame for that .

Regards
Shrek

Author:  Craze Frog [ Tue Jan 27, 2009 3:13 pm ]
Post subject:  Re: When your OS goes crazy - Screenshots

Shrek wrote:
Most the time windows crashes due to poorly written third party drivers , Microsoft cannot take the blame for that.
As if they didn't chose to let the drivers run with maximum privileges...

I've already had three Microsoft HQL certified drivers (one written by Microsoft) on this computer which shouldn't have passed the certification because they blatantly violates the specifications by huge amounts (up to 130 times as long block as maximium allowed). If MS can't take the blame for certifying drivers that don't comply with their own specifications, who can?

Page 1 of 50 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/