VGA text driver with PST style interface
ozpropdev
Posts: 2,792
in Propeller 2
Hi All
Here's a 30 by 64 character VGA text driver that supports PST style control codes.
It all resides in 1 cog including the fonts and the text buffer uses the original PASM image area in HUB.
So only 2K is used in total, so Nano can be used.
The interface to the driver is a simple write a byte to hub and the driver responds accordingly.
Cursor positions are numbered from 1 to 64 for X and 1 to 30 for Y.
Driver can be loaded where ever you can fit it in hub.
I have found it very useful for testing and debugging.
Here's a 30 by 64 character VGA text driver that supports PST style control codes.
It all resides in 1 cog including the fonts and the text buffer uses the original PASM image area in HUB.
So only 2K is used in total, so Nano can be used.
The interface to the driver is a simple write a byte to hub and the driver responds accordingly.
Cursor positions are numbered from 1 to 64 for X and 1 to 30 for Y.
Driver can be loaded where ever you can fit it in hub.
I have found it very useful for testing and debugging.
spin
15K
Comments
I will have a look at it on the weekend and make a ANSI variant.
Cheers
Brian