From cfb007c9cfda53069024b23d56ce3212d2e22f09 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Thu, 28 Nov 2002 19:47:36 +0000 Subject: [PATCH] changed int 13 00 and 02 a bit hopefully this will fix things Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@545 --- src/ints/bios_disk.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ints/bios_disk.cpp b/src/ints/bios_disk.cpp index 14f10e0b..cb53cb28 100644 --- a/src/ints/bios_disk.cpp +++ b/src/ints/bios_disk.cpp @@ -31,9 +31,14 @@ static Bit8u last_status; static Bitu INT13_SmallHandler(void) { switch (reg_ah) { + case 0x0: + reg_ah=0x00; + CALLBACK_SCF(false); + LOG_DEBUG("reset disk return succesfull"); + break; case 0x02: /* Read Disk Sectors */ LOG_DEBUG("INT13:02:Read Disk Sectors not supported failing"); - reg_ah=0xff; + reg_ah=0x80; CALLBACK_SCF(true); break; case 0x04: