Difference between revisions of "Sonic the Hedgehog CD/RAM Editing"
From Sonic Retro
m (work in progress map of Sonic CD's RAM locations) |
(→Main System Memory Locations) |
||
Line 1: | Line 1: | ||
==Main System Memory Locations== | ==Main System Memory Locations== | ||
− | This is a map of 68k memory as used by the main gameplay engine. Note that any numbers entered (for example, score or number of rings) will have to be converted to hex first. | + | This is a map of 68k memory as used by the main gameplay engine. For the most part, the memory locations in Sonic CD are the same as they are in the Genesis Sonic games. The following are mainly memory locations specific to Sonic CD. Note that any numbers entered (for example, score or number of rings) will have to be converted to hex first. |
These are the offsets in RAM. | These are the offsets in RAM. | ||
Line 9: | Line 9: | ||
| Metablock table | | Metablock table | ||
|- | |- | ||
− | | $ | + | | $1512 |
− | | | + | | Ring Counter |
|- | |- | ||
− | | $ | + | | $1516 |
− | | | + | | Timer |
|- | |- | ||
− | | $ | + | | $151A |
− | | | + | | Score |
|- | |- | ||
− | | $ | + | | $1512 |
− | | | + | | Ring Counter |
+ | |- | ||
+ | | $152E | ||
+ | | Time Period. 00 is past, 01 is present, 02 is future | ||
+ | |- | ||
+ | | $1548-$154B | ||
+ | | X and Y location when time traveling. Used to determine where you spawn. | ||
|} | |} |
Revision as of 21:39, 25 June 2011
Main System Memory Locations
This is a map of 68k memory as used by the main gameplay engine. For the most part, the memory locations in Sonic CD are the same as they are in the Genesis Sonic games. The following are mainly memory locations specific to Sonic CD. Note that any numbers entered (for example, score or number of rings) will have to be converted to hex first.
These are the offsets in RAM.
RAM offset | Description |
---|---|
$0000 - $7FFF | Metablock table |
$1512 | Ring Counter |
$1516 | Timer |
$151A | Score |
$1512 | Ring Counter |
$152E | Time Period. 00 is past, 01 is present, 02 is future |
$1548-$154B | X and Y location when time traveling. Used to determine where you spawn. |