Floppy Problem
Floppy Problem
Hi all. I wrote a floppy controller header file. But when i readed main status register, always it is returning 0 value. Is it want initializing? What is the problem? My document is showing port number 0x03F4.
Re:Floppy Problem
For send a command, i write this code:
while( floppy.is_ready_for_command() == false )
{}
is_ready_for_command reads "main status register" and returns status. But this is locking computer.
while( floppy.is_ready_for_command() == false )
{}
is_ready_for_command reads "main status register" and returns status. But this is locking computer.
Re:Floppy Problem
I do not use C, but if you compear your code to my asm (which is commented to go with intel floppy controler pdf.
may help ?.
http://www.dex4u.com/images/FloppyDriver.zip
may help ?.
http://www.dex4u.com/images/FloppyDriver.zip