]> 4ch.mooo.com Git - 16.git/commitdiff
font fack!
authorsparky4 <sparky4@cock.li>
Mon, 18 Apr 2016 02:12:38 +0000 (21:12 -0500)
committersparky4 <sparky4@cock.li>
Mon, 18 Apr 2016 02:12:38 +0000 (21:12 -0500)
src/fontgfx.c
src/lib/modex16.c

index ee2427f07595fc1195a7adb4787d95ead01fba8e..08968076a82c4e3f110448e45e8a228200d16ce0 100755 (executable)
@@ -106,7 +106,7 @@ IIIIIII  BBBBBBBBB    MMMM    M    MMMM\n\
        gvar.video.page[0] = modexDefaultPage(&gvar.video.page[0]);\r
        gvar.video.page[0].width += (16*2);\r
        gvar.video.page[0].height += (16*2);\r
-       modexShowPage(&gvar.video.page[0]);\r
+       //modexShowPage(&gvar.video.page[0]);\r
        //modexprint(16, 16, 1, 15, "wwww");\r
        //getch();\r
 //     chx=0;\r
index 8d65b8433a49d1ffa3fe8f4dcdd72c42356b672b..644b8f139354e2a812761128770d011cad27e371 100755 (executable)
@@ -115,8 +115,7 @@ 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
-                       vga_state.vga_stride=36;\r
-                       cm.offset=36;\r
+                       vga_state.vga_stride=cm.offset=80;\r
                        break;\r
                case 2: // TODO: 160x120 according to ModeX_160x120regs\r
                        return;\r