Link Search Menu Expand Document

Terminal LSI ADM-3A

Emulation of famous terminal from Lear Siegler, Inc. - ADM-3A. It had a nick name ‘Dumb Terminal’. In the time (1974), due to its cheapness and speed capabilities required in that time, it became de facto standard in the industry. Often it was used in connection with MITS Altair 8800 computer, so the decision of which terminal to emulate was clear.

Maintenance manual can be downloaded at this link, operator’s manual here.

GUI can be seen here:

GUI of ADM-3A terminal (Image borrowed from Wikipedia)


Terminal could display 128 ASCII characters (upper-case and lower-case letters, punctuation and numbers). Original ADM-3 could display only 64 (only capital-letters and some other). For saving very expensive RAM the terminal offered size 12 rows x 80 columns, with optional extension to 24 rows x 80 columns. The size used in the emulator is hardcoded to 80 columns x 24 rows.

Besides, the emulator uses custom font colored green, with anti-aliasing support and double-buffering.


Terminal could generate always 128 ASCII characters (upper-case, lower-case, punctuation and numbers). Besides, it could generate special control characters which affected current position of the cursor and were not sent to CPU.

Emulated device allows to generate almost anything what your host keyboard can give. It is only up to font which characters it can display. The font cannot display any special non-US characters used in various languages. Just classic ASCII.

Besides, the terminal can capture control codes (holding CTRL plus some key), and special control codes (ESC + '=' + [X] + [Y], sets new cursor position, where [X] is a key translated to X position and [Y] a key translated into Y position of a cursor). The following subsection lists all possible control and special control key combinations.

Control codes

The following table shows control codes (CTRL plus some key combinations). The table can be found in original manuals. The emulator is following it.

Code ASCII mnemonic Function in ADM-3A
CTRL+E ENQ Initiates ID message with automatic “Answer Back” option.
CTRL+G BEL Sounds audible beep in ADM-3A (not in emulator yet :( )
CTRL+H BS Backspace
CTRL+J LF Line feed
CTRL+K VT Upline
CTRL+L FF Forward space
CTRL+M CR Return
CTRL+N SO Unlock keyboard
CTRL+O SI Lock keyboard
CTRL+Z SUB Clear screen
CTRL+[ ESC Initiate load cursor
CTRL+^ RS Home cursor

Absolute cursor position from the keyboard

Terminal allows to set the absolute cursor position, when in “Cursor control Mode” or using “load cursor” operation. Emulated terminal does not support the “Cursor control Mode”, but “load cursor” is supported.

The “load cursor” operation can be activated by pressing ESC key followed by = key. Then the terminal expects another two keypresses, one representing X, and the other one the Y position of the cursor.

X and Y corridnates are translated from the key presses. The following table shows the key-to-coordinate translation table.

Key Number Key Number
' ' (space) 0 H 40
! 1 I 41
" 2 J 42
# 3 K 43
$ 4 L 44
% 5 M 45
& 6 N 46
' 7 O 47
( 8 P 48
) 9 Q 49
* 10 R 50
+ 11 S 51
, 12 T 52
- 13 U 53
. 14 V 54
/ 15 W 55
0 16 X 56
1 17 Y 57
2 18 Z 58
3 19 [ 59
4 20 \ 60
5 21 ] 61
6 22 ^ 62
7 23 _ 63
8 24 ` (backtick) 64
9 25 a 65
: 26 b 66
; 27 c 67
< 28 d 68
= 29 e 69
> 30 f 70
? 31 g 71
@ 32 h 72
A 33 i 73
B 34 j 74
C 35 k 75
D 36 l 76
E 37 m 77
F 38 n 78
G 39 o 79

ADM-3A Settings

It is possible to configure the terminal either from GUI or manually modifying configuration settings. Modification of settings requires restarting emuStudio.

The “settings” window is shown in the following image:

Settings window of ADM-3A terminal

  • A: File for reading input (when redirected)
  • B: File for writing output (when redirected)
  • C: In automatic mode, how long the terminal should wait until it reads next input character from the file (in milliseconds)
  • D: Whether every keystroke will also cause to display it. Programs don’t always “echo” the characters back to the screen.
  • E: Whether terminal GUI should be always-on-top of other windows
  • F: Whether the display should use anti-aliasing.
  • G: Clears the screen.
  • H: Rolls the screen down by 1 line
  • I: If checked, then by pressing OK the settings will be saved to the configuration file. If not, they will be not saved. In any case, the effect of the settings will be visible immediately.

Terminal behaves differently when emuStudio is run in automatic (or “no GUI”) mode. In that moment, input is redirected to be read from a file, and also output is redirected to be written to another file. File names are configurable in the computer config file. Using redirection in GUI mode is currently not possible.

Configuration file

The following table shows all the possible settings of ADM-3A plugin:

Name Default value Valid values Description
inputFileName Path to existing file File for reading input (when redirected)
outputFileName adm3A-terminal.out Path to existing file File for writing output (when redirected)
inputReadDelay 0 > 0 How long the terminal should wait until it reads next input character from the file (in milliseconds)
antiAliasing false true / false Whether the display should use anti-aliasing.
halfDuplex false true / false Whether every keystroke will also cause to display it.