News for hackers. Stuff that matters.
Re:True 8-bit Color Cycling with HTML5 by Joeboy on Thursday April 26, 2012 @04:37AM (#3892990)
If you think this is a clever hack, you also might be interested about the way programmers of 8-bit '80s machines used to increase the number of colours they could display at a time. My first computer, the ZX spectrum, had video memory that was laid out in such a way that you could only assign two colours to any 8x8 pixel block. However by changing the colours of that square in sync with the TV raster signal, you could get it to display 8 miraculous stripy colours in the same block. You could use a similar technique to get stripes in the theoretically one-colour border. I think some people even managed to do these things and still have time for some semblance of a game, which is fairly impressive on a 3.5MHz machine.

There are no comments on this comment yet.