This i have found but it not work for me. maybe someone understand it. i do this but game not save inside the rom
The ROM --> SRAM loading is basically done to be able to save without battery. Over all the behavior of those roms is as follows:
During Boot:
Load ROM Area to SRAM
During Save:
Save to SRAM --> Copy SRAM back into ROM area and do some voodoo calls to persist.
However:
After a bit of fiddling here and there, I came to the following workflow:
1. Apply GBATA SRAM patch as normal
2. Search for Bank switching pattern in a Hex Editor. For FLASH1M_V103 the pattern is:
Code:
054B 8021 0902 0922 1206 9F44 1180 0349 C302 C918 1180 7047
3. Replace it with pattern:
Code:
054B 8021 0902 0922 1206 9F44 9021 0905 0000 0000 0870 7047
Obviously this is different for different FLASH types. I will try to create some automatic patching script in python or C this weekend that should cover other FLASH1M versions as well.
----
Technical explanation:
For some reason, GBATA SRAM patching does some "voodoo" bank switching that does apparently not work on real cartridges.
To make it work, I removed the "voodoo" parts and simply say:
Write $BANKNUMBER to 0x9000000
And that's it
Can you also do that this tool insert a save? Scan where it is and replace it?