MS Virtual PC

If you are new to OS Development, plan on spending some time here first before going into the other forums.

Moderator: Moderators

Post Reply
ehenkes
Posts: 34
Joined: Fri Jul 24, 2009 5:35 pm

MS Virtual PC

Post by ehenkes » Sat Aug 29, 2009 8:09 pm

Is there a solution to use MS Virtual PC instead of Bochs for reading and writing data with the FDC of Demo 15 in chapter 20? Currently, it does not work. I think this was already mentioned in a thread, but I did not find it. :?

pathos
Moderator
Posts: 97
Joined: Thu Jan 10, 2008 6:43 pm
Location: USA

Re: MS Virtual PC

Post by pathos » Sun Aug 30, 2009 3:56 am

ehenkes wrote:Is there a solution to use MS Virtual PC instead of Bochs for reading and writing data with the FDC of Demo 15 in chapter 20? Currently, it does not work. I think this was already mentioned in a thread, but I did not find it. :?
The problem I had was with both Bochs and Virtual PC, and it was with the keyboard, not the FDC. I fixed it by, essential, putting the OS together piece by piece.

ehenkes
Posts: 34
Joined: Fri Jul 24, 2009 5:35 pm

Re: MS Virtual PC

Post by ehenkes » Mon Feb 15, 2010 11:48 pm

I think the hub of the wheel is the autoinit bit of the DMA, which does not work reliable with real hardware and is not supported by MS Virtual PC. Hence, the best way is to avoid it and initialize just before reading/writing data between floppy and DMA:
http://wiki.osdev.org/DMA#Floppy_Disk_DMA_Programming (see my comment)
http://www.c-plusplus.de/forum/viewtopi ... is-15.html

Post Reply