diff options
Diffstat (limited to 'src/kernel/core/monitor.c')
-rw-r--r-- | src/kernel/core/monitor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/core/monitor.c b/src/kernel/core/monitor.c index 0d0f5eb..ba2a6df 100644 --- a/src/kernel/core/monitor.c +++ b/src/kernel/core/monitor.c @@ -1,8 +1,10 @@ #include "monitor.h" #include "sys.h" +#include "mem/mem.h" + static int cursor_x = 0, cursor_y = 0; -static uint16_t *video_memory = (uint16_t*)0xE00B8000; +static uint16_t *video_memory = (uint16_t*)((size_t)K_HIGHHALF_ADDR + 0xB8000); static uint8_t attribute = 0x07; // 0 = background = black, 7 = foreground = white |