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

index d1d252ccb509acdfbfcd1695486266f78472a474..d76cfc33b31f2fbc7ce5b075af244148c0429cd7 100755 (executable)
@@ -103,9 +103,10 @@ IIIIIII  BBBBBBBBB    MMMM    M    MMMM\n\
 //     }\r
        /* setup camera and screen~ */\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
+       gvar.video.page[0].width += (16*2);\r
+       gvar.video.page[0].height += (16*2);\r
+       modexShowPage(&gvar.video.page[0]);\r
+       vga_state.vga_stride=gvar.video.page[0].width/4;\r
        //modexprint(16, 16, 1, 15, "wwww");\r
        //getch();\r
 //     chx=0;\r
@@ -147,4 +148,5 @@ IIIIIII  BBBBBBBBB    MMMM    M    MMMM\n\
        printf("\n%s\n", rose);\r
        //printf("\nh=%d\n", '8');\r
 //     printf("\n%c\n", e);\r
+       printf("vga_state.vga_stride=%d\n", vga_state.vga_stride);\r
 }\r
index 8d9eb184986637b9bc9afa7e02c548ae5377aaff..9990f0adb22b4fed2598c8733172d131d1a412f2 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 8d9eb184986637b9bc9afa7e02c548ae5377aaff
+Subproject commit 9990f0adb22b4fed2598c8733172d131d1a412f2