X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ffontgfx.c;h=90cc0b9e8538bb02019af0e7c5a73d43b1769895;hb=67103bcf34caaa89876b908820771584b3f4d05c;hp=64d07cd8c0dbda4a675e98266faf749cc16beadb;hpb=6451606735fc8b4e918397fd280cc20fddb756dd;p=16.git diff --git a/src/fontgfx.c b/src/fontgfx.c index 64d07cd8..90cc0b9e 100644 --- a/src/fontgfx.c +++ b/src/fontgfx.c @@ -22,30 +22,30 @@ #include #include #include "lib/types.h" -//#include "lib/16text.h" +//#include "lib/16text.h" #include "lib/modex16.h" void main(int argc, char near *argv[]) -{ - //JMOJI - byte e; - word chx, chy; - textInit(); +{ + //JMOJI + byte e; + word chx, chy; + textInit(); modexEnter(); - //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(); + //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(); }