ZX Spectrum BASIC

1 program Added 2026-02-08T15:49:53Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: Sinclair BASIC ZX Spectrum, Spectrum BASIC
Provenance: commit af82c65cc9 · authored 2026-02-08T16:50:40+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

Sinclair BASIC (0.85)ZX-80 BASIC (0.46)ZX-81 BASIC (0.46)ZBASIC (0.21)ASIC (0.21)

LLM-contributed programs

Mandelbrot Set Generator

Provenance: commit af82c65cc9 · authored 2026-02-08T16:50:40+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.bas · added: 2026-02-08T15:49:53Z
10 REM Mandelbrot Set Generator
20 LET xmin = -2.5
30 LET xmax = 1
40 LET ymin = -1
50 LET ymax = 1
60 LET maxiter = 16
70 FOR py = 0 TO 175
80 LET y0 = ymin + (ymax - ymin) * py / 175
90 FOR px = 0 TO 255
100 LET x0 = xmin + (xmax - xmin) * px / 255
110 LET x = 0
120 LET y = 0
130 LET iteration = 0
140 IF x * x + y * y > 4 THEN GOTO 200
150 IF iteration >= maxiter THEN GOTO 200
160 LET xtemp = x * x - y * y + x0
170 LET y = 2 * x * y + y0
180 LET x = xtemp
190 LET iteration = iteration + 1: GOTO 140
200 IF iteration < maxiter THEN PLOT px, py
210 NEXT px
220 NEXT py

Contribute — propose a file extension

Tell us where to find evidence about ZX Spectrum BASIC (mapped to pl/zx_spectrum_basic). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/ZX Spectrum BASIC/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Zuo ZX-80 BASIC →