Marble Madness (NES) - RAM

From ROM Detectives Wiki
Jump to navigation Jump to search
Label-Main.pngLabel-RAM.pngLabel-ROM.pngLabel-Text.png


USA

USA

Marble Madness - NES - USA.png

Memory Addresses

0012 - Number of Players Flag (00 - 1, 01 - 2)
001C - Letter value in name entry
001E - Character position in name entry
0022 - Controller 1 Poll
0023 - Controller 2 Poll
002E - Marble Position X in name entry
002F - Marble Position Y in name entry
0041 - P1 Angle (00 - 90, 01 - 45)
0042 - P2 Angle (00 - 90, 01 - 45)
0043 - Timer Delay
0044 - P1 Time
0045 - P2 Time
004A - P1 Score: 99xxxx (Numbers are in hex)
004B - P1 Score: xx99xx
004C - P1 Score: xxxx99
0050 - Time added at the beginning on each race
005D - P2 Score: 99xxxx
005E - P2 Score: xx99xx
005F - P2 Score: xxxx99

0200-02FF - Sprite Memory

0390-0397 - Objects X Pos (Players are the first 2 objects)
0398-039F - Objects ? Flags
03A0-03A7 - Objects Movement Value ?
03A8-03AF - Objects Y Pos
03B0-03B7 - Objects Alive Flag
03B8-03BF - Objects ? Flag
03C0-03C7 - Objects Z Pos
03C8-03CF - Objects ? Pos
03D0-03D7 - Objects Velocity
03D8-03DF - Objects ? Flag
03E0-03E7 - Objects Velocity (Doesn't change when moving diagonally)
03E8-03EF - Objects ? Flag
03F0-03F7 - 
03F8-03FF - 
0400-0407 - Objects Direction (NPCs only)
0408-040F - Objects Type (See Object Type Table)

0600-0605 - P1 Name
0606-060B - P2 Name
060C-0665 - High Score List

07CC-07C? - P1 Display Score
07D8-07D? - P2 Display Score

Tables

Object Type Table

01 - Player
02 - Crashes
03 - Flag
04 - Crashes
05 - Crashes
06 - Crashes
07 - Player Breaking
08 - Player Being Swept Up
09 - Player Dying
0A - Acid Puddles
0B - Player Reforming
0C - Player Melting in Acid
0D - Crashes
0E - Crashes
0F - Crashes
10 - Muncher
11 - Muncher In Air
12 - Muncher Landing
13 - Muncher Eating
14 - Goal
15 - Crashes
16 - Rail Left to Right
17 - Rail Right to Left
18 - Black Steelie
19 - Crashes
1A - Unknown (Has movement code, but no graphics)
1B - Player About to Go Through Pipe
1C - Player Going Through Pipe
1D - Acid Melting Player
1E - Player Dying For Unknown Reason
1F - Mini Steelie
20 - Mini Acid
21 - Mini Muncher
22 - Bird Forming
23 - Bird Flying
24 - Bird Crashing
25 - Bird Dissolving
26 - Player Exploding
27 - Piston
28 - Hammer
29 - Vacuum
2A - Unknown player death
2B - Player Slowly Cracking 1 (Unused)
2C - Player Slowly Cracking 2 (Unused)
2D - Player Instant Death
2E - Crashes
2F - Crashes

Code

Starting Time

A32E:3C                          ; Starting time.


Europe

Europe

Marble Madness - NES - Europe.png