Bochs and Virtual 8086

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
Gandalf

Bochs and Virtual 8086

Post by Gandalf »

hi friends,

till now bochs was good enough to test my OS (Dynacube Operating System) but when I started coding Virtual Monitor for the v8086 mode bochs did a triple fault instead of handing out a GPF to my ISR. Im sure there is nothing wrong with my code as VMWare correctly handles the v8086 and passes a GPF to my GPF handler. When I tried my code with my machine - the result was the same.

Is there some bug in bochs ?

Also I have tried to get an academic license for simics - problem is that their email doesn't land into my inbox(so in a manner of speaking I am blocked).
Does VMWare have a debugger with it ?

Help me find a better simulator.

Thanking you,
Gandalf
carbonBased

RE:Bochs and Virtual 8086

Post by carbonBased »

If I recall correctly, Bochs runs Win95 without issue, doesn't it?  If this is the case, then it's VM86 handling code must be working fine, and I would suspect you have a small bug in your code, perhaps.

I've had code work under VMWare before, but fail on a real machine, and vise versa.  In both conditions, I had a small bug in my code.

VMWare doesn't have a debugger, no.  I really wish it did, because it's a nice virtual machine -- although, it refuses to run on my new SuSE setup!  I'm not quite sure what's wrong... the same kernel that worked before, now hangs mid way though :)

Cheers,
Jeff
Guest

RE:Bochs and Virtual 8086

Post by Guest »

>Is there some bug in bochs ?

Yes. It crashes if you try to run 32-bit DOS programs (e.g. DJGPP)

Even the newest version of Bochs does this.
Post Reply