Page 1 of 1

MS Virtual PC

Posted: Sat Aug 29, 2009 8:09 pm
by ehenkes
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. :?

Re: MS Virtual PC

Posted: Sun Aug 30, 2009 3:56 am
by pathos
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.

Re: MS Virtual PC

Posted: Mon Feb 15, 2010 11:48 pm
by ehenkes
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