Monopoly (NES)/RAM map

From Data Crystal
Jump to navigation Jump to search

[1]

  1. Chip tiny.png The following article is a RAM map for Monopoly (NES).

    Table

    RAM Address Information
    0x0000 Input register
    0x000F-0015 Controls CPU action (players 8-1)
    0x001D Purpose unknown; freezes game while altered
    0x001E-0025 Appears to be function pointers; game becomes very unstable and will likely crash if altered
    0x0027 Internal timer
    0x0029 Game palette
    0x002C/002D Unknown; appears to be linked to game state
    0x002E/002F Background Y/X position
    0x003C Current player
    0x003D Current token's location on the board
    0x003E Current player's Jail flag/turn counter
    0x0045 Audio offset for recording
    0x0048 Recording playback timer (counts up)
    0x004F ID of current deed
    0x006C-006F Game timer (hours/timer status, 10s of minutes, 1s of minutes, seconds, frames)
    0x0070 Demo flag
    0x0071 Flag for continuing music on return to title screen
    0x00F6-00FB Appears to be sprite-related variables
    0x0100-01FF Stack memory
    0x0200-02FF Sprite table
    0x0300/0301 First/second die number
    0x0305 Active token ID
    0x0306 Token movement counter (counts remaining spaces to move)
    0x0322 Player count
    0x0323 Token bitmask (used to mark tokens as selected)
    0x0324-032B List of player token locations
    0x032C-0333 Remaining player flags
    0x033C-0343 Human/computer player flags
    0x0344-034B Player token IDs
    0x034C-038B Player name table
    0x0394-039B Player name length
    0x039D-03C4 Board status variables
    Bit no. Status controlled
    7 Owned by player
    6 Mortgaged/unmortgaged
    3-5 Rent status
    0-2 Player owning property
    0x03C5-03EC Player money table (10000s, 1000s, 100s, 10s, and 1s for each player)
    0x0416 Animation timer
    0x041B Debt reason
    0x0422-0426 Rent amount in payment message
    0x042C-0433 Stored Jail flags/turn counters
    0x0437 Selected submenu option
    0x0438 Menu return location
    0x0439 Menu message ID
    0x0441 Player menu ID
    0x0442 Selected player discernment menu option
    0x0443 Selected side of player discernment menu
    0x044A Stored last-viewed deed ID
    0x044D-0451 Amount paid/received (used for menu message)
    0x0452-0456 Last modified cash amount during trade
    0x0466 Sufficient houses/hotels flag
    0x0468/0469 Remaining houses/hotels
    0x0472/0473 Chance card ID/next Chance card ID
    0x0482/0483 Community Chest card ID/next Community Chest card ID
    0x0492 Chance/Community Chest card determinant (card ID offset)
    0x0495 Utility "roll for rent" flag
    0x049F Bankrupted player ID
    0x04A8 Number of queued bankrupt players
    0x04A9-04D0 Board auction flags
    0x04D3 Property being auctioned
    0x04D5-04D9 Next bid price
    0x04DC-04E0 Current bid
    0x04E1 ID of player placing current bid
    0x04E5 Auction sub-timer
    0x04E6 Auction timer
    0x04EA Last-played music ID
    0x04EB Number of queued sound effects (immediate playback)
    0x04EC-0503 Sound effect queue
    0x0525 Selected trade menu button
    0x0529-0550 Property offered flags/ID of player owning property
    0x055C/055D Number of offered properties (player 1/2)
    0x055E/055F Page number (offered property list, player 1/2)
    0x0566-056A Offered cash amount for trade (first player)
    0x056B-056F Offered cash amount for trade (second player)
    0x0583 Chance/Community Chest card animation offset
    0x058A Leaving Jail animation start flag
    0x058B Leaving Jail animation timer
    0x058C Leaving Jail animation status flag
    0x0597-059E Bankruptcy queue (read backwards)
    0x05D6-05DA Remaining rent to count during animation (10000s, 1000s, 100s, 10s, 1s)
    0x05E2 Bill animation timer
    0x05E3 Cash register/Capitol building animation timer
    0x05E4 Number of bills on screen
    0x05ED CPU action delay timer
    0x05F0 CPU wait timer
    0x0640 Counteroffer/deny trade flag
    0x064E Button to select (CPU trade)
    0x0654 Trade turn counter
    0x0671 House/hotel building animation ID
    0x0672 House/hotel building animation progress (counts up after each hammer strike)
    0x0675 Selected timer menu option
    0x068D/068E ID of music/sound effect to start (FF if none)
    0x06A0-078F Seems to be data related to the sound engine
    0x0797, 07A4, 07B1 Controls pitch of bid placement sound effect (channels 1, 2, 3)
    0x07BD Selected option in current menu
    0x07BF Selected player menu option