Re: [cc65] TGI API deficit / proposal

From: Oliver Schmidt <ol.sc1web.de>
Date: 2009-10-25 14:28:37
Hi Uz,

>> That's the ideal solution. Clearing the screen needs to be seen as a
>> special case of drawing to the screen - and therefore go the the
>> current "drawpage", not "viewpage".
>
> But how did you get the idea, this is not the case?

After rethinking carefully it boils down to the the tgi_clear
description 'Clear the screen'. The TGI terminology seems to use the
term 'page' for the (potentially multiple) "things" you can draw, flip
and view in contrast to the term 'screen' for the (always single)
"thing" you see on the monitor. So if the description would say 'Clear
the page' or even 'Clear the drawpage' (a term used in the
tgi_setpixel description) then this wouldn't have happened.

> Are there any drivers
> implementing tgi_clear as always clearing the view page?

There are currently only two (?) drivers with multiple pages: The
apple2 and the lynx driver. I need to test what the apple2 driver
actually does and couldn't detect from the source code what the lynx
driver does.

BTW: The C128 640x480x2 driver says '0' for the screens (not pages
here ;-)) available. I presume this should read '1'.

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 Sun Oct 25 14:28:41 2009

This archive was generated by hypermail 2.1.8 : 2009-10-25 14:28:44 CET