def i_PUN(indirect, address, instruction): Ptp.write(PC & 0xff) Trace.itrace('PUN') return 1
def i_PSF(indirect, address, instruction): global PC if Ptp.ready(): PC = (PC + 1) & WORDMASK Trace.itrace('PSF') return 1
def __tick_all(cycles): Ptr.tick(cycles) Ptp.tick(cycles) TtyIn.tick(cycles) TtyOut.tick(cycles)