INT 13h emulation: add reminder to self that IDE I/O emulation needs to

reflect geometry translation.
This commit is contained in:
Jonathan Campbell 2013-10-26 11:15:29 -07:00
parent 55abd9d907
commit 5030504171

View File

@ -430,6 +430,7 @@ static Bitu INT13_DiskHandler(void) {
last_status = imageDiskList[drivenum]->Read_Sector((Bit32u)reg_dh, (Bit32u)(reg_ch | ((reg_cl & 0xc0)<< 2)), (Bit32u)((reg_cl & 63)+i), sectbuf);
/* IDE emulation: simulate change of IDE state that would occur on a real machine after INT 13h */
/* FIXME: What about geometry translation??? */
IDE_EmuINT13DiskReadByBIOS(reg_dl, (Bit32u)(reg_ch | ((reg_cl & 0xc0)<< 2)), (Bit32u)reg_dh, (Bit32u)((reg_cl & 63)+i));
if((last_status != 0x00) || (killRead)) {