mirror of
https://github.com/sarah-walker-pcem/pcem.git
synced 2025-07-23 03:33:02 +02:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user