mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
Fixed obsolete __IRQFUNC_COUNT__ symbol name
git-svn-id: svn://svn.cc65.org/cc65/trunk@3548 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
1aeeffdc52
commit
bec540da9e
@ -9,7 +9,7 @@
|
|||||||
.import zerobss, push0
|
.import zerobss, push0
|
||||||
.import callmain
|
.import callmain
|
||||||
.import RESTOR, BSOUT, CLRCH
|
.import RESTOR, BSOUT, CLRCH
|
||||||
.import __IRQFUNC_COUNT__
|
.import __INTERRUPTOR_COUNT__
|
||||||
.import __RAM_START__, __RAM_SIZE__ ; Linker generated
|
.import __RAM_START__, __RAM_SIZE__ ; Linker generated
|
||||||
|
|
||||||
.include "zeropage.inc"
|
.include "zeropage.inc"
|
||||||
@ -72,7 +72,7 @@ L1: lda sp,x
|
|||||||
|
|
||||||
; If we have IRQ functions, chain our stub into the IRQ vector
|
; If we have IRQ functions, chain our stub into the IRQ vector
|
||||||
|
|
||||||
lda #<__IRQFUNC_COUNT__
|
lda #<__INTERRUPTOR_COUNT__
|
||||||
beq NoIRQ1
|
beq NoIRQ1
|
||||||
lda IRQVec
|
lda IRQVec
|
||||||
ldx IRQVec+1
|
ldx IRQVec+1
|
||||||
@ -93,7 +93,7 @@ NoIRQ1: jsr callmain
|
|||||||
; chained it.
|
; chained it.
|
||||||
|
|
||||||
_exit: pha ; Save the return code on stack
|
_exit: pha ; Save the return code on stack
|
||||||
lda #<__IRQFUNC_COUNT__
|
lda #<__INTERRUPTOR_COUNT__
|
||||||
beq NoIRQ2
|
beq NoIRQ2
|
||||||
lda IRQInd+1
|
lda IRQInd+1
|
||||||
ldx IRQInd+2
|
ldx IRQInd+2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user