User Tools

Site Tools


development:csdk:2.0:headers:persist

persist.h

Functions for saving data to the cartridge flash at runtime.

Functions

clear_save_sector()

void clear_save_sector();

The flash memory sector to be written must be cleared first to all 0xFF bytes, as the write operation can only change 1 bits to 0 bits.

save_write

void save_write(void *src, void *dest, char len);

Copy len bytes from src (must be in RAM) dest (must be in ROM “SAVE” sector)

development/csdk/2.0/headers/persist.txt · Last modified: 2024/11/20 21:46 by clyde