From: sparky4 Date: Wed, 15 Jul 2015 17:34:00 +0000 (-0500) Subject: I legit have no idea how to jp in DOS X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=8c77fc30205608b2d8e0ee9a981fa8efd422e84f;p=16.git I legit have no idea how to jp in DOS modified: fontgfx.exe modified: src/fontgfx.c --- diff --git a/fontgfx.exe b/fontgfx.exe index f3762e24..e8d0d245 100644 Binary files a/fontgfx.exe and b/fontgfx.exe differ diff --git a/src/fontgfx.c b/src/fontgfx.c index 74bbdb9e..4c79f06b 100644 --- a/src/fontgfx.c +++ b/src/fontgfx.c @@ -28,8 +28,9 @@ void main(int argc, char near *argv[]) { //JMOJI - static byte e; - word chx, chy, colpee; + static byte e; + byte pee[2]; + static word chx, chy, colpee; textInit(); modexEnter(); //modexprint(16, 16, 1, 15, "wwww"); @@ -37,13 +38,14 @@ void main(int argc, char near *argv[]) chx=0; chy=0; colpee=32; - for(e=0x01; e<=0xFE; e++) + for(e=0x00; e<=0xFE; e++) { if(chx+8>(SCREEN_WIDTH/2)-16) { chx=0; chy+=8; - modexprint(200, 200, 1, 47, 0, &e); + sprintf(pee,"%u", colpee); + modexprint(200, 200, 1, 47, 0, &pee); //getch(); } modexprint(chx, chy, 1, 0, colpee, &e);