When your OS goes crazy - Screenshots
Re: When your OS goes crazy - Screenshots
Forgot to switch to graphics mode before writing to the VBE framebuffer.
- Attachments
-
- vga-vbe.png (11 KiB) Viewed 8252 times
-
- Posts: 10
- Joined: Mon Jun 27, 2011 3:34 pm
Re: When your OS goes crazy - Screenshots
Tried to debug why VGA wasn't working. Forgot to remove the drawing statements.
Sorry Linker, but your function is in another file!
- Lionel
- Member
- Posts: 117
- Joined: Fri Jul 16, 2010 2:16 pm
- Libera.chat IRC: ryanel
- Location: California
Re: When your OS goes crazy - Screenshots
First time my os crashed, big one too!
I was testing normal - c code and I forgot that doing puts(i); Prints that location in memory, so I dumped my kernel into console memory. Then think it dumped GRUB into console memory.
I was testing normal - c code and I forgot that doing puts(i); Prints that location in memory, so I dumped my kernel into console memory. Then think it dumped GRUB into console memory.
Code: Select all
for(false)
{
puts(i);
i++;
}
-
- Member
- Posts: 68
- Joined: Thu May 28, 2009 11:46 pm
Re: When your OS goes crazy - Screenshots
I don't know if this counts as 'crazy', but for some reason the console default color messed up and now text is showing up pink, unless I specify another color.
Tibi,
Currently working on the Lux Operating System
Currently working on the Lux Operating System
Re: When your OS goes crazy - Screenshots
Hehe, cute. Please let us know what caused this, once you find it.chibicitiberiu wrote:I don't know if this counts as 'crazy', but for some reason the console default color messed up and now text is showing up pink, unless I specify another color.
JAL
-
- Member
- Posts: 68
- Joined: Thu May 28, 2009 11:46 pm
Re: When your OS goes crazy - Screenshots
I suspect it's the Log() function, which is very similar to printf... to print colored text, it changes the default color, and then it restores it at the end... for some reason the restore part goes wrong...
Update: Apparently, that was the problem... A few minor edits, and everything seems to work now.
Update: Apparently, that was the problem... A few minor edits, and everything seems to work now.
Tibi,
Currently working on the Lux Operating System
Currently working on the Lux Operating System
Re: When your OS goes crazy - Screenshots
That looks like a language on a different planet.Lionel wrote:
Programming is not about using a language to solve a problem, it's about using logic to find a solution !
Re: When your OS goes crazy - Screenshots
Tried to enable paging; apparently the kernel loved that!
I think I copied the page tables into graphics memory somehow... hehe lets try again
I think I copied the page tables into graphics memory somehow... hehe lets try again
Re: When your OS goes crazy - Screenshots
My OS does not like polish diactrics (UTF-8). Probably coz it's ina VGA console
-
- 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
It seems I've broken rendering in 16-bit colour modes...
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Re: When your OS goes crazy - Screenshots
Trippy. Successful acid trip simulator.xyzzy wrote:It seems I've broken rendering in 16-bit colour modes...
-
- 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
Turns out it's actually a bug with QEMU's Cocoa frontend, it works fine anywhere else
Re: When your OS goes crazy - Screenshots
I was testing my BMP File reader and got this output
On the right - Bochs running my OS
On the left - the original image i was trying to output
On the right - Bochs running my OS
On the left - the original image i was trying to output
Re: When your OS goes crazy - Screenshots
This crash is from the 2005: http://www.durlej.net/sys/crash.png.
Re: When your OS goes crazy - Screenshots
And what did you make post it today, if I may ask?acek wrote:This crash is from the 2005: http://www.durlej.net/sys/crash.png.
JAL