From d09f74cae861e34413fa5c467f5529a1c6c712b4 Mon Sep 17 00:00:00 2001 From: ripsaw8080 Date: Sun, 12 Apr 2020 20:21:12 +0000 Subject: [PATCH] Correct an oversight of r4186 when floppy disks are mounted. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4336 --- src/ints/bios_disk.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ints/bios_disk.cpp b/src/ints/bios_disk.cpp index bb12bb96..963b2e05 100644 --- a/src/ints/bios_disk.cpp +++ b/src/ints/bios_disk.cpp @@ -96,6 +96,7 @@ void incrementFDD(void) { equipment|=(numofdisks<<6); } else equipment|=1; mem_writew(BIOS_CONFIGURATION,equipment); + if (IS_EGAVGA_ARCH) equipment &= ~0x30; //EGA/VGA startup display mode differs in CMOS CMOS_SetRegister(0x14, (Bit8u)(equipment&0xff)); }