Fixed minor bug

pull/28/head
E. Almqvist 3 years ago
parent f5771c0dc9
commit beb014a6b4
  1. 5
      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
*/

Loading…
Cancel
Save