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: