![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Diff: main.c
- Revision:
- 0:eead4708804f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.c Sun Jul 03 18:18:50 2011 +0000 @@ -0,0 +1,16 @@ +#include "vga640x400/vga640x400.h" + +extern unsigned char font_lin[256*16]; + +int main(int argc, char **argv) { + font = font_lin; + + // xor 1 to compensate for character order (10325476 et cetera) + // moved to userspace instead of rendering loop for obvious reasons + for (int i=0; i<2000; i++) + text_buffer[i^1] = i & 0xff; + + init_vga(); + + while(1); +} \ No newline at end of file