Implement interrupt status register
Upon an interrupt, you can read from the interrupt status register to see what caused the interrupt.
This commit is contained in:
@@ -4,3 +4,5 @@ UART = $7ff4
|
||||
UART_TXB = UART
|
||||
UART_RXB = UART
|
||||
UART_STATUS = UART + 1
|
||||
|
||||
IRQ_STATUS = $7fff
|
||||
|
||||
Reference in New Issue
Block a user