From: Robert Pengelly Date: Tue, 20 Oct 2026 11:27:53 +0000 (+0100) Subject: Added support for INT 10h video adapter detection X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=7766bf2a4c048461cffa959d11c2687e5d3a302a;p=dosemu.git Added support for INT 10h video adapter detection --- diff --git a/interrupts.c b/interrupts.c index 9712e1d..e0dec09 100644 --- a/interrupts.c +++ b/interrupts.c @@ -8562,6 +8562,16 @@ static void int_10 (CPU8086 *cpu) { set_reg8 (cpu, 4, (uint8_t) bios_video_columns); break; + case 0x12: /* EGA/VGA alternate function select */ + + /* No EGA/VGA: leave BL=10h unchanged for EGA detection. */ + break; + + case 0x1A: /* VGA display combination code */ + + /* No VGA: leave AL unchanged instead of returning AL=1Ah. */ + break; + default: printf ("Unknown Video Function 0x%02X\n", ah);