From 8afc061422d37da14dd602124fe5aae9e71a17f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Thu, 5 Jul 2007 19:36:53 +0000 Subject: [PATCH] disable MMIO on modeswitch Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2918 --- 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 43a23eda..8870f3a6 100644 --- a/src/ints/int10_modes.cpp +++ b/src/ints/int10_modes.cpp @@ -995,6 +995,7 @@ dac_text16: } IO_Write(crtc_base,0x31);IO_Write(crtc_base+1,reg_31); //Enable banked memory and 256k+ access IO_Write(crtc_base,0x58);IO_Write(crtc_base+1,0x3); //Enable 8 mb of linear addressing + IO_Write(crtc_base,0x53);IO_Write(crtc_base+1,0x0); //Disable MMIO IO_Write(crtc_base,0x38);IO_Write(crtc_base+1,0x48); //Register lock 1 IO_Write(crtc_base,0x39);IO_Write(crtc_base+1,0xa5); //Register lock 2