I don't know why I felt it was important for me to implement RLE graphics decoding in BASIC on a ZX81 today, but here it is:

#RetroComputing #zx81 #basic

if you must have the ZX81 BASIC source, here: https://gist.github.com/scruss/3edb4236feda48ddcc697d6caeaeff44
RLE graphics decoding in ZX81 basic

RLE graphics decoding in ZX81 basic. GitHub Gist: instantly share code, notes, and snippets.

Gist
@scruss now do it in machine code 😉

@mizi you first.

Tbh I got enough speed up switching between slow mode while plotting and fast mode while skipping white pixels. They never were built for speed