A poorly written OS for the x86 arch. (WIP)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
eOS/kernel/kernel.c

17 lines
342 B

#include "../drivers/vga.h"
3 years ago
#include "../lib/str.h"
#include "../lib/strf.h"
void main() {
3 years ago
vga_init(); // Initialize the screen first
// i.e. clear the screen et cetera.
3 years ago
char* strbuf = "HEJ";
char* str2 = "xD";
strbuf = strcat(strbuf, str2);
println(strbuf, 0xf0);
3 years ago
set_cursor_pos(28, 2);
3 years ago
print("eOS Version 0.1 2021", 0xf0);
}