Home

Awesome

gba-flashcartio

A Game Boy Advance (GBA) C library to access the SD card of the following flashcarts:

The flashcart type is autodetected and FAT partitions are supported via ELM-ChaN's FatFs library.

Install

The code for the EverDrive cartridge is publicly available, but it doesn't have any license, so it's not included here.

Usage

Refer to the example to see how it works. It is written in C++ for demonstration purposes, but gba-flashcartio is a C library, fully compatible with both C and C++.

To compile the example with EverDrive support, change -DFLASHCARTIO_ED_ENABLE=0 to -DFLASHCARTIO_ED_ENABLE=1 in its Makefile.

An already compiled .gba ROM is available in the Releases section.

Compile-time options

In lib/sys.h:

In lib/fatfs/ffconf.h:

Thanks to