- //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();
+ /* setup camera and screen~ */\r
+ screen = modexDefaultPage();\r
+ //screen.width += (16*2);\r
+ //screen.height += (16*2);\r
+//++++ modexShowPage(&screen);\r
+ //modexprint(16, 16, 1, 15, "wwww");\r
+ //getch();\r
+ chx=0;\r
+ chy=0;\r
+ colpee=32;\r
+ for(e=0x00; e<=0xFE; e++)\r
+ {\r
+ if(chx+8>(screen.width/2))\r
+ {\r
+ chx=0;\r
+ chy+=8;\r
+ sprintf(pee,"%u", colpee);\r
+ modexprint(&screen, 200, 200, 1, 47, 0, &pee);\r
+ //getch();\r
+ }\r
+ modexprint(&screen, chx, chy, 1, 0, colpee, &e);\r
+ chx+=9;\r
+ colpee++;\r
+ if(colpee>=32+24) colpee=32;\r
+ }\r
+ //modexprint(100, 100, 1, 47, 0, "wwww");\r
+ getch();\r
+// modexprint(0, 0, 1, 0, colpee, &rose);\r
+//++++ modexprint(&screen, 0, 0, 0, 0, colpee, &ibmlogo);\r
+ modexprintbig(&screen, 0, 0, 1, colpee, 0, "IBM");\r
+// modexprint(0, 0, 1, 0, colpee, ROSE);\r
+ getch();\r
+ modexLeave();\r
+// rosa=malloc(sizeof(ROSE));\r
+// (*rosa)=(byte)ROSE;\r
+ printf("\n%s\n", rose);\r
+ //printf("\nh=%d\n", '8');\r
+// printf("\n%c\n", e);\r