The "sector ID mismatch" condition reported by the READ TRACK command is now taken into account when return the status at the end of the command.

This commit is contained in:
OBattler
2016-11-11 03:19:39 +01:00
parent beb4e7869d
commit 0d6bdffa83

View File

@@ -1240,6 +1240,10 @@ void fdc_poll_common_finish(int compare, int st5)
fdc.res[5] |= 0x20;
fdc.res[6] |= 0x20;
}
if (fdc.satisfying_sectors & 4)
{
fdc.res[5] |= 0x04;
}
}
fdc.res[7]=fdc.rw_track;
fdc.res[8]=fdc.head;