VOGONS


First post, by danoon

User metadata
Rank Member
Rank
Member

bios_disk.c

static Bitu INT13_DiskHandler(void) {
...
case 0x08: /* Get drive parameters */
if(driveInactive(drivenum)) {
last_status = 0x07;
reg_ah = last_status;
CALLBACK_SCF(true);
return CBRET_NONE;
}
reg_ax = 0x00;
reg_bl = imageDiskList[drivenum]->GetBiosType();

Looking at specs, and the other cases in int13, I believe reg_ax = 0x00 should be reg_ah = 0x00

This doesn't fix any bugs that I know of, but I was looking around this part of the code and noticed it.