diff options
| author | Miguel <m.i@gmx.at> | 2018-08-18 13:23:53 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-08-18 13:23:53 +0200 |
| commit | 7b0d88b2dff9b635d9ff69f6d51b6832c1ca4c40 (patch) | |
| tree | 22c452e9c7ad586136721e776e0b67b23fb33119 /driver/screen.c | |
| parent | 17fd357bad5f6c3362cfdab1d807aa463c69a4e9 (diff) | |
cleaning up syscalls and playing with new pipes
Diffstat (limited to 'driver/screen.c')
| -rw-r--r-- | driver/screen.c | 3 |
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)); |
