From: 	David Caldwell
Sent: 	Wednesday, November 26, 1997 4:26 PM
To: 	Jerry Lawrence
Subject: 	RE: Pac maze
Importance: 	High

At 02:39 PM 11/26/97 -0500, Jerry Lawrence wrote:
>
>by the way, the maze in pacman starts at offset 0x436 in rom 6j, not 0x437
as we
>once thought... 
>
>I'm still looking around for the power pellet storage area in the roms, so
if you
>have any helpful hints, i'd appreciate them!  :)
>

Hey, sorry for the slow response... 
A little while ago I was in contact with a guy who had done a lot of
reverse enginerring on pac-man. He gave me a list of stuff (I think he has
more, but I havent pressed him for more, I've gotten real busy at work, and
really havent touched anything pacman for a little while). I've been
meaning to post it on my web page, but I havent found the time. Anyway,
heres a copy of what he mailed me, theres no power pellet info, but maybe
you can have some fun with it:

>$4E13 = current board number
>$4e14 = number of lives left
>$4e15 = number of lives displayed at bottom of screen
>
>$1369 = dec $4e14
>$136d = dec $4e15
>
>$08e2 = determines how many dots you must eat to end level
>	( normal is $f4 )
>
>$171d - 1788 = routine to check for collision with normal ghosts
>$1789 = routine to check for collision with blue ghosts
>$1763 = change this location to $c9 (return from subroutine) and 
>	there is no collision detection at all
>
>$0efd - 0f3b = table for fruit shapes, colors, point value.
>	(the 3 bytes are stored in the above order)
>
>$1376 = routine to control blue time.
>	(set this to $c9 and ghosts stay blue until eaten)
>
>$338d - ?? = speed control table
>
>here is a partial map for speeds:
>(each speed control contains 4 bytes which can be manipulated for
>interesting effects)
>
>$338d - 3390 = Pacman normal speed for Board 1
>$3391 - 3394 = Pacman Blue speed for Board 1
>$3395 - 3398 = 2nd alternate speed for red ghost
>$3399 - 339c = 1st alt. speed for red ghost
>$339d - 33a0 = Ghost normal speed for board 1
>$33a1 - 33a4 = Ghost blue speed for board 1
>$33a5 - 33a8 = Ghost tunnel speed for board 1
>
>$33a9 - 33b6 = unknown ( made changes to this section but noticed
>               no difference in game play)
>
>$33b7 - 33ba = Pacman normal speed for Boards 2-4
>$33bb - 33be = Pacman blue speed for boards 2-4
>$33bf - 33c6 = ?? (possible alt. speed for red ghost)
>$33c7 - 33ca = Ghost reg speed for boards 2-4
>$33cb - 33ce = Ghost blue speed for boards 2-4

Good luck!
Feel free to email any time, and I'll try to help... Cant guarantee
anything though! :)
-David



