Added Samsung SPC-4200P emulation.

IDE Drive Diagnostics command now doesn't complete immediately (required by SPC-4200P BIOS).
Patch from Greatpsycho.
This commit is contained in:
SarahW 2017-07-16 16:17:59 +01:00
commit 9521237b0b
5 changed files with 17 additions and 0 deletions

View file

@ -1045,6 +1045,12 @@ void writeide(int ide_board, uint16_t addr, uint8_t val)
return;
case WIN_DRIVE_DIAGNOSTICS: /* Execute Drive Diagnostics */
ide->atastat = BUSY_STAT;
timer_process();
idecallback[ide_board]=200*IDE_TIME;
timer_update_outstanding();
return;
case WIN_PIDENTIFY: /* Identify Packet Device */
case WIN_SET_MULTIPLE_MODE: /*Set Multiple Mode*/
// output=1;