diff --git a/vga/vgabuf.h b/vga/vgabuf.h index 9f28f82..11a8678 100644 --- a/vga/vgabuf.h +++ b/vga/vgabuf.h @@ -16,9 +16,9 @@ extern volatile uint8_t terminal_col; #define apple_tbcolor apple_memory[0xC022] #define apple_border apple_memory[0xC034] -#define APPLE_FORE ((terminal_tbcolor>>4) & 0xf) -#define APPLE_BACK (terminal_tbcolor & 0xf) -#define APPLE_BORDER (terminal_border & 0xf) +#define APPLE_FORE ((apple_tbcolor>>4) & 0xf) +#define APPLE_BACK (apple_tbcolor & 0xf) +#define APPLE_BORDER (apple_border & 0xf) extern volatile uint32_t mono_palette; extern volatile uint8_t terminal_tbcolor;