Actions

SCHG

Difference between revisions of "Sonic the Hedgehog CD/RAM Editing"

From Sonic Retro

(Main System Memory Locations)
(Main System Memory Locations)
Line 6: Line 6:
 
!RAM offset||Description
 
!RAM offset||Description
 
|-
 
|-
| width="100" | $0000 - $7FFF
+
| width="100" | $1512
| Metablock table
 
|-
 
| $1512
 
 
| Ring Counter
 
| Ring Counter
 
|-
 
|-
Line 24: Line 21:
 
| Time Period. 00 is past, 01 is present, 02 is future
 
| Time Period. 00 is past, 01 is present, 02 is future
 
|-
 
|-
| $1548-$154B
+
| $1548 - $154B
 
| X and Y location when time traveling. Used to determine where you spawn.
 
| X and Y location when time traveling. Used to determine where you spawn.
 
|}
 
|}

Revision as of 21:40, 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
$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.