Skip to Content
GuidesZX Spectrum NextZX Spectrum Next models

ZX Spectrum Next Models

A real ZX Spectrum Next is a board running an FPGA core, and the core is updated over the years: a newer core fixes and changes hardware behaviour, and the NextZXOS release made for it expects it. Klive emulates each pairing it supports as a separate model of the Next. This page lists the models and what differs between them.

Applies to: ZX Spectrum Next.

The models

ModelBoardCoreNextZXOSDefault SD card
ZX Spectrum Next (KS2, core 3.02.01)KS2 (issue 4)3.02.012.08ks2.cim
ZX Spectrum Next (KS2, core 3.02.04)KS2 (issue 4)3.02.042.10ks2-30204.cim
ZX Spectrum Next (KS2, core 3.03.03)KS2 (issue 4)3.03.032.10aks2-30303.cim
ZX Spectrum Next (KS3, core 3.03.03)KS3 (issue 5)3.03.032.10aks3-30303.cim

Each model has its own:

  • Emulated hardware. The core version decides how the hardware behaves; NextReg $01 and $0E report it, and a NEX file that asks for a newer core than the model’s is flagged in the NEX viewer.
  • ROMs. The model boots the ROMs of its NextZXOS release.
  • SD card. Each model has its own default card with its NextZXOS release on it (The Next’s SD card). Klive installs the card of the two core 3.03.03 models; the older models download theirs from kliveide.net the first time you select them.
  • Next Registers descriptions. The Next Registers document describes the registers as the model’s core has them.

Choosing a model

Pick the model in Machine › Select Machine… (or New Project). A project remembers its model. A new Next project starts on KS3 with core 3.03.03, the newest board and core Klive emulates, unless a Next model is running or is in your favourites. Projects saved before Klive had several Next models open on KS2 with core 3.02.01, the Next that those versions of Klive emulated.

Choose the model that matches the core your program targets, or the one your own Next runs. To try a program on both, switch the model and run it again.

A machine state file or a debug recording belongs to the model it was saved on: another Next model refuses it, and says which model saved it.

What changed in core 3.02.04

The KS2 / 3.02.04 model emulates these hardware changes; the 3.02.01 model keeps the older behaviour:

AreaCore 3.02.04
SpritesNo early end of a line’s sprite rendering: more sprites fit on a line (the last one may be cut part-way), and port $303B bit 1 is set only when the line runs out of time.
CTCA counter reloads its time constant as it would reach zero; a control word with D2 set while a channel waits for its trigger makes it wait for a new time constant.
EAR inputThe input’s relaxation is symmetric, and a tape loads in real time with the issue 2 keyboard setting.
NextReg $0ABit 5 swaps SD cards 0 and 1 (written in config mode, with bit 2 set).
NextReg $81Bit 3 is stored and readable; port $1FFD bit 3 drives a disk motor latch, which the Multiface +3 reads back.
NextReg $A0Bit 1 is writable, reads back and survives a soft reset.
Mega Drive padA+B+C+START works as the reset button.

The Next Registers document shows each register as the model’s core describes it.

What changed in core 3.03.03

The two core 3.03.03 models boot the System/Next 26.11a release (NextZXOS 2.10a). Their hardware is core 3.02.04’s with these changes:

AreaCore 3.03.03
zxnDDMA$D7 and $DB set address bits 23-16 of each port; $DF turns on physical addresses (the flat SRAM, no MMU), rectangles ($E3, $E7, $EB, $EF), a transparent colour ($F3), fill ($F7) and Layer 2 X,Y positions. Port $0B ignores them, as earlier cores do.
28 MHzNo wait states: a memory read at 28 MHz no longer waits a clock, on every board, for the CPU and the DMA alike.

Core 3.03’s FPGA source is not published yet. These models follow the zxnDDMA guide that comes with the distribution (docs/zxnDDMA/zxnddma.gde on the SD card) and the release’s own description. The DMA’s timing is emulated only as far as the guide states it.

The KS3 board

The KS3 (issue 5) board has 4 MB of SRAM, twice the KS2’s, and NextReg $0F reads 3. The MMU still reaches 8K pages 0-223 only, as on every board. A program reaches the upper 2 MB in two ways:

  • The zxnDDMA’s physical addresses, $200000-$3FFFFF. On a KS2 these addresses wrap onto the lower 2 MB, so check the board (NextReg $0F) before using them.
  • NextReg $04 in config mode, whose bit 7 selects the upper 2 MB on the KS3 only.

In the IDE, the memory view and the bank choosers list the upper 2 MB on the KS3 model as Upper RAM, pages U00 to UFF, so you can watch and edit what a program keeps there.

The KS3 also has a second SD card reader; The Next’s SD card shows how to put an image in it.

Last updated on