# Pitfall!: an annotated Atari VCS disassembly of scene generation and the kernel

> Activision's 1982 Atari VCS game Pitfall! is disassembled into labeled and commented 6502 assembly (version 0.9). Notes explain how a reversible LFSR generates the 255 jungle scenes, which bits of the random number select ground objects, scene type, tree pattern and wall position, and how the nine-stripe display kernel draws Harry, the liana, holes, ladder and wall; assembler switches add optional optimizations, screensaver code and a training mode.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-09
- Added to the catalog: 2026-11-10
- Original resource: <https://www.qotile.net/minidig/disassembly/pitfall.asm>
- Primary source: <https://web.archive.org/web/20260213080644/https://www.qotile.net/minidig/disassembly/pitfall.asm>
- Catalog page: <https://awesomerea.org/resources/pitfall-atari-vcs-disassembly-case/>
- Record JSON: <https://awesomerea.org/resources/pitfall-atari-vcs-disassembly-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/pitfall-atari-vcs-disassembly-case/index.md)

## Requirements & limits

- **Prerequisites:** Assembling needs a 6502 assembler and the vcs.h Atari VCS header that the listing includes.
- **Limits:** Version 0.9 of the analysis, last updated in October 2001.
- **License:** No licence stated on the project page.

## Primary sources

1. <https://web.archive.org/web/20260213080644/https://www.qotile.net/minidig/disassembly/pitfall.asm>

## More in Games

- [pokemonstadium: a work-in-progress Pokémon Stadium decompilation](https://awesomerea.org/resources/pokemonstadium-case/index.md) · Case study
- [Pokepark Wii: an in-progress Wii decompilation](https://awesomerea.org/resources/pokepark-wii-decomp-case/index.md) · Case study
- [Pokémon FireRed: an early GBA disassembly](https://awesomerea.org/resources/cosarara-pokefirered-case/index.md) · Case study
- [Pokémon Moon: reconstructing the European Nintendo 3DS release](https://awesomerea.org/resources/pokemon-moon-decomp/index.md) · Case study
- [Pokémon Snap: a work-in-progress Nintendo 64 decompilation](https://awesomerea.org/resources/pokemon-snap-decomp-case/index.md) · Case study
- [Pokémon Stadium 2: a partial USA 1.0 decompilation](https://awesomerea.org/resources/pokemon-stadium-2-partial-decomp-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
