X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Ffontgfx.c;h=4fc08ee98b3b790a05a050578988751c5e2e5384;hb=39645c74539cf55193e37ddc809dc5dc0c539569;hp=34154f06002364ceb2930c71c2f1f39f90f58d9a;hpb=fbe125254951c226754f1445fe42cb5b42d74cbd;p=16.git diff --git a/src/fontgfx.c b/src/fontgfx.c old mode 100644 new mode 100755 index 34154f06..4fc08ee9 --- a/src/fontgfx.c +++ b/src/fontgfx.c @@ -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, 0, 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();