From 8688dc9702a005b25079ca9e45cf0eb871dd0bb6 Mon Sep 17 00:00:00 2001 From: ripsaw8080 Date: Mon, 8 Apr 2019 21:13:00 +0000 Subject: [PATCH] Add IBM signature in EGA video BIOS for compatibility. Fixes EGA detection in 221 B Baker Street. Also include trailing space in signature in case it is checked with word values. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4204 --- src/ints/int10_memory.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/ints/int10_memory.cpp b/src/ints/int10_memory.cpp index 2bfd42fc..e3c40e2a 100644 --- a/src/ints/int10_memory.cpp +++ b/src/ints/int10_memory.cpp @@ -133,12 +133,10 @@ void INT10_SetupRomMemory(void) { // set up the start of the ROM phys_writew(rom_base+0,0xaa55); phys_writeb(rom_base+2,0x40); // Size of ROM: 64 512-blocks = 32KB - if (IS_VGA_ARCH) { - phys_writeb(rom_base+0x1e,0x49); // IBM string - phys_writeb(rom_base+0x1f,0x42); - phys_writeb(rom_base+0x20,0x4d); - phys_writeb(rom_base+0x21,0x00); - } + phys_writeb(rom_base+0x1e,0x49); // IBM string + phys_writeb(rom_base+0x1f,0x42); + phys_writeb(rom_base+0x20,0x4d); + phys_writeb(rom_base+0x21,0x20); int10.rom.used=0x100; }