Pac-Man (Arcade)/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for Pac-Man (Arcade).

Addr    Size    Description
----    ----    -----------
4E66       1    Last state coin inputs shifted left by 1
4E6B       1    How many coins needed to be inserted before a credit is registered (default: 01)
4E6C       1    How many coins have been inserted (will register as a credit and go back to 0 when equal to 4E6B)
4E6D       1    How many credits per coin (default: 01)
4E6E       1    Credits (FF displays "Free Play")
4E6F       1    How many lives you start each game with (default based on DIP switch)
4E70       1    Number of players
                * 00 - 1 player
                * 01 or above - 2 player
4E80       4    P1 score
4E84       4    P2 score
4E88       4    High score
4E9D       1    Sounds set #1
                * 01 - Extra life
                * 02 - Coin inserted
4EAD       1    Sounds set #2
                * 01 - Ghost moving 1
                * 02 - Ghost moving 2
                * 04 - Ghost moving 3
                * 08 - Ghost moving 4
                * 10 - Ghost moving 5
                * 20 - Vulnerable ghost
                * 40 - Ghost retreat
4EBD       1    Sounds set #3
                * 01 - Eat dot 1
                * 02 - Eat dot 2
                * 04 - Eat fruit
                * 08 - Eat vulnerable ghost
                * 10 - Death sound part 1
                * 20 - Death sound part 2
4ECD       1    Music set (Bass)
                * 01 - Start jingle (Bass)
                * 02 - Coffee break/Cutscene (Bass)
4EDD       1    Music set (Main melody)
                * 01 - Start jingle (Main melody)
                * 02 - Coffee break/Cutscene (Main melody)