pull/28/head
E. Almqvist 3 years ago
parent dcb763a334
commit 4a56eb0156
  1. 6
      drivers/vga.c
  2. 2
      kernel/kernel.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;
}
/*

@ -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);
*/
}

Loading…
Cancel
Save