Minor set_cursor_pos bug fix

pull/23/head
E. Almqvist 3 years ago
parent c990061920
commit 8356078237
  1. 2
      src/kernel/kernel.c
  2. 3
      src/kernel/lib/vga.c

@ -6,6 +6,6 @@ void main() {
*vidmem = 'X';
clear_screen();
set_cursor_pos(0, 5);
set_cursor_pos(24, 0);
println("\t eOS Version 0.0 2021", 0xf0);
}

@ -43,7 +43,8 @@ void clear_screen() {
General Printing Functions
*/
void set_cursor_pos(unsigned int x, unsigned int y) {
cursor_col, cursor_row = x, y;
cursor_col = x;
cursor_row = y;
}
void print(char* str, int colorcode) {

Loading…
Cancel
Save