This patch rewrites the game's save file handling by using DMA for saving and loading, leading to the most efficient handling. As a bonus, it also frees up the 141 bytes of RAM at $7E:1F49. However, you should probably apply this patch after you use Lunar Magic to modify any of the level's level flags on the overworld -- LM doesn't take into account the fact that $1F49 is never being used anymore.
Read the readme for information on including an address to be saved to SRAM/BWRAM.
This version now allows addresses to have default values.
The BWRAM is included because due to the nature of the sa-1 rom, SRAM doesn't exist, so use that instead of SRAM on a sa-1 rom, not SRAM.
Update: Fixed for compatibility with Lunar Magic v2.53.
Quoting myself from a previous version of the patch.
Just pointing out some really useful info.
SRAM Plus, as mentioned in the description, frees $1F49 which is STILL used by LM, that also means you should reapply this patch AFTER you modify and save your overworld because your ROM will NOT be listening the initial level flags and that will cause you problems.
BW-RAM plus does NOT have this problem because it never touches $1F49.