zf_writeb
zf_writeb(STATUS, new);
zf_writeb(COUNTER_2, new > 0xff ? 0xff : new);
zf_writeb(PULSE_LEN, 0xff);
zf_writeb(COUNTER_2, 0xff);