X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmodex16.c;h=97b894f4ea734459a6829f7b35046eac4dea70b1;hb=19d97c4277378f20c6c756981f4123cdc6cbb32b;hp=1ddefc699670533b11d02b0a466808d710c20ea6;hpb=81a89657d4c71baad7e1a6c65c166fcca6af8bf8;p=16.git diff --git a/src/lib/modex16.c b/src/lib/modex16.c index 1ddefc69..97b894f4 100755 --- a/src/lib/modex16.c +++ b/src/lib/modex16.c @@ -994,9 +994,8 @@ void modexprint(page_t *page, word x, word y, word t, word col, word bgcol, cons //TODO: OPTIMIZE THIS!!!! modexDrawCharPBuf(page, x, y, t, col, bgcol, q); - if(!q) getch(); + //if(!q) getch(); } - //_nfree(bakapee); } void modexprintbig(page_t *page, word x, word y, word t, word col, word bgcol, const byte *str) @@ -1101,7 +1100,7 @@ void cls(page_t *page, byte color, byte *Where) /* set map mask to all 4 planes */ outpw(SC_INDEX, 0xff02); //_fmemset(VGA, color, 16000); - _fmemset(Where, color, page->width*(page->height)); + _fmemset(Where, color, page->width*(page->height)/4); } void