Ist das (böser SelfMod) nicht noch schneller, als über die ZP? Hab die Cycles nicht mehr im Kopf...
nmi_routine:
sta a+1
stx x+1
sty y+1
dec $d016
inc $d016
y
ldy #$00
x
ldx #$00
a
lda #$00
jmp $dd0c ; JMP$dd0c = rti+ack = 3 cycles - ack
Alles anzeigen