TGRP
Root / Submissions / [.]
MZ952Created:
Download:4DVX5E23Version:Size:
This is a proof of concept which shows the text page being used as a secondary graphics screen. If you run it, you'll see you can draw pretty pictures with it, but none of those pictures are being stored on the graphics page. It uses FONTDEF to systematically rewrite text characters.
There are a number of crappy drawing functions included, but if you've got your own it's pretty easy to adapt them by replacing any GLINEs and GPSETs in them with TLINEs/TPSETs.
To create a TPAGE, first set the DISPLAY to whatever display you want it on and then START_TPAGE. That will fill the text screen with invisible characters the library will use to display graphics (it uses text characters 128 and beyond, which means most typing characters are preserved for your convenience). After executing text-graphics commands, you must use TRENDER to render the new graphics. It takes around 20 milliseconds to rerender a whole frame.
No posts yet (will you be the first?)