]> git.dujemihanovic.xyz Git - nameless-os.git/blob - kernel/kernel.c
1e27a1b3ddcfdf0df9100505ae096dbe3a30cea0
[nameless-os.git] / kernel / kernel.c
1 #include <tty.h>
2
3 const char *string = "Hello there!\n\n\
4 Hopefully your machine manages to print this text.\n\
5 If it did, that's great news because I managed to write a partial VGA driver.\n\n\
6 Right now, the short-term roadmap is as follows:\n\n\
7 * Enable interrupts using the PIC.\n\
8 * Write a driver for the Intel 8042 PS/2 controller so the OS can receive keystrokes.\n\
9 * A working i8042 driver will also aid in enabling A20 Gate, which should be done ASAP so the OS can address odd (as in odd/even number) megabytes.\n\n\
10 Feel free to mess around with the code, although I doubt it will be very interesting at the moment.\n";
11
12 void _start(void)
13 {
14 screen_clear();
15 kprint(string);
16 }