1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 17:29:50 +00:00

Fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@2975 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2004-04-05 13:36:10 +00:00
parent 01f864bcf1
commit 368cdbf115

View File

@ -38,10 +38,10 @@ callirq:
ldy #.lobyte(__IRQFUNC_COUNT__*2)
callirq_y:
dey
lda __IRQFUNC_TABLE__+1,y
lda __IRQFUNC_TABLE__,y
sta jmpvec+2 ; Modify code below
dey
lda __IRQFUNC_TABLE__+0,y
lda __IRQFUNC_TABLE__,y
sta jmpvec+1 ; Modify code below
sty index+1 ; Modify code below
jmpvec: jsr $FFFF ; Patched at runtime