https://github.com/brandonrobertz/haunted_house_disassembly
Atari 2600 MOS 6502/7 commented disassembly of the game Haunted House
https://github.com/brandonrobertz/haunted_house_disassembly
6502-assembly atari disassembly haunted-house
Last synced: about 1 month ago
JSON representation
Atari 2600 MOS 6502/7 commented disassembly of the game Haunted House
- Host: GitHub
- URL: https://github.com/brandonrobertz/haunted_house_disassembly
- Owner: brandonrobertz
- Created: 2018-04-12T22:16:29.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-11T06:48:59.000Z (about 5 years ago)
- Last Synced: 2025-04-01T20:07:19.946Z (3 months ago)
- Topics: 6502-assembly, atari, disassembly, haunted-house
- Language: Assembly
- Homepage:
- Size: 208 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Haunted House Commented Disassembly
Reverse-engineering and disassembly of the Atari 2600 game Haunted House
designed by James Andreasen, the _original_ survival horror game. This is a
work in progress. The disassembled and commented code is in `haunted.asm`. I
would appreciate any tips or advice anyone may have as a PR or Issue.
## Building/Playing the ROM
I'm using [DASM](https://github.com/dasm-assembler/dasm). You can build the ROM
by running `make` and you'll get a ROM, `haunted.bin`. This can be played using
the [Stella](https://stella-emu.github.io/) 2600 emulator.If you don't have make, the correct DASM command to build the ROM is:
```
dasm haunted.asm -ohaunted.bin -f3
```## Sprites
The ghost of old man Zachary Graves:
█ ███
██ █ █
██████
█████ █
█████
████
██The urn you need to win the game and the pieces which make it:
████ ████
██ ██
████ █ ██ █
████████ ████ █ ███
█ ████ █ █ █ ██ ██
████████ ███ █ ████
████ ████
██ ██The bats flying around:
█ █ ████
█ █ ██████
██ ██ ██ ██
██ ██ ██ ██
██████ █ █
████ █ █Some spiders (swaps between these two when moving):
█ █
█ █ ███ ███
█ █ ██
█ ██ █ ██████
██████ █ ██ █
██ █ █
██ ██ █ █
█ █ █ █Key to unlock doors:
███
██████ █
█ █ ███The bitmap font numbers (they're actually inverted in the code):
████
██ ██
██ ██
███ ██
██████
██
██ ██
████████
██ ██
███ ██
██████
██ ████
██ ██
██ ███
████████████
██ ██
██
██
██
██
██
████████
██ ██
██ ███
██
██████
██ ███
███ ██
██████████
███
██
█████
██
██ ██
██ ███
████████
███ ██
██ ██
██ ██
██ ██
████████
██
████████
██ ██
███
██
██
██ ██
██ ███
██████████
██ ███
██ ██
██
█████
███
██
█████████
███
████
██
██
██
███
████████
█████
██ ███
██ ██
██ ██
███ ██
█████
███