public void handler(int offset, int data) {
            /* bit 1 resets the UPD7795C sound_old chip */
            if ((data & 0x02) == 0) {
                UPD7759_reset_w.handler(0, (data & 0x02) >> 1);
            }

            /* bit 2 plays the title music */
            		if ((data & 0x04)!=0)
		{
			if (sample_playing(0)==0)	sample_start(0,0,0);
		}
		else sample_stop(0);
            tmnt_soundlatch = data;
        }