IRQ Sequence

Here you can ask questions or provide insights about how to use efficiently 6502 assembly code on the Oric.
User avatar
Twilighte
Game master
Posts: 819
Joined: Sat Jan 07, 2006 12:07 am
Location: Luton, UK
Contact:

IRQ Sequence

Post by Twilighte »

As part of my work into this new tracker, i have needed to know how long it takes between the end of the current instruction and the start of the irq routine.

It takes exactly 7 machine cycles.

A useful doc was found here http://www.6502.org/tutorials/interrupts.html

It also takes 6 machine cycles to do the reverse at the end with the RTI although that instruction is more documented.