Weird on computer - works in Bochs

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Dolph

Weird on computer - works in Bochs

Post by Dolph »

Ive written a small OS with a bootloader and a kernel..it works great in bochs but today when I tried it on the computer, I saw saw a buncha weird characters on the screen..how come? Is bochs more "kind" than the computer in any way?
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Weird on computer - works in Bochs

Post by Pype.Clicker »

quotingBohcs page on the FAQ,
Why does my code work in Bochs, but not on real hardware ?

Bochs enables A20Line in the BIOS
in Bochs, memory is always filled with zero until you (or the BIOS) put something else.
Bochs floppy has no errors
Post Reply