20 lines
297 B
C
20 lines
297 B
C
#include "console.h"
|
|
#include "keyboard.h"
|
|
#include "util.h"
|
|
#include <stdint.h>
|
|
|
|
void main() {
|
|
|
|
clear_terminal();
|
|
update_cursor();
|
|
print_line_with_color("Welcome to myOS!", RED, WHITE);
|
|
uint8_t byte;
|
|
while(1) {
|
|
while (byte = scan()) {
|
|
print_character(charmap[byte]);
|
|
}
|
|
}
|
|
|
|
return;
|
|
}
|