Adds functions to read and write mappings, as well as enable and disable the memory mapper. This also moves increases the io space by 16 bytes.
15 lines
197 B
Plaintext
15 lines
197 B
Plaintext
SEVEN_SEG = $7ff0
|
|
|
|
UART = $7ff4
|
|
UART_TXB = UART
|
|
UART_RXB = UART
|
|
UART_STATUS = UART + 1
|
|
|
|
LED = $7ff6
|
|
SW = LED
|
|
|
|
MM_CTRL = $7ff7
|
|
MM_DATA = $7fe0
|
|
|
|
IRQ_STATUS = $7fff
|