Re: [cc65] Atari TGI drivers, finally

From: Fatih Aygün <cyco1301yahoo.com>
Date: 2009-10-25 02:07:36
Hi,

> I must admit that this seems totally reasonable to me...
> If you have a two color driver with the valid values 0 and 1 then
> there should be two macros with the values 0 and 1. Most probably
> called COLOR_BLACK and COLOR_WHITE.

I must disagree. I don't know much about c64 but the values we're
talking about are not colors, they are palette indices. So, one can 
change the palette so that 0 is red and 1 is blue for example. In that 
case defining macros as COLOR_BLACK and COLOR_WHITE will 
simply be wrong. COLOR_BACK and COLOR_FORE is much more 
reasonable but other graphics modes have more colors. So these
macros are only meaningfull for 2-color modes only.

In other words, I think that COLOR_xxx macros belong to palette
definitions (tgi_setpalette) not to palette index selection (tgi_setcolor).


Regards,
Fatih.


      
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Oct 25 02:07:44 2009

This archive was generated by hypermail 2.1.8 : 2009-10-25 02:07:47 CET