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@2757 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
e43e9ff7f1
commit
f210f6db1c
@ -64,10 +64,10 @@ loop: ldy index
|
||||
beq done
|
||||
dey
|
||||
jsr getbyt
|
||||
sta jmpvec+1
|
||||
dey
|
||||
jsr getbyt
|
||||
sta jmpvec+2
|
||||
dey
|
||||
jsr getbyt
|
||||
sta jmpvec+1
|
||||
sty index
|
||||
jsr jmpvec
|
||||
.if (.cpu .bitand ::CPU_ISET_65SC02)
|
||||
|
@ -69,10 +69,10 @@ _ser_install:
|
||||
|
||||
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
|
||||
lda #$4C ; Jump opcode
|
||||
sta ser_irq ; Activate IRQ routine
|
||||
ldy #$4C ; Jump opcode
|
||||
sty ser_irq ; Activate IRQ routine
|
||||
@L2: rts
|
||||
|
||||
; Driver signature invalid
|
||||
|
Loading…
Reference in New Issue
Block a user