FDDD2 - redcode/Z80 GitHub Wiki

Platform: ZX Spectrum
Author: Helcmanovsky, Peter
Release date: 2022-05-30
License: Public domain
Links: Discord post
Download: zip (hosted) - zip (Discord post)

Description

This test needs the "allRAM" mode introduced in the ZX Spectrum +3 model (+2A as well).

Test fills four 16kiB banks with FD DD byte pairs, and does switch to "allram" mode creating solid 64 KiB of FD DD FD DD ... block, executing the FD/DD prefixes infinitely, with interrupts enabled (IFF1=1 upon entering the allram mode).

Expected results

Static (flashing) screen filled with FD DD bytes (vertical stripes with flashing bright cyan/white and magenda/cyan attributes), CPU not reacting to interrupt requests (also NMI), only reacts to reset or power cycle. The stack pointer is set into attributes area, so any change in the attributes signals incorrect Z80 emulation, allowing for some other code being executed.

This test is based on original FDDD which enters the allRAM 64 KiB FD DD block with interrupts disabled (IFF1=0).

⚠️ **GitHub.com Fallback** ⚠️