]> git.dujemihanovic.xyz Git - nameless-os.git/blob - kernel/kernel.c
Enable A20 gate
[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 * Complete the text-mode part of the VGA driver.\n\
8 * Enable interrupts using the PIC.\n\
9 * Write a driver for the Intel 8042 PS/2 controller so the OS can receive keystrokes.\n\
10 * Once all that is done, it would be desirable to start the switch to userspace so the OS can actually be remotely usable.\n\n\
11 Feel free to mess around with the code, although I doubt it will be very interesting at the moment.\n";
12
13 void _start(void)
14 {
15 screen_clear();
16 kprint(string);
17 }