Makefile: add .c files as prerequisites where needed
[glg-os.git] / kernel.c
blob12839a01afffdba8cf88c6e977395b1c122943e6
1 #include <stdbool.h>
2 #include <stddef.h>
3 #include <stdint.h>
4 #include "terminal.h"
6 static const size_t VGA_WIDTH = 80;
7 static const size_t VGA_HEIGHT = 24;
9 void kmain()
11 term_init(VGA_WIDTH, VGA_HEIGHT, COLOR_BLACK, COLOR_LIGHT_GREY);
13 term_putStr("test1\n");
14 term_putStr("test2\n");
16 for(uint8_t i = 0; i < VGA_HEIGHT - 3; i++)
17 term_putStr("test\n");
19 term_putStr("test3\n");
21 term_clear();