\r
void main(int argc, char near *argv[])\r
{\r
- int i;\r
+ int i, p;\r
int j;\r
char l[16];\r
char c;\r
// fade in\r
//modexFadeOn(4, pal2);
- //render the letter in ascii art\r
+ //render the letter in ascii art
+ p=0;\r
for(i=0; i<w; i++)
{\r
j=1<<8;\r
//printf("j=%d\n", j);\r
//printf("%c", l[i] & j ? '*':' ');
//====printf("%02x ", l[i] & j);
- modexClearRegion(&page, 0, 0, 8, w, l[i] & j ? 1:8);\r
+ modexClearRegion(&page, 0, p, 8, 1, l[i] & j ? 8:0);
+while(!getch());
+ p++;
j>>=1;
}\r
//====printf("\n");
modexLeave();\r
/*modexPalBlack();\r
modexFadeOn(4, pal);*/
+ //render the letter in ascii art\r
+ for(i=0; i<w; i++)
+ {\r
+ j=1<<8;\r
+ while(j)
+ {
+ printf("%c", l[i] & j ? '*':' ');
+ //====printf("%02x ", l[i] & j);
+//while(!getch());
+ j>>=1;
+ }\r
+ printf("\n");
+ }
+ printf("\ni=%d\n", i);
+ printf("j=%d\n", j);
}\r