Posted By
MMS on 2017-05-13 01:44:33
| Re: Just a silly idea.. How about converting some game..
Off:I really forgot that 8 color limitation.I just checked it in the SVS database
To be honest it is very hard to understand this design limitation, except they wanted as much c64 compatibility as possible.because the highest 7th bit is unused, so there WAS a space for this bit. They could just use this 7th bit for standard/multicolor selection. You could set the char color as usual, and if you add 128 to the color value, you have a standard char instead a multi one . Elegant to program it and no color limitation.
BTW I do not really understand why on c64 it was necessary, but i am unsure of the color byte's other uses on that machine. On that machine they could do it with the background color the same: the upper 4 bit of color byte could ne used as a dinamic background color setting, if required by the programmer. The 7.bit could be a selector, if the global or a local background color color is needed, then could have thesame 8color limitation, but with extra feature. Imagine how much colorful the games could be.
|