TICK_COUNT_MASK
tickcmpr_set((t0 + cycles) & TICK_COUNT_MASK);
if (cycles <= ((tick() - t0) & TICK_COUNT_MASK))