← All spotlightsPrograms / Features

Spotlight › PaccMan

PaccMan, the C port

Andre Weissflog's pacman.c on os8088, with planar-band output and measured XT limitations.

PaccMan
A PaccMan window on the os8088 desktop showing the arcade attract screen: CHARACTER / NICKNAME at the top and the four ghosts drawn in red, pink, cyan and orange beside their names -- SHADOW BLINKY, SPEEDY PINKY, BASHFUL INKY, POKEY CLYDE -- with a 10 PTS and 50 PTS legend below.
PaccMan attract sequence.
Tile map
28 x 36
C source
2,050 lines
XT frame rate
2.18 fps

01 / Port provenance

Port provenance

PaccMan derives from Andre Weissflog's pacman.c. It is separate from the retired assembly adaptation. The upstream project reconstructs arcade behaviour in C; it is not the original Namco executable running in emulation.

Use a 386-class host for practical play. Dot Delirium is the lower-cost original game for an XT.

02 / Implemented arcade behaviour

Implemented arcade behaviour

The port carries the arcade-layout tables, ghost target rules, scatter/chase schedule, release counters and attract sequence represented by upstream. It does not implement every feature of the cabinet: intermissions and the full per-round speed progression are absent.

The speaker path selects one voice by priority rather than reproducing the arcade's multi-voice sound. Native simulation ticks and rendered frames are separate; a nominal simulation rate does not imply full arcade speed on a slow host.

03 / Game captures

Game captures

PaccMan
The PaccMan window showing a round in progress: the tall blue Namco maze full of dots, Pac-Man in the lower left, three ghosts inside the ghost house and a red ghost out above it. The score reads 100.
Arcade-layout field in the os8088 port.
Game
The Game menu open over the attract screen, listing New Game, Pause, Sound Off and Full Screen, with PRESS ANY KEY TO START visible underneath.
Desktop controls added around the port.

04 / Planar bands

Planar bands

Dirty eight-row bands are composed in application memory and submitted in the adapter's layout. The recorded VGA band-conversion cost was 41.78 ms versus 7.36 ms for submission; game logic added 18.6 ms per step in that test. The conversion and simulation costs dominate despite the faster blit path.

05 / XT comparison

XT comparison

The recorded cycle-accurate XT test measured PaccMan at 2.18 fps on VGA, 2.94 on CGA and 2.62 on Hercules. The retired assembly version measured 4.14, 18.21 and 16.71 respectively.

The workloads differ: PaccMan uses the 28x36 arcade field, while the assembly adaptation uses a 40x22 field and different logic. These results answer whether this port improved play on that host; they are not a controlled benchmark of C versus assembly.

06 / Run PaccMan

Run PaccMan

Launch PACCMAN.O88 from its dedicated image or the everything set. Arrows/WASD steer; P pauses, N restarts, F changes display and Esc leaves full-screen.