X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ffontgfx.c;h=90cc0b9e8538bb02019af0e7c5a73d43b1769895;hb=67103bcf34caaa89876b908820771584b3f4d05c;hp=85fb555b5055771b648793457e6463c59d236cf3;hpb=b853220e4c3600b7d3b06b1888ec34269e96ceb6;p=16.git diff --git a/src/fontgfx.c b/src/fontgfx.c index 85fb555b..90cc0b9e 100644 --- a/src/fontgfx.c +++ b/src/fontgfx.c @@ -22,14 +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[]) -{ - textInit(); +{ + //JMOJI + byte e; + word chx, chy; + textInit(); modexEnter(); - modexprint(16, 16, 1, 15, "wwww"); - 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(); }