From db0aef34cfc405395cdcd97ebb536b81241c3c7f Mon Sep 17 00:00:00 2001 From: Ralf Grillenberger Date: Mon, 9 Nov 2009 16:33:02 +0000 Subject: [PATCH] Don't touch the monochrome adapter if the BIOS equipment word is set to color card - fixes Testdrive in Hercules mode Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3497 --- src/ints/int10_modes.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ints/int10_modes.cpp b/src/ints/int10_modes.cpp index c74e9ebb..1b2666c7 100644 --- a/src/ints/int10_modes.cpp +++ b/src/ints/int10_modes.cpp @@ -445,6 +445,8 @@ bool INT10_SetVideoMode_OTHER(Bit16u mode,bool clearmem) { } break; case MCH_HERC: + // Only init the adapter if the equipment word is set to monochrome (Testdrive) + if ((real_readw(BIOSMEM_SEG,BIOSMEM_INITIAL_MODE)&0x30)!=0x30) return false; CurMode=&Hercules_Mode; break; }