Re: [cc65] TGI summary

From: Oliver Schmidt <ol.sc1web.de>
Date: 2009-10-26 22:12:31
Hi Uz,

>    Actually I have a prototype implementation of a line clipper already
>    running.

Cool :-)

>  * It is not possible to come up with a color naming scheme that actually
>    works. Everyone (I think) agreed that using the conio color names for
>    TGI graphics is not a good idea, but defining TGI_COLOR_XX macros is
>    actually impossible, because these may be different even between two
>    drivers on the same platform. So we don't have a solution here.

Hm, the TGI_COLOR_XX approach...

- helps in scenarios where there's just one TGI driver that needs
other values then conio
- helps in scenarios where several TGI drivers need the same values -
but different from conio
- poses no architectural issues at all
- seems intuitive to me (especially as I don't see a scenario where a
program wants to mix/interchange TGI and conio colors needing common
values)
- requires all existing TGI programs to be changed (although doing so
is a no-brainer)

Although the Atari isn't exactly one of the two scenarios above I seem
to have understood that TGI_COLOR_XX would improve the situation
there. If that can be proved to be true then I'd opt for TGI_COLOR_XX
macros.

> As a final note (this was not discussed): I don't know how many drivers do not
> implement OUTTEXT. Most drivers derived from the C64 driver will not have it,
> because I was too lazy at that time:-) This should be added so programs can
> rely on it.

The Apple2 standard driver implements it (although TEXTSTYLE is not
fully supported).

Best, Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Mon Oct 26 22:12:38 2009

This archive was generated by hypermail 2.1.8 : 2009-10-26 22:12:40 CET