From 4a56eb0156ff49738c991ffabe132dfb7985991a Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Mon, 23 Aug 2021 21:53:06 +0200 Subject: [PATCH] Cleanup --- drivers/vga.c | 6 +++--- kernel/kernel.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/vga.c b/drivers/vga.c index 150263a..8173d5a 100644 --- a/drivers/vga.c +++ b/drivers/vga.c @@ -28,9 +28,9 @@ void writechar(char c, unsigned int col, unsigned int row, int attribute_byte) { } -void set_cursor_pos(unsigned int x, unsigned int y) { - cursor_col = x; - cursor_row = y; +void set_cursor_pos(unsigned int col, unsigned int row) { + cursor_col = col; + cursor_row = row; } /* diff --git a/kernel/kernel.c b/kernel/kernel.c index db63a5e..290d9e5 100644 --- a/kernel/kernel.c +++ b/kernel/kernel.c @@ -7,7 +7,9 @@ void main() { set_cursor_pos(28, 2); print("eOS Version 0.1 2021", 0xf0); + /* set_cursor_pos(0, 0); for( int i = 0; i < 255; i++ ) println("X", i); + */ }