Mercurial > lcfOS
annotate cos/hello/hello.c @ 87:367006d423ae
Changed selection handles
author | windel |
---|---|
date | Fri, 23 Nov 2012 18:27:29 +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 |