When your OS goes crazy - Screenshots
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 ):
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? )
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 ^_^
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 ):
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? )
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 ^_^
Last edited by finarfin on Sat Jan 17, 2009 6:01 pm, edited 1 time in total.
Elen síla lúmenn' omentielvo
- DreamOS64 - My latest attempt with osdev: https://github.com/dreamos82/Dreamos64
- Osdev Notes - My notes about osdeving! https://github.com/dreamos82/Osdev-Notes
- My old Os Project: https://github.com/dreamos82/DreamOs
- DreamOS64 - My latest attempt with osdev: https://github.com/dreamos82/Dreamos64
- Osdev Notes - My notes about osdeving! https://github.com/dreamos82/Osdev-Notes
- My old Os Project: https://github.com/dreamos82/DreamOs
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.
Getting back in the game.
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: When your OS goes crazy - Screenshots
This happened when I tried to do 8x8 font in 640x480 VGA mode
- Attachments
-
- oh noes.png (8.91 KiB) Viewed 175944 times
- Love4Boobies
- Member
- Posts: 2111
- Joined: Fri Mar 07, 2008 5:36 pm
- Location: Bucharest, Romania
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?
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
[ Project UDI ]
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...
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...
OS Development Series | Wiki | os | ncc
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
char c[2]={"\x90\xC3"};int main(){void(*f)()=(void(__cdecl*)(void))(void*)&c;f();}
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: When your OS goes crazy - Screenshots
Love4Boobies wrote:What exactly did you do?
Code: Select all
mov ax,0012h ; Set up 640x480 graphics mode
xor bx,bx
int 10h
mov ax,1112h ; Use 8x8 font
xor bx,bx
int 10h
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.
Re: When your OS goes crazy - Screenshots
ooo pretty. =)
I don't have any shots yet, when I do I'll post.
I don't have any shots yet, when I do I'll post.
Website: https://joscor.com
-
- Member
- Posts: 391
- Joined: Wed Jul 25, 2007 8:45 am
- Libera.chat IRC: aejsmith
- Location: London, UK
- Contact:
Re: When your OS goes crazy - Screenshots
I just went through my screenshots directory and picked up all the screw-ups I could find:
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!
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
When my PNG display application went wrong =)
Font setting fail!
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!
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
When my PNG display application went wrong =)
Font setting fail!
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: When your OS goes crazy - Screenshots
Consider it a novel method of setting leetspeak fontFont setting fail!
- Firestryke31
- Member
- Posts: 550
- Joined: Sat Nov 29, 2008 1:07 pm
- Location: Throw a dart at central Texas
- Contact:
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!
Owner of Fawkes Software.
Wierd Al wrote: You think your Commodore 64 is really neato,
What kind of chip you got in there, a Dorito?
Re: When your OS goes crazy - Screenshots
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 :).Love4Boobies wrote:WHY RED?
JAL
-
- Member
- Posts: 368
- Joined: Sun Sep 23, 2007 4:52 am
Re: When your OS goes crazy - Screenshots
When I tried to resume Windows:
The smilies were blinking on and off.
The smilies were blinking on and off.
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
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
Regards
Shrek
-
- Member
- Posts: 368
- Joined: Sun Sep 23, 2007 4:52 am
Re: When your OS goes crazy - Screenshots
As if they didn't chose to let the drivers run with maximum privileges...Shrek wrote:Most the time windows crashes due to poorly written third party drivers , Microsoft cannot take the blame for that.
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?