Changes

Jump to navigation Jump to search

FF7/Kernel/Memory management

34 bytes removed, 07:21, 10 March 2005
RAM management
== RAM management ==
No matter what module is banked into memory, there is a section of memory 4,340 bytes long (0x10F4 bytes) that is reserved for all the variables for the entire game. This entire image is called the "[[FF7/Save mapSavemap|Save mapSavemap]]". When it's time to save a game, this section of memory is copied to non-volatile ram, such as a hard disk or memory card.
Within the [[FF7/Savemap|Savemap]] there are 5 banks of memory that are directly accessible by the [[FF7/Field script|field scripting language]]. These can either be accessed 8 bits or 16 bits at a time depending on the field command argument. The following table is basic memory map of the banks and how they relate to the [[FF7/Savemap|Savemap]]. There is also an allocation for 256 bytes for temporary field variables. These are not used between field files and are not saved.
N/A</td>
<td style="border: 1px solid rgb(0, 0, 0); width: 281px; height: 25px;">
Beginning of Save Map[[FF7/Savemap|Savemap]]</td>
</tr>
N/A</td>
<td style="border: 1px solid rgb(0, 0, 0); width: 281px; height: 25px;">
End of Save Mapthe [[FF7/Savemap|Savemap]]</td>
</tr>
</tr>
</table>
 
 
A more complete and annotated save map is in the MENU section.
 
Anonymous user

Navigation menu