]> 4ch.mooo.com Git - 16.git/commitdiff
fontgfx.exe workings
authorsparky4 <sparky4@cock.li>
Mon, 18 Apr 2016 01:01:18 +0000 (20:01 -0500)
committersparky4 <sparky4@cock.li>
Mon, 18 Apr 2016 01:01:18 +0000 (20:01 -0500)
src/fontgfx.c
src/lib/modex16.c

index 4db837ccf423e814f8c1fa31737dbf7c696a453c..d1d252ccb509acdfbfcd1695486266f78472a474 100755 (executable)
@@ -91,19 +91,18 @@ IIIIIII  BBBBBBBBB    MMMM    M    MMMM\n\
                return;\r
        }\r
        VGAmodeX(1, 1, &gvar);\r
-       //int10_setmode(19);\r
-       __asm{\r
-               mov     AH,12H\r
-               mov     BL,30h\r
-               mov     AL,04h\r
-               int 10\r
-               mov     ax,1123h\r
-               int     10h\r
-               ;mov    ax,1112h                ; load 8x8 character set into RAM\r
-               ;int    10h\r
-       }\r
+//     __asm{\r
+//             mov     AH,12H\r
+//             mov     BL,30h\r
+//             mov     AL,04h\r
+//             int 10\r
+//             mov     ax,1123h\r
+//             int     10h\r
+//             ;mov    ax,1112h                ; load 8x8 character set into RAM\r
+//             ;int    10h\r
+//     }\r
        /* setup camera and screen~ */\r
-//..   gvar.video.page[0] = modexDefaultPage(&gvar.video.page[0]);\r
+       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
index 6a4fbe1c5f819bfa01246b98a5d9438435143ad3..c1c8eb5df107301c38b3ef77789d5925a213185b 100755 (executable)
@@ -115,10 +115,6 @@ 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.scanline_div2=1;     /* CRTC[0x17] bit 2 */\r
-                       cm.scan_double=0;               /* CRTC[0x09] bit 7 */\r
-                       cm.max_scanline=4;              /* CRTC[0x09] bit 4-0 */\r
                        break;\r
                case 2: // TODO: 160x120 according to ModeX_160x120regs\r
                        return;\r