Re: [cc65] wrong colors in conio

Date view Thread view Subject view

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


Hi,

On 12/11/2002 01:19:20 AM CET Groepaz wrote:
>
>On Wednesday 11 December 2002 00:56, Christian Groessler wrote:
>
>> That tetris runs w/o problems with a null textcolor function is a
>> result of your selection of the background color. With other colors
>> you won't be lucky. I don't think this is acceptable behaviour.
>
>well, no :o) with a monochrome target, the background is _expected_ to be
>black (unless specifically defined otherwise, which i have never seen before
>in other apis). in other words, yes, using a different background color may
>lead into trouble - yet it makes the program non portable and thus trouble
>are expected :)
>
>that said, i can't see any problem with the atari though...at worst make the
>conio constructor set bgcolor to black and textcolor to whatever you like
>(except black ofcoz :0)) - or any other combination for that matter. (this
>may infact be an even better solution, since a monochrome target should
>indeed have fixed colors)

That sounds like a consistent solution. But then I should also disable
bgcolor() :-(


>however, since someone mentioned it before... why dont you come up with a
>textmode that doesnt have all these limitations? :o)

If you tell me how :-)

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:36:33 CET