IDE changes and ported the IDE commit from PCem.

This commit is contained in:
OBattler
2020-03-23 09:00:44 +01:00
parent 590583f7ad
commit 103bdacfaa
3 changed files with 43 additions and 4 deletions

View File

@@ -463,7 +463,7 @@ mfm_readw(uint16_t port, void *priv)
mfm->secount = (mfm->secount - 1) & 0xff;
if (mfm->secount) {
next_sector(mfm);
mfm->status = STAT_BUSY;
mfm->status = STAT_BUSY | STAT_READY | STAT_DSC;
timer_set_delay_u64(&mfm->callback_timer, SECTOR_TIME);
} else
ui_sb_update_icon(SB_HDD|HDD_BUS_MFM, 0);