![]() |
CHGame 0.3.0
Libraries for the CHGame handheld
|
Read-only microSD: an SPI-mode block driver and a FAT16/FAT32 reader that turns a file name into runs of card blocks. More...
Modules | |
| FAT16/FAT32 files | |
| A read-only FAT16/FAT32 reader on top of sd::read(): a file name in, the file's runs of card blocks out. | |
| SD card blocks | |
A read-only SPI-mode microSD block driver: sd::init(), sd::read() and sd::stream(). | |
Read-only microSD: an SPI-mode block driver and a FAT16/FAT32 reader that turns a file name into runs of card blocks.
About 1.7 KB of flash and 24 B of RAM. The card shares SPI1 with the panel, so every call goes between gfx_wait() and the next flush, and every call borrows a 512-byte, 4-byte-aligned buffer (CHGfx's gfx_chunkScratch() is idle at exactly that time).
Cards must be FAT16 or FAT32 (how cards up to 32 GB come); exFAT is reported as fat::E_EXFAT so a game can ask for a reformat.