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