From: sparky4 Date: Tue, 17 May 2016 19:13:12 +0000 (-0500) Subject: joncampbell what is going on? ^^ X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=a623608e6e3c09a70b3377527e6943b3cf56a2b7;p=16.git joncampbell what is going on? ^^ --- 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);