From: sparky4 Date: Mon, 18 Apr 2016 02:12:38 +0000 (-0500) Subject: font fack! X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=4a133bcbccc48ae5f9e2edb3e9db5fad3e01bb83;p=16.git font fack! --- diff --git a/src/fontgfx.c b/src/fontgfx.c index ee2427f0..08968076 100755 --- a/src/fontgfx.c +++ b/src/fontgfx.c @@ -106,7 +106,7 @@ IIIIIII BBBBBBBBB MMMM M MMMM\n\ gvar.video.page[0] = modexDefaultPage(&gvar.video.page[0]); gvar.video.page[0].width += (16*2); gvar.video.page[0].height += (16*2); - modexShowPage(&gvar.video.page[0]); + //modexShowPage(&gvar.video.page[0]); //modexprint(16, 16, 1, 15, "wwww"); //getch(); // chx=0; diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 8d65b843..644b8f13 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -115,8 +115,7 @@ void modexEnter(sword vq, boolean cmem, global_game_variables_t *gv) cm.clock_select = 0; /* misc register = 0xE3 25MHz */ cm.vsync_neg = 1; cm.hsync_neg = 1; - vga_state.vga_stride=36; - cm.offset=36; + vga_state.vga_stride=cm.offset=80; break; case 2: // TODO: 160x120 according to ModeX_160x120regs return;