Index: main.c ================================================================== --- main.c +++ main.c @@ -639,10 +639,16 @@ const UserCommand*uc; int i; set_cursor(XC_tcross); SDL_LockSurface(screen); draw_text(0,0,"Hello, World!",0xF0,0xFF); + buf[16]=0; + for(i=0;i<16;i++) { + for(n=0;n<16;n++) buf[n]=(i<<4)+n?:255; + draw_text(4,(i<<3)+12,buf,0xF0,0xF7); + } + n=0; SDL_UnlockSurface(screen); SDL_Flip(screen); while(SDL_WaitEvent(&ev)) switch(ev.type) { case SDL_KEYDOWN: switch(ev.key.keysym.sym) {