Bochs problem (again :D)

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
Platon

Bochs problem (again :D)

Post by Platon »

Hello,
I'm having a problem with bochs too...
I've written my bootloader which switches to protected mode, and loads my C kernel (it justs display a message). It works perfectly on 2 real PCs, but when I try to boot from bochs, it says 'Booting from floppy' ... and nothing happens.

My bochs configuration should be OK : boot is defined on floppy...

Any idea ?

Thanks...
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:Bochs problem (again :D)

Post by Pype.Clicker »

That may be any of the "common mistakes in bootsectors": wrong CS:IP assumption, wrong A20 status assumption, etc. I suggest you get a look at the TroubleShooting category in the WikiFAQ ...

If you can also set up a break point at 7c00 in a debugger-enabled bochs and proceed step by step, you might figure out what's wrong in a better way ...
Post Reply