1
0
Fork 0

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
This commit is contained in:
Peter Veenstra 2002-11-28 19:47:36 +00:00
parent 7e0be98e8c
commit cfb007c9cf

View file

@ -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: