FDC programming
Posted: Fri Dec 31, 2004 4:29 pm
Hello,
Before using the DMA for my floppy driver, I would like to fully understand how the FDC itself works. That's why I will first be using the FDC without the DMA then programming it to use the DMA.
My question is how to actually read a sector. I know approximately how to send the read command then the parameters (drive, sector, track, ...) but when these are done, I don't know what to do next, especially from where do I load the read sector. I know it's done by reading the data port (1f0) with hard drives but how to do it with floppies.
Thank you in advance.
Before using the DMA for my floppy driver, I would like to fully understand how the FDC itself works. That's why I will first be using the FDC without the DMA then programming it to use the DMA.
My question is how to actually read a sector. I know approximately how to send the read command then the parameters (drive, sector, track, ...) but when these are done, I don't know what to do next, especially from where do I load the read sector. I know it's done by reading the data port (1f0) with hard drives but how to do it with floppies.
Thank you in advance.