Previous Next Table of Contents

3. Compilation

3.1 Distribution Manifest

The following files are included within the CPC2x distribution:-

COPYING                 GNU General Public Licence
MANIFEST                List of files in the full distribution
README                  General information
bin/                    Precompiled versions
bin/cpc2x-Z80-CPM22.zip Compiled versions for CP/M 2.2
bin/cpc2x-8088-MSDOG.zip        Compiled version for MSDOG
doc/                    Documentation
doc/cpc2xen.doc         English ASCII documentation
doc/html.zip            HTML version of documentation
src/                    Source code
src/Makefile            Makefile for CPC2TIFF and CPC2GIF
src/cpc2x.c             Source for CPC2TIFF and CPC2GIF
test/                   Test screens
test/asbld.bin          Aftershock loading screen (Multiface file)
test/mode0              Mode 0 text picture
test/mode1              Mode 1 test picture
test/mode2              Mode 2 test picture
utils/                  Utilities for CPC2x
utils/packager.zip      Program to run on CPC to generate Multiface files
Note that the debug script givehead that was included in the first version of CPC2TIFF for MSDOG is no longer needed since this revised version includes its functionality.

3.2 Systems

Un*x

For Un*x compilation, a makefile is included. Edit it to your taste, then type either make cpc2tif or make cpc2gif.

MSDOG

A MSDOG compiled version is provided within the distribution, which requires only 8088 compatibility. For most programs of this size, compiling for 80286 or higher processors only results in a couple of hundred bytes savings, and it prevents owners of older computers from running the software. However, if you wish to compile from the source, that should be no problem. You will not need floating point libraries.

VMS

Ever since it took the better part of a day to compile zip and unzip for vms, which blew my CPU time allocation, I haven't compiled anything for VMS. If you attempt to do this, and you are successful, drop me a note.

CP/M

I have managed to run both regular memory usage versions of CPC2GIF and CPC2TIFF on my Schneider CPC 464, with a 62k TPA under CP/M. A low memory usage version is also included. For some reason, longer output files sometimes have a few bytes missing in the middle. I have not been able to find the cause of this, it might lie with the compiler. For details, see CP/M Notes above.

3.3 Miscellaneous notes

There is a low memory option available, which is used if LOMEM is defined. This might be of use when operating under low memory conditions.

Also, I would be interested in what kinds of platforms the program compiles under, and what changes were necessary. Please write me an email in those circumstances.


Previous Next Table of Contents