diff --git a/examples/cube/cube.c b/examples/cube/cube.c index 62c62cd..e3584d2 100644 --- a/examples/cube/cube.c +++ b/examples/cube/cube.c @@ -172,9 +172,6 @@ int main(void) { f256Init(); - resetText(); - bitmapReset(); - while(1) { if (p) { p = 0; diff --git a/examples/pgztest/pgztest.c b/examples/pgztest/pgztest.c index d0b1f7d..29f8673 100644 --- a/examples/pgztest/pgztest.c +++ b/examples/pgztest/pgztest.c @@ -38,8 +38,6 @@ void bitmap(void) { byte l; byte c = 0; - bitmapReset(); - bitmapGetResolution(&mx, &my); for (l=0; l 9) printInt(value / 10); + if (value > 9) textPrintInt(value / 10); c[0] = '0' + (value % 10); c[1] = 0; - print(c); + textPrint(c); } // Reset display to text, "standard" colors. -void resetText(void) { +void textReset(void) { byte mmu = PEEK(MMU_IO_CTRL); // Get current MMU state. byte x; byte y; @@ -209,7 +206,7 @@ void resetText(void) { // Set up default text colors. for (x=0; x