User Tools

Site Tools


notes:flashcart:edgbx

This is an old revision of the document!


EverDrive GB X-series (GB/GBC) programming

Stub (only covers SPI bus for storage).

Registers

0xBD00 (SPI_DATA)

SPI data port. 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.1716562119.txt.gz · Last modified: 2024/05/24 14:48 by asie