comparison cos/hello/hello.c @ 25:d3c4bf3720a3

Beginning of multitasking
author windel
date Tue, 27 Dec 2011 13:31:38 +0100
parents
children 3a6a9b929db0
comparison
equal deleted inserted replaced
24:d8627924d40d 25:d3c4bf3720a3
1 /* Uber simple program that prints directly to video memory */
2
3 int main()
4 {
5 unsigned char * const screen = (unsigned char*)0xB8000;
6 screen[0] = 'H';
7 screen[2] = 'o';
8 screen[4] = 'i';
9 while (1==1)
10 {
11 }
12 return 0;
13 }
14