Hi,
I wrote a QR-Code Generator in Basic (X16 among others) and also in Assembly Language.
The Basic-Flavor leaves a lot of room for improvement, and it would heavily benefit from Bit-Shifting Operations (<<, >>). Lookup tables could compensate for that.
https://www.youtube.com/watch?v=VD_FmrHzkIA
The X16 Basic basic source-code can be found here:
https://github.com/The8BitTheory/qr128/tree/main/x16
The really exciting thing is the Assembly Version, though.
I didn't manage to get the assembly version running on the X16.
I didn't manage to just POKE to the screen.
If someone is interested, I'd highly appreciate any contributions and/or pull-requests.
Thanks