Mercurial > lcfOS
annotate cos/hello/hello.c @ 179:0f3b1adfd416
LR(0) parser
author | Windel Bouwman |
---|---|
date | Sat, 04 May 2013 18:50:36 +0200 |
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 |