It's dumb having the small font 128 symbols long when the first 32 are
weird stuff. Make it 96, and shift by 32 chars when printing. Saves us 256
bytes
*/
#ifdef CONFIG_FONT8X8SMALL
-#define FONTDATAMAX 1024
+#define FONTDATAMAX 768
#else
#define FONTDATAMAX 2048
#endif
const unsigned char fontdata_8x8[FONTDATAMAX] = {
-
+#ifndef CONFIG_FONT8X8SMALL
/* 0 0x00 '^@' */
0x00, /* 00000000 */
0x00, /* 00000000 */
0x18, /* 00011000 */
0x00, /* 00000000 */
0x00, /* 00000000 */
-
+#endif
/* 32 0x20 ' ' */
0x00, /* 00000000 */
0x00, /* 00000000 */
rl b
ld c, a
- ld hl, #_fontdata_8x8
+ ld hl, #_fontdata_8x8 - 256
add hl, bc ; hl points to first byte of char data
; printing