Re: [cc65] wrong colors in conio

Date view Thread view Subject view

From: Christian Groessler (cpg_at_aladdin.de)
Date: 2002-12-07 21:19:31


Hi,

On 12/07/2002 11:22:54 AM CET Groepaz wrote:
>
>On Friday 06 December 2002 23:44, Christian Groessler wrote:
>
>> Use bgcolor() to set the color. textcolor() only selects the luminance
>> of the text.
>
>that shouldnt be the case though

But it is. (See description of 40x24 Atari text mode.)

>
>> The c64-compatible COLOR_xxx defines don't make much
>> sense in this context.
>
>ehrm... in what sence is something like "COLOR_RED" c64 specific? (or are you
>saying someone just cut'n'pasted the values? :=P)

They are in that way c64 specific in that they duplicate the 16 possible
colors of the c64. (Maybe not that accurate, I'm color
blinded). Should I invent 128 new COLOR_xxx values for all
possible Atari colors?

>
>> The brightness is specified by bits 1 to 3 of
>> the colorvalue, use textcolor (0xe) for max. bightness, or
>> textcolor(0) for max. darkness of the text.
>
>looks to me as if someone was a bit lazy with the implementation here :o)

Don't think so. What more do you suggest to implement?

regards,
chris

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-12-07 21:24:19 CET