mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-08 19:32:39 +08:00
INT 13h emulation: add reminder to self that IDE I/O emulation needs to
reflect geometry translation.
This commit is contained in:
parent
55abd9d907
commit
5030504171
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user