Hi Uz, On Sun, Oct 25, 2009 at 1:37 PM, Ullrich von Bassewitz <uz@musoftware.de> wrote: > > On Sun, Oct 25, 2009 at 01:20:13PM +0200, Oliver Schmidt wrote: >> But when looking at the TGI API to see if that would be implementable >> with TGI I noticed that tgi_clear() always clears the current, visible >> screen :-( > > How's that? All draw operations (including screen clear) should go to the draw > page, not to the visible page. So after > > tgi_setviewpage (0); > tgi_setdrawpage (1); > tgi_clear (); > > the invisible page #1 should be cleared, while page #0 is displayed. 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". 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 12:45:06 2009
This archive was generated by hypermail 2.1.8 : 2009-10-25 12:45:09 CET