Floppy Disk Controller Confusion
Posted: Sun May 29, 2011 7:09 pm
Hey guys,
So I've been reading Floppy Disk Controller tutorial, and this part is unclear to me.
Verify the result byte is 0x90??? What port?
Thats what I'm wondering about,
Thanks
So I've been reading Floppy Disk Controller tutorial, and this part is unclear to me.
Send a Version command to the controller??? What port?Send a Version command to the controller.
Verify that the result byte is 0x90 -- if it is not, it might be a good idea to abort and not support the floppy subsystem. Almost all of the code based on this article will work, even on the oldest chipsets -- but there are a few commands that will not.
If you don't want to bother having to send another Configure command after every Reset procedure, then:
Send a better Configure command to the controller. A suggestion would be: drive polling mode off, FIFO on, threshold = 8, implied seek on, precompensation 0.
send a Lock command.
Do a Controller Reset procedure.
Send a Recalibrate command to each of the drives.
Verify the result byte is 0x90??? What port?
Thats what I'm wondering about,
Thanks