OSDN Git Service

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 f3762e2..e8d0d24 100644 (file)
Binary files a/fontgfx.exe and b/fontgfx.exe differ
index 74bbdb9..4c79f06 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