Inital Fase Setup

This first part to setting up FASE, is a bit of a bore, but needs to be done.  Program setup.  Gasp for your breath, it’s not horrible.

First, everything built here is built with C. Of course with C, you can intermix assembler, but I try to leave that alone.  The logic should be spelt out.  Besides, I’m rather fond of C.

This is possible with the hard work of the fine programmers who brought us Z88DK.  We are going to use an older version of Z88DK (although I’m sure the newer versions work OK as well).  This version is used by the Mojon Twins for use with their Churrera game engine.

I’ve placed this version of Z88DK on my Github page.

This version of Z88DK is being used only because my game Xelda is using it, otherwise I would have tried to link it to the newer version of Z88DK.  I’m fairly certain that this version is more than enough to complete this game.

So, the first step is to download Z88DK from the link above.

Create a new folder on you ROOT drive in the ROOT directory and rename that directory to Z88DK10.

Extract the files to that directory.



Be patient, there’s alot of files there. 45+ megs of files.

Well with that out of the way, go ahead and google and install SDCC, Small Device C Compilier.

Now we want to add the Z88DK10 directory to your windows path.

In windows 10, go to Control Panel\All Control Panel Items\System

or right click on your Windows start button and select RUN – Control Panel – System

select Advanced System Settings

windows advanced

Go to the Advanced Tab and select Environment Variables

advanced enviroment


Find the Path setting (in your USER variables on top)


There are a few items we need to edit or add here. You can see that mine is already added, but adding items yourself is rather easy.

First Highlight Path and select Edit




As you should see from my screenshot, SDCC and Z88DK are already entered. On your machine,
SDCC should already be added to the path when you installed it, if not, then you are going to want to install it.

I’ll show you the steps for Z88DK, and you may or may not have to do the same for SDCC.


Select the New Button and type in

If you have to do the same for SDCC, then do so.

Select OK

Let’s start with User Variables


Now select New




Type in the Variable name

Type in the Variable value


Now let’s repeat for the next one



Type in the Variable name

Type in the Variable value

Now let’s do some slight editing on your System Variables


Highlight Path and select the Edit Button.


We need to add 3 system variables, pressing enter each time you enter in a new one.
The three variables you need to add are:


That should be everything for your system variables, now you should be ready to compile.

I’m sure there are better tutorials on this sort of thing, but that’s my version.  Could this all be done via a batch file, I’m sure it could, but it gives me a headache to think about it and to think about troubleshooting it.  This way is not bad at all and only take a few minutes out of your day.

With that out of the way, now we simply need to create a directory from within the Z88DK10 directory for FASE, this is where we are going to place the game/sprite engine.

Within the directory of FASE, you will need to create another directory to place your game in.

Download the FASE engine from my GitHub Page at

And place the contents in your C:\Z88DK10\FASE directory and you are ready to go.



Author: andydansby

I'm a hobbyist coder working with the ZX Spectrum. Living in New York state near the Syracuse area. I grew up in Virgina. The first computer my parents bought for me was a Timex Sinclair 2068.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s