diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c index e5db7da..ce6a1ec 100644 --- a/src/kernel/kernel.c +++ b/src/kernel/kernel.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); } diff --git a/src/kernel/lib/vga.c b/src/kernel/lib/vga.c index 3cbb4ae..e869fe2 100644 --- a/src/kernel/lib/vga.c +++ b/src/kernel/lib/vga.c @@ -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) {