*(unsigned short *)0xfff8 = reset; *(unsigned short *)0xfffa = reset; *(unsigned short *)0xfffc = reset; *(unsigned short *)0xfffe = reset;
quit(void){  VIC.ctrl1 = 0x1b;  /* $D011 */  VIC.addr  = 0x17;  /* $D018 */  VIC.ctrl2 = 0xc8;  /* $D016 */  CIA2.pra  = 0x03;  /* $DD00 */  VIC.bordercolor = 0x0e; /* $D020 */  VIC.bgcolor0 = 0x06; /* $D021 */  memset((char *)0xd800, 0x0e, 40*25);  *(unsigned short *)0xfff8 = reset;  *(unsigned short *)0xfffa = reset;  *(unsigned short *)0xfffc = reset;  *(unsigned short *)0xfffe = reset;}