QR Codes on the Sega Genesis

Ask anything your want about Megadrive/Genesis programming.

Moderator: BigEvilCorporation

Post Reply
walker7
Interested
Posts: 45
Joined: Tue Jul 24, 2012 6:27 am

QR Codes on the Sega Genesis

Post by walker7 » Wed Dec 18, 2013 9:15 am

What if you could make QR codes on the Sega Genesis? Each "module," or cell in the grid, could be represented as one bit (0=white, 1=black).

These bytes can easily be translated into tiles to put in VRAM. Only two colors are needed.

The first byte of the entire QR code could be the size, and that size could be translated to a value in a lookup table (dimensions of the shape). The entire QR symbol could be encoded as a bitstream.

One thing i'm not sure of is how to calculate the error-correction bytes. Maybe someone can give me a working example using a set of data bytes. It involves Reed-Solomon codes.

To read more about QR codes, go to this link:
http://en.wikipedia.org/wiki/QR_code


EDIT: I have found a QR code tutorial that thoroughly explains the process, and even gives an example:

http://www.thonky.com/qr-code-tutorial/introduction/

Post Reply