Shop OBEX P1 Docs P2 Docs Learn Events
VGA text driver with PST style interface — Parallax Forums

VGA text driver with PST style interface

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. :)

Comments

  • Thanks, looks like one I should be able to integrate into Tachyon as the basic VGA interface although I prefer ANSI control sequences to standardize when I switch to the serial console.
  • .. although I prefer ANSI control sequences to standardize when I switch to the serial console.
    Good point Peter!
    I will have a look at it on the weekend and make a ANSI variant.
    Cheers
    Brian


  • as the kiwis would say "ta bro"
Sign In or Register to comment.