From: cuz Date: Mon, 5 Apr 2004 13:36:10 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~850 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=368cdbf11536e69f5b3af24631de780ef8453e3e;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@2975 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/runtime/callirq.s b/libsrc/runtime/callirq.s index e824b62df..1fd376f8b 100644 --- a/libsrc/runtime/callirq.s +++ b/libsrc/runtime/callirq.s @@ -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