Would it in any way be possible to set aside a small "temporary storage" location in whatever memory is left over, that is cleared every time the retrode is plugged in; save any file written to the filesystem, regardless of the name, in that (obviously reporting disk full if it exceeds the available space), but constantly check the directory listing to see if any files are named RETRODE.CFG, and if so read them and replace the config? Or am I ridiculously overthinking things, and that would be really hard?

On that note, Would it perhaps be possible to tune the virtual file system to let the OS think its writing to a new file, but direct it to the same memory space if the name matches?

@Muzer: Good idea but there's simply not enough memory for that. Mind you, the Retrode is already hallucinating a 128MB file system using only 3500 bytes of RAM. Right now, there are about 600 bytes left; not enough to even hold a single config file, let alone a whole chunk of SRAM data. The next major firmware revision will likely involve a desperate attempt at data compression, but I doubt it will free enough space to allow for such things.

@Neelix: Won't work because typically, first the data is written - then the file system entry (i.e., the name) is created. So we'd have to deal with the data before we even know what it's good for.