PIC: Disable all irqs at start
This commit is contained in:
@@ -25,7 +25,7 @@ IRQ_CMD_EOI = $ff
|
|||||||
; mask all IRQs, set all type to edge.
|
; mask all IRQs, set all type to edge.
|
||||||
.proc _init_interrupt_controller
|
.proc _init_interrupt_controller
|
||||||
ldx #$20 ; enable
|
ldx #$20 ; enable
|
||||||
ldy #$ff
|
ldy #00
|
||||||
jsr cmd_all
|
jsr cmd_all
|
||||||
ldx #$40 ; edge type
|
ldx #$40 ; edge type
|
||||||
ldy #$00
|
ldy #$00
|
||||||
|
|||||||
Reference in New Issue
Block a user