ZX Spectrum 48K
Open ZX Spectrum 48K + AY to run Sinclair BASIC, load cassette programs, or test Z80 code. Supply a compatible 16 KiB ROM. Use the tape, display, and audio guides for the corresponding peripherals.
The ZX Spectrum is an 8-bit home computer developed by Sinclair Research and released in the United Kingdom in 1982. Designed by Rick Dickinson with electronics by Richard Altwasser and software by Steve Vickers, the Spectrum was one of the most popular home computers in the UK and many other countries during the 1980s. As Wikipedia states:
The Spectrum was among the first mainstream-audience home computers in the UK, similar in significance to the Commodore 64 in the USA.
Wikipedia, ZX Spectrum

The machine featured the Zilog Z80A CPU running at 3.5 MHz, which was backward compatible with the Intel 8080 instruction set. The heart of the system was a custom chip called the ULA (Uncommitted Logic Array), which handled video display, keyboard scanning, audio output (a simple beeper), and cassette tape I/O - all in a single chip, keeping the cost remarkably low.
The ZX Spectrum became famous for its enormous software library, especially games, and sparked a generation of bedroom programmers who learned to code on the machine.
Basic configuration of ZX Spectrum 48K:
| Item | Notes |
|---|---|
| Processor | Zilog Z80A |
| Speed | 3.5 MHz |
| RAM | 48 KB (addresses 0x4000 - 0xFFFF) |
| ROM | 16 KB (addresses 0x0000 - 0x3FFF), containing Sinclair BASIC interpreter |
| Video | 256×192 pixels with 32×24 colour attributes and a surrounding border |
| Sound | 1-bit beeper via ULA port 0xFE |
| Storage | Cassette tape (via EAR/MIC sockets) |
| Keyboard | 40-key rubber keyboard (8 half-rows × 5 keys) |
ZX Spectrum 48K for emuStudio
In emuStudio, ZX Spectrum 48K is emulated using the Zilog Z80 CPU, byte-based operating memory, and four specialized device plugins:
zxspectrum-bus— a proxy between CPU, memory, and devices implementing memory/I/O contention and floating bus behaviorzxspectrum-ula— the ULA chip emulation providing video display, keyboard input, and beeper audioaudiotape-player— a cassette tape deck emulation supporting TAP and TZX tape image filesaudio-ay3_8910-chip— the AY-3-8910 programmable sound generator providing 3-channel music and sound effects
The abstract schema for emuStudio:

Getting started
- Use
config/ZxSpectrum48K.tomlfrom the emuStudio distribution. The supplied configuration is named ZX Spectrum 48K + AY in the computer selector. - Place a legal 16 KB ZX Spectrum ROM image named
48.romin the installation directory, or setimageName0in[MEMORY.settings]to its path. The configuration loads the image at address0x0000, and protects0x0000–0x3FFFas ROM. - Start the configured computer from the installation directory with
./emuStudio -cf config/ZxSpectrum48K.toml. - In Emulator → Peripheral devices, select
zxspectrum-ulaand click Show device to open its display and keyboard. Click Run to boot BASIC. To load cassette software, openaudiotape-playerand select a TAP or TZX file.
The bundled configuration uses Sinclair 128K-style AY wiring. Use AY settings to choose another preset or enter custom ports. If the host audio output is unavailable, the computer runs with silent AY playback. If the ROM does not load, check that imageName0 names your own readable 16 KB file. Relative image paths are resolved from the working directory; start emuStudio from the installation directory when using the default 48.rom path.
The assembler used for the ZX Spectrum is as-z80, which is the same assembler plugin used for the Altair8800 with Zilog Z80 CPU. The CPU plugin is documented under z80-cpu, and the memory under byte-mem.
Requirements
The ZX Spectrum 48K emulation requires a 16 KB ROM image. Obtain a copy you are permitted to use; the archive’s Amstrad permission correspondence describes redistribution for emulation. Configure the image in byte-mem to load at address 0x0000 at startup.
Each plugin is described in further sections.