fbergama / pigfx

PiGFX is a bare metal kernel for the Raspberry Pi that implements a basic ANSI terminal emulator with the additional support of some primitive graphics functions.
MIT License
275 stars 60 forks source link

Vt100+ support #16

Open huskeyw opened 5 years ago

huskeyw commented 5 years ago

I don't really know how to help, but Vt100+ support would be awesome. got primitive graphix to work (awesome) but when I go to run games like ladder it does not work, unless someone has the correct information to place in the config for ESC?

lindoran commented 4 years ago

terminal codes are documented in /doc/terminal_codes.txt you can customize the codes using this document, however in the case of ladder there is a "Heathkit/Zenith H19 (ANSI)" per-determined terminal, you can just use this one with WASD for up/down/left/right. and the terminal works for ladder. just keep in mind that currently esc [2J which clears the screen also clears sprites. ladder only uses ASCII decimal or HEX in its configuration screen so you would need a table such as http://www.asciitable.com/ unless you have the codes memorized. i believe a common escape preamble is 27 91 for "esc[".