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:
@@ -1240,6 +1240,10 @@ void fdc_poll_common_finish(int compare, int st5)
|
|||||||
fdc.res[5] |= 0x20;
|
fdc.res[5] |= 0x20;
|
||||||
fdc.res[6] |= 0x20;
|
fdc.res[6] |= 0x20;
|
||||||
}
|
}
|
||||||
|
if (fdc.satisfying_sectors & 4)
|
||||||
|
{
|
||||||
|
fdc.res[5] |= 0x04;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
fdc.res[7]=fdc.rw_track;
|
fdc.res[7]=fdc.rw_track;
|
||||||
fdc.res[8]=fdc.head;
|
fdc.res[8]=fdc.head;
|
||||||
|
Reference in New Issue
Block a user