The test program is a masterclass in constrained debugging. It must run without relying on the very subsystems it is testing. Here is a deep look at its core modules:
Because the screen RAM may be dead, the test program outputs status via the border color (port 0xFE ). A typical sequence: zx spectrum test program link