I have a OS that loads from a floppy, when i run it on vmware it work correcly but on bochs the floppy driver fails.
I have also run it on real hardware and it work.
I use bochs 2.4.2 and vmware 1.0.3.
anyone have any idea what the problem could be?
Problem with floppy driver on bochs
Re: Problem with floppy driver on bochs
Does the bochs logfile give any error message?
Re: Problem with floppy driver on bochs
The only thing relvant is 3 controller reset in software messeges but that could be normal from reinitilizing the floppy controler.
Re: Problem with floppy driver on bochs
Assuming it works with real hardware - write to Bochs mailing list / open bug report for Bochs, include disk image with your floppy driver and explain how it should work and how do you see that it doesn't work.gregnfj wrote:The only thing relvant is 3 controller reset in software messeges but that could be normal from reinitilizing the floppy controler.
Stanislav
Re: Problem with floppy driver on bochs
yea i guess ill do that, just thought that maby someone has run into a similar problem before
Re: Problem with floppy driver on bochs
Yeah, if you're doing that you'll want to remove as much code as possible from your OS, then post source and image. Basically, you're trying to maximize the amount and density of relevant information, while lowering both for irrelevant stuff. If you do that, it's much more likely that your problem will be looked into and fixed.stlw wrote:Assuming it works with real hardware - write to Bochs mailing list / open bug report for Bochs, include disk image with your floppy driver and explain how it should work and how do you see that it doesn't work.
Re: Problem with floppy driver on bochs
Oh, there are lots and lots of mistakes in the bochs and qemu floppy emulation. That's part of the problem -- you didn't narrow it down enough. The surprising thing is that it worked right in vmware.gregnfj wrote:yea i guess ill do that, just thought that maby someone has run into a similar problem before
Our wiki lists a few of the things that most emulators get wrong -- but I'm sure I could create a test program that shows bochs and qemu doing 40 different things completely wrong on floppy emulation.