Skip to content
forked from scott5/pigfx

PiVT is a bare metal kernel for the Raspberry Pi that implements a VT220 compatible terminal emulator

License

Notifications You must be signed in to change notification settings

hanshuebner/pivt

 
 

Repository files navigation

PiVT

Raspberry Pi VT220 emulator

This project started off as a fork of https://github.com/scott5/pigfx with the intent to carry over bug fixes from Filippo Bergamasco's original version and make it emulate a Digital Equipment VT220 terminal. In the process, all of the code from pigfx has been removed and the system was rewritten in C++ using libvterm and circle.

This emulator tries to faithfully render the VT220 font which requires 10 by 20 pixels for each character. See https://vt100.net/dec/vt220/glyphs for a description of how that works.

Prerequisites

Currently, this project has been tested on Raspberry Pi Zero (without WiFi). It should work on other models as the hardware is accessed through the circle library.

A standard USB keyboard needs to be connected to the Pi. USB hubs are not currently supported.

Depending on what you want your terminal to talk to, you may need an RS232 level converter connected to the Pi's serial port.

Installation

Copy the files from the bin/ subdirectory to a SD card formatted with FAT32 and boot that in your Raspberry Pi.

Serial port configuration

The serial port is configured to 8 data bits, one stop bit and no parity at 38400 bps. The port speed can be changed using the SysReq key on the fly.

License

The MIT License (MIT)

Copyright (c) 2019, 2020 Hans Hübner

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

PiVT is a bare metal kernel for the Raspberry Pi that implements a VT220 compatible terminal emulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.7%
  • Other 1.3%