Menu

ZX Spectrum compatible video on Pico DVI (HDMI)
📰

ZX Spectrum compatible video on Pico DVI (HDMI)

Adafruit Industries – Makers, hackers, artists, designers and engineers!·Anne Barela·16 days ago
#vt9eSzMn
#adafruit#pico#picodvi#library#emalliab
Reading 0:00
15s threshold

ZX Spectrum compatible video on Pico DVI (HDMI)

Kevin, writing on emalliab.wordpress.com, has moved his ZX Spectrum video project from VGA to DVI output over an HDMI connector, using a Raspberry Pi Pico and the PicoDVI library.

He started with the Adafruit port of PicoDVI in the Arduino library manager, confirmed it worked on a Pico V1, then moved to a PGA2350 breakout. Running the output on GPIO 40 to 47 needed a call to set the PIO GPIO base plus a change of some PIO API calls to their _mask64 versions.

Wanting raw scanline access instead of the Adafruit_GFX layers, he packaged the original PicoDVI code as its own Arduino library and built the PIO source with pioasm. A sequencing bug between setup() and setup1() was fixed with synchronisation. Scanlines are queued as RGB565 data through q_colour_valid.

Scanline conversion came from pico-zxspectrum. The memory reader runs on core 0, the DVI rendering on core 1.

See more at emalliab.wordpress.com and content on GitHub.