mirror of
https://github.com/a2-4am/4cade.git
synced 2024-12-01 04:50:30 +00:00
clear ISR before MB detection
This commit is contained in:
parent
ac2428bd9e
commit
cd885c10f8
@ -120,6 +120,7 @@ GetMockingboardStuff
|
|||||||
sta @mb_smc21 + 2
|
sta @mb_smc21 + 2
|
||||||
sta @mb_smc22 + 2
|
sta @mb_smc22 + 2
|
||||||
sta @mb_smc23 + 2
|
sta @mb_smc23 + 2
|
||||||
|
sta @mb_smc24 + 2
|
||||||
|
|
||||||
; detect speech - SSI263
|
; detect speech - SSI263
|
||||||
|
|
||||||
@ -153,6 +154,8 @@ GetMockingboardStuff
|
|||||||
lda #$82 ; enable CA1 interrupt
|
lda #$82 ; enable CA1 interrupt
|
||||||
@mb_smc5
|
@mb_smc5
|
||||||
sta $c48e ; interrupt enable register 6522#2
|
sta $c48e ; interrupt enable register 6522#2
|
||||||
|
@mb_smc24
|
||||||
|
sta $c48d ; interrupt flag register 6522#2
|
||||||
|
|
||||||
ldx #$80 ; 0= ~650ms, 80 = ~325ms
|
ldx #$80 ; 0= ~650ms, 80 = ~325ms
|
||||||
ldy #0
|
ldy #0
|
||||||
|
Loading…
Reference in New Issue
Block a user