libsavgba

From GameBrew
libsavgba
Gba2.png
General
Authorlaqieer
TypeDevelopment Libraries
Version3.30
LicenseBSL-1.0 license
Last Updated2021/07/06
Links
Download
Website
Source
Support Author

A library to access various backup media in GBA cartridges. It comes with an example application detect-save-type to detect backup media type.

The homebrew was presented in the GBA Jam 2021.

User guide

Compatibility table.

Documentation.

Changelog

3.3.0 2021/07/05

  • Add support to show error codes and error messages.
  • Add verify in eeprom_write.
  • Support cross-sector flash write.

3.2.0 2021/07/05

  • Add an extra tool: detect-save-type.

3.1.2 2021/07/03

  • Fix 512B EEPROM's compatibility with EverDrive-GBA X5.

3.1.1 2021/07/03

  • Fix Flash's compatibility with vba and vba-m.

3.1.0 2021/07/03

  • Add backup media support for Atmel's Flash.

3.0.0 2021/07/02

  • BREAKING CHANGES - Add eeprom_init(), rename eeprom_512_read() and eeprom_8K_read() to eeprom_read(), rename eeprom_512_write() and eeprom_8K_write() to eeprom_write().
  • Add 10ms timeout for eeprom_write().
  • Unify read and write function for backup media EEPROM.
  • Fix detection after write data to EEPROM.
  • Fix out of range detection.

2.0.0 2021/07/02

  • BREAKING CHANGES - Add a parameter to specify the flash size to flash_init(), just pass 0 if you don't want to specify it, then it will be detected automatically by flash chip identification operation.
  • Add backup media support for 128KB Flash.

1.2.0 2021/07/02

  • Add backup media support for 64KB Flash.

1.1.0 2021/06/30

  • Add backup media support for EEPROM.
  • Fix Cart Backup IDs.
  • Fix infinite loop in eeprom_write.

1.0.0 2021/06/29

  • Add backup media support for SRAM.

External links

Advertising: