This repository contains the source code to the original "The Faery Tale Adventure" published by MicroIllusions on the Amiga in 1987. It was written by me (Talin) over the course of seven months.
This code was written very early in my programming career, and in a hurry; the code is of generally poor quality with few comments. I don't remember very much about it, and probably won't be able to give useful answers to questions about it.
The code is primarily written in Aztec C, with some 68000 assembly.
I don't know whether it would be possible to actually get the game running on some other platform; but even so the code may have some historical interest.
In late 2024, after @viridia open-sourced the game code, Troy Tarrant and Tom Cully created this fork to hack on the game using emulated FS-UAE Amigas.
Our modifications to the orginal code are listed in the CHANGELOG.
As of 1st Dec 2024, this branch builds a working game with copy protection removed:
This guide assumes building under Aztec C68k/Amiga 5.2a on an Amiga A500 Kickstart 1.3 with 512k Chip RAM and 512k Slow Ram (FS-UAE) and a 20MB hard disk (dh0).
- Aztec C is installed at
dh0:Aztec
- The game code is in
dh0:faery
Once Aztec C is installed, various path and environment variables need to be set up. Assuming a
standard installation in dh0:Aztec
, there is a script supplied to do this, which appears to have
a bad include path for assembler. You should modify the dh0:Aztec/aztec.sh
file as follows:
path "DH0:Aztec/bin"
mset CCTEMP=ram:
mset "CLIB=DH0:Aztec/lib/libs"
mset "INCLUDE=DH0:Aztec/include;DH0:Aztec/incl_asm
Then, execute it to setup your paths:
execute dh0:Aztec/aztec.sh
To save time, you can add this line to the end of your s/Startup-Sequence
file to set up the
paths on boot:
...rest of file...
execute dh0:aztec/aztec.sh
LoadWB delay ;wait for inhibit to end before continuing
endcli >NIL:
Aztec C allows the generation of precompiled headers. The game makefile
requires amiga39.pre
to be precompiled, which can be done like so:
cd dh0:faery
cc -ho amiga39.pre fincludes.c
The build can be initiated by simply using the make
command in the correct directory.
cd dh0:faery
make
NOTE: If running under an emulator (FS-UAE, WinUAE) compliation time can be dramatically reduced (from 30m to a few seconds) by compiling on an Amiga equipped with a 68030 CPU or higher.
The executable fmain
must be started with the current directory set to the game
folder:
cd dh0:faery/game
/fmain
Under U.S. Copyright law, a creator may reclaim the copyright of their work after 35 years, a process known as "termination of transfer". Accordingly, in 2022 I sent a termination of transfer notice to Hollyware, Inc., the successors-in-interest to the intellectual property of MicroIllusions. Unfortunately, they have not responded to my letter or any other inquiries I have made over the years.
Thus, I cannot say for certain exactly what the copyright status of this code is. However, whatever rights I do have, I hereby make freely available under an MIT-style permissive license.