summaryrefslogtreecommitdiff
path: root/driver/screen.c
diff options
context:
space:
mode:
authorMiguel <m.i@gmx.at>2018-08-18 13:23:53 +0200
committerMiguel <m.i@gmx.at>2018-08-18 13:23:53 +0200
commit7b0d88b2dff9b635d9ff69f6d51b6832c1ca4c40 (patch)
tree22c452e9c7ad586136721e776e0b67b23fb33119 /driver/screen.c
parent17fd357bad5f6c3362cfdab1d807aa463c69a4e9 (diff)
cleaning up syscalls and playing with new pipes
Diffstat (limited to 'driver/screen.c')
-rw-r--r--driver/screen.c3
1 files changed, 2 insertions, 1 deletions
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));