Re: [cc65] wrong colors in coniodte

Date view Thread view Subject view

From: Christian Groessler (cpg_at_aladdin.de)
Date: 2002-12-09 22:03:58


Hi,

On 12/09/2002 03:27:03 PM CET Ullrich von Bassewitz wrote:
>
>On Mon, Dec 09, 2002 at 02:10:52PM +0100, MagerValp wrote:
>> Here's the best resource on Atari graphics that I could google:
>>
>>   http://www.atariarchives.org/agagd/chapter1.php
>>
>> Looks like textcolor shouldn't do anything on the Atari.
>
>Yes, seems so. The question is if it would make sense to have another function
>(someone suggest fgcolor) or just handle the Atari as a monochrome machine
>(resp. ressort to machine dependent code for the purpose of changing all
>foreground color). Problem is that I don't see much use for a fgcolor function
>when writing portable code, because for the Atari even fgcolor is not able to
>use colors.
>
>So my suggestion would be to just remove the current textcolor implementation
>(make it empty).
>
>Christian, would do you think?

textcolor() on the Atari as it is now (and forced by the hardware)
sets the color of all text (it's a color register, there is no color
memory for each char).

But removing textcolor() or doing nothing in it leaves the Atari port
with no way to set the text bightness.
I could add a textluminance() or similar function which does it, but
then all other ports would need a new (empty?) textluminance()
function.

Can't we just document the different behaviour of textcolor() for the
Atari and leave it in so Atari users can set the brightness of the
text?
It appears to me to be less hassle this way.

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-09 22:06:32 CET