view cos/hello/hello.c @ 90:499183b99c71

Fixed handles to block
author windel
date Wed, 28 Nov 2012 08:41:56 +0100
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;
}