static byte e;\r
//word ri;\r
byte pee[2];\r
- static byte rose[]=" :. ,..\n\\r
- .' :~.':_.,\n\\r
- .' ::.::'.'\n\\r
- : ::' .:\n\\r
- `.: .: .:/\n\\r
- `::--.:'.::'\n\\r
- |. _:===-'\n\\r
- / /\n\\r
- ,---.---. __,','\n\\r
- (~`. \ ) )','.,---..\n\\r
- `v`\ | ,' .-'.:,'_____ `.\n\\r
- )|/.-~.--~~--. ~~~-. \ \n\\r
- _/-'_.-~ ""---.._`.|\n\\r
- _.-~~_.-~ ""'\n\\r
- _..--~~_.(~~\n\\r
- __...---~~~_..--~~\n\\r
-,'___...---~~~\n\\r
+ page_t screen;\r
+ static byte ibmlogo[]="IIIIIII BBBBBBBBB MMMMM MMMMM\n\\r
+IIIIIII BBBBBBBBBBB MMMMMM MMMMMM\n\\r
+ III BBB BBB MMMMMM MMMMMM\n\\r
+ III BBBBBBBBB MMMMMMM MMMMMMM\n\\r
+ III BBBBBBBBB MMM MMMMMMM MMM\n\\r
+ III BBB BBB MMM MMMMM MMM\n\\r
+IIIIIII BBBBBBBBBBB MMMM MMM MMMM\n\\r
+IIIIIII BBBBBBBBB MMMM M MMMM\n\\r
+";\r
+ static byte rose[]=" :. ,..\\r
+ .' :~.':_.,\\r
+ .' ::.::'.'\\r
+ : ::' .:\\r
+ `.: .: .:/\\r
+ `::--.:'.::'\\r
+ |. _:===-'\\r
+ / /\\r
+ ,---.---. __,','\\r
+ (~`. \ ) )','.,---..\\r
+ `v`\ | ,' .-'.:,'_____ `.\\r
+ )|/.-~.--~~--. ~~~-. \\\r
+ _/-'_.-~ ""---.._`.|\\r
+ _.-~~_.-~ ""'\\r
+ _..--~~_.(~~\\r
+ __...---~~~_..--~~\\r
+,'___...---~~~\\r
";\r
// static byte *rosa;\r
static word chx, chy, colpee;\r
textInit();\r
modexEnter();\r
+ /* setup camera and screen~ */\r
+ screen = modexDefaultPage();\r
+ screen.width += (16*2);\r
+ screen.height += (16*2);\r
//modexprint(16, 16, 1, 15, "wwww");\r
//getch();\r
chx=0;\r
chx=0;\r
chy+=8;\r
sprintf(pee,"%u", colpee);\r
- modexprint(200, 200, 1, 47, 0, &pee);\r
+ modexprint(&screen, 200, 200, 1, 47, 0, &pee);\r
//getch();\r
}\r
- modexprint(chx, chy, 1, 0, colpee, &e);\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(0, 0, 1, 0, colpee, &rose);\r
+ modexprint(&screen, 0, 0, 1, 0, colpee, &ibmlogo);\r
// modexprint(0, 0, 1, 0, colpee, ROSE);\r
getch();\r
modexLeave();\r
void modexPalUpdate0(byte *p);
void chkcolor(bitmap_t *bmp, word *q, word *a, word *aa, word *z, word *i/*, word *offset*/);
void modexputPixel(int x, int y, byte color);
-void modexprint(word x, word y, word t, word col, word bgcol, const byte *str);
+void modexprint(page_t *page, word x, word y, word t, word col, word bgcol, const byte *str);
void modexWaitBorder();
/* -======================= Constants & Vars ==========================- */