From a623608e6e3c09a70b3377527e6943b3cf56a2b7 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Tue, 17 May 2016 14:13:12 -0500 Subject: [PATCH] joncampbell what is going on? ^^ --- src/lib/modex16.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 25399014..a2bbb204 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -85,6 +85,9 @@ void modexEnter(sword vq, boolean cmem, global_game_variables_t *gv) vgaSetMode(VGA_256_COLOR_MODE); vga_enable_256color_modex(); + /* reprogram the CRT controller */ + outp(CRTC_INDEX, 0x11); /* VSync End reg contains register write prot */ + outp(CRTC_DATA, 0x7f); /* get current write protect on varios regs */ update_state_from_vga(); vga_read_crtc_mode(&cm); -- 2.39.5