Sonic Chaos (Sega Master System)/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Sonic Chaos (Sega Master System).

Note that sizes are listed in decimal.

Offset	Size		Description

C000	4096		Level Layout
D137	16		Controller input (01 up, 02 down, 04 left, 08 right, 10 B1, 20 B2)
D170	1		Camera value X 32x32 position
D174	2		Camera value X
D176	2		Camera value Y
D278	1		Sonic's X 32x32 position
D285	1		Sonic X 256X256 position
D293	1		Sonic's feet wiggling in continue screen
D297	1		Zone value
D298	1		Act value
D299	1		Lives
D29A	1		Rings
D2A6	2		Speed/Time (Little Endian)
D2AE	1		Score
D2BF	1		Sound effect number
D2BF	2		Timer
D2C2	1		Millisecond timer
D2C3	1		Continues
D2C8	1		Sonic or Tails trigger
D2C9	1		Level select arrow location
D2CA	1		Continue timer
D2CB	1		Continue clock
D351	1		Ring frames
D358	2		Sonic X position
D35A	2		Sonic Y position
D446	1		Holding down button value
D454	1		THZ Auto BG frames
D472	32		Palette data
D506	1		Sonic's sprite
D50E	1		Sonic's foot sound test
D52A	1		Sonic's foot sound test
D533	1		Scrolling timer for intro
D533	1		Ending change sprite (sonic/tails) timer
D700	64		Sprite 1 data
D711	1		Robotnik X value
D726	1		Boss HP
D733	1		Timer between Boss destroyed and Sonic running
D740	64		Sprite 2 data
D780	64		Sprite 3 data
D7C0	64		Sprite 4 data
D800	64		Sprite 5 data
D834	1		Text loaded in ending?
D840	64		Sprite 6 data
D880	64		Sprite 7 data
DE01	1		Tempo speed up timer?
DE02	1		Music tempo
DE08	1		Music pause flag
DE40	48		Instrument 1 | DE4B Instrument notes 1
DE70	48		Instrument 2 | DE7B Instrument notes 2
DEA0	48		Instrument 3 | DEAB Instrument notes 3
DED0	48		Percussion | DED6 Drum track
DF00	48		Music related 1?
DF30	48		Music related 2?
DF60	48		Music related 3?