A ZX Spectrum-like library built for "dos-like" by Mattias Gustavsson.
It allows for the creation of ZX Spectrum like screens for demos, games or simply for the fun of tinkering with our color-clashing, rubber-keyed pal!
- ZX Spectrum ULA screen rendering (256x192 with 32x24 attribute cells)
- Timex "hicolor" mode (256x192 screen with 32x192 attribute cells)
- Timex "hires" mode (512x192 1 bit colour screen)
- ULAplus palette support
- ZX-Uno's "Radastan" mode (128x96 4bpp color)
- SCR file loading
The screen buffers are stored in the same formats as the simulated screen modes, so you will have to learn how they work! Dean Belfield's got a great primer on the subject if you're unsure of where to start.
See "dos-like" for the main instructions - just replace dos.c
with zx.c
.
Your program will launch into zxmain
. See the zxdemo.c
for example usage.
- This demo uses key art by MORPHINE Music. I liked the image and was keen to see how the Speccy could handle it.
- Cyberpunk 2077 is (c) 2020 CD Projekt Red
- Django Unchained is (c) 2012 Sony Pictures