Files
super6502/sw/io.inc65
Byron Lathi a5474b5ae5 Implement interrupt status register
Upon an interrupt, you can read from the interrupt status register to
see what caused the interrupt.
2022-03-14 13:30:01 -05:00

9 lines
123 B
Plaintext

SEVEN_SEG = $7ff0
UART = $7ff4
UART_TXB = UART
UART_RXB = UART
UART_STATUS = UART + 1
IRQ_STATUS = $7fff