Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

EarthBound/ASM/SRAM Routines: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
(Create stub)
 
(Finish locating all routines and correct block end)
Line 3: Line 3:
|loc=ROM
|loc=ROM
|start=<tt>0x2F07A9</tt>
|start=<tt>0x2F07A9</tt>
|end=<tt>0x2F0C3C</tt>
|end=<tt>0x2F0E3C</tt>
|totallength=1172 bytes (<tt>0x0494</tt>)
|totallength=1684 bytes (<tt>0x0694</tt>)
}}
}}


Line 26: Line 26:


==<tt>$ef0a4d-$ef0a67</tt>: Save Persistent WRAM to Save Slot==
==<tt>$ef0a4d-$ef0a67</tt>: Save Persistent WRAM to Save Slot==
==<tt>$ef0a68-$ef0b9d</tt>: Load Save Slot to Persistent WRAM==
==<tt>$ef0b9e-$ef0bf9</tt>: Validate SRAM==
==<tt>$ef0bfa-$ef0c14</tt>: Erase Save Slot==
==<tt>$ef0c15-$ef0c3c</tt>: Copy Save Slot==


{{stub}}
{{stub}}

Revision as of 16:41, 9 June 2024

SRAM Routines
Game EarthBound
Start Address 0x2F07A9
End Address 0x2F0E3C
Total Length 1684 bytes (0x0694)
Back to the ROM map

$ef05a9-$ef062f: Reset SRAM Block

$ef0630-$ef0682: Validate SRAM Block Signature

$ef0683-$ef06a1: Validate All SRAM Block Signature

$ef06a2-$ef0733: Copy SRAM Block

$ef0734-$ef077a: Calculate SRAM Block Checksum 1

$ef077b-$ef07bf: Calculate SRAM Block Checksum 2

$ef07c0-$ef0824: Validate SRAM Block Checksums

$ef0825-$ef088e: Validate Save Slot Checksums

$ef088f-$ef0a4c: Save Persistent WRAM to SRAM Block

$ef0a4d-$ef0a67: Save Persistent WRAM to Save Slot

$ef0a68-$ef0b9d: Load Save Slot to Persistent WRAM

$ef0b9e-$ef0bf9: Validate SRAM

$ef0bfa-$ef0c14: Erase Save Slot

$ef0c15-$ef0c3c: Copy Save Slot

So very stubbly.
This page is rather stubbly and could use some expansion.
Are you a bad enough dude to rescue this article?