Add memory mapper software interface

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.
This commit is contained in:
Byron Lathi
2022-04-07 10:32:28 -05:00
parent 3c44be8e6d
commit a15dde0e89
4 changed files with 49 additions and 2 deletions

View File

@@ -8,4 +8,7 @@ UART_STATUS = UART + 1
LED = $7ff6
SW = LED
MM_CTRL = $7ff7
MM_DATA = $7fe0
IRQ_STATUS = $7fff