Setting Individual Pixels

A project log for 1K LCD Tinyfont

A tiny pixel font rendered to an LCD display, in under 1K program space.

ZachZach 12/20/2016 at 05:260 Comments

Added the ability to set an individual pixel on the screen by coordinate. Doesn't look like much, but from here I can bring in font processing.

At 656 bytes- so getting pretty close the the line already. Going to have to find something to trim...

Had to pull out some fun, space-saving assembly math tricks:

y % 8 == y AND 0x07
y / 8 
... is the same as...
right shift y 3 times

Not much to see, but three pixels are set... and they're the ones I asked for!