Mercurial > lcfOS
view cos/hello/hello.c @ 279:2ccd57b1d78c
Fix register allocator to do burn2 OK
author | Windel Bouwman |
---|---|
date | Sat, 12 Oct 2013 09:56:23 +0200 |
parents | 3a6a9b929db0 |
children |
line wrap: on
line source
/* Uber simple program that prints directly to video memory */ int main() { unsigned char * const screen = (unsigned char*)0xB8000; screen[0] = 'H'; screen[2] = 'o'; screen[4] = 'i'; while (1==1) { } return 0; }