RAM Memory Map

US Address JP Address PAL Address Shindou Address Length Type Description Notes
800EE060 800EB1E0 4 bytes Pointer Pointer to debug function
80207700 80207B00 112 bytes Flag EEPROM file A flags
80207770 80207B70 112 bytes Flag EEPROM file B flags
802077E0 80207BE0 112 bytes Flag EEPROM file C flags
80207850 80207C50 112 bytes Flag EEPROM file D flags
8032D580 8032C640 4 bytes Integer VI timer
8032D58C 8032C64C 802F973C 8030CCBC 1 byte Flag Debug level select enabled flag 01 to enable debug level select.
8032D594 8032C654 802F9744 1 byte Flag Debug resource meter enabled flag Greater than zero to enable debug resource meter.
8032D598 8032C658 802F9748 1 byte Flag Debug display 1 enabled flag Greater than zero to enable debug display 1.
8032D5D4 8032C694 4 bytes Integer Input timer
8032D5E4 802F9794 4 bytes Pointer Pointer to controller struct (P1)
8032D5E8 802F9798 4 bytes Pointer Pointer to controller struct (P2)
8032DDF4 2 bytes Integer File
8032DDF8 2 bytes Integer Level
80330E34 8032FED4 4 bytes Pointer Pointer to object Mario is standing on
80330E94 8032FF34 802FD054 803105C4 1 byte Integer Debug display 2 type
80330F3C 8032FFDC 4 bytes Float Painting entrance height Controls initial WDW water level.
80331620 1 byte Integer Act
80335B80 80334A70 4 bytes ASCII BUF text
80336420 80335280 4 bytes ASCII ANG text
80336428 80335288 4 bytes ASCII SPD text
80336430 80335290 4 bytes ASCII STA text
803383A8 803371C8 4 bytes ASCII TIME text
8033AFA0 80339C30 2 bytes Flag Current button input (P1)
8033AFBC 2 bytes Flag Current button input (P2)
8033AFD8 2 bytes Flag Current button input (P1)
8033AFF8 2 bytes Flag Current button input (P1)
8033AFFA 2 bytes Integer Current joystick input (P1) Upper byte is horizontal tilt, lower byte is vertical tilt.
8033AFFE 2 bytes Flag Current button input (P2)
8033B000 2 bytes Integer Current joystick input (P2) Upper byte is horizontal tilt, lower byte is vertical tilt.
8033B004 2 bytes Flag Current button input (P3)
8033B006 2 bytes Integer Current joystick input (P3) Upper byte is horizontal tilt, lower byte is vertical tilt.
8033B00A 2 bytes Flag Current button input (P4)
8033B00C 2 bytes Integer Current joystick input (P4) Upper byte is horizontal tilt, lower byte is vertical tilt.
8033B172 80339E02 2 bytes Flag Mario status
8033B174 80339E04 4 bytes Flag Mario cap and other flags
8033B17C 80339E0C 4 bytes Mario action
8033B180 80339E10 4 bytes Mario previous action
8033B188 2 bytes Integer Mario animation phase
8033B18A 2 bytes Integer Mario animation cycle counter
8033B194 80339E24 2 bytes Integer Mario angle (intended)
8033B196 80339E26 2 bytes Integer Mario invincibility frame counter
8033B19C 80339E2C 2 bytes Integer Mario front tilt (facing)
8033B19E 80339E2E 2 bytes Integer Mario angle (facing)
8033B1A8 80339E38 2 bytes Integer Mario angle (moving)
8033B1AC 80339E3C 4 bytes Float Mario Y position
8033B1B0 80339E40 4 bytes Float Mario Z position
8033B1B4 80339E44 4 bytes Float Mario X position
8033B1B8 80339E48 4 bytes Float Mario Y speed
8033B1BC 80339E4C 4 bytes Float Mario Z speed
8033B1C0 80339E50 4 bytes Float Mario X speed
8033B1C4 80339E54 4 bytes Float Mario horizontal speed
8033B1C8 80339E58 4 bytes Float Mario Y speed
8033B1CC 80339E5C 4 bytes Float Mario X speed
8033B1D0 80339E60 4 bytes Pointer Pointer to wall collision triangle
8033B1D4 80339E64 4 bytes Pointer Pointer to ceiling collision triangle
8033B1D8 80339E68 4 bytes Pointer Pointer to ground collision triangle
8033B1DC 80339E6C 4 bytes Float Mario ceiling Z
8033B1E0 80339E70 4 bytes Float Mario ground Z
8033B1E4 80339E74 2 bytes Integer Mario ground horizontal angle
8033B1EC 80339E7C 4 bytes Pointer Pointer to held object
8033B1F0 80339E80 4 bytes Pointer Pointer to animating object
8033B1F8 80339E88 8032ED88 4 bytes Pointer Pointer to Mario object
8033B204 80339E94 4 bytes Pointer Pointer to camera struct
8033B20C 80339E9C 4 bytes Pointer Pointer to controller struct
8033B210 80339EA0 4 bytes Pointer Pointer to Mario animation struct
8033B218 80339EA8 2 bytes Integer Number of coins
8033B21A 80339EAA 2 bytes Integer Number of stars
8033B21C 80339EAC 8031DA6C 1 byte Integer Number of beta keys
8033B21D 80339EAD 1 byte Integer Number of lives
8033B21E 80339EAE 2 bytes Integer Mario Health Upper byte is value, lower byte is decimal.
8033B220 80339EB0 2 bytes Integer Mario Y offset from ground
8033B226 80339EB6 2 bytes Integer Mario cap timer
8033B238 80339EC8 2 bytes Flag Menu modifier
8033B248 80339ED8 1 byte Flag Spawn status
8033B249 80339ED9 1 byte Integer Level
8033B24A 80339EDA 1 byte Integer Area
8033B24B 80339EDB 1 byte Integer Spawn point
8033B256 80339EE6 2 bytes Integer Spawn type
8033B25E 80339EEE 1 byte Flag In-game timer enabled flag Greater than zero to enable in-game timer.
8033B262 80339EF2 2 bytes Integer Incremental coins
8033B26A 80339EFA 2 bytes Flag HUD flags
8033B26C 80339EFC 2 bytes Integer In-game timer
8033B3C8 8033A058 4 bytes Float HOLP Y
8033B3CC 8033A05C 4 bytes Float HOLP Z
8033B3D0 8033A060 4 bytes Float HOLP X
8033B920 8033A5B0 4 bytes Pointer Pointer to spawn info linked list
8033B944 80309C04 2 bytes Integer Music track
8033C6A4 4 bytes Float Camera Y
8033C6A8 4 bytes Float Camera Z
8033C6AC 4 bytes Float Camera X
8033C6D4 8033B364 1 byte Integer Camera type
8033C6E4 8033B374 2 bytes Integer Camera horizontal angle
8033C6E6 8033B376 2 bytes Integer Camera vertical angle
8033C714 8033B3A4 2 bytes Integer Camera centripetal angle
8033D260 8033BEF0 8030AE90 8031F420 4 bytes Flag Debug display 2 enabled flag 00000001 to enable debug display 2.
8033D270 8033BF00 4 bytes Integer Number of objects
8033D2DE 8033BF6E 8030AF0E 2 bytes Flag Debug spawn enabled flag 0001 to enable debug spawn. Debug display type must also be set to 03.
80361158 8035FDE8 4 bytes Pointer Pointer to Mario object
80361160 8032ED90 4 bytes Pointer Pointer to current object
80361258 8035FEE8 8032EE88 2 bytes Integer TTC clock speed
80361414 803600A4 2 bytes Integer CCM/SL snowfall intensity
80367054 2 bytes Flag Current button input (P1)
80367056 2 bytes Integer Current joystick input (P1) Upper byte is horizontal tilt, lower byte is vertical tilt.
8036705C 2 bytes Flag Current button input (P2)
8036705E 2 bytes Integer Current joystick input (P2) Upper byte is horizontal tilt, lower byte is vertical tilt.
80367064 2 bytes Flag Current button input (P3)
80367066 2 bytes Integer Current joystick input (P3) Upper byte is horizontal tilt, lower byte is vertical tilt.
8036706C 2 bytes Flag Current button input (P4)
8036706E 2 bytes Integer Current joystick input (P4) Upper byte is horizontal tilt, lower byte is vertical tilt.
8038BE28 80386BA8 4 bytes Pointer Pointer to current level script command
8038EEE0 8038EEE0 2 bytes Integer RNG value

References