]> 4ch.mooo.com Git - 16.git/commitdiff
I legit have no idea how to jp in DOS
authorsparky4 <sparky4@cock.li>
Wed, 15 Jul 2015 17:34:00 +0000 (12:34 -0500)
committersparky4 <sparky4@cock.li>
Wed, 15 Jul 2015 17:34:00 +0000 (12:34 -0500)
modified:   fontgfx.exe
modified:   src/fontgfx.c

fontgfx.exe
src/fontgfx.c

index f3762e2438320f33085c0acf20d4c2d26a9d4d75..e8d0d2457409da60d098f32143907c514943ab95 100644 (file)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index 74bbdb9e92b0ec478542eaa943134de49216d9c8..4c79f06b31ab576157c5bb68f6a2a57a9c070cde 100644 (file)
@@ -28,8 +28,9 @@
 void main(int argc, char near *argv[])\r
 {\r
        //JMOJI\r
-       static byte e;\r
-       word chx, chy, colpee;\r
+       static byte e;
+       byte pee[2];\r
+       static word chx, chy, colpee;\r
        textInit();\r
        modexEnter();
        //modexprint(16, 16, 1, 15, "wwww");\r
@@ -37,13 +38,14 @@ void main(int argc, char near *argv[])
        chx=0;\r
        chy=0;
        colpee=32;\r
-       for(e=0x01; e<=0xFE; e++)\r
+       for(e=0x00; e<=0xFE; e++)\r
        {
                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);\r