annotate cos/hello/hello.c @ 197:4a1ca1271241

Rename libasm
author Windel Bouwman
date Sat, 01 Jun 2013 11:56:16 +0200
parents 3a6a9b929db0
children
rev   line source
25
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
1 /* Uber simple program that prints directly to video memory */
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
2
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
3 int main()
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
4 {
32
3a6a9b929db0 Added initial ramdisk and some virtual file system functions
windel
parents: 25
diff changeset
5
25
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
6 unsigned char * const screen = (unsigned char*)0xB8000;
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
7 screen[0] = 'H';
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
8 screen[2] = 'o';
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
9 screen[4] = 'i';
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
10 while (1==1)
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
11 {
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
12 }
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
13 return 0;
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
14 }
d3c4bf3720a3 Beginning of multitasking
windel
parents:
diff changeset
15