From 1802f8ea50b7235df41dd955c3d49c8661717fa8 Mon Sep 17 00:00:00 2001 From: OBattler Date: Tue, 17 Jan 2017 01:14:37 +0100 Subject: [PATCH] Status is now hardwired to 0x30 instead of 0x10 for empty IDE channels. --- src/ide.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ide.c b/src/ide.c index 8484cec95..4d24a1314 100644 --- a/src/ide.c +++ b/src/ide.c @@ -1329,9 +1329,9 @@ uint8_t readide(int ide_board, uint16_t addr) if ((addr == 0x1f7) || (addr == 0x3f6)) { /* This is apparently required for an empty ID channel. */ - ide_log("Reading port %04X on empty IDE channel, returning 0x20...\n", addr); + ide_log("Reading port %04X on empty IDE channel, returning 0x30...\n", addr); // return 0x20; - return DSC_STAT; + return 0x20 | DSC_STAT; } ide_log("Reading port %04X on empty IDE channel, returning zero...\n", addr); return 0;