BIOS workaround to fix network boot after adding USB boot option in Bochs.

CHANGES: removed duplicate line.
This commit is contained in:
Volker Ruppert 2024-10-24 23:33:00 +02:00
parent b3bd4a7eca
commit a94ebf9990
4 changed files with 2 additions and 1 deletions

View File

@ -51,7 +51,6 @@ Detailed change log :
- I/O Devices
- Cirrus SVGA
- Added support for graphics controller mode extensions in VGA mode
- Added support for hardware cursor in VGA mode
- Fixed text mode cursor blinking / text mode cursor rendering issues
- VGA fixes to make original VGABIOS work correctly with WinXP

Binary file not shown.

Binary file not shown.

View File

@ -8386,6 +8386,8 @@ Bit16u seq_nr;
write_word(IPL_SEG, IPL_SEQUENCE_OFFSET, 0xFFFF);
} else if (bootdev == 0) BX_PANIC("No bootable device.\n");
/* Workaround to fix network boot after adding USB boot option in Bochs */
if (bootdev == 6) bootdev = 4;
/* Translate from CMOS runes to an IPL table offset by subtracting 1 */
bootdev -= 1;
#else