mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Fix wrong offset of irq vector byte used as on/off flag.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5410 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
3f8ceff73f
commit
75b83260c6
@ -44,7 +44,7 @@
|
|||||||
.proc _reset_irq
|
.proc _reset_irq
|
||||||
|
|
||||||
lda #$00
|
lda #$00
|
||||||
sta irqvec+3 ; High byte is enough
|
sta irqvec+2 ; High byte is enough
|
||||||
rts
|
rts
|
||||||
|
|
||||||
.endproc
|
.endproc
|
||||||
@ -53,7 +53,7 @@
|
|||||||
.proc clevel_irq
|
.proc clevel_irq
|
||||||
|
|
||||||
; Is C level interrupt request vector set?
|
; Is C level interrupt request vector set?
|
||||||
lda irqvec+3 ; High byte is enough
|
lda irqvec+2 ; High byte is enough
|
||||||
bne @L1
|
bne @L1
|
||||||
clc ; Interrupt not handled
|
clc ; Interrupt not handled
|
||||||
rts
|
rts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user