Skip to content

Various plugins for CSpect, an emulator for the ZX Spectrum and ZX Spectrum Next™

License

Notifications You must be signed in to change notification settings

Threetwosevensixseven/CSpectPlugins

Repository files navigation

CSpectPlugins

Various plugins for CSpect, an emulator for the ZX Spectrum and ZX Spectrum Next™.

Download the latest release here.

Plugins

UARTLogger

A configurable logger for the Next ESP and Pi UARTs emulated by CSpect. See its wiki page for installation and configuration details.

UARTReplacement

A buffered UART replacing the internal CSpect emulated ESP and Raspberry Pi Accelerator UARTs. See its wiki page for installation and configuration details.

The replacement UARTs write binary bytes to the serial port, whereas the internal CSpect UARTs constrain bytes to ASCII characters 0x00..0x3f. This doesn't matter so much for sending AT commands to the ESP-01, but programming the ESP with low-level SLIP commands requires a binary UART. Also the NextPi SUPervisor uses non-ASCII control bytes.

The UARTs dynamically respond to baud rate changes written to the Next's UART I/O ports, using prescaler calculations taking into account the current video timing.

The UARTs also drive the serial DTR and RTS lines in response to ESP RST and GPIO enable and control nextregs; and Pi GPIO enable and control nextregs. This is required for ESP boot mode selection, and for a proposed NextPi GPIO protocol to control the SUPervisor and applications when the UART is otherwise engaged.

If you're using this plugin, do not start CSpect with the -com or -com2 arguments.

RTCSys

A simple date/time plugin which works in tandem with a custom RTC.SYS driver to provide date/time on the NextZXOS main menu, and to the M_GETDATE and IDE_RTC API calls. See its wiki page for installation details.

RTC

A configurable RTC provider to supply your PC's date/time over the I2C bus, emulating the DS1307 RTC chip. This will make CSpect work with .date, .time and RTC.SYS, and display the time on the NextZXOS menus. Work in progress, coming soon!

i2C_Sample

The sample plugin included with CSpect.

CSpect

CSpect is a ZXSpectrum emulator by Mike Dailly.

Download the latest version here. These plugins only work with v2.19.4.4 or newer.

Copyright and Licence

All plugins except i2C_Sample are copyright © 2019-2024 Robin Verhagen-Guest, and are licensed under Apache 2.0.

CSpect and the i2C_Sample example project are copyright © 1998-2023 Mike Dailly All rights reserved.

hdfmonkey is copyright © Matt Westcott 2010, and is licensed under GPL-3.0.

ZX Spectrum Next is a trademark of SpecNext Ltd.