commit | d8137921b3319a2b7e215920e37f46919e66964b | [log] [tgz] |
---|---|---|
author | swissChili <swisschili@fastmail.com> | Wed Feb 17 15:34:07 2021 -0800 |
committer | swissChili <swisschili@fastmail.com> | Wed Feb 17 15:34:07 2021 -0800 |
tree | 91bcfcf80f21b0aaec407f0e86e5e6ff02255e35 |
Initial commit
diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..4854924 --- /dev/null +++ b/src/main.c
@@ -0,0 +1,19 @@ +#include "vga.h" +#include "descriptor_tables.h" + +int main(void *mboot) +{ + vga_clear(); + vga_set_color(LIGHT_BLUE, BLACK); + vga_write("Hello!\nWelcome to Bluejay OS\n"); + + vga_set_color(WHITE, BLACK); + + init_idt(); + + //init_descriptor_tables(); + + //asm volatile("int $0x03"); + + return 0xCAFEBABE; +}