Changed chip register names, fixed a bug

git-svn-id: svn://svn.cc65.org/cc65/trunk@2789 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-12-19 23:04:30 +00:00
parent 5c632ab0ef
commit 290de026d1
4 changed files with 149 additions and 132 deletions

View File

@@ -61,7 +61,7 @@ k_irq:
cld
lda #$0F
sta IndReg
ldy #tpiActIntReg
ldy #TPI::AIR
lda (tpi1),y ; Interrupt Register 6525
beq noirq
@@ -83,8 +83,8 @@ irq1: cmp #%00010000 ; interrupt from uart?
; -------------------------------------------------------------------------
; Done
irqend: ldy #tpiActIntReg
sta (tpi1),y ; Clear interrupt
irqend: ldy #TPI::AIR
sta (tpi1),y ; Clear interrupt
noirq: pla
sta IndReg