Ghost Town Disassembly
This is the fully disassembled source code of the Commodore 16 game "Ghost Town". It has been commented, restructured, bug fixed and optimized. In addition, new content has been added.
You can download the binaries here: http://www.kingsoft.de
Plus/4 version (64k RAM)
- choose between english, german and hungarian language
- a new multicolor bitmap title screen
- greatly improved ingame graphics (updated charset)
- Fixed typos and text glitches for both original languages
- Fixed joystick routine to be more reliable
- lots of bug fixes
C64 & C128 versions
- the game has been ported to the Commodore 64/128 for the first time
- completely new SID music from Spider Jerusalem based on original score
- choose between english, german and hungarian language
- a new multicolor bitmap title screen
- greatly improved ingame graphics (updated charset)
- Fixed typos and text glitches for both original languages
- Fixed joystick routine to be more reliable
- lots of bug fixes
How to build
The game can be build with ACME and exomizer. This is my command line for the C64.
acme -v4 -f cbm -r ../build/report.asm -l ../build/labels -o ../build/main.prg main.asm && STARTADDR=$(grep 'intro_start' ../build/labels | cut -d$ -f2 | cut -f1) && exomizer sfx 0x$STARTADDR -n -t 64 -o ../build/main.prg ../build/main.prg && cat ../build/labels ../build/monitor_commands > ../build/vicelabels
And the same for the Plus/4 version:
acme -v4 -f cbm -r ../build/report.asm -l ../build/labels -o ../build/main.prg main.asm && STARTADDR=$(grep 'intro_start' ../build/labels | cut -d$ -f2 | cut -f1) && exomizer sfx 0x$STARTADDR -n -t 4 -o ../build/main.prg ../build/main.prg && cat ../build/labels ../build/monitor_commands > ../build/vicelabels
Please note that the directory structure will likely be different on your machine. If you use VSCode as an editor, you'll find a tasks.json
file inside the .vscode
folder that compiles, packs and displays the game in the VICE emulator.
Version history
- 1.0 - this is the initial release
Thanks
This project would not have been possible without the support of many. My deepest thanks go to:
- Spider Jerusalem for helping with the initial disassembly and composing the C64 music
- Charlie/chainq for providing the hungarian translation
- Luca/Fire for testing the Plus/4 version, helping with bugfixing and providing great feedback
- Stefan Vogt for testing the games on real hardware and providing great feedback
- dalezy for help with the music export
- MacBacon for code support
- Udo Gertz for creating this wonderful game
Do you want to contribute?
I would be happy if this little gem gets improved further. Feel free to deep dive into the mysteries of the Ghost Town and send me PRs. I would be extremely happy about:
- more platforms
- How about a C128 version with extended music and graphics?
- How about an Atari 8bit release? This game should be very easy to port (e.g. no sprites)
- added content
- more levels anyone?
- even a Ghost Town 2?
- deluxe version
- the game could use more animations and effects to make the world more lively
- code optimizations & bug fixes
- make this version of Ghost Town the absolute best one!
- and whatever you have in mind