Mercurial > lcfOS
annotate cos/hello/hello.c @ 126:bbf4c9b138d4
Changes to elf reading
author | Windel Bouwman |
---|---|
date | Sun, 13 Jan 2013 12:14:27 +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 |