From 01e3789c49cd69e1f87c9d027692d770c2970111 Mon Sep 17 00:00:00 2001 From: ripsaw8080 Date: Sun, 5 Aug 2018 13:28:29 +0000 Subject: [PATCH] Leave attribute controller in index state after a mode change. Some video BIOS do this, some don't, but it works around a flaw in the Kukoo2 demo. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4134 --- src/ints/int10_modes.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ints/int10_modes.cpp b/src/ints/int10_modes.cpp index b10f233b..795013e7 100644 --- a/src/ints/int10_modes.cpp +++ b/src/ints/int10_modes.cpp @@ -1458,6 +1458,7 @@ dac_text16: /* Set vga attrib register into defined state */ IO_Read(mono_mode ? 0x3ba : 0x3da); IO_Write(0x3c0,0x20); + IO_Read(mono_mode ? 0x3ba : 0x3da); // Kukoo2 demo /* Load text mode font */ if (CurMode->type==M_TEXT) {