Re: [cc65] Colormania (was: TGI summary)

From: Oliver Schmidt <>
Date: 2009-10-27 21:48:13
Hi Uz,

>> Then SETPALETTE needs to convert i.e. Palette[0] from '1' to '$F'
>> because here the ambivalence of the color macros being both indexes
>> and color values shows up.
> After reading this again, I notice that we may actaally mean the same thing:-)

I'm glad that I read up to this point before wondering where the
misunderstanding might be :-))

>> - Platforms with issues due to conflicting TGI driver (and proably
>> conio) color values can decide to do a "runtime color mapping" a laid
>> out above.
> Ok.

So the only question left here is: Do we want to introduce
TGI_COLOR_xx macros to keep conio (with its COLOR_xx macros) out of
the game in the first place, or do we say: If necessary then
textcolor() and friends need to do a "runtime color mapping" too.

I personally would opt for TGI_COLOR_xx macros and leave conio alone
(as from now on "exclusive" user of COLOR_xx macros).

Best, Oliver
To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Oct 27 21:48:20 2009

This archive was generated by hypermail 2.1.8 : 2009-10-27 21:48:22 CET