Adds functions to wait for data to be read, and to read data form the sd card controller.
19 lines
258 B
Plaintext
19 lines
258 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
|
|
|
|
SD_ARG = $7ff8
|
|
SD_CMD = $7ffc
|
|
SD_DATA = $7ffd
|
|
|
|
IRQ_STATUS = $7fff
|