diff options
-rw-r--r-- | src/console/font-8x16.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/console/font-8x16.c b/src/console/font-8x16.c index 682a01e8c4..9404ffe809 100644 --- a/src/console/font-8x16.c +++ b/src/console/font-8x16.c @@ -5,8 +5,15 @@ /* */ /**********************************************/ +#define CHAR_256 0 -static unsigned char vga_font[cmapsz] BTDATA = { +#if CHAR_256==1 +#define cmapsz (16*256) +#else +#define cmapsz (16*96) +#endif + +static unsigned char vga_font[cmapsz] = { #if CHAR_256==1 /* 0 0x00 '^@' */ 0x00, /* 00000000 */ |