diff --git a/drivers/vga.c b/drivers/vga.c index e215b7f..c53692b 100644 --- a/drivers/vga.c +++ b/drivers/vga.c @@ -14,8 +14,8 @@ static unsigned int cursor_col = 0; void vga_init() { // Disable cursor - port_outb(0x0a, 0x3d4); - port_outb(0x20, 0x3d5); + port_outb(0x3d4, 0x0a); + port_outb(0x3d5, 0x20); // Clear screen clear_screen(); @@ -43,6 +43,7 @@ void set_cursor_pos(unsigned int col, unsigned int row) { cursor_row = row; } + /* Graphics Functions */