Zombie Apocalypse Survivor is a 16-bit old-school adventure game on the Windows 3.x terminal built with the TurboC/C++ compiler (v3.2.2, 1992).
The program uses the ancient 1989 C++ 2.0 (C with Classes and more), the immediate precursor to the ISO/IEC 14882-1998 standard named C++98 which was later amended by C++03, C++11, C++14, C++17 and the latest as of this commit, C++20. We built what was our CS assignment as High School sophomores, on Borland's Turbo C/C++ IDE for hobbyists in the DOSBox emulator for 16-bit Windows. Around the same time of C++ 2.0 being popular, the pop-culture icon in the video game industry, Doom for MS-DOS was released.
...but why C++ 2.0? Because retro is cool! see also
The 16-bit executable depends on DOSBox to run on modern 64 bit systems (variable OS) and requires to be installed first. The next step involves cloning this repository, mounting the root of this repository as legacy drive C
on DOSBox terminal, switching prompt to C:\>
and running ZAS.EXE
. I've cut down the complexity and prepared the executable binary before hand to avoid rebuilding the code using the TC compiler.
- Install DOSBox 0.74 from dosbox.com.
- Run DOSBox.
- Assuming you cloned the repository and the path to the repository root is
C:\path\to\repo\root
, run the following at theZ:\>
prompt and switch toC:
andcd
intobin
after confirmation:
mount c C:\path\to\repo\root c: cd bin
- Then execute
ZAS.EXE
to play the game:
zas
- Install DOSBox 0.74.
sudo apt install dosbox
- Run DOSBox.
- Assuming you cloned the repository and the path to the repository root is
/path/to/repo/root
, run the following at theZ:\>
prompt and switch toC:
andcd
intobin
after confirmation:
mount c /path/to/repo/root c: cd bin
- Then execute
ZAS.EXE
to play the game:
zas
- Install DOSBox 0.74 from dosbox.com or use brew:
brew install dosbox
- Run DOSBox.
- Assuming you cloned the repository and the path to the repository root is
/path/to/repo/root
, run the following at theZ:\>
prompt and switch toC:
andcd
intobin
after confirmation:
mount c /path/to/repo/root c: cd bin
- Then execute
ZAS.EXE
to play the game:
zas
Out of sheer curiosity, if you feel like compiling the source code from scratch and see how things worked out for us, I've included the TurboC IDE binary labelled TC.EXE
in bin/TCC
. Follow the steps to get the prehistoric IDE up and running:
- Install and run DOSBox 0.74 (refer steps above).
- Assuming you cloned the repository and the path to the repository root is
/path/to/repo/root
orC:\path\to\repo\root
, run the following at theZ:\>
prompt and switch toC:
:
Unix:
mount c /path/to/repo/root/bin
Windows:
mount c C:\path\to\repo\root\bin
cd
into theTCC
directory and executeTC.EXE
:
cd tcc
tc
File
➜Open
the sourceC:\TURBOC3\SOURCE\ZAS.CPP
in a new window ➜Run
➜Run (Ctrl + F9)
GPL License
This project is licensed under the GNU General Public License v3.0.