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...
Bochs problem (again :D)
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Bochs problem (again :D)
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 ...
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 ...