This is a fork of msx_qrcode: https://github.com/MartinezTorres/msx_qrcode/tree/master
Which in turn is a fork of Nayuki's QR Code: https://github.com/nayuki/QR-Code-generator
If this (generic) version is too slow there is another which is faster. I've made some optimizations to it for a 2-3x speedup (generating and drawing), though it takes up more space (several banks of look-up tables). It's not meant for general purpose integration like this version, nevertheless it can be extracted from the following project if desired: https://github.com/bbbbbr/gameboy_qr_paint
- The QR Code functions are configured to be ROM banked (~4800 bytes)
- The RAM usage appears to be modest
- The QR Code size must be selected at compile time. See
src/qr/qrcodegen.h - This demo does a very slow APA mode render of the QR Code at 4x. You can implement your own more optimized rendering. See
src/qr_wrapper.c
See: https://github.com/gbdk-2020/gbdk-2020
TODO: There are a bunch of dead code warnings in the qr code generation that could be removed.
