code: public void reset() {
  		accumulator = 0;
  		if (ANTTI_LANKILA_PATCH)
  			shift_register = 0x7ffffc;
  		else
  			shift_register = 0x7ffff8;
  		freq = 0;
  		pw = 0;
  
  		test = 0;
  		ring_mod = 0;
  		sync = 0;
  
  		msb_rising = false;
  	}
docs: SID reset.