This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TIMERCNT = $df | |
TIMERMCNT = $1 | |
SAD = $1740 | |
PADD = SAD+1 | |
SBD = SAD+2 | |
CLK1T = $1704 | |
CLK8T = CLK1T+1 | |
CLK64T = CLK1T+2 | |
CLK1024T = CLK1T+3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Pac-Man ghost AI viewer v1.2 | |
-- Shows ghost target tiles and projected paths of ghosts | |
-- You can change this to make the paths shorter or longer: | |
PATHDIST = 20 | |
s = manager.machine.screens[":screen"] | |
mem = manager.machine.devices[":maincpu"].spaces["program"] | |
XMAX = s.width - 1 | |
YMAX = s.height - 1 |