larsbrinkhoff / terminal-simulator

Simulation of VT52 and VT100 terminal hardware.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simulation of the VT52 and VT100 hardware

Build

About

This is a software simulation of the VT100 hardware. (There is also a VT52 simulation.) The original firmware ROM is built in and executed by an 8080 emulator. Other components include video display with character generator ROM, settings NVRAM, Intel 8251 USART, and a keyboard matrix scanner. The Advanced Video Option is not included.

To build this, you need to have the SDL2 and SDL2_image libraries installed.

Usage

The command line syntax is vt100 [-afgh2CDQ] [-c CUR] [-N DIV] [-R test] [program/device].

  • -a set pixel color to amber.
  • -c CUR screen curvature (0.0 - 0.5, requires OpenGL)
  • -f enters full screen. Toggle with F11.
  • -g set pixel color to green.
  • -h give help message.
  • -2magnify by 2; each additional -2 adds 1 to multiplier.
  • -D enters a PDP-10 style DDT for debugging the firmware.
  • -R test runs a CP/M program; this is only for testing.
  • -C turns capslock into control.
  • -N DIV reduce recomputation of screen to 60/DIV Hz (may run faster).
  • -Q disables use of OpenGL (may run faster).
  • program/device is any command to run as a child process providing I/O, or a character device assumed to be a serial port.

F9 is the SET-UP key. See a VT100 User Guide for instructions. Control+F11 exits the simlator.

3D Printed Model

This simulator was inspired by Michael Gardi's 3D printed model, see his instructions and GitHub files.

This is my printing progress so far: VT100 3D print

Update! After much sanding and filling, here it is together with its larger twin. A Tale of Two VT100

About

Simulation of VT52 and VT100 terminal hardware.

License:GNU General Public License v3.0


Languages

Language:C 88.8%Language:HTML 9.8%Language:Makefile 0.6%Language:GLSL 0.5%Language:Shell 0.3%