kern
diff src/main.c @ 1:ebe5e0e44a9d
pretty much finished the code for article 1, might do minor adjustments though
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 02 Dec 2010 08:45:41 +0200 |
parents | 662ff2170531 |
children | 86781ef20689 |
line diff
1.1 --- a/src/main.c Wed Dec 01 22:02:42 2010 +0200 1.2 +++ b/src/main.c Thu Dec 02 08:45:41 2010 +0200 1.3 @@ -1,10 +1,10 @@ 1.4 -/*#include <stdio.h>*/ 1.5 +#include <stdio.h> 1.6 #include "vid.h" 1.7 +#include "term.h" 1.8 1.9 void kmain(void) 1.10 { 1.11 - clear_scr(); 1.12 - put_char('a', 0, 0, 4, 0); 1.13 - put_char('b', 40, 12, 1, 7); 1.14 - /*printf("Hello world from kernel space\n");*/ 1.15 + clear_scr(0); 1.16 + set_text_color(LTRED); 1.17 + puts("hello world!"); 1.18 }