\r
void main(int argc, char near *argv[])\r
{
+ 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
* They copy the font characters directly to VGA.\r
*/\r
#ifndef TEXT_H\r
-#define TEXT_H\r
+#define TEXT_H
+#include <jstring.h>
+#include <jctype.h>\r
#include "src/lib/types.h"\r
\r
/* font information type */\r