====== 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)