I am somewhat stuck here. Basically, I have the FDC operating in Non-DMA mode. When I issue a test read command to the FDC:
Code: Select all
flpydsk_send_command (
FDC_CMD_READ_SECT | FDC_CMD_EXT_MULTITRACK | FDC_CMD_EXT_SKIP | FDC_CMD_EXT_DENSITY);
flpydsk_send_command ( 0);//head << 2 | _CurrentDrive );
flpydsk_send_command ( 0);//track);
flpydsk_send_command ( 0);//head);
flpydsk_send_command ( 1);//sector);
flpydsk_send_command ( FLPYDSK_SECTOR_DTL_512 );
flpydsk_send_command ( 18 );//FLPY_SECTORS_PER_TRACK ); //! --can be last sector to transfer...
flpydsk_send_command ( FLPYDSK_GAP3_LENGTH_3_5 );
flpydsk_send_command ( 512);
I get an IRQ afterwords for the completion of the command where the status (st0) says everything is fine. No other interrupt is generated.
The specifications state that I should get an IRQ for every byte transferred before the results phase but I do not, which is where my problem is at. Im not sure where else to look at the moment...
Does anyone have any suggestions at where I might be going wrong? I am happy with posting more code if needed.
Thanks for any help