// font.h // The console's character generator. // Written by Anachronaut #ifndef FONT_H #define FONT_H // Eight bytes a glyph, one bit a pixel. See font.c for where it came from. #define CONSOLE_FONT_BYTES 8 #define CONSOLE_FONT_GLYPHS 135 // The first character the font has, so a byte maps to a glyph by subtracting this. #define CONSOLE_FONT_FIRST 32 extern const unsigned char consoleFont[CONSOLE_FONT_GLYPHS * CONSOLE_FONT_BYTES]; #endif // FONT_H