← Catalog
Arcade Experimental

Pac-Man

Game: Pac-Man → (Arcade, 1980)

A hand-made C translation of the Pac-Man arcade ROM’s code: the original assembly is kept as comments and the part already translated is boxed off with //----. It aims at behavior identical to the original (patterns as in MAME) but with compiled C instead of emulated Z80, and keeps the original memory map. Video uses OpenGL with glut and sound uses PulseAudio; the keyboard is read directly from /dev/input. It needs the original ROMs for the code and the graphics, which are converted into header files with xxd. It builds on Debian and Ubuntu, and its list of known bugs is still long (fruit, cutscenes, sprites in demo mode). Its last activity was in May 2025.

You needYour own Pac-Man ROMs (program and graphics), converted to header files with xxd. Linux (tested on Debian and Ubuntu) with the glut and pulse-simple libraries, and your user in the input group.

How it gets to PC
Static recompilation
Console
Arcade board
Architecture
—
Author
mburkley
Original studio
Namco
Year
1980
View repository ↗
z80reverse-engineering

Other projects for Pac-Man

2