From 1a5fc8cc1be43f6bc86ee031e0f8ae96a6b7a842 Mon Sep 17 00:00:00 2001 From: "matthias@arch" Date: Fri, 22 Dec 2023 02:17:53 +0100 Subject: [PATCH] fix skip io1 --- main.s65 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/main.s65 b/main.s65 index 3cc7688..fe31982 100644 --- a/main.s65 +++ b/main.s65 @@ -65,7 +65,7 @@ irq: @irq_io1: lda IO1 + IO::IFR sta irq_via_ifr - bbr7 irq_via_ifr,@irq_io1 ; skip + bbr7 irq_via_ifr,@irq_io2 ; skip bbs2 irq_via_ifr,@irq_kb1 ; shit reg -> first 8 bits bbs5 irq_via_ifr,@irq_kb2 ; timer -> last 3 bits @irq_io2: @@ -82,7 +82,8 @@ irq: lda #$ff sta IO1 + IO::IFR sta IO2 + IO::IFR - bra @irq_return + rti + ; bra @irq_return @irq_keypad: jsr kp::read_irq bra @irq_return @@ -90,11 +91,11 @@ irq: jsr spi_p::read bra @irq_return @irq_kb1: - Print "$3000" + PrintNC "<30>" jsr $3000 bra @irq_return @irq_kb2: - Print "$3100" + PrintNC "<31>" jsr $3100 bra @irq_return ; @irq_dht: