Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

Dr. Mario (NES)/RAM map: Difference between revisions

From Data Crystal
Jump to navigation Jump to search
No edit summary
No edit summary
Line 28: Line 28:
|-
|-
|0x031B || Next pill: Second color.
|0x031B || Next pill: Second color.
|-
|0x0400-0x047F || Play field. Set to 255 when a square is empty, other values when it isn't. This appears to be the sprite being displayed, since it distinguishes between a single yellow dot and a left half of a yellow pill and a bottom half of a yellow pill.
|-
|-
|0x067E || Maximum frames to wait before the three viruses move.
|0x067E || Maximum frames to wait before the three viruses move.

Revision as of 12:47, 10 August 2010

Chip tiny.png The following article is a RAM map for Dr. Mario (NES).

This data is relevant to Dr. Mario (JU) [t1] and may not be correct for other dumps.

Table

RAM Address Information
0x0046 Mode.
0x0065 Game option cursor position.
0x008B Speed cursor. (Copied from 0x030B.)
0x0305 Falling pill X position.
0x0306 Falling pill Y position.
0x030B Pill Speed. (26 = fastest, 85=slowest (hex))
0x0312 Frames left before current pill drops.
0x0316 Level number.
0x031A Next pill: First color.
0x031B Next pill: Second color.
0x0400-0x047F Play field. Set to 255 when a square is empty, other values when it isn't. This appears to be the sprite being displayed, since it distinguishes between a single yellow dot and a left half of a yellow pill and a bottom half of a yellow pill.
0x067E Maximum frames to wait before the three viruses move.
0x067F Frames left before the three viruses move.
0x0727 Number of players.
0x0731 Music type.