Problem with floppy driver on 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
gregnfj
Posts: 3
Joined: Wed Apr 21, 2010 8:45 am

Problem with floppy driver on bochs

Post by gregnfj »

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?
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: Problem with floppy driver on bochs

Post by bewing »

Does the bochs logfile give any error message?
gregnfj
Posts: 3
Joined: Wed Apr 21, 2010 8:45 am

Re: Problem with floppy driver on bochs

Post by gregnfj »

The only thing relvant is 3 controller reset in software messeges but that could be normal from reinitilizing the floppy controler.
stlw
Member
Member
Posts: 357
Joined: Fri Apr 04, 2008 6:43 am
Contact:

Re: Problem with floppy driver on bochs

Post by stlw »

gregnfj wrote:The only thing relvant is 3 controller reset in software messeges but that could be normal from reinitilizing the floppy controler.
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.

Stanislav
gregnfj
Posts: 3
Joined: Wed Apr 21, 2010 8:45 am

Re: Problem with floppy driver on bochs

Post by gregnfj »

yea i guess ill do that, just thought that maby someone has run into a similar problem before
Selenic
Member
Member
Posts: 123
Joined: Sat Jan 23, 2010 2:56 pm

Re: Problem with floppy driver on bochs

Post by Selenic »

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.
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.
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: Problem with floppy driver on bochs

Post by bewing »

gregnfj wrote:yea i guess ill do that, just thought that maby someone has run into a similar problem before
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.
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.
Post Reply