User Tools

Site Tools


notes:flashcart:edgbx

EverDrive GB X-series (GB/GBC) programming

Stub (only covers SPI bus for storage).

Registers

0xBD00 (SPI_DATA)

SPI data port used for communication with the SD card. Write to send and receive a byte; read to get the last received byte.

0xBD01 (SPI_CTRL)

7  bit  0
---- ----
b... .als
|     |||
|     ||+- Chip select: 1 = high, 0 = low
|     |+-- 1 to use ~400kHz speed (for init), 0 to use full speed
|     +--- ?
+--------- 1 if SPI byte transfer ongoing

0xBD0A (KEY)

Write 0xA5 to unlock registers; write 0x00 to lock registers.

notes/flashcart/edgbx.txt · Last modified: 2024/05/24 22:07 by asie