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

Beginning of multitasking
author windel
date Tue, 27 Dec 2011 13:31:38 +0100
parents
children 3a6a9b929db0
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cos/hello/hello.c	Tue Dec 27 13:31:38 2011 +0100
@@ -0,0 +1,14 @@
+/* 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;
+}
+