Re: [cc65] wrong colors in conio

Date view Thread view Subject view

From: Christian Groessler (cpg_at_aladdin.de)
Date: 2002-12-11 01:43:35


Hi,

On 12/11/2002 01:33:39 AM CET Ullrich von Bassewitz wrote:
>
>Conio supports two color models: Color and monochrome. So a multi platform
>program will always have to cope with these two models. If the Atari supports
>the monochrome model, it is not necessary to add specific #ifdefs for the
>Atari, because these #ifdefs are already in place for the other monochrome
>machines. If we don't make textcolor empty, we need Atari specific
>code.

Ok, this makes sense. I wasn't aware of these color models. How do I
select the color model (distinguish in my code)?

>But I'm open to other suggestions. If you find a way to make colors work in a
>way that needs no Atari specific code in an application, and keeps functions
>consistent across platforms, I have no problem with it. I've outlined the most
>obvious solution above (making bgcolor empty as well), but this must not be
>the only solution.

I think I will make the Atari conio monochrome (empty bgcolor()) and
add some platform specific atari_bgcolor() and atari_textcolor() which
behave like the current atari bgcolor() and textcolor().

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-11 01:45:37 CET