PIC: Disable all irqs at start

This commit is contained in:
Byron Lathi
2023-11-19 23:30:02 -08:00
parent 1e9be6c764
commit 3861e44693

View File

@@ -25,7 +25,7 @@ IRQ_CMD_EOI = $ff
; mask all IRQs, set all type to edge.
.proc _init_interrupt_controller
ldx #$20 ; enable
ldy #$ff
ldy #00
jsr cmd_all
ldx #$40 ; edge type
ldy #$00