@b0rk Place where this got super expensive: The Apple ][ used 7 bit words in its hi-res framebuffer (even one color, odd another, high bit chose palette for those pixels). The hoops we jumped through to try to divide by 7, or build sprite animations around 7 or 14 pixel cycles, were legendary. Pretty much everybody did it as a lookup table, and that's 280 bytes.
2/fin