From f210f6db1cce7b11dbcf3e6ad89147845ec0b707 Mon Sep 17 00:00:00 2001 From: cuz Date: Sun, 14 Dec 2003 18:57:08 +0000 Subject: [PATCH] Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@2757 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/runtime/condes.s | 6 +++--- libsrc/serial/ser-kernel.s | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libsrc/runtime/condes.s b/libsrc/runtime/condes.s index 959ec4a0a..c9e373277 100644 --- a/libsrc/runtime/condes.s +++ b/libsrc/runtime/condes.s @@ -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) diff --git a/libsrc/serial/ser-kernel.s b/libsrc/serial/ser-kernel.s index 5e76358be..5601b2c4d 100644 --- a/libsrc/serial/ser-kernel.s +++ b/libsrc/serial/ser-kernel.s @@ -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 -- 2.39.5