OSDN Git Service

ok
[proj16/16.git] / src / fontgfx.c
index 85fb555..64d07cd 100644 (file)
 \r
 void main(int argc, char near *argv[])\r
 {
+       //JMOJI
+       byte e;
+       word chx, chy;
        textInit();
        modexEnter();\r
-       modexprint(16, 16, 1, 15, "wwww");
+       //modexprint(16, 16, 1, 15, "wwww");
+       //getch();
+       chx=0;
+       chy=0;
+       for(e='!'; e<='~'; e++)
+       {
+               modexprint(chx, chy, 1, 15, &e);
+               chx+=8;
+               if(chx+8>=SCREEN_WIDTH)
+               {
+                       chx=0;
+                       chy+=8;
+               }
+       }
        getch();
        modexLeave();
 }\r