From 7b0d88b2dff9b635d9ff69f6d51b6832c1ca4c40 Mon Sep 17 00:00:00 2001 From: Miguel Date: Sat, 18 Aug 2018 13:23:53 +0200 Subject: cleaning up syscalls and playing with new pipes --- driver/screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'driver/screen.c') diff --git a/driver/screen.c b/driver/screen.c index 6b47312..f095a15 100644 --- a/driver/screen.c +++ b/driver/screen.c @@ -1,5 +1,5 @@ #include "screen.h" -#include "kernel/config.h" +#include "kernel/kernel.h" //#define FOOLOS_CONSOLE @@ -15,6 +15,7 @@ void update_cursor(uint32_t col,uint32_t row) // cursor LOW port to vga INDEX register x86_outb(0x3D4, 0x0F); x86_outb(0x3D5, (unsigned char)(position&0xFF)); + // cursor HIGH port to vga INDEX register x86_outb(0x3D4, 0x0E); x86_outb(0x3D5, (unsigned char )((position>>8)&0xFF)); -- cgit v1.2.3