]> 4ch.mooo.com Git - 16.git/commitdiff
failed fontgfxtest.exe
authorsparky4 <sparky4@cock.li>
Mon, 18 Apr 2016 00:28:23 +0000 (19:28 -0500)
committersparky4 <sparky4@cock.li>
Mon, 18 Apr 2016 00:28:23 +0000 (19:28 -0500)
src/lib/modex16.c

index c1c8eb5df107301c38b3ef77789d5925a213185b..09670a1815da92241bb863137567a77c890bce3a 100755 (executable)
@@ -115,6 +115,9 @@ void modexEnter(sword vq, boolean cmem, global_game_variables_t *gv)
                        cm.clock_select = 0; /* misc register = 0xE3  25MHz */\r
                        cm.vsync_neg = 1;\r
                        cm.hsync_neg = 1;\r
+\r
+                       cm.scan_double=1;               /* CRTC[0x09] bit 7 */\r
+                       cm.max_scanline=0;              /* CRTC[0x09] bit 4-0 */\r
                        break;\r
                case 2: // TODO: 160x120 according to ModeX_160x120regs\r
                        return;\r