#include "huc.h"
main()
{
set_xres(512); /* set a new horizontal resolution of 512 pixels */
set_color(1, 511); /* set color 1 to pure white */
set_font_color(1, 0); /* set the font color */
set_font_pal(0); /* set the font palette */
load_default_font(); /* load the default font */
put_string("512 pixel mode! woohoo!", 0, 0); /* print a message on the screen */
} |
