[cc65] TGI summary

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-10-26 20:49:22
Among all the mails discussing the TGI API, I've somewhat lost track about
what is consensus. I'm trying to write a summary, please let me know if I
got something wrong.

  * The new Atari drivers will use a black/white palette. (this one was
    easy:-)

  * Drivers must not clip lines, this will be done by the tgi_line wrapper.
    Actually I have a prototype implementation of a line clipper already
    running.

  * The cgetc functions have to be checked not to write to the screen if the
    cursor is switched off. Should there be a third state, "cursor on",
    "cursor off" and "don't touch" to ease this?

  * Palette and color management stays as it is. Colors are actually indices
    into the default palette. If a programmer changes the palette, he has to
    implement his own color names or whatever.

  * 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.

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.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
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 20:54:26 2009

This archive was generated by hypermail 2.1.8 : 2009-10-26 20:54:28 CET