Mercurial > lcfOS
annotate cos/hello/hello.c @ 136:9af544be5d2a
Added hexfile edit
author | Windel Bouwman |
---|---|
date | Wed, 23 Jan 2013 21:54:14 +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 |