3 ms·
I'm going to sound very stupid, but how did you do it? :-)
by chris_wot 15y ago
I'm going to sound very stupid, but how did you do it? :-)
- rbanffy 15y agoOn the HGR modes, every 7 pixels of a line were packed into one byte - 40x7 = 280 pixels per line. The 8th bit switched the whole byte half a pixel to the left. This was also used to make different colors - the timing change shifted the pixels in relation to the color cycler, making the colors available in that 7-pixel group different (pink and green for off, blue and orange for on). White was done with two contiguous pixels. I think early IIs didn't have this 8th bit magig, but, from the II+and on, all IIs had it.
- chris_wot 15y agoWow! I've heard of some neat performance hacks, but that's pretty cool - the only one better was the hack that was done to get rectangles with circular corners on the Mac.