mirror of
https://github.com/cc65/cc65.git
synced 2024-12-26 08:32:00 +00:00
Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@2757 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
e43e9ff7f1
commit
f210f6db1c
@ -64,10 +64,10 @@ loop: ldy index
|
|||||||
beq done
|
beq done
|
||||||
dey
|
dey
|
||||||
jsr getbyt
|
jsr getbyt
|
||||||
sta jmpvec+1
|
|
||||||
dey
|
|
||||||
jsr getbyt
|
|
||||||
sta jmpvec+2
|
sta jmpvec+2
|
||||||
|
dey
|
||||||
|
jsr getbyt
|
||||||
|
sta jmpvec+1
|
||||||
sty index
|
sty index
|
||||||
jsr jmpvec
|
jsr jmpvec
|
||||||
.if (.cpu .bitand ::CPU_ISET_65SC02)
|
.if (.cpu .bitand ::CPU_ISET_65SC02)
|
||||||
|
@ -69,10 +69,10 @@ _ser_install:
|
|||||||
|
|
||||||
jsr ser_install ; Call driver install routine
|
jsr ser_install ; Call driver install routine
|
||||||
|
|
||||||
lda ser_irq+2 ; Check high byte of IRQ vector
|
ldy ser_irq+2 ; Check high byte of IRQ vector
|
||||||
beq @L2 ; Jump if vector invalid
|
beq @L2 ; Jump if vector invalid
|
||||||
lda #$4C ; Jump opcode
|
ldy #$4C ; Jump opcode
|
||||||
sta ser_irq ; Activate IRQ routine
|
sty ser_irq ; Activate IRQ routine
|
||||||
@L2: rts
|
@L2: rts
|
||||||
|
|
||||||
; Driver signature invalid
|
; Driver signature invalid
|
||||||
|
Loading…
Reference in New Issue
Block a user