From 7bc1d6fdca4952074f576e55fb19f7b390fee4e9 Mon Sep 17 00:00:00 2001 From: waltje Date: Mon, 19 Jun 2017 22:37:17 -0400 Subject: [PATCH] Applied PCem patch for ide.c to make the Samsung 4200P work. --- src/ide.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ide.c b/src/ide.c index 86ef8b78c..e296770f2 100644 --- a/src/ide.c +++ b/src/ide.c @@ -9,7 +9,7 @@ * Implementation of the IDE emulation for hard disks and ATAPI * CD-ROM devices. * - * Version: @(#)ide.c 1.0.3 2017/06/17 + * Version: @(#)ide.c 1.0.4 2017/06/20 * * Authors: Sarah Walker, * Miran Grca, @@ -1059,7 +1059,11 @@ void writeide(int ide_board, uint16_t addr, uint8_t val) case WIN_SLEEP1: if (val == WIN_DRIVE_DIAGNOSTICS) { + ide->atastat = BUSY_STAT; + timer_process(); callbackide(ide_board); + idecallback[ide_board]=200*IDE_TIME; + timer_update_outstanding(); } else {