X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ffontgfx.c;h=4fc08ee98b3b790a05a050578988751c5e2e5384;hb=99672ced2c1b14ff39cfc7b3ae59d7e7f3871da1;hp=ebfbb6d5918bd358805c2e177595cfba1628777c;hpb=1994e0d47edc486c81a3d6086574132870c644ed;p=16.git diff --git a/src/fontgfx.c b/src/fontgfx.c old mode 100644 new mode 100755 index ebfbb6d5..4fc08ee9 --- a/src/fontgfx.c +++ b/src/fontgfx.c @@ -41,23 +41,23 @@ IIIIIII BBBBBBBBBBB MMMMMM MMMMMM\n\ IIIIIII BBBBBBBBBBB MMMM MMM MMMM\n\ IIIIIII BBBBBBBBB MMMM M MMMM\n\ "; - static byte rose[]=" :. ,..\ - .' :~.':_.,\ - .' ::.::'.'\ - : ::' .:\ - `.: .: .:/\ - `::--.:'.::'\ - |. _:===-'\ - / /\ - ,---.---. __,','\ - (~`. \ ) )','.,---..\ - `v`\ | ,' .-'.:,'_____ `.\ - )|/.-~.--~~--. ~~~-. \\ - _/-'_.-~ ""---.._`.|\ - _.-~~_.-~ ""'\ - _..--~~_.(~~\ - __...---~~~_..--~~\ -,'___...---~~~\ + static byte rose[]=" :. ,..\n\ + .' :~.':_.,\n\ + .' ::.::'.'\n\ + : ::' .:\n\ + `.: .: .:/\n\ + `::--.:'.::'\n\ + |. _:===-'\n\ + / /\n\ + ,---.---. __,','\n\ + (~`. \ ) )','.,---..\n\ + `v`\ | ,' .-'.:,'_____ `.\n\ + )|/.-~.--~~--. ~~~-. \ \n\ + _/-'_.-~ ""---.._`.|\n\ + _.-~~_.-~ ""'\n\ + _..--~~_.(~~\n\ + __...---~~~_..--~~\n\ +,'___...---~~~\n\ "; // static byte *rosa; static word chx, chy, colpee; @@ -65,8 +65,9 @@ IIIIIII BBBBBBBBB MMMM M MMMM\n\ modexEnter(); /* setup camera and screen~ */ screen = modexDefaultPage(); - screen.width += (16*2); - screen.height += (16*2); + //screen.width += (16*2); + //screen.height += (16*2); +//++++ modexShowPage(&screen); //modexprint(16, 16, 1, 15, "wwww"); //getch(); chx=0; @@ -74,7 +75,7 @@ IIIIIII BBBBBBBBB MMMM M MMMM\n\ colpee=32; for(e=0x00; e<=0xFE; e++) { - if(chx+8>(SCREEN_WIDTH/2)-16) + if(chx+8>(screen.width/2)) { chx=0; chy+=8; @@ -90,7 +91,8 @@ IIIIIII BBBBBBBBB MMMM M MMMM\n\ //modexprint(100, 100, 1, 47, 0, "wwww"); getch(); // modexprint(0, 0, 1, 0, colpee, &rose); - modexprint(&screen, 0, 0, 1, 0, colpee, &ibmlogo); +//++++ modexprint(&screen, 0, 0, 0, 0, colpee, &ibmlogo); + modexprintbig(&screen, 0, 0, 1, colpee, 0, "IBM"); // modexprint(0, 0, 1, 0, colpee, ROSE); getch(); modexLeave();