From 469a7d2fd636a0b3066d45ec641bafebefe81e7c Mon Sep 17 00:00:00 2001 From: sparky4 Date: Sun, 17 Apr 2016 21:01:17 -0500 Subject: [PATCH] stride.. --- src/fontgfx.c | 8 +++++--- src/lib/doslib | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/fontgfx.c b/src/fontgfx.c index d1d252cc..d76cfc33 100755 --- a/src/fontgfx.c +++ b/src/fontgfx.c @@ -103,9 +103,10 @@ IIIIIII BBBBBBBBB MMMM M MMMM\n\ // } /* setup camera and screen~ */ 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]); + gvar.video.page[0].width += (16*2); + gvar.video.page[0].height += (16*2); + modexShowPage(&gvar.video.page[0]); + vga_state.vga_stride=gvar.video.page[0].width/4; //modexprint(16, 16, 1, 15, "wwww"); //getch(); // chx=0; @@ -147,4 +148,5 @@ IIIIIII BBBBBBBBB MMMM M MMMM\n\ printf("\n%s\n", rose); //printf("\nh=%d\n", '8'); // printf("\n%c\n", e); + printf("vga_state.vga_stride=%d\n", vga_state.vga_stride); } diff --git a/src/lib/doslib b/src/lib/doslib index 8d9eb184..9990f0ad 160000 --- a/src/lib/doslib +++ b/src/lib/doslib @@ -1 +1 @@ -Subproject commit 8d9eb184986637b9bc9afa7e02c548ae5377aaff +Subproject commit 9990f0adb22b4fed2598c8733172d131d1a412f2 -- 2.39.5