Permalink
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (30 sloc) 2.84 KB

The ZX Spectrum Programmer's Z88DK Getting Started Guide

The ZX Spectrum Programmer's Z88DK Getting Started Guide consists of a series of documents written to assist Spectrum developers who want to write programs in 'C' using the Z88DK development toolset. The reader is expected to know the 'C' programming language, but otherwise the series starts from the very beginning.

The articles lean towards Spectrum games development, and they are designed to be read in sequence:

Article Covers
Getting Started The Z88DK toolset, compiler command line
Hello World Text, stdio, CRTs
Simple Graphics Simple graphics, screen addressing, line drawing example
Input Devices Keyboard, scancodes, joysticks
Multiple Files Multiple file builds, list files
Some Details Memory map, pragmas
BiFrost The BiFrost multicolour library
Interrupts Z80 Mode 2 interrupts

A complementary series of documents covers the SP1 sprite library, which is an excellent basis for Spectrum games written with Z88DK:

Article Covers
SP1, Getting Started Getting started with SP1
SP1, Masked Sprites Masked sprites
SP1, Animated Sprites Animated sprites
SP1, Bigger Sprites Bigger sprites, colour

These documents are a work in progress. Comments and suggestions are welcome in the Z88DK Sinclair ZX forum.

Example code with pre-compiled TAP files and occasionally some further work and extensions can be found in the author's Github project.

Derek Fountain, June, 2018