IDE: Set busy status at start of seek and restore commands.

Fixes bootup of Commodore SL386SX-25 with two hard drives present.
This commit is contained in:
SarahW
2022-02-06 18:06:49 +00:00
parent 0c840c7bf0
commit 714c0ed2b8

View File

@@ -471,7 +471,7 @@ void writeide(int ide_board, uint16_t addr, uint8_t val)
case WIN_RESTORE:
case WIN_SEEK:
// pclog("WIN_RESTORE start\n");
ide->atastat = READY_STAT;
ide->atastat = READY_STAT | BUSY_STAT;
timer_set_delay_u64(&ide_timer[ide_board], 100 * IDE_TIME);
return;