Mercurial > lcfOS
annotate cos/hello/hello.c @ 39:600f48b74799
Move ide
author | windel |
---|---|
date | Fri, 03 Feb 2012 18:40:43 +0100 |
parents | 3a6a9b929db0 |
children |
rev | line source |
---|---|
25 | 1 /* Uber simple program that prints directly to video memory */ |
2 | |
3 int main() | |
4 { | |
32
3a6a9b929db0
Added initial ramdisk and some virtual file system functions
windel
parents:
25
diff
changeset
|
5 |
25 | 6 unsigned char * const screen = (unsigned char*)0xB8000; |
7 screen[0] = 'H'; | |
8 screen[2] = 'o'; | |
9 screen[4] = 'i'; | |
10 while (1==1) | |
11 { | |
12 } | |
13 return 0; | |
14 } | |
15 |