MAMEWorld Central >> Programming
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Hurray Banana
My unique Teaching style
Reged: 10/30/04
Posts: 35
Loc: England
Send PM
Re: Collecting Info from PacMan
06/22/16 08:20 PM


> Hey,
> I've been working of a project in which I need to extract quite a lot of info from my
> PacMan current game. I've already been messing around with PacMan ROM and RAM maps
> but I haven't been able to discover how to get the info for the current level I'm
> playing (walls, dots). Is there any specific place I can look into to get this kind
> of info?
>
> I'm using the PacMan (Midway) version.
>
> All and any help is welcome.

You need to look at the tile ram as all the walls and dots are tiles. The top right hand corner of the playable tilemap area starts at $4040, the next 32 bytes refer to the 32 rows of the right hand column. The column to the left of the right hand column starts at $4060 and so on (28 columns or 32 rows).

Bottom left of playable tile ram area is at address $43bf

You may also need to look at the pallete ram where a byte (lower nibble only counts) matching each tile exists to state which pallete is used to draw the tile. just add $400 to the Tile ram address to get the equivalent pallete address.







Entire thread
Subject Posted by Posted on
* Collecting Info from PacMan Ocuatrec 06/22/16 01:16 PM
. * Re: Collecting Info from PacMan Hurray Banana  06/22/16 08:20 PM
. * Re: Collecting Info from PacMan Stolistic  06/22/16 04:32 PM

Extra information Permissions
Moderator:  Pi 
0 registered and 1 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 772