MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Phantom DJ
MAME Fan
Reged: 04/05/06
Posts: 99
Send PM
Re: Finding a full pacman memory map
07/23/13 08:00 AM


I created some MAME debugger hacks to provide this request:


Code:

//Blinky:
bp 92,1,{w@4d00=8064 ; g }
// Pinky:
bp 91,1,{w@4d02=807c ; g }
// Inky:
bp 8e,1,{w@4d04=907c ; g }
// Clyde:
bp 8d,1,{w@4d06=707c ; g }



The above codes will fix the position of each ghost to its starting tile.

You can change the value in the assignment to any value you wish. For example, if you want to fix the position of Blinky to the top right corner, use this code

bp 92,1,{w@4d00=1c16 ; g }


These debugger hacks could be converted into formal MAME cheat codes. Pugsy at the cheat database could help with that. These codes simply force 2 memory locations for each ghost to a x,y coordinate.

Note that if a ghost is eaten while its position is fixed, its eyes will be fixed as well and never make it home until the hack/cheat is disabled. If that is a problem, a new hack could be created to allow for eyes to return home.


Have fun

Don Hodges
http://donhodges.com

You wrote:

> Thanks very much for the pointers!
>
> I'm entirely happy to only do these things in MAME, using the cheat mode. Now you
> ask, exactly what I want by 'disable ghosts' I should probably decide. To be honest,
> just fix into one location (some corner?) would be sufficient I think (which would
> require just using a cheat to fix their location, if you knew which memory cell that
> was stored in). I was hoping, just when having one ghost at a time moving, it would
> be easier to convince an audience that each ghost does indeed have different
> behaviour.







Entire thread
Subject Posted by Posted on
* Finding a full pacman memory map Azumanga 07/20/13 11:30 AM
. * Re: Finding a full pacman memory map Phantom DJ  07/21/13 07:20 AM
. * Re: Finding a full pacman memory map Azumanga  07/22/13 12:08 AM
. * Re: Finding a full pacman memory map Phantom DJ  07/23/13 08:00 AM
. * Re: Finding a full pacman memory map Azumanga  07/23/13 12:58 PM
. * Re: Finding a full pacman memory map drewcifer  07/20/13 07:55 PM
. * Re: Finding a full pacman memory map Luca Elia  07/20/13 11:54 PM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 149 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2518