#include "williams.h" //#link "williams.c" int main(void) { byte i; // write to graphics ROM rom_select = 1; // set palette for (i=0; i<16; i++) palette[i] = (byte)(i*7); // draw a rectangle blit_solid(0, 0, 152, 255, 0x1f); // main loop while (1) { watchdog0x39 = 0x39; // code here } return 0; }