diff options
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)); |
