E K- VT1 00- TM-003

SERIESVIDEO TERMINALTECHNICAL MANUAL

Prepcned by Educational ServicesofDigitCiI Equipment Corporation

First Edition, August 1979
Second Edition, September 1980
Third Edition, July 1982

Copyright © 1979, 1980, 1982 by Digital Equipment Corporation
All Right s Reserved

The reproduction of this material, in part or whole,is strictly prohibited. For copy information, contact
the Educational Services Department, Digital
Equipment Corporation, Maynard, Massachusetts
01754.
The information in this document is subject tochange without notice. Digital Equipment Corporation assumes no respoil1sibility for any errors that
may appear in this document.
Printed in U.S.A.

The following are trademarks of Digital Equipment
Corporation, Maynard, lMassachusetts.
DEC
DECUS
DIGITAL
Digital LogoPDPUNIBUS
VAX

DECnetDECsystem-10
DECSYSTEM-20
DECwriter
DIBOL
EduSyst'emlAS
MASSBUSOMNIBUS
OS/8
PDT
RSTS
RSX
VMS
VT

CONTENTS

CHAPTER 1 INTRODUCTION AND SPECIFICATIONS
VT100 Specifications ......... '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Ordering Documentation ...... "........................................................
Related Docu[aenltation ................................................
CHAPTER 2

1-2
1-4
1-5

OPERATOR I1'JFORMATIONPart 1 - Keyboard Controls and Ilt1dicators ....... ~ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Numeric Keyp'ad .. "...................................................
Monitor Control .............. ".......................................
Audible IndicBltors (Tones) .............................................
Part 2 - SET- UP Mode ....................... , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SET-UP Featllres .....................................................
SET-UP A ................... ".......................................
SET-UP B ...........................................................
Determining VV'hBlt a SET-UP Feature Does ..............................
How to Change a SET-UP Featun~ ......................................
Setting the Answerback Message ........................................
Saving SET-U·P Features ..............................................
Recalling SET-UP Features... . . ... . . .... ... .... ....... . . . . . . . ..... . . ..
Resetting the 1Lenninal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Part 3 - Definitions of SET-UP Features. .. .. . . . . .... ..... ....... . ....... . . .. .. . . .... ..
ANSVVT52 ~t1ode ....................................................
Answerback 1vles:sage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Auto Repeat ..... " . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Auto XON/XOF'F . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Bits per Chara.cter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Characters per Line ...................................................
Cursor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Interlace .............................................................
Keyclick Tone: . .. ... . .. .. . .. .. . . .... .... ....... . ......... . . ..... ......
LINE/LOCA1L .................... ,...................................
Margin Bell ..........................................................
New Line............................................................
Parity '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Parity Sense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Power...............................................................
Receive Speedl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Screen BackgrouIld . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

iii

2-1
2-3
2-5
2-5
2-6
2-7
2-7
2-8
2-8
2-10
2-11
2-12
2-12
2-13
2-13
2-13
2-13
2-13
2-14
2-14
2-14
2-14
2-14
2-15
2-15
2-15
2-15
2-15
2-15
2-16
2-16
2-16

Screen Brightness ..................................................... 2-16
Scroll ............................................................... 2-16
Tabs................................................................ 2-16
Transmit Speed. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-16
Wraparound . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . • . . . .. ,2-17
Part 4 - Self-Testing the VT100. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 2-17
Self-Test Error Codes ................................................. 2-17
Part 5 - What To Do in the Event of a Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 2-19
CHAPTER 3

INSTALLATION AND INTERFACE INFORMATION

Site Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Unpacking and Installation ..............................................................
User Maintenance.. . . .... . . . . . . .. . . . . . . . ................... ... .... ......... ........ ...
Interface Information ..................................................................
EIA Interface ....................................................'.....
Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
VT100 Output Voltages ...........................................
VT100 Input Voltages ....................................... ' . . . . .
Optional 20 rnA Current Loop Interface .............................
External Video Connections ............................................
Composite Video Output (J9) .. .. ..... ........... .... ...... ... ...... . ...
Video Input (J8) .......................................................
CHAPTER 4
4.1
4.1.1
4.1.2
4.1.3
4.1.4
4.1.5
4.1.5.1
4.1.5.2
4.1.5.3
4.1.5.4
4.1.5.5
4.1.5.6
4.1.5.7
4.1.5.8
4.1.5.9
4.1.5.10
4.1.5.11
4.1.5.12
4.1.5.13
4.1.5.14
4.1.5.15
4.1.5.16
4.1.5.17
4.1.5.18
4.1.5.19
4.1.5.20
4.1.6

3-1
3-1
3-3
3-4
3-4
3-5
3-5
3-5
3-5
3-6
3-6
3-8

TECHNICAL DESCRIPTION
Introduction to VT100 Technicall Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scope of Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Order of Presentation ........................................ '.....
Definition of Terms and Abbreviations ..............................
Hardware Introduction ............................................
Block Diagram Description ........................................
Microprocessor ..... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Program' ROM ..... '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Scratch RAM ...... '.................................... .....
Nonvolatile RAM .............................................
Advanced Video Option .......................................
Keyboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
LEDs .......................................................
Keyboard Translator .>........................................
Transmit Buffer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . .
Communication Transmitter ......... . . . . . . . . . . . . . . . . . . . . . . . . . .
Communication Receiver .....................................
SILO ......................................................
Control Function Parsl~r ......................................
Screen RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Video Processor ........................................ '. . . . .
CRT Monitor ...............................................
Power Supply ...............................................
Standard Terminal Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
EIA Interface ...............................................
Current Loop Interface: Adapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Firmware Introduction ............................................

iv

4-1
4-1
4-1
4-1
4-1
4-3
4-3
4-3
4-3
4-3
4-3
4-5
4-5
4-5
4-5
4-5
4-5
4-5
4-5
4-6
4-6
4-6
4-7
4-7
4-7
4-7
4-7

4.2
4.2.1
4.2.2
4.2.3
4.2.4
4.2.5
4.2.5.1
4.2.5.2
4.2.5.3
4.2.5.4
4.2.5.5
4.2.6
4.2.6.1
4.2.6.2
4.2.7
4.2.8
4.3
4.3.1
4.3.2
4.3.3
4.3.4
4.3.5
4.3.6
4.3.7
4.3.8
4.3.9
4.3.104.3.11.
4.3.124.3.134.3.144.3.154.3.16
4.4
4.4.1
4.4.2
4.4.3
4.4.4
4.4.5
4.4.6
4.4.6.1
4.4.6.2
4.4.6.3
4.4.6.4
4.4.6.5
4.4.6.6
4.4.7
4.4.8
4.4.9
4.4.9.1
4.4.9.2
4.4.9.3
4.4.9.4
4.4.9.5

Microprocessor ...................................................... .
8080 Mlicroprocessor ............................................ .
Data Bus and System Controller ................................... .
Clock Crenerator ................................................ .
Bus Tinling ..................................................... .
Microproc~~ssor Memory ......................................... .
Mem~:>ry Map .............................................. .
Memory Devices ........................................... .
R()M: Decoding ...................... ~ ..................... .
RJ\M Decoding ............................................ .
Mem,ory Disable ............................................ .
V 0 De·codling ................................................... .
P1JS.A.RT Read and ~rrite ................................... .
V C) Read and Write ......................................... .
InterruI)t 'lector ................................................. .
Power-1Up and Self-Test .......................................... .
COInmunication Transceiver ........................................... .
PUSAltT Principles .............................................. .
PUSAltT Operation .............................................. .
PUSAItT Addressing .... " ....................................... .
PUSAItT Programming .. " ....................................... .
Data Transmission ...... " ........................................ .
Data Rece:ption .................................................. .
Baud R.ate Generator .... " ........................................ .
Serial Interface .......... " ....................................... .
ModeIll Control ............. " .................................... .
Data Types ...................................................... .
SILO ........................................................... .

XON/)(O'FF ................................................... .
Controll Function Parser .......................................... .
wcal " ......................................................... .
Standard Terminal Port .......................................... .
Communieation Self-Test ......................................... .
Keyboard." ......................................................... .
Keyboard Block Diagram ......................................... .
Keyboard UARTs ............................................... .
Keyboard Status Byte ... , ........................................ .
Key A(ldress Counter ............................................ .
Key Scanning and Address Formation .............................. .
Bidirectional Interface Operation .................................. .
Irlterface Line .............................................. .
Receiving Side .............................................. .
Ternlinal Data Encoding ..................................... .
Combined Interface Signal ................................... .
D'ecoding of Data frorn Terminal .............................. .
K.eyl)oard Output ........................................... .
Bell ............................................................ .
K.eyboard Interrupt Routin(~ ....................................... .
Logical Keyboard Processor ...................................... .
K~ey Recognition ............................................ .
K~ey Rollover ............................................... .
Gremeration of Codes ........................................ .
Keyboard Transmit Buffer ................................... .
A.uto Repeat ................................................ .

v

4-9
4-9
4-11
4-13
4-13
4-13
4-16
4-16
4-16
4-16
4-16
4-17
4-17
4-17
4-18
4-19
4-20
4-20
4-23
4-23
4-23
4-23
4-27
4-27
4-28
4-28
4-28
4-28
4-29
4-29
4-29
4-29
4-30
4-30
4-30
4-31
4-31
4-32
4-34
4-34
4-34
4-34
4-37
4-38
4-38
4-38
4-38
4-41
4-41
4-42
4-42
4-43
4-44
4-44

4.5
4.5.1
4.5.2
4.5.3
4.5.4
4.5.5
4.5.6
4.6
4.6.1
4.6.1.1
4.6.1.2
4.6.1.3
4.6.1.4
4.6.1.5
4.6.1.6
4.6.2
4.6.2.1
4.6.2.2
4.6.2.3
4.6.2.4
4.6.2.5
4.6.2.6
4.6.2.7
4.6.2.8
4.6.2.9
4.6.2.10
4.6.2.11
4.6.2.12
4.6.3
4.6.3.1
4.6.3.2
4.6.3.3
4.6.3.4
4.6.3.5
4.6.3.6
4.6.3.7
4.6.3.8
4.6.3.9
4.6.4
4.6.5
4.6.6
4.6.7
4.6.8
4.6.9
4.6.104.6.11
4.6.124.6.12.1
4.6.12.2
4.6.12.3
4.6.13
4.7
4.7.1
4.7.2

Nonvolatile RAM ........... ..........................................
Principles .......................................................
NVR Device ..............................................
NVR Control ....................................................
NVR Support Circuits .....................................
Microprocessor Managem(mt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
NVR Timing ..............................................
Video Processor ...............................................
Introduction ..............................................
The Raster ........................................... " . . . . ..
Character Formation ..........,...............................
Video Processor Data .............................. ... . .. ... ..
Video Processor Character Generation ................... o. . . . . •Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advanced Video Optlon (AVO) . . . .. .. . . . .. . . .. . . . . . . . .. . . . . .. .
Timing Chip Description, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Input Decoder ......, . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
80/132 Column Selection .....................................
Dot Counter ......., ..................................
Double-Width Multiplexer ....................................
Horizontal Counter .., . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Horizontal Drive and Horizontal Blank .........................
Line Buffer Addressing .......................................
Vertical Operation ............................................
Vertical Counter ........................................ ,......
Vertical Outputs ... ".........................................
Composite Sync ..............................................
Hold Request, Address Load, and Double-Width. . . . . . . . . . . . . . . ..
Control Chip Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . ..
Input Decoder Functions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Attribute Latches .............................................
Scroll Counter ..... ,................................... ',' . . . ..
Scan Count Math .. " . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Generation of HOLD' REQUEST .............................
Horizontal Blank and Terminate ...............................
Double-Width and H,old Request . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Attributes ............................................ ',' . . . . .
Dot Stretcher .......' .................................. ',' . . . ..
Address Counter and Data Structure in RAM ........................
Address Latch Buffer ....................................... ,......
Line Buffer ............................................... ',' . . . ..
Character Generator ....................................... ',' . . . . .
Video Shift Register ........................................ ,......
Terminator ............................................... ',' . .. ..
DMA Cycle Timing Diagram......................................
Video Blinking ...................................................
Video Input and Output ...........................................
Direct Drive Video. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Composite Video Out ........................................
Video In ....' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Intensity Control .................................................
Microprocessor - Video Processor Interface ..............................
Screen Memory Organization ......................................
Fill Line Operation. . . . . . . . . . . . . . . . . ... . . . . . . . . . . . . . . . . . . . . . . . . . . ..

vi

0,

•

•

•

•

•

•

0

•

•

•

•

••

0

•

•

•

•

•

0,

•

•

•

•

•

•

0,'

•

•

•

•

•

0,'

•

•

•

••

•

4-44
4-44
4-45
4-45
4-46
4-47
4-47
4-48
4-48
4-51
4-51
4-52
4-52
4-52
4-54
4-55
4-55
4-57
4-57
4-58
4-60
4-60
4-60
4-64
4-64
4-64
4-67
4-67
4-67
4-70
4-71
4-71
4-72
4-72
4-73
4-74
4-74
4-74

4-74
4-77
4-77
4-77
4-80
4-80
4-80
4-82
4-83
4-83
4-84
4-84
4-84
4-85
4-86
4-87

4.7.34.7.3.1
4.7.3.2
4.7.4
4.7.5
4.7.6
4.7.7
4.7.8
4.7.9
4.7.104.7.11
4.8
4.8.1
4.8.1.1
4.8.1.2
4.8.1.3
4.8.1.4
4.8.1.5
4.8.1.6
4.8.1.7
4.8.1.8
4.8.1.9
4.8.1.10
4.8.2
4.8.2.1
4.8.2.2
4.8.2.3
4.9
4.9.1
4.9.2
4.9.3
4.9.4
4.9.5
4.9.5.1
4.9.5.2
4.9.5.3
CHAPTER 5
5.1
5.2
5.2.1
5.2.2
5.2.3
5.2.4
5.2.5
5.2.5.1
5.2.6
5.2.7
5.2.7.1
5.2.7.2
5.2.7.3
5.2.7.4
5.2.7.5

Lin.e Organization .........'....................................... 4-88
Physical Screen ...... " .. " ............................... '. . . .. 4-92
Logical Screen .......0....................................... 4-92
Address Shuffiing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-92
Shuffie ~rirrling ........... " .. " ................................. ".. 4-94
Scrolling Region .............. " .. : . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-95
Split Screen Jump Scrolling" . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-95
Sm,ooth Scroll ................ , . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-95
Split Screen Smooth Scrolling ." . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-97
Cursor ...................... " .................. '. . . . . . . . . . . . . . . . .. 4-98
SET-VI> .................... ".................................... 4-99
Monitor ........ " ................ ".................................... 4-99
Monitor Description: 30-16080 (Elston) ............................. 4-100Vi(ieo Driver ................................................. 4-100
Brightness ................................................... 4-100
Vertical Oscillator ........................................... 4-100
Sellf-Oscillation .............................................. 4-100
Vertical Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-100
LiIlearization ................................................ 4-101
Horizontal Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-101
Horizontal Deflection Operation ............................... 4-101
Horizontal Output Circuit ..................................... 4-103
High Voltage and Focus ...................................... 4-104
Monitor Description: 30-14590 (Ball) ............................... 4-104
Video Amplifier ............................................. 4-104
Vertic:al Deflection ........................................... 4-104
Horizontal Deflection ........................................ 4-105
Power Suppl~{ ............... "........................................ 4-107
Power Inptlt .................... '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-107
Start-Vp Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-107
Control Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-108
Outputs .......................................................... 4-110
Power Supply Specifications ....................................... 4-112
Input Specifications .......................................... 4-112
CCloling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-115
Base Product Power Rc;:quirements ............................. 4-115
VT100 SERIES SERVICE
Introduction . '......................................................... .
Troubleshoot.ing ...................................................... .
Troubleshooting the Basic VT100 .................................. .
Troubleshooting Basic VTIQ10 Variations Without Self-Test ........... .
Troubleshooting the VTI05 ....................................... .
Troubleshooting the VT132 ....................................... .
Troubleshooting the VT125 ....................................... .
VT125 Self-Test Error Codes ................................ .
Troubleshooting the Options ...................................... .
VT100 Internal Self-Tests ........................................ .
Error Codes ................................................ .
PClwer-Vp Test ............................................. .
Data Loopback Test ........................................ .
EIA'Test .................................................. .
Keyboard Tests ............................................. .

vii

5-1
5-1
5-1
5-3
5-8
5-8
5-9
5-10
5-13
5-13
5-13
5-13
5-16
5-19
5-19

5.2.7.6
5.2.7.7
5.2.8
5.2.8.1
5.2.8.2
5.2.8.3
5.2.8.4
5.2.8.5
5.2.8.6
5.3
5.3.1
5.3.1.1
5.3.1.2
5.3.2
5.3.2.1
5.3.2.2
5.3.2.3
5.3.2.4
5.3.2.5
5.3.2.6
5.3.2.7
5.3.2.8
5.3.2.9
5.3.3
5.3.3.1
5.3.3.2
5.3.3.3
5.3.3.4
5.3.3.5
5.3.3.6
5.3.3.7
5.4
5.4.1
5.4.2
5.4.3
5.4.4
5.4.5
5.4.6
5.4.7
5.4.8
5.4.9
5.4.105.4.11
5.4.125.4.135.4.145.4.155.4.165.4.175.4.185.4.195.4.205.4.21
5.4.22

SET-UP Screen Test. . . ... .. ............... .... .. . ..... .... .. 5-19
Video Adjust Test. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-20
VT125 Tests .................................................... 5-20
Loopback Connector Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-21
VT125 Power-Up Test ....................................... 5-21
VT125 Computer Data Port Loopback Test ..................... 5-22
VT125 Auxiliary Port Loopback Test .......................... 5-23
VT125 Display Test ......................................... 5-23
VT125 Video Bit Map Memory Test ........................... 5-24
Video Alignment. . . . .... . . . . . . . . . .. . ... . . . . . .... . ... .... . .. . .. . . . . . . .. 5-24
Alignment Template. . ... .. . . ... ... .... . .. . .. . . ... . .. . . . . .. . .. . . .. 5-25
Making a Paper Template .................. '. . . . . . . . . . . . . . . . . .. 5-25
Attaching the Template. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-25
Monitor Adjustments (Ball Brothers) ................................ 5-25
Brightness .................................................. 5-28
Yoke Rotation. . . . ... . . . . . . . . .. . . . .. .. ... .. . ... . . . .. . . . . . . . .. 5-29
Vertical H'eight .............................................. 5-30
Horizontal Width. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-30
Centering ................................................... 5-30
Vertical Linearity ............................................ 5-30
Horizontal Linearity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-30
Vertical Hold. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-31
Focus. . . .. .. . . . . . . . . . ..... . .... . . ..... . . .. ... .. . . . . . . .. . . .. 5-31
Monitor Adjustments (Elston and DIGITAL) ........................ 5-31
Brightness .................................................. 5-31
Yoke Rotation.. ... ... . . .. . . . .... . . . ... . . . . . ... . . . . . . . . .. . . .. 5-32
Vertical Height .............................................. 5-32
Horizontal Width. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-32
Centering ........................... ',' . . . .. .. . . . . .. . . . .. . . .. 5-33
Vertical Linearity ............................................ 5-33
Focus........ ........................... ..... ............ .. 5-34
Module Removal and Replaceme:nt ...................................... 5-34
Access Cover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-34
Terminal Controller Board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-37
Advanced Video Option Board. .. .. . .. . . . . ... .. . . . ... . . . . .. . . ... . .. 5-38
ROMs.......................................................... 5-39
Printer Port/VTI25 STP Board .................................... 5-39
VTl 05 Waveform Generator Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-43
VT125 Graphics Board ........................................... 5-43
20 rnA Current Loop Board........................................ 5-47
Keyboard Top Cover ............................................. 5-47
Keyboard ....................................................... 5-47
Keyboard Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . 5-47
.Keyboard Speaker . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-49
Keycap ......................................................... 5-·49
Top Cover. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-51
Video Monitor Board (Ball Monitor) ................................ 5-51
Flyback Transformer (Ball :Monitor) ................................ 5-53
Video Monitor Board (Elston or DIGITAL) ......................... 5-54
Flyback Transformer (Elston or DIGITAL) ..... .. .... .. . ... . .. . . . . .. 5-55
Bottom Cover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-55
Power Supply. . . . . .. . ... .. . . .. . . . .. ... . ...... ... ... .. . . . . . . . ..... 5-56
RF Shield .............. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-58
DC Power Harness ................................................ 5-58

viii

5.4.23
5.4.245.4.255.4.26
5.5
5.5.1
5.5.2
5.5.3
5.5.4
5.5.5
5.5.6
5.6
5.6.1
5.6.1.1
5.6.1.2
5.6.1.3
5.6.1.4
5.6.2
5.6.3
5.6.4
5.6.5

VTI05/VT125 Expansion Backplane ...............................
CRT and Yoke Assembly ...... "................ ... .................
CRT Discharge and Anode Cap......................... ...........
Field Handling of CRTs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Board Configllrations ..........
Terminal Controller Board. ,. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Advanc~:d Video Option Board with Jumpers. ... . . . . . . . . . . . ... . . . . . ..
Advanced Video Option Board with Switches ........................
VTIXX:-AC Printer Port Option ...................................
VTI05 Vvaveform Generator Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
VT125 G-raphics Terminal STP Board ..............................
Component Levellroubleshooting ......................................
Troubleshooting the Terminal Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Mi1cro:processor ...... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Vicleo Processor .............................................
Co:mrrlunications .... ' 0 • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • ••Nonvolatile RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Troubleshooting the Keyboard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Troubleshooting the Power Supply. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
Troubleshooting the CRT Monitor ..................................
Troubleshooting the Options .......................................
,0

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

•

••

CHAPTER 6

OPTIONS

6.1
6.1.1
6.1.2
6.1.3
6.2
6.2.1
6.2.2
6.2.3
6.2.4
6.2.4.1
6.2.4.2
6.2.5
6.2.5.1
6.2.5.2
6.2.5.3
6.2.6
6.3
6.3.1
6.3.2
6.3.3
6.3.4
6.3.4.1
6.3.5
6.3.6
6.3.7
6.4
6.4.1
6.4.1.1
6.4.1.2
6.4.1.3

SET-UP ProeedlLlres .................................................... .
SET-UF' A ....................................................... .
SET-UF' B ....................................................... .
SET-UF' C ....................................................... .
Advanced Vicieo Option ....... " ....................................... .
Advanced Video Option Installation ................................ .
Advanc~:d Video Option Checkout ................................. .
Program Memory Expansion ....................................... .
Alternate C~haracter Set ... " ....................................... .
Alternate ROM Description .................................. .
Character ROM Programming Instructions ..................... .
AVO T~:chnical Description ...................................... .
Extended Character and Attribute Memory ..................... .
Character Attribute Latches .................................. .
Program ROM Decoding .................................... .
Troubleshooting the AVO . '....................................... .
20 rnA Current Loop Adapter ......................................... .
20 rnA Current Loop Option Installation ........................... .
Configurati~:)ns .................................................. .
20 rnA Current Loop Option Checkout ............................. .
Current w~:)p Principles .......................................... .
Current wop Adapter Description ............................ .
Interfac~: Signals ................................................ .
Interface Specifications ........................................... .
Troubleshooting the Current wop Adapter .......................... .
VTI05 Graphics Processor ............................................ .
Enabling Graphic Information ..................................... .
Writing Data to the Waveform Generator ...................... .
Reading Data from the Waveform Generator ................... .
Decocting the Input .......................................... .

ix

5-62
5-62
5-63
5-66
5-68
5-68
5-68
5-68
5-68
5-68
5-68
5-73
5-73
5-73
5-75
5-76
5-77
5-77
5-77
5-78
5-78

6-1
6-1
6-2
6-2
6-13
6-13
6-13
6-15
6-16
6-16
6-17
6-17
6-17
6-18
6-18
6-18
6-18
6-18
6-19
6-20
6-20
6-20
6-22
6-22
6-23
6-23
6-23
6-25
6-26
6-26

6.4.1.4
6.4.1.5
6.4.1.6
6.4.1.7
6.4.1.8
6.4.1.9
6.4.1.10
6.4.1.11
6.4.1.12
6.4.1.13
6.4.1.14
6.4.1.15
6.4.1.16
6.4.2
6.4.2.1
6.4.2.2
6.4.2.3
6.4.2.4
6.4.2.5
6.4.2.6
6.4.2.7
6.4.2.8
6.4.2.9
6.4.2.10
6.5
6.5.1
6.5.2
6.5.2.1
6.5.2.2
6.6
6.6.1
6.6.2
6.7
6.7.1
6.7.2
6.7.2.1
6.7.2.2
6.7.2.3
6.7.2.4
6.7.3
6.7.3.1
6.7.3.2
6.7.3.3
6.7.3.4
6.7.3.5
6.7.3.6
6.7.4
6.7.4.1
6.7.4.2
6 . 7.4.3
6.7.4.4
6.7.5
6.7.5.1
6.7.5.2

Selecting Mode of Operation .................................. 6-28
Decoding Field Selection ..................................... 6-28
Phase-Lock-Loop Timing ................ '. . . . . . . . . . . . . . . . . . . .. 6-30
Establishing Desired Display .................................. 6-30
Loading X-Address Information ............................... 6-34
Loading Graph Memories ............... . . . . . . . . . . . . . . . . . . . . .. 6-34
Generating Baselines (Shade Lines) ............................ 6-38
Enabling a Histogram (Shading a Graph) ....................... 6-38
Loading Vertical Lines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-38
Adding Graph Marke:r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-41
Generating Horizontal Lines .................................. 6-41
Generating Strip Charts. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-41
Combining Video Out and Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-46
VTI05 Graphic Test Procedure .................................... 6-48
Test Setup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-48
Test Graph 0, Histogram 0, and Graph 0 Markers ............... 6-48
Test Graph 1, Histogram 1, and Graph 1 Markers ............... 6-51
Test the Horizontal Lines ..................................... 6-51
Test the Vertical Lines ....................................... 6-51
Test Shade Line 0 (Baseline 0) ................................ 6-53
Test Shade Line 1 (Baseline 1) ................................ 6-54
Test Strip Chart 0 ."......................................... 6-54
Test Strip Chart 1 ."......................................... 6-55
Exit the Graphic Test Mode. . . . .. . . . . . ... . . .. . .. . . . . . . . . . . . . .. 6-55
VTIXX-AC Printer Option .. ,. . . . . .. . .. . .. . ... . ... . . .. . . . . . . . . . . . . . . . .. 6-56
Option Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-56
Printer Port Option Checkout Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-57
Power-Up Test .... ,......................................... 6-57
Printer Interface Data Loopback Test. . . . . . . . . . . . . . . . . . . . . . . . . .. 6-58
VTl XX-CB, -CL Kit ................................................. 6-59
Installation ...................................................... 6-60
Graphics Option Checkout Procedure ............................... 6-67
VT125 Graphics Processor Technical Description. . . . . . . . . . . . . . . . . . . . . . . .. 6-70
Block Diagram Description ........................................ 6-70
Microprocessor and Memory .; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6. . 72
Memory, II 0, and Bus Operation .............................. 6-73
Refresh Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-75
DRAM Control Timing Sequencer Details ...................... 6-77
The Microprocessor I)RAM Memory Cycle ......... . . . . . . . . . . .. 6-79
Timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-79
Clocks ..................................................... 6-80
Horizontal and Vertical Counters .............................. 6-82
Offsets ..................................................... 6-82
Scaling ..................................................... 6-84
State Sequencer ............................................. 6-84
Blanking and Clock Synchronization ............ '. . . . . . . . . . . . . . .. 6-85
Vector Generator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-87
Circuit ..................................................... 6-87
Vector Generator Timing ..................................... 6-89
Drawing Vectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-91
Vector Calculation Timing .................................... 6-96
Bit Map Write Control ............................................ 6-98
Block Diagram .............................................. 6-98
Character Writing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-100x6.7.6
6.7.7
6.7.8
6.7.9
6.7.9.1
6.7.106.7.10.1
6.7.10.2
6.7.10.3
6.7.10.4
6.8
6.8.1
6.8.2
6.8.2.1
6.8.2.2

Bit Mal> Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-102
Output Map ...................................................... 6-104
Output Latches and DAC Converters ............................... 6-104
STP BClarcl ...................................................... 6-106 .
Ui\.RTs .................................................... 6-106
Firmware ............................................... : ........ 6-106
M·emory and I/O Addresses ................................... 6-106
Self-Test Processes ........................................... 6-106
Graphics Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 6-108
Communication Protocols .......................... . . . . . . . . . .. 6-109
VT125 Testing and Troubleshooting ..................................... 6-115
Preparing for Self-Tests ........................................... 6-115
Error R.ep()rting .. "............................................... 6-11 7
Vrl010 Errors ............................................... 6-117
V~r125 Errors ............................................... 6-117

CHAPTER 7

STANDARD TERMINAL PORT

7.1
7.2
7.3
7.4
7.4.1
7.4.2
7.4.2.1
7.4.2.2
7.4.2.3
7.4.2.4
7.4.2.5
7.5
7.5.1
7.5.1.1
7.5.1.2
7.5.2
7.5.3
7.6
7.6.1
7.6.2
7.7
7.7.1
7.7.1.1
7.7.1.2
7.7.2
7.7.3
7.7.3.1
7.7.3.2
7.7.4
7.7.5
7.7.6

Introduction .. " ...................................................... .
Definitions ... " ...................................................... .
Overview .... " ...................................................... .
Functional Specifications ............................................... .
Interface Signal Lines ............................................ .
Protocol Specifications ........................................... .
T ~:rminal Operation with No Option Present .................... .
Standard Set-Up for L)cal Link ............................... .
Control Sequences for Terminal Parameters .................... .
Initialization ............................................... .
Bllli.l!\'K ................................................... .
Electrical Specifications ............................................... .
Signal ]~inles .................................................... .
S~,gna.l ~v~ls .................................... : .......... .
Sl,gna.l Tllnlng .............................................. .
Power :Su:pply Lines ............................................. .
Connector Pinout ................................................ .
Mechanical Spe:cifications ............................................. .
Shorting C:onnector ............... : .............................. .
STP C()nn.ector Card ............................................ .
Guidelines for the Designer ............................................ .
Use with Receive Only Device .................................... .
Single UART Method ....................................... .
Tv/o UART Method ........................................ .
Use with Passive Device ......................................... .
Use with A.ctive Device .......................................... .
Terminal Processor as Standalone CPU ........................ .
T(~rm.inal Processor Augmenting Basic Terminal Operation ....... .
Use with Communications Option ................................. .
Use with an External Processor ................................... .
Use with More than One Option ................................... .

CHAPTER 8
8.1
8.2

7-1
7-1
7-2
7-3
7-3
7-6
7-6
7-6
7-7
7-9
7-9
7-9
7-9
7-9
7-9
7-10
7-10
7-10
7-10
7-10
7-11
7-11
7-11
7-13
7-13
7-13
7-13
7-14
7-14
7-14
7-14

GRAPHICS CONNECTOR
Introduction .................. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hardcopy Elrlab,le .....................................................

xi

8-1
8-3

APPENDIX APROGRAMMING INFORMATIONAPPENDIX B RECOMMENDED SPARES LIST (RSL)
APPENDIX CGLOSSARY OF TERMS AND ABBREVIATIONSAPPENDIX DANSI CODE EXTENSION TECHNIQUESFIGURES

2-1
2-2
2-3

2-4
2-5
3-1
3-2
3-3
3-4

4-1-1
4-1-2
4-1-3
4-2-1
4-2-2
4-2-3
4-2-4
4-3-1
4-3-2
4-3-3
4-3-4
4-3-5
4-4-1
4-4-2
4-4-3
4-4-4
4-4-5 A
4-4-5B
4-4-5C
4-4-6
4-4-7
4-4-8

4-4-9
4-4-104-4-11
4-5-1

4-5-2
4-5-3
4-6-1
4-6-2
4-6-3
4-6-4
4-6-5
4-6-6
4-6-7

VT100 Keyboard ..................................................... .
2-2
VT100 Terminal (Rear View) .......................................... .
2-6
SET-UP A Mode Presentation ......................................... .
2-7
SET-UP B Mode Presentation ......................................... .
2-8
SET-UP B Mode Summary ........................................... .
2-9
VT100 Terminal Dimensions ........................................... .
3-2
VT100 Rear View ..................................................... .
3-3
20 rnA Current Loop Interface ......................................... .
3-7
Composite Video Output .............................................. .
3-8
VT100 Components .................................................. .
4-2
Functional Block Diagram ........................................ " ..... . 4-4
VT100 Firmware Block Diagram .................................. " ..... . 4-88080 Block Diagram ............. ~ ................................... . 4-10
Microprocessor Block Diagram ........................................ . 4-12
Microprocessor Bus Timing ........................................... . 4-14
Memory Map ....................................................... . 4-15
8251 A PUSART Block Diagram ...................................... . 4-21
Asynchronous Data Format ........................................... . 4-22
Mode Instruction ..................................................... . 4-24
Command Instruction ................................................. . 4-25
Status Byte Format .................................................. . 4-26
Keyboard Block Diagram ............................................. . 4-31
Keyboard Status Byte ................................................ . 4-32
Key Address Transmission Delays ..................................... . 4-33
Keyboard Switch Array ............................................... . 4-35
Keyboard Interface Circuit ............................................ . 4-36
Bias Network - E8 High .............................................. . 4-36
Bias Network - E8 Low .............................................. . 4-36
Encoding of Terminal Data and Clock .................................. . 4-39
Four Keyboard Interface States ........................................ . 4-40
Keyboard Interface Signal ............................................. . 4-40
Bell Circuit ......................................................... . 4-41
Keys Flag Byte ...................................................... . 4-41
Sneak Path .......................................................... . 4-43
ER1400 NVR Block Diagram ......................................... . 4-46
NVR Signals ......................................................... . 4-48
NVR Timing Diagrams ............................................... . 4-49
Video Processor Block Diagram ........................................ . 4-50
Dots, Scans, and Characters ......................... ~ ................. . 4-51
Video Processor Functional Diagram ................................... . 4-53
Character Generator Example .......................................... . 4-54
DCO 11 Block Diagram ............................................... . 4-56
Video Latch Timing - 80 Column ....................................... . 4-57
Video Latch Timing - 132 Column ..................................... . 4-58

xii

4-6-8
4-6-9
4-6-10
4-6-11
4-6-124-6-134-6-144-6-154-6-164-6-174-6-184-6-194-6-20
4-6-21
4-7-1
4-7-2
4-7-3
4-7-4
4-7-5
4-7-6
4-7-7
4-7-8
4-7-9
4-7-10
4-7-11
4-8-1
4-8-2
4-8-3
4-8-4
4-8-5
4-9-1
4-9-2
4-9-3
5-1
5-2
5-3
5-4
5-5
5-6
5-7
5-8
5-9
5-10
5-11
5-12
5-13
5-14
5-15
5-16
5-17
5-18
5-19
5-20
5-21

Address Counting Timing........ .. ........ ........ .. .... . . . . . . .. . . . . . .. 4-59
Horizontal Tinling .................................................... 4-61
Line Buffer Adldre:ss Outputs - 80 Column ............................... 4-62
Line Buffer Adldre:ss Outputs - 132 Column .............................. 4-63
Vertical Signals - 60 JIz ............................................... 4-65
Vertical Signals - 50 Hz ............................................... 4-66
Composite Sync Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-68
DC012 Block :Diagram ................................................ 4-69
Dot Stretching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-76
Dot Stretcher Example ................................................ 4-76
Character Generator ROM Patterns ..................................... 4-78
DMA Cycle Timing Diagram........................................... 4-81
Character Latc:h Timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-83
Video Blanking ....................................................... 4-84
Line Organization. . . ! • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • 4-86
Terminator and Address Bytes. . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . 4-86
Screen RAM Organization - 80 Column, 60 Hz .......................... 4-88
Need for Fillljn(~s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-90
Fill Line Operation -- 60 Hz ...... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-90
Fill Line Operation - 50 Hz ...... . • . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-91
End of Screen Fill Line Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-91
Line Address Offset Table ............................................. 4-93
Full Screen Addn~ss Shuflle ............................................ 4-94
Split Screen Address Shuflle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-96
Split Screen Slnooth Scroll at Midpoint .................................. 4-97
Horizontal Deflection Current - TO . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-102
Horizontal Deflection Current - Tl ........... .. . . . . . . . . . . . . . . . . . . . . . . . .. 4-102
Horizontal Deflection Current - T2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-102
Horizontal Deflec:tion Current- T3 ....................................... 4-103
Horizontal Deflec:tion Waveforms" ...................................... 4-103
VT100 .Power Supply Block Diagram ............... , .................... 4-107
3524 Regulator Block Diagram .. " .. " ................................... 4-108
Power Supply Timing Diagram .. " .. "................................... 4-109
VT125 General Block Diagram .. "......................................
5-9
EIA Loopback Connector ....... ". ... .... .. ... .... .... .. . . . . .. . . ... . ... 5-17
20 rnA Loopback Connector ..... " . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-18
Video Alignm(mt Templates ............................................. 5-26
Paper Alignm(mt Template ...... ".... ...... .. . ......... . . . . . .. . .. .. . . .. 5-27
Ball Video Monitor Board Adjustments .................................. 5-28
Ball Monitor CRT Adjustments ........................................... 5-29
Elston Video ~~onitor Board Adjustments ................................ 5-32
Elston Monitor CRT Adjustments ... " ...... . ........ ... .. .... .. .. . .. . . .. 5-33
Removal Procledures Sequence ....... ". ...... ... ...... ... ... .. . ... . . . .. .. 5-35
VT100 Terminal (Rear View) . . . .. . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-36
Terminal Controller with Advanced Video Board. ... . ... . .. ... . .. .. . .. . ... 5-38
Terminal Controller Board ROM Installation ............................. 5-40
Installing Prinlter Port on VT125 STP Board. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-41
VT125 24-Pin. Flat Cable on STP Board... .. . . ... ... .. . .. . . . ... . .. .. . ... 5-42
VTI05 Interconnections ............................................... 5-44
VT125 16-Pin. Flat Cable on Tenninal Controller ......................... 5-45
VT125 Graphic Cable Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-46
Keyboard Dissassembly . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . 5-48
Keycap Removal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-50
Top Cover Removal. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-52

xiii

5-22
5-23
5-24
5-25
5-26
5-27
5-28
5-29
5-30
5-31
5-32
5-33
5-34
5-35
5-36
5-37
6-1
6-2
6-3
6-4
6-5
6-6
6-7
6-8
6-9
6-10
6-11
6-12
6-13
6-14
6-15
6-16
6-17
6-18
6-19
6-20
6-21
6-22
6-23
6-24
6-25
6-26
6-27
6-28
6-29
6-30
6-31
6-32
6-33
6-34
6-35
6-36
6-37
6-38

Ball Video Monitor Board Removal .......
Elston/DIGITAL Video Monitor Board RemovalPower Supply Removal o.
Power Supply Capacitator Discharging
FCC Shield on VT100 Cage
VT100 DC Power Harness Removal.
o.
Expansion Backplane ...
CRT Anode Discharging
Removing Anode Cap .
CRT Disposal
Terminal Controller Board ..........
Advanced Video Option Board with Jumpers .....................
Advanced Video Option Board with Switches ........
VTIXX-AC Printer Port OptioI1l Board
VTI05 Waveform Generator Board ....
VT125 STP Board ...
SET-UP A with Advanced Video Option (AVO)o.
VT100 SET-UP A
VT100-WC, -WK, VT132, VTIXX-AC SET-UP B ..
VT100-AA, -AB, -WA, -WB SET-UP B Summary.
VT100-WC, -WK, VT132, VTIXX-AC SET-UP B Summary ......
VTI05 SET-UP B Summary. o.
VT125 SET-UP B Summary o.
VT100-WC, -WK SET-UP Co ...
VTIXX-AC SET-UP C ....
VT132 SET-UP C .
VTIXX-AC SET-UP C Summary ....
VT132 SET-UP C Summary
Advanced Video Option Installation o.
20 rnA Current Loop Option
Interface States
M7071 Waveform Generator Bk)ck Diagramo.
o. o. o.
o. o.
Decoding the Control Character .
Rectangular Aspect Ratio Graph Drawing Field ..
Square Aspect Ratio Graph Drawing Field ..
Selecting Mode of Operation ....
Phase-Lock-Loop Timing
Loading the Registers
Register 0 (1 st Data Character) ..
Register 0 (2nd Data Character) ...
Register 1 (1 st Data Character)
Register 1 (2nd Data Character)
Loading Address Data
Graph Memory and Y-Address l\1onitor
Baseline (Shade Line) Registers and Comparators ..
Vertical Line and Graph Marker Memory
Graph Marker Y-Address Comparator ..
Horizontal Line Memory
Generating Strip Charts ....
Dual Strip Chart Timing Diagrrun ..
Combining Video Out ...
Graph Test Patterno. o.
Histogram Test Pattern
Graph Marker Test Pattern.
o. o.
0

0

0

••••

0

0

••••

0

0

0

0

0

0

0

0

0

0

0

0

•

0

0

0

00000000000000000000000

0••••••••••••••••

0

0

0

0

0

0

0

0

•

0

0

....

0

0

0

0

0

0

0

0

0

•

0

0

0

0

•

0

0

••••••

••

0

•••

0

0

••••••

0

0

0

0

••

0

0

0

•

0

0

•••••

0

0

0

0

•

0

•

0

0

••••••••

0•••••••••••••••

00••••••••••••••••••••••••

••

0

•

0

0

••••••••••••

0

•••

0

0

•

0

••••••••••••••

••

••••

0

0

0

•••

0

0

0

•••

0

•

0

0

0

•••••••••••••••••••••••••••••••••••••••••

0

0

0

••

0

0

0

0

•

0

0

0

••

5-53
5-54
5-56
5-57
5-59
5-60
5-61
5-64
5-65
5-67
5-69
5-70
5-71
o. 5-72
5-72
5-73
6-1
6-2
o.
6-3
6-4
6-5
6-6
6-7
6-8
o.
6-9
6-10
6-11
6-12
6-14
6-19
6-21
o. 6-24
6-27
6-29
6-29
6-30
6-31
6-32
6-33
6-33
6-35
6-35
6-36
6-37
6-39
6-40
6-42
6-43
6-44
6-46
6-47
6-49
6-50
6-50
0

••

0

•

0

•••••••••••••••••••••••••••

0

0

0

0

•••••••••

0•••••••••••••••••••••

0

0

0

••

•••

•••••••••••••••••••••••••••••••••••••••••••••••••••••••o •••••••

0

0

0

•

0

••

0

••

0

•

0

•

0

0

0

......................

0•••••••••••••••••

0

0

•

•

0

•

0

0

••••

000

0"

•

0

••

0

0

•••••

0

••••••••••••••••••••

••••

0.

0

0

0

••

00

0

0

••

•••

0

•••••

0

0

0

0

0.0.0000

0

••

0

0

0000000.0

0

0.

0

0

0

0

0

0

0

••

0

0

0

0

0

0

•

0

0

••

0

••

••

••••••••

0•••••••

0•••••••••

0

0

•••

000000

0

0

0

0

0

0

0

0

••

0"

0

0.0000••••••

0.00•••••••

••

0

00

0

0.0

••

0

0

00000000000.0000

••

000

000

0"

0"

0

••••

0

•••••••

0

0

0

0

0

0

0

••

0

•

0

••

0

0

0

•••••

0

0

••

0

0

••

0

0

0

0

0

•

0

•

0

0

0

0

•••

0

0

•••

0

•

0

••

0

0

0

0

•

0

0

0

0

0

0

0

•••

0

••

0

0"

0

0

0

•

0

0

••

00.

00

0

0

•

0

0

0

••••••

0

••••

0

0

••••••

0...........

•••

•••••

0

0

••••••••••••••••••

0

0

0

•••••••••••••••••••••

0•......

0.000.00

0.00

0

0

••

00

0

••

•••

0

....

0

0

••

0

0

0

0

••••••

0

•••••

••••

0

0

0

0

0

0

0

0

•••••

0

0

0

•

0

•

0

0

0

•

0

••••••

0

•

0

0

0

0

0

0

0

0

0

0

•

0

•

0

0

0

••••••••••••••

••••

.

0"

0

0

0

••

0

0

0

"

0

0

0

•

0

••••••••••

0

0

0

•

0

•

0

0

•

0

0

••

0

•••••••••••••••••••••

0

0

0

0

0

0

0

0

0

•

0

•

0

0

0

0

•

0

•

0

0

0

0

•

0

0

0

•

0

••••

0

0

•••

0

••

0

0

••

0

••

0

•

0

•

0

0

0

0

0

0

0

••

0

•

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

•

0

•

0

0

0

•

0

0

0

0

•

0

0

0

0

0

0

0

0

0

•

0

0

0

0

0

••

0

0

0

••

0

••

0

••

0

•••

0

...

0

..

0

0

0

•••

0

.........

0

.....

••••

000

0

0

0

•

0

0

0

0

•

0

••

0

0

0

0

0

0

•

0

•••••

0

0

0

0

•

0

0

•

0

0

••••••••••••

0

0

0

•

0

0

0

0

0

0

•

0

•

0

0

0

0

0

0

•

0

•

0

0

••

0

0

00

0

0

0

0

0

•••

0

•

0

0

0

0

•

0

0

0

0

0

•

0

0

••

0

0

0

•

0

0

0

0

•

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

•

0

•••••

0

0

0

0

•••••••••••••

0

••••

0

••••

0

0

0

0

0

••••

•

0

••••••••

0•••••••••

0

0

0

•

0

0.0

0

••

0

••

0

•••

0"

0

••

0

0

0

0

•

0

•

0

0

0

••••

·• •

00.00.00.0

••

0

0

0

0

0

0

0

0

0

0

•

0

0

•

0

0

0

•

0

0

0

0

0

•

0

0

0

•

0

0

•

0

0

•

0

•

0

•

0

•

0

0

0

0

0

0

0

0

0

0

•

0

0

0

0

•

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

•

0

••

0

0

0

0

0

0

0

0

0

0

0

0

0

0

..

0

0

..

0

0

..

0

•••••

0

...

0

..............

0

0

0

0

•

0

0

0

•

0

0

0

0

0

0

0

0

0

0

0

•

0

•

0

0

•••••••••••

0

•••••

0

•••

00

•••

0.0

0

0

0

•

0

0

0

••

•••

0

••

0

0

0

....................

0

000000.

•

0

••

0

•••••••••••••••

0•••••••••••

000.0.

0

0

0.00

0

0

0

•••

0

0

0

0

••••

0

•

0

••

0

0000

00

0

0

0

••••••••

0.000000000.00.00

0

0

••

•••••••••••••••.......

0.'

0

••••

0

0

0

0

0

•

•

0

0

0

0

0

0

•••••••

0000

•••

0

0

0

0

0

0

0

0

0

0

0

•

0

0

0

0

0

•

0

0

0

0

0

0

0

0

0

0

0

0

•

0

0

0

0

•

0

•••

0

0

••••

0

••••

0

0

0

0

0

0

0

0

0

00'

0

0

0

0

0

xiv

•

0

•

0

0

0

000000

6-39
6-40
6-41
6-42
6-43
6-44
6-45
6-46
6-47
6-48
6-49
6-50
6-51
6-51A
6-52
6-53
6-54
6-55
6-56
6-57
6-58
6-59
6-60
6-61
6-62
6-63
6-64
6-65
6-66
6-67
6-68
6-69
6-70
6-71
6-72
6-73
6-74
6-75
6-76
6-77
6-78
6-79
6-80
6-81
6-82
6-83
7-1A
7-1B
7-1C
7-2
7-3
7-4
7-5
A-I

Horizontal Lines Test Pattern .......................................... . 6-52
6-52
Vertical Lines Test Pattern .....
Shade Line.(Baseline) Test Pattern ..................................... . 6-53
Strip Chart Te·st Pattern .............................................. . 6-55
Check ROM r~urnbers ................................................ . 6-60
Installing Expansion Backplane ........................................ . 6-61
Installing Ground. Clip ................................................ . 6-62
16-Pin Flat Cable on Terminal Controller ............................... . 6-63
Installing STP Board ................................................. . 6-64
24-Pin Flat Cable on STP Board ....................................... . 6-65
Graphic Cable Connections ........................................... . 6-66
STP Board Sv{itch Types ............................................. . 6-68
Connecting B~~C Bracket Ground 'Wire ................................. . 6-69
EIA Line Filter Connector ....' ........................................ . 6-69
VT125 Graphics Processor Block lDiagram .............................. . 6-71
Microprocessor Address and Data Paths ................................ . 6-74
DRAM Block Diagram ............................................... . 6-75
Microprocessor ~,femory Control Timing Sequencer ...................... . 6-76
Address :Multiplexer and Refresh Counter ......•......................... 6-78
Opcode Fetch from DRAM ........................................... . 6-80
VT125 Timing Block Diagram ......................................... . 6-81
Smooth Scroll Offset Timing .......................................... . 6-83
V STROBE 1'iming .................................................. . 6-86
Vector Generator .. " ................................................. . 6-88
Deriviation of D,u and DVM .......................................... . 6-89
Vector Generator and Bit Map Address Timing .......................... . 6-90
Basic Vectors ...... , ................................................. . 6-91
Calculation 1 ........................................................ . 6-92
Calculation 2 ........................................................ . 6-93
Calculation 3 ........................................................ . 6-94
Calculation 4 ........................................................ . 6-95
Calculation 5 ........................................................ . 6-96
Arbitrary Vector Timing .............................................. . 6-97
Bit Map Write Control Block Diagranl .................................. . 6-99
Draw a Character .................................................... . 6-101
Pattern Memory and Multiplier ........................................ . 6-102
Bit Map ............................................................ . 6-103
Bit Map Planes and the Output Map .................................... . 6-105
VT125 General Block Diagram ........................................ . 6-109
VT125 Data l?aths ................................................... . 6-110
VT125 as a Text~Only Terminal ....................................... . 6-111
VT125 in a G'raphics Terminal ........................................ . 6-112
VT125 in ReGIS Graphics with Commands on Screen .................... . 6-113
VT125 Printing from Screen ........................................... . 6-114
VT125 Printing from Computer ........................................ . 6-115
EIA Loopback C:onnector .............................................. . 6-116
7-2
Serial Line Splicl~ Connection ......................................... .
7-2
STP with No Option Present .......................................... .
7-2
STP wit11 Option Present .............................................. .
STP Signal Lines .................................................... .
7-3
Local Clock ... " ..................................................... . 7-10
STP Connector " ..................................................... . 7-11
STP Option (~ar(j .................................................... . 7-12
Terminal Data Flow .................................................. . A-I
0xv•••••••••••••••••••••••••••••••••••••••

A-2
A-3
A-4

0-1
0-2
0-3

VT100 Keyboard............. ................................... .....
Standard Key Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Function Key Control Codes ...........................................
ASCII Table .........................................................
8-Bit ASCII Chart ....................................................
Shift Out and Shift In ............................................. '. . . . .

A-3
A-4
A-6
D-2
0-9
0-9

TABLES
2-1
2-2

2-3
2-4
2-5

3-1
4-2-1
4-2-2
4-2-3
4-3-1
4-3-2
4-4-1
4-6-1
4-6-2
4-6-3
4-6-4
5-1
5-2
5-3
5-4
5-5
5-6
5-7
5-8
5-9
5-10
6-1
6-2
6-3
6-4
6-5
6-6
6-7
A-I
A-2
A-3
A-4
A-5
A-6
A-7
A-8
B-1

Categories of SET-UP Features. . . .. . . . . .... . . . . . . . .. .. . . ... . . . . . ... . . . .
2-9
SET-UP Feature Change Summary ..................................... 2-10
Fatal Displayed Error Codes ........................................... 2-18
Nonfatal Displayed Error Codes ........................................ 2-18
Problem Checklist ............ , ................................... " . . .. 2-19
EIA Connector Signals ................................................
3-5
ROM Chip Select Addressing ."........................................ 4-17
List of Hex V 0 Addresses .... ,........................................ 4-17
Interrupt Addresses .......... ,'........................................ 4-18
Baud Rate Generator Divisors . ,. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-27
Loopback Test Connectors .... "........................................ 4-30
Keyboard Receiver Signals .... " . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-37
Video Mode Selection (Write Ad.dress = C2H) ........................... 4-55
Control Chip Commands (Write Address = A2H) ... . .... .......... ....... 4-70
Scan Count Sequence ........ '. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 4-72
Character Attribute Combinations .................................. ,..... 4-75
Keyboard LED Error Codes ..................................... ',' . ...
5-1
VT100 Display Error Codes.. . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . .
5-2
5-4
Basic VT100 Troubleshooting Procedure .................................
VT125 Displayed Error Codes. . . . . . . . . . ... . . . . . . . . . . . . . . .. . . . . . . . .. . . .. 5-12
LED Error Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 5-15
Displayed Error Codes ................................................ 5-15
Terminal Controller Board ROM:s ....................................... 5-68
Advanced Video Option (AVO) Jumpers ................................. 5-69
Advanced Video Option (AVO) Board ROMs ............................ 5-70
Advanced Video Option Switches ................................. "..... 5-71
Control Characters .............................................. , . . . .. 6-26
Keyboard Indicator Error Codes ........................................ 6-58
Displayed Error Codes ................................................ 6-58
V 0 Addresses and Data ............................................... 6-107
VT125 Fatal Error Indication .......................................... 6-117
ROM and RAM Failure Indications ..................................... 6-118
Error Output Signal Levels ............................................. 6-118
SET-UP Features and Machine States.. .. .. . . . . . . . . . . .. . . . . . . . .. .. . . . . . . A-4
Function Key Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-5
Cursor Control Key Codes ............................................. A-7
Auxiliary Keypad Codes ............................................... A-8
Special Graphics Characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. A-I0
Control Characters .................................................... A-13
VT100 Escape Sequences Sumnlary .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. A-14
Special Character and Line Drawing Set and Graphics Mode Comparison .... A-31
VT100 Recommended Spares . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B-1

xvi

CHAPTER 1
INTRODUCTION AND SPECIFICATIONSThis is the technical manual for the VT100 series video terminals. It contains information a service
technician or engineer needs to operate, test, and repair the VT100 series to a component level.
Chapter 1

Contains VT100 specifications and documentation ordering information.

Chapter 2

Contains basic operator information, including use of the keyboard, use of SETUP modes for setting terminal characteristics, and simple trouble checking.

Chapter 3

Contains installation procedures and interface information.

Chapter 4

Contains a technical description of the basic VT100 video terminal. This
chapter assumes that the reader has the Field Engineering Print Set, MP00633.

Chapter 5

Contains servicing information for the VT100 series video terminals.

Chapter 6

Contains SET-UP information for the various VT100 series options, installation
information, a technical description, and service information for the Advanced
Video option, Current Loop option, VTI05 Graphics Processor, VTIXX-AC
Printer option, and VT125 Graphics Processor.

Chapter 7

Contains a technical description and interfacing information for the standard
terminal port (STP).

Chapter 8

Contains interfacing information for the graphics connector.

Appendix A

Contains programming information for the VT100 series, including interface
timing considerations and descriptions of control functions the VT 100 responds
to, both in ANSI mode and in DEC VT52-compatible mode. Also contains copyof VTl25 Programming Reference Card, EK-VT125-RC-001.

Appendix B

Contains a recommended spares list (RSL).

Appendix C

Contains a glossary of terms and abbreviations used in this manual.

Appendix D

Contains a description of the ANSI code extension techniques.

I-IVT100 SPECIFICATIONSDIMENSIONS
Monitor
HeightWidth
Depth

36.83 cm (14.5 inch)
45.72 cm (18 inch)
36.20 cm (14.25 inch)

Keyboard
HeightWidth
Depth
Minimum table depth

8.89 cm (3.5 inch)
45.72 cm (18 inch)
20.32cm (8 inch)
51.4 cm (20.25 inch)

WeightMonitorKeyboard
Shipping weight

13.6 kg (30 Ib)
2.0 kg (4.5 Ib)
18.6 kg (41 1b )ENVIRONMENT AL
OperatingTemperature
Relative humidity
Maximum wet bulb
Minimum dew point
Altitude

10 0 t040° C(50° to 104 0 F)
10% to 90%
28 0 C (82 0 F)
2 0 C (36 0 F)
2.4 km (8,000 ft)

Nonoperating
Temperature
Relative humidity
Altitude-40 0 t066° C (-40 0 to 151 0 F)
Ot095%
9.1 km (30,000 ft)

Power
Line voltage

90-128 V rms single phase, 2 wire
180-256 V rms singll~ phase, 2 wire (switch-selectable)

Line frequency

47-63 Hz

Current

3.0 A rms maximum at 115 V rms
1.5 A rms maximum at 230 V rms

Input power
Current limiting
Power cord

250 VA apparent 150 W max.
3 A normal blow fusc:
Detachable, 3 prong,. 1.9 m (6 ft)

1-2

Display
CRT

30 cm (12 inch) diagonal measure, P4 phosphor

Format24 lines X 80 characte:rs or 14 lines X 132 characters (selectable)

Character
Character size
80 column mode
132 column mode
Active display size
Character set

7 X 9 dot matrix with descenders
3.35 mm X 2.0 mm (0.132 inch X 0.078 inch)
3.35 mm X 1.3 mm (0.132 inch X 0.051 inch)
203 mm X 127 mm (8 inch X 5 inch)
96-character displayable ASCII subset (upper- and lowercase, numeric,and punctuation)

Cursor type

Keyboard-selectable, blinking block character or blinking underline

Keyboard
General83-key detachable unit with 1.9 m (6 ft) coiled cord attached

Key layout

65-key arrangement and sculpturing similar to standard typewriter, with
18-key numeric keypad.

Numeric keypad

18-key with period, comma, minus, enter, and four general purpose
f1llnction keys.

Visual indicators

7 LEOs; 3 dedicated to ON LINE, LOCAL, and KBD LOCKED; 4 areuser-programmable.

Audible signals
Keyclick
Bell
Multiple bellCommunicationType
SpeedsSound simulates typewriter.
1) sounds upon receipt of BEL code; 2) sounds 8 characters from rightnlargin (keyboard-seh~ctable).
Sounds upon detection of error in SET-UP save or recall operation.
EIA
Full duplex: 50, 75, 110 (two stop bits), 134.5, 150,200,300,600, 1200,
1800,2000,2400,3600,4800,9600,19,200

CodeCharacter format

ASCII
Asynchronous

Character size

7 or 8 bits; keyboard-s1electable. (Note: if 8-bit character is selected, 8th
bit is always space.)

ParityEven, odd, or none (keyboard-selectable)

Synchronization

Keyboard-selectable via automatic generation of XON and XOFF control
codes.

1-3

ORDERING DOCUMENTATION
You can purchase the following VT100 series video terminal documents from DIGITAL's Accessories
and Supplies Group.
Title

Part Number

VT 100 User Guide
VT 100 Series Pocket Service Guide
VT100 Illustrated Parts Breakdown (IPB)
VT 100 Print Set (contains VT 1XX-AC)

EK-VTIOO-UG
EK-VTIOO-JI
EK-VTIOO-IP
MP-00633

VT 105 Technical Manual
VT 105 Illustrated Parts Breakdown (lPB)
VTI05 Print Set. EK-VTI05-TM
EK-VTI05-IP
MP-00642

VTI25 User Guide
VT 125 Print Set
VTI XX-C8, -CL Print Set
VTI25 Illustrated Parts Breakdown (lPB)

EK-VTI25-UG
MP-OI053
MP-OI052
EK-VTI25-IP

VTI32 User Guide
VTI32 Print Set (contains VTIXX-AC)
VT132 Illustrated Parts Breakdown (lPB)

EK-VTI32-UG
MP-00748
EK-VT125-IP

VTI XX-AC User Guide
VT 1XX-AC Print Set

EK-VTIAC-UG
MP-00901

You can order accessories and supplies (including documentation) by mail or phone.
Continental USA

Call 800-258-1710 or mail order to:
Digital Equipment Corporation
P.O. Box CS2008
Nashua, N H 03061
New Hampshire

Call 602-884-6660 or mail order to:
Digital Equipment Corporation
P.O. Box CS2008
Nashua, NH 03061
Alaska or Hawaii

Ca II 408-734-491 5 or mail order to:
Digital Equipment Corporation
632 Caribbean Drive
Sunnyvale, CA 94086

1-4

CanadaCall 800-267-6146 or mail order to:
Digital Equipment Corporatiion
P.O. Box 13000
Kanata, Ontario Canada K2K 2A6
Au: A&SG Business Managc~r
Telex: 610-562-8732
Related Documentation
Intel 8080 Microcomputer Systems User's Manual
From:Intel Corporation
3065 Bowers Avtmue
Santa Clara, California 95051
EIA Specifications RS-232-C and RS-170
From:
Electronic Industry Association
EIA Engineering Department
2001 Eye Stn~et, N.W.
Washington, DC 20006
ANSI Standards X3.41-1974, X3.64-1977, 3.4-1977
Sales Department
From:
American National Standards Institute1430 Broadway
New York, NY 1.0018

1-5

CHAPTER 2
OPERATOR INFORMATIONPART 1KEYBOARD CONTROLS AND INDICATORSThe VT100 terminal normally lperforms a two-part function. It is an input device to a computer information entered through the keyboard is sent to the computer. It is simultaneously an output
device for the computer - that is, data coming in from the computer is displayed on the video screen.
The following controls and indiicators on the VT100 keyboard are illustrated in Figure 2-l.

B

SET-UPKey

Used in conjunction with other keys to perform sp(~cific functions such as setting tabs, scrolling, andaltering terminal characteristics.
ON LINE Indicator
Lights to show that the VT100 is on-line and ready to transmit or receive messages.
LOCAL Indicator
Lights to show that the terminal is off-line and cannot communicate with the host device. In local
mode the keyboard remains active: and all characte:rs typed are placed on the screen.
KBD LOCKED Indicator
Lights to show the keyboard has b~een turned off. The VT100 is still able to receive data from the host.
This condition can be cleared by entering and exiti:ng SET-UP mode.
LI-L4 Indicators
These indicators are turned on and off by the host. Consult your local operating procedures for themeaning of each indicator. L 1-·L4 also show self-test errors.

~QJEJc:J

Keys

Each of these keys causes the VT100 to transmit a code that has a special meaning to your system.
Consult your local operating procedures for the meaning of these keys. In SET-UP mode the i and J.
keys increase or decrease display brightness. The +-- and --+ keys move the cursor left and right.

BACKSPACE Key
Transmits a backspace code.

2-1

I

ETUP
.

G
l:l[JJo0 0 0 0

ON6NE LOOLKBDOCKEDSETI
CLEAR ALL L1NEISETUP
TOGGLE TRANSMIT RECEIVE
CLEAR TAB TABS
LOCAL
AlB
110
SPEED
SPEED

~[Q[]B
T

801132COLUMNS

l

~

....

RESET

'----,l@)l[#£lnlf%lfAlI&lGlmml-lr+lDBACKW

LJ 1 L2JL2J~LU~L2JLULU~UL::J \

SPACE

D

~GG000~00~00rnrnnB~

01

LJI

CAPS
LOCK

~I SHI~

1~~Inl~IBELLII:lI.lMI.-H-=lr-:;lF.ETuRN 1m
IL.JL:JOLJL§J~u~L:-.JLiJ~1

I~

100~GJ000CJDITJG[§~r

I

I
Figure 2-1 VT100 Keyboard

8

BREAKKey

Transmits a break signal.

GBB[:J

PFI-F4 Keys

Each of these keys causes the VT100 to transmit a code that has a special meaning to your system.
Consult your local operating procedures for the meanings of these keys.
Numeric Keypad
The numeric keypad enables numbers to be entered in calculator fashion. Each key in the numeric
keypad generates the same character as the corresponding numeric key on the main keyboard. The
ENTER key corresponds to the RETURN key. These keys may also be interpreted by the host computer as special function keys. Consult your local operating procedures for the meanings of these keys.

I I
DELETE

DELETE Key

Causes the VT100 to transmit a de:lete character code to the host system. The deleted character mayor
may not be erased from the screen.

~

RETURNKey

Transmits either a carriage return (CR) code or a carriage return and line feed (LF) code. This is a
SET-UP selectable feature.

r-::lL.:J LINEFEED Key

This key transmits a line feed l~ode.

G

SHIFTKeyWhen pressed, this key enables th(~ uppercase function of all keys. If a key does not have an uppercase
function the SHIFT key is disregarded.

rn

RESETKeyIn SET-UP mode this key starts the reset sequence. This has the same result as turning the terminal
power off and then on.

2-3

rn

80/132 COLUMNS Key

In SET-UP A mode this key switches the display line size from 80 to 132 characters per line or from
132 to 80 characters per line.
.

[I]

RECEIVE SPEED Key

In SET-UP B mode this key steps the terminal through the receive baud rate settings in ascendingorder.

rn

TRANSMIT SPEED Key

In SET-UP B mode this key steps the terminal through the transmit baud rate settings in ascendingorder.

TOGGLE 1/0 Key
In SET-UP B mode this key turns the selected operational feature on or off.

[BELLIGBELL KeyWhen pressed in combination with the CTRL key this key causes a bell code to be sent to the host.

m

Li~ SET-UP A/B Key
In SET-UP mode this key switches the terminal from SET-UP A to SET-UP B or from SET-UP B to
SET-UP A.

[II

LINE/LOCAL Key

In SET-UP mode this key switches the VT100 to communicate with your system (ON LINE) or stops
the VT100 from communicating with your system (LOCAL).

!Y]

CLEAR ALL TABS Key

In SET-UP A this key clears all horizontal tabs set in the VT100.

[f]

SET/CLEAR TAB Key

In SET-UP A this key sets or clears individual horizontal tabs.

2-4

~
~

CAPS LOCK Key, This key enables the transmission of uppercase alphabetic characters only. All numeric and special
symbol keys remain in lowercase.

o~
SCROLLNO SCROLL Key

When first pressed, this key stops the transmission of data from the computer to the VT I 00. Whenpressed a second time, transmission resumes from where it was stopped. Check your local operatingprocedures to ensure that your system recognizes this key.

B

CTRLKey

When pressed in combination with another key, CTRl,causes the VT100 to transmit a code that has a
special meaning to your system.

c:::J

TAB KeyThis key transmits a tab code.

ESC KeyThis key transmits a code that normally has a special meaning to your system .. In many applications, it
tells your system to treat the next keys pressed as a command.

MONITOR CONTROLThe VT100 monitor contains only one control, th(: power switch, shown in Figure 2-2.
AUDIBLE INDICATORS (TONES)
There are three audible indicators associated with the VT100: a short tone (click), a long tone (beep),and a series of long tones.
Short Tone (click)
The short tone sounds whenevl;,r a key is pressed, with the following exceptions:•

SHIFT or CTRL keys do not generate any keyclick because these keys do not transmit any
codes but only modify the codes transmi:tted by other keys.

•

When the KBD LOCKED indicator is turned on; in which case, the characters typed are
lost.

•

The keyclick feature has been turned off in SET-UP mode.

2-5

Long Tone (beep)
The long tone sounds to indicate one of the following conditions:•

A bell code was received from the computer. ,•The cursor is eight characters away from the right margin and .the margin bell feature isenabled.

Series of Long Tones
The terminal sounds the long tone several times in rapid succession to indicate that the .nonvolatilememory (NVR) had difficulty reading or writing SET-UP features. (When this occurs, check the SETUP features and then perform the recall or save operation again.)

CAPTIVE
SCREWS (4)ACCESSCOVER

EIACOMMUNICATIONSCONNECTOR

LINE PRINTERCONNECTOREXTERNAL VIDE.O
INPUT CONNECTORIIPRINTEROPTION
INDICATOREXTERNAL VIDeOOUTPUT CONNECTORII

POWER SWITCHNUMBER LABELKEYBOARD
CONNECTORr

CONNECTOROPTIONAL 20mA
COMMUNICATIONCONNECTOR

MA-1987

Figure 2-2 VT100 Terminal (Rear View)
PART 2

SET-UP MODE

Unlike most terminals, the VT100 does not use switches or jumpers to individually turn the built-in
terminal features on or off. Instead, the VT100 uses a nonvolatile memory (NVR) that always remembers what features have been selected, as if a swiitch had been set.

2-6

Selection and storage of built-in te:rminal features is performed in a special mode of operation called
SET-UP mode. When you ente:r SET-UP mode, the status of features stored in temporary memoryshows on the screen. You can then change the features and store any new feature selections either
temporarily, by leaving SET-UP mode; or on a fixed basis, by performing a Save operation. In either
case, terminal operation reflects the new feature selection. If a recall operation is performed, or theterminal is reset, or terminal power is turned off, all temporary feature settings are replaced by featuresthat have been stored on a fixed basis.
SET-UP Features
SET-UP mode provides two brief summaries of the current feature status. The first presentation SET-UP A - displays the location of tab stops set and a visual ruler that numbers each character
position on the line. The second presentation - SET-UP B - summarizes the status of the other terminal features.
SET-UP A - To enter SET-UP A" press the SET-UP key. The display has a presentation similar to
Figure 2-3. The bottom line of the display consists of a "ruler" that numbers each character position
available on a line. Each tab stop is shown by a "T" above the ruler. If the tab stop(s) set are thosedesired, you may exit SET-UP mode by pressing the SET-UP key again or you may now change thetabs to meet your requirements.

SET-UPATO
PRESs..,EXIT"SET-UP_~

MA·2732

Figur1e 2-3 SET-UP A Mode Presentation

2-7

SET-UP B - SET-UP B mode may only be entered from SET-UP A mode. To enter SET-UP B" from
SET-UP A press the S key on the main keyboa.rd. The display looks like Figure 2-4. Figure 2-5summarizes the SET-UP B presentation. This summary allows you to quickly determine what features
are enabled. For additional information on a feature refer to in Part 3, SET-UP Feature Definitions.
To exit SET-:UP B press the SET-UP key.

SET-UP
B
EXIT
Tfl

I

i •II'il

PRESS

2 _

nSE-[-UP I I

3 )"I.1 4 )r.J(,~... SPEEl) 9600
MA2733Figure 2-4 SET-UP B Mode Presentation
Determining What a SET-UP Feature Does
SET-UP features are basically a series of options in the VT100 that allow the terminal to be tailored toits operating environment. Table 2-1 lists each feature and shows one of the following general categories.
Installation
Computer compatability
Operator comfort
The installation category includes the initial installation of the terminal and any special options that
may be attached to the terminal. If any options are added or removed, or the physical location of theterminal is changed, verify the settings of these SET-UP features.

2-8

SCROLL[0 = JUMP= SMOOTH

f#i:l (SHIFTED)
L2J{O = OFFWRAP AROUNDIIAUTOREPEAT

L1 = ON{Ol == t{O1 ==OFFON

SCREEN [0 = DARK BACKGROUND
1
LIGHT BACKGROUNDL =NEW LINE

fOl1 == OFFON{O = UNDERLINE

INTERLACE{O == OFFCURSOR

L1 = BLOCK
2(OPTIONALDISPLAY
FOR CUSTOM
FUNCTIONS)

L1 = ON

5 [1:r:1J

3

AUTO XON )(OFF

1..1[0 = VTS2

L1 = ANSIBITS PER CHAR.

KEYCUCK{'O1 == OFFON

PARITYMARGIN BEILL

R SPEEDc::::J

POWER [0 = 60 Hz= SO HzANSINTS2.

-{~: g~F

T SPEED c:::J{~: g~F{O = 7 BITS
l1
= 8 BrrS{o = OFFl1 = ONPARITY SENSE[0 = ODD

t1= EVEN
MA·1988

Figure 2-5 SET-UP B Mode Summary

T:able 2-1 Categories of SET-UP Features
FeatureAnsi/VT52 mode
Answerback message
Auto Repeat
Auto XON/XOFF
Bits per Character
Characters per Line
CursorInterlace
Keyclick
Line/Local
Margin BellNew Line
ParityParity Sense
Power
Receive Speed
Screen Background
Screen Brightness
ScrollTabs
Transmit Speed
Wraparound

ComputerCompatibility

Installation

Operator
Comfort

X
X
X
X
X
X
X
X

X
X
X
X
X
X
X

X
X
X
X
X
X

~.
3
(shIfted)
2-9

X
X
X

Computer compatibility contains the features thalt must be set correctly so that the VT100 can communicate with the host computer. An error in these settings may cause incorrect data to be sent to or
received from the computer; or an error may prevent the VT100 from communicating with the computer. The settings for these features must be obtained from the host computer programmer, operator,or system manager since there are many combinations of settings designed to work with particular
computers and special software. These feature settings normally change only when you need to communicate with a different computer or a unique software package.
The operator comfort category contains SET-UP features designed exclusively for the operator. Thesefeatures allow the operator to tailor the VT 100 to fit individual preference. These features do not affectany operations that occur between the terminal and the computer.
Part 3, SET-UP Feature Definitions, describes the specific function of each feature.
How to Change a SET-UP Feature
Changing any or all SET-UP features is a simple operation and is generally performed by following thesame basic steps.
1.

Enter SET-UP mode by pressing the SET-UP key.

2.

Select the appropriate SET-UP mode by pressing the 5 key on the main keyboard each time
you want to switch from SET-UP A to SET-UP B or from SET-UP B to SET-UP A.

3.

Position the cursor above the feature switch or tab stop to be changed. To position the
cursor, the SPACE bar, +-,~, TAB, and RETURN keys may be used. Some features do not
use this step since a specific key is dedicated to changing the feature.

4.

Change the feature setting by pressing either the 6 key on the main keyboard or the appropriate dedicated key. Each time the key is pressed the feature changes, generally to the
opposite state.

Table 2-2 briefly summarizes SET-UP features, the SET-UP mode you must be in to change a feature,and the key used to change the feature setting.
Table 2-2 SET-UP F.eature Change Summary

FeatureChanged In
SET-UP Mode

Key toChangeFeatureAnswerback message

B*

ANSI/VT52 mode

B

Auto Repeat

B

Auto XON/XOFF

B

Bits per Character

B

Brightness

A

IT]
IT]
IT]
IT]
~0

* A special sequence is required for this feature. See the detailed features description.
2-10

Table 2-2 SET-UP Feature Change Summary (Cont)

FeatureChanged In
SET-UP Mode

Key toChangeFeatureCharacters per LineA

[G

CursorB

InterlaceB

Keyc1ickB

Line/Local

A

Margin BellB

New Line

B

ParityB

Parity Sense

B

[~
[~
[~
[~

Power

B

C[]

Receive Speed

B

IT]

ScreenB

G]

Scroll

B

.[~

Tabs

A

[t] and [YJ
3

Transmit Speed

B

IT]

Wraparound

B

[~

~

B

C[]

3

G]
~J

G]

rn

(shifted)

Setting the Answerback Messa;ge
Setting the answerback message differs from setting any other terminal feature. An answerback message can be typed into the VT100, using the following steps.
I.

Place the terminal in SET-UP B mode.

2.

Press the SHIFT and A keys at the same time. The terminal responds by placing A = on thescreen. (The SHIFT key is required. The CAPS LOCK key does not work here.)

2-11

3.

Type the message delimiter character which may be any character not used in the actual
answerback message. The message delimiter character is not part of the answerback message. If a mistake is made when typing the answerback message, type the message delimiter
character again and go back to step 2. This is the only way to correct errors in the answerback message.

4.

Type the answerback message. The message may be up to 20 characters, including space andcontrol characters. Control characters are displayed as a character to indicate their presencein the message.

5.

Type the message delimiter character. Once the message delimiter character is typed theanswerback message disappears from the screen.

Once the above steps have been completed the answerback message is temporarily stored in the VT100
and can be saved with the save operation.
Saving SET-UP Features
SET-UP features may be changed and stored on either a temporary or a fixed basis. To temporarily
store a feature, exit SET-UP mode after changing the feature; the terminal now reacts according to the
new setting. If a recall operation is performed, or the terminal is reset, or terminal power is turned off,
all temporary feature settings are replaced by th(: features that have been stored on a fixed basis.
To store SET-UP feature settings on a fixed basis, perform a save operation. This is a simple operationthat is accomplished by performing the following steps.
1.

Place the terminal in SET-UP mode.

2.

Press the SHIFT and S keys at the same time. The screen clears and the message "Wait" isdisplayed in the upper-left corner. After a brief wait, the terminal returns to SET-UP A
mode.
NOTE
The save operation must be performed at the terminal keyboard. The computer cannot perform this operation, although it calf) temporarily modify thesetting of VT 100 features.

Once these steps have been performed, SET-UP features which had been temporarily stored are now
stored on a fixed basis.
Recalling SET-UP Features
Temporarily stored SET-UP feature settings may differ from settings that are stored on a fixed basis.
To return to the fixed settings, perform the recaU operation as follows.
1.

Place the terminal in SET-UP mode.

2.

Press the SHIFT and R keys at the same time. The screen clears and the message "Wait"
appears in the upper-left corner. After a brief wait the terminal returns to SET-UP A mode.
NOTE
When a recall operation is performed the contents ofthe screen are destroyed.

2-12Resetting the Terminal
The VT 100 may be reset from the keyboard. When the: terminal is reset, the terminal memory is cleared
and the self-test program runs as if the terminal power switch was turned off and then back on. To
reset the terminal:
1.

Place the terminal in SET-UP mode.

2.

Press the 0 key on the main keyboard. Th(~ VT100 is reset, the power on self-test runs, andthe terminal reacts according to the fixed SET-UP features.
NOTE
When a reslet operation is perfol'med the contents ofthe scre~en are destroyed.

PART 3

DEFINITIONS SET-UP FEATURE

This section describes each SET-UP feature in detail (in alphabetical order) and states how eachfeature affects the terminal.
NOTE
Unmess otherwise stated, entering SET-UP mode andchangin~~ features does not result in the loss of data
displayed 0111 the screen.
ANSIjVT52 Mode
The VT100 terminal follows two programming standards - American National Standards Institute(ANSI) and VT52. In ANSI mode, the VT100 generates and responds to coded sequences per ANSI
standards X3.41-1974 and X3.64-1977. In VT52 mode, the VT100 terminal is compatible with previous
DIGITAL software using the VT52 video terminal.. Both ANSI and VT52 modes are outlined inAppendix A of this manual.
Answerback Message
Answerback is a question and answer sequence when~ the host computer asks the terminal to identify
itself. This feature allows the terminal to identify itsdf by sending a message to the host. The entire
answerback sequence takes plac~~ automatically without affecting the screen or requiring operator
action. The answerback message may also be transmitted by pressing the CTRL and BREAK Keys at
the same time.
Auto Repeat
Auto repeat allows a key to be automatically repeat(~d at the rate of about 30 characters per second
when the key is held down for mOire than one-half second. The auto repeat feature affects all keyboard
keys except the following:
SET-UPESCNO SCROLLTAB
RETURNCTRL and any key

2-13

Auto XON/XOFF
The VT100 can automatically generate synchronizing codes XON (DCI) and XOFF (DC3). XOFF
stops data transmission from the computer to the terminal; XON resumes transmission. With thefeature enabled, the VT100 generates the XOFF code when one of the following occurs:
1.
2.
3.
4.

the internal buffer is nearly full
the NO SCROLL key is pressed
the terminal is placed in SET-Op'mode
CTRL-S is pressed.

When the buffer empties, the NO SCROLL key is pressed again, the terminal is taken out of SET-UP
mode, or CTRL-Q is pressed, the VT100 transmits the XON code to resume transmission from computer to terminal.
If the host computer software does not support the XON /XOFF codes, data sent during buffer fullconditions, or when the terminal is in SET-UP mode, may be lost.
NOTE
The VT100 always stops transmission when an
XOFF (DC3) code is rec:eived and resumes transmission when an XON (DCI) code is received regardlessof the Auto XON/XOFF feature setting.
Bits per Character
This feature allows the terminal to transmit and receive either 7- or 8-bit characters. When set for 8-bit
operation, bit 8 is set to a space (or 0) for characters transmitted and is ignored for all characters
received.
Characters per LineThe VT 100 can display either 80 or 132 characters per line. In 80 character per line mode, the screen is
80 characters wide by 24 lines high. In 132 character per line mode, the screen is 132 characters wide by
14 lines high (24 lines if the VT100 is equipped with the Advanced Video Option). In 132 character perline mode, the displayed lines are physically the! same width as 80 character per line mode but thecharacters are more compact.
NOTE
When changing from 80 to 132 character per line
mode or vice versa, the current contents of the screen
are lost.
CursorThe VT100 has two cursor displays to indicate the "active positions" or where the next character will
be placed on the screen. The cursor may be displayed as either a blinking underline (-) or a blinking
block (.). The cursor selection may perform an additional function; see the sa R escape sequence
definition in Appendix A.
InterlaceThis feature is used for high resolution options. The interlace feature should be turned off if such an
option is not installed.

2-14

Keyclick Tone
The keyc1ick is a tone that sounds every time a key is pressed. The keyc1ick may be turned on or off tosuit the operator's needs. Howev(~r, research and experience has shown that an operator is more accur~te when there is audible feedback from the keyboard. Like the bell tone, the keyc1ick volume is not
adjustable.
LINE/LOCAL
The LINE/LOCAL feature allows the operator to easily place the terminal in either an ON-LINE or a
LOCAL (off-line) condition. When the terminal is on-line (ON-LINE indicator is lit) all characters
typed on the keyboard are sent directly to the computer and messages from the computer are displayedon the screen. In the LOCAL condition (LOCAL indicator is lit), the terminal is electrically disconnected from the computer; messages are not sent to or received from the computer; and characters
typed on the keyboard are echoe:d on the screen directly.
Margin BellThe margin bell feature is much the same as the ben in a typewriter. If the cursor is eight charactersfrom the end of the current line while typing, the VT 100 sounds a tone to alert the operator.

New Line
The new line feature enables the RETURN key on the terminal to function like the return key on anelectric typewriter. When the new line feature is enabled, pressing the RETURN key generates thecarriage return (CR) and line feed (LF) codes. When a line feed code is received, the code is interpreted
as a carriage return and line feed.
When the new line feature is disabled, the RETURN key generates only the CR code; an LF codecauses the terminal to perform a line feed only.
NOTE
If double Hne feeds occur consistently, turn this feature off since the computer is already performing thisfunctiol1l.
ParityWhen enabled, parity checks for correct data transrnission. If a transmission error occurs, the VT100
detects it and indicates its presence by placing a checkerboard character ( ~) on the screen in place ofthe character with the error. Thle parity sense feature determines if the parity is even or odd. Whenparity is disabled, no parity bit is transmitted or received.
Parity Sense
The parity sense feature defines which of the two methods of parity checking, odd or even, is being
used by the VT100. If the parity feature is on, the terminal's parity sense must be matched to the parity
the computer is sending. If the parity sense features do not match, most characters sent to the computer are rejected even though tht~ character was received correctly by the VT 100. If a parity incompatibility occurs, the checkerboard character appears on the screen in place of the received
character.

NOTE
If the parity feature is turned off, the parity sense
selection is disregarded.

2-15

PowerDuring initial installation, the terminal display must be set to the power line frequency. In the U.S. thisis 60 hertz.
Receive Speed
Receive speed must be set to match computer tran!;mit speed. The VT100 is capable of receiving at any
one of the following preselected speeds: 50,75, 110, 134.5, 150,200,300,600, 1200, 1800,2000,2400,
3600,4800, 9600, and 19,200 baud.
Receive speed is independent of transmit speed; the terminal may receive data at one speed and transmit data at a different speed.
Screen Background
This feature allows the operator to select the background of the screen display. In the normal screenmode, the display contains light characters on a dark background; in reverse screen mode, the display
contains dark characters on a light background.
Screen Brightness
Unlike most video terminals, the VT100 does not contain switches or knobs to adjust screen brightness. Instead, the VT 100 electronically controls screen brightness. This feature eliminates the highfailure rate of mechanical controls and still allows the operator to select the desired level of brightness
for maximum comfort under varied lighting conditions. This setting may be saved like any otherfeature in the terminal.
ScrollScrolling is the upward or downward movement of existing lines on the screen to make room for newlines at the bottom or top of the screen. It can be performed in two ways: jump scroll or smooth scroll.
In jump scroll mode, new lines appear on the screen as fast as the computer sends them to the terminal.
At the higher baud rates, the data is very difficult. to read due to the rapid upward movement of thelines. In smooth scroll mode, a limit is placed on the speed at which new lines of data may be sent to
the terminal. Upward movement of lines occurs at a smooth steady rate allowing data to be read as it
appears on the screen.
NOTE
Smooth scroll mode allows a maximum of six lines ofdata per second to be added to the screen. The auto
XON/XOFF feature must be enabled and supportedby the host computer to «~nsure that data is not lostwhen smooth scroll mode is enabled.
Tabs
The VT100 can jump or tab to preselected points on a line just like a typewriter. The tab stops may be
individually changed or totally cleared and then reset.
Transmit Speed
Transmit speed must be set to match the computet receive speed. The VT 100 can transmit at anyoneof the following preselected transmit speeds: 50, 75, 110, 134.5, 150, 200, 300, 600, 1200, 1800, 2000,
2400, 3600, 4800, 9600, and 19,200 baud.
Transmit speed is independent of receive speed; the terminal may transmit data at one speed andreceive data at a different speed.

Wraparound
When this feature is enabled, the 81 sit or 133rd character (depending on line size selected) inserted on aline is automatically placed in the first character position of the next line. If the wraparound feature is
not enabled, the 81 st or 133rd character and all following characters are, overwritten into the last
character position of the current linle.

I#ll(shifted)

The VT100 contains character sets for the U.S. and the United Kingdom. The difference between thetwo sets is one character, the # or i symbol. When the standard U.S. character set is selected, theuppercase 3 key on the main keyboard displays the # character. The i character is displayed when the
U.K. character set is selected.
PART 4

SELF-TESTING THE VT100

A self-test mode in the VT100 automatically, or on command, tests the condition of the terminal if a
fault is suspected. The self-test program checks the following items.
Internal memory
Advanced video memory (if option is installed)
Nonvolatile memory (NVR)i
Keyboard
This test is performed automatically whenever the te:rminal is turned on.
Self-Test Error Codes
There are two broad categories of errors: fatal and nonfatal. Fatal errors cause the terminal to immediately stop all operations. No intl~lligible information is displayed on the screen, but the screen most
likely contains a random pattern of characters. The only error indication (in addition to randomcharacters) is a possible error code displayed on programmable keyboard LEDs LI-L4. However, no
terminal function, including the lighting of LEDs, is guaranteed if a fatal error is found. See Table 2-3.
Nonfatal errors do not halt the terminal processor. Instead, the terminal is forced to LOCAL mode
and an error code character is displayed in the upper-left corner of the screen. There are five types of
nonfatal errors:
1.
2.
3.
4.
5.

Advanced Video Option data RAM (AVO)
Nonvolatile data RAl\1 checksum error (l'~VR)
Keyboard missing or rnalfunction (KBD)
Data loopback error (Data)
EIA modem control lines loopback error (EIA).
NOTE
Loopback tests are not performed on power-up; theymust bf~ il1lvoked separately with the proper escapesequence. See Appendix A for further information on
this teslt.

Table 2-4 shows the possible nonfatal error characters that may appear on the screen and the failure
represented by each character.
If the terminal passes all these tests, a final check of its operation is possible in SET-UP mode. Examine the display and compare it with the printed examples. Double height, double width, bold, blinking,reverse, etc., are all represented in SET-UP mode.
2-17

Table 2-3 Fatal Displayed Error Codes
Keyboard LEOs
Ll
L2
L3

L4

Error

Replace FRU

OFF
OFF
OFF
OFF
OFF

ON
OFF
ON
OFF
ON

ROM 1
ROM2
ROM3
ROM4
Main Data RAM

Terminal controller
Terminal controller
Terminal controller
Terminal controller
Terminal controller

OFF
OFF
OFF
ON
ON

OFF
ON
ON
OFF
OFF

Table 2-4 NonfatallDisplayed Error Codes
Char

1
2
3
4
5

Faulty Module
NVR
AVO

X

X

9

X

X

X

X
X
X

X

X

X

>
X

X
X
X

X
X

<
X
X

X

X
X
X
X

X
X

X
X

X

@

A
B
C
D
E
F
G
H
I
J
K
L

EIA

X
X

X

6

?

Data

X

7
8

=

KBD

X

X

X
X
X
X

X

X

X

X

X

X

X
X

X

X
X

M
N

X

0

X

X

X

X

X

X

2-18

X
X
X
X
X
X
X
X

X
X
X
X
X
X
X
X
X
X
X
X
X
X
X

PART 5 WHAT TO DO IN THE EVENT OF A PROBLEM
If it appears that there is a problem in the terminal, you should initiate the self-test procedure. This test
will help to determine if the problem lies in your terminal or in some other part of the computer
system. If the terminal appears to be faulty, refer to Table 2-5. This table describes the items an
operator can check prior to making a service call.
Table 2-5

Problem Checklist

Symptom

Possible Cause and Corrective Action

VT 100 will not turn on
when power switch
is set to ON.

AC power cord not plugged into walloutlet; plug in cord.
AC power cord not plugged into terminal;plug in cord.
Power not coming from wall outlet; checkoutlet with known working electricaldevice (a lamp). If no power, call yourelectrician.
AC line fuse blown. Turn terminal OFF andhave the fuse re:placed. (See Figure 1-2
for location.)

No keyboard response

Keyboard cable not plugged into monitor;
plug in keyboard cable.
KBD LOCKED indicator on; computer hasturned keyboard off. If condition
persists, check with the host computer
software people for a possible operating
error.
Perform the self-test operation.

Garbled characters

Transmit and/or receive speeds, parity
sense, or parity enable may be wrong;
check settings.
Perform the self-test operation .

-------------------------------------

.

2-19

CHAPTER 3
INSTALLATION AND INTERFACE INFORMATION

SITE CONSIDERATIONS
The design of the VT100 (Figun: 3-1) normally poses few constraints on selecting a place in which toinstall the terminal. In most case:s, any environment suitable to the operator is a satisfactory environment in which to operate the terminal. Extremes of temperature and humidity should be avoided. A
summary of VT100 guaranteed operating conditions may be found in Chapter 1.
UNPACKING AND INSTALLATIONThe VT 100 shipping carton contains the following items:
VT100 monitor
VT 100 detached keyboard
VT100 power cord
VT100 SET-UP label
VT100 User Guide.
To install the VT100 perform the following steps:

1.

Remove the VT100 from the shipping carton and place it in the desired work area.

2.

Place the keyboard in front of the terminal and plug the keyboard coiled cord into the
keyboard receptacle at the rear of the terminal (Figure 3-2).

3.

Verify that the power selector switch shows the correct wall outlet voltage (lIS V is standard
in the U.S.) and the power switch is off.

4.

Connect the power cord to the power cord receptacle at the rear of the terminal and plug theother end of the powe:r cord into a nearby wall outlet.

5.

Connect the communiications cable to the: appropriate communications receptacle.

6.

Turn the power switch on. The terminal automatically performs the power-up self test andeither the ON LINE or LOCAL indicator on the keyboard will light. After approximately
one minute the cursor willi be visible in the upper-left corner of the screen.

7.

Set the desired SET-UP features outlined in the operator section of this manual.

8.

Once the installation procedure is comp1ete, record the SET-UP features selected on the
VT100 SET-UP label and attach the label to the underside of the keyboard.

3-1

I

36.8 CM(14 112 IN.)•

8.9 CM(3 1/2 IN.)

L (4318
11.1CM -'~iN.)-..----30.5 CM (12 IN.)------401

20.32 CM (8 IN.)-.....------36.2 CM (14 1/4 IN.)-------IOI" - - - - - - - - - - - - - 51.4 -CM (20 114 IN. *)-------------.,1

I"

"-

\

~

41.3 CM (lEi 1/4 IN.)'fJ

45.7" CM P 8 iN.)
*MEASUREMENT TAKEN WITH THE KEYBOARD PLACI:D FLUSH TO FRONT OF TERMINAL UNDER UNDERCUT.
MA-1991

Figure 3-1 VT 100 Terminal Dimensions

3-2

CAPTIVE
SCREWS (4)EIACOMMUNICATIONSCONNECTOREXTERNAL VIDEOINPUT CONNECTOR
EXTERNAL VIDEOOUTPUT CONNECTOR

POWER SWITCH
MODEL + SERIALNUMBER LABELKEYBOARD
CONNECTOR

f
I

SWITCHOPTIONAL 20mA
COMMUNICATIONCONNECTOR

MA-1987

Figure 3-2 VT100 Rear View
USER MAINTENANCE
The keyboard keys are the only moving parts of th(~ terminal and require no preventive maintenanceby the owner. The VT100 surfaces may be cleaned with soap and water or any mild detergent. Cleanerswith solvents should not be used.
The VT 100 packaging is not meant to be weatherproof; there are several openings in the case throughwhich liquids, coins, paper clips, and other objects ~~an fall. Such objects would disturb the electronic
operation of the terminal if they came into contact with the circuitry. For this reason, avoid putting
drinks and metal objects on th~~ top of the terminal, or using excessive water to clean the terminal.
Rubbing the keys with a dry or barely moist cloth should clean them. Do not remove the keycaps toclean them more thoroughly; damage may result to the switch contacts if they are replaced incorrectly.
Keep the ventilation slots clear. Blocking these slots by placing objects on top of or under the VT 100
may cause the terminal to overheat.

3-3

INTERFACE INFORMATIONEIA Interface
The basic VT100 operates on full duplex, asynchronous communication lines. The terminal interfaces
to the line with a 25-pin connector mounted on the back of {he terminal which meets the requirements
of EIA specification RS-232-C. Table 3-1 summarizes the EIA connector signals. The following paragraphs explain each signal as used in the basic VT100.
Protective Ground - Pin 1
This conductor is electrically bonded to the VT100 chassis. Use of this conductor for reference potential purposes is not allowed.
Transmitted Data (from VT100) - Pin 2
The VT 100 transmits serially encoded characters and break signals on this circuit, which is held in themark state when neither characters nor break signals are being transmitted.
Received Data (to VT100) - Pin 3
The VT 100 receives serially encoded characters generated by the user's equipment on this circuit.
Request to Send (from VT100) - Pin 4
Asserted at all times when terminal is powered up.
Carrier Detect (to VT100) - Pin 8
Ignored at all times.
Speed Select (from VT100) - Pins 11, 19, and 23
This signal is alternately called secondary request to send. The basic VT 100 maintains this line in theasserted state at all times.
Speed Indicator (to VT100) - Pin 12
This signal is alternately called secondary carri(~r detect and is ignored at all times.
Transmission Clock (to VT100) - Pin 15
Ignored at all times.
Clear to Send (to VT100) - Pin 5
Ignored at all times.
Data Set Ready (to VT100) - Pin 6
Ignored at all times.
Signal Ground - Pin 7This conductor establishes the common ground reference potential for all voltages on the interface. Itis permanently connected to the VT100 chassis.
Receive Clock (to VT100) - Pin 17
Ignored at all times.
Data Terminal Ready (From VT100) - Pin 20
Data terminal ready is asserted at all times.
Ring Indicator (to VT100) - Pin 22
Ignored at all times.

3-4

Table 3-1 EIA Connector Signals
PinNo.

Description

1
2
3
4
5

Protect.ive ground
Transmitted data
Receivl~d data
Request to send
Clear to s(md

6
7
8
9
10

Da ta S(~t neady
Signal ground (common return)
Carrier detect(Not used)(Not used)

11
12
13
14
15

Same as pin 19(Secondary carrier detect) speed indicator(Not used)(Not used)
Transmit dock

16
17
18
19
20

(Not used)
Receive clock(Not used)(Secondary request to send) speed selectData tc~rminal ready

21
22
23
24
25

(Not used)
Ring indicator
Same as pin 19(Not used)(Not used)

Electrical Characteristics
VT100 Output Voltages - On all signals designated ufrom VT100," the mark or un asserted state is -6.0
V to -12.0 V; the space or asserted state is +6.0 V to + 12.0 V.
VT100 Input Voltages - On signals designated "to VT100," -25.0 V to +0.75 V or an open circuit isinterpreted as a mark or un asserted state, and +25.0 V to +2.25 V is interpreted as a space or asserted
state. Voltages greater in magnitude than 25 V are not. allowed. These levels are compatible with EIA
STD RS~232-C and CCITT Recommendation V.28.
Optional 20 rnA Current Loop Interface
In most current loop applications, the VT100 is connected in a passive configuration - that is, current
is supplied to the VT100. In this mode, the transmitter and receiver are both passive, both opticallyisolated, and the transmitter goes to the mark stat€~ when power is turned off.
Conversion from active to passive (or vice versa) nequires moving a slide switch.

3-5

In active mode either the transmitter or' the rec:eiver or both may be connected so that the VT 100
sources the 20 rnA of current. In active mode isolation is not present and the transmitter goes to thespace state when power to the VT100 is turned off.
Figure 3-3 shows the 20 rnA current loop interface connector mounted to the access cover and lists theindividual pin assignments.
The electrical characteristics of the 20 rnA current loop interface are shown below.
Transmitter
Open circuit voltage
Voltage drop marking
Spacing current
Marking current

Min
5.0V
20mA

Max
50V
2.0V
2.0mA
50mA

Receiver
Min
Voltage drop marking
Spacing current
Marking current

15mA

Max
2.5 V
3.0mA
50mA

In addition to the above specifications for pass:ive operation, active mode places the transmitter or
receiver in series with a source of 17 V ± 5 perc:ent and 660 ohms.
External Video Connections
In addition to the EIA interface, the VT100 can easily interface to external video devices. The video
devices may act either as a slave to the VT100 when connected to the composite video output orprovide synchronized video to the VT100 video s.ection when connected to the video input. The external video connectors are the two female BNC connectors located on the back of the terminal justbelow the EIA connector. The upper connector, .J8, is the video input while the lower connector, J9, isthe video output.
Composite Video Output (J9)The composite video output provides RS 170 output generated by combining the video signal with acomposite sync signal. The output contains all video data appearing on the VT100 screen except thatvideo which comes from J8. The output has the following nominal characteristics (Figure 3-4):
1.

Output impedance = 75 ohms, dc-coupled2.

Sync level

3.

Black level = approximately 0.3 V when loaded with 75 ohms

4.

White level = approximately 1.0 V 'with a 75 ohm load

=0 V

3-6

The composite sync waveform conforms to EIA RS 170 standards. The vertical interval iscomposed of six equalizing pulses, six vertical sync pulses, and six more equalizing pulses.
The timing is as follows:
Equalizing pulse width
Vertical pulse width
Horizontal pulse width
Horizontal blank width

=
=

=
=
=

Front porch=o2.33 JlS ± 50 ns
27.28 JlS ± 200 ns
4.71 JlS ± 50 ns
11.84 JlS :l: 50 ns/80 column
mode
12.34 JlS :It: 50 nsf 132 column
mode
1.54 JlS ± 50 ns.

o

TERMINAL___ ACCESSCOVER

PIN ASSIGNMENTS
1 - TEST NEGATIVE
2 - TRANSMIT 3 - RECEIVE 5 - TRANSMIT +7 - RECEIVE +8 - PROTECTIVE GROUNDoo
I

20mA CURRENT---LOOP CONNECTOR

0 0 CI 0 (:)~~::.-..I

1 2 ~If;

MA·1992

Figun~ 3-3 20 rnA Current Loop Interface

3-7

EVEN FIELD:LAST DISPLAYED SCAN OFPREVIOUS FIELD

60 Hz NON-INT = 22 SCANS}
60 Hz INT=_22 SCANSVERTICAL BLANKING INTERVAL

1+------------------{ 50 Hz NON-INT = 75 SCANS - - - + \ FIRST OF 240 DISPLAYED
50 Hz INT

= 74 SCANS

60 Hz NON-INT = 2 SCANS
60 Hz INT
= 2 SCANS{ 50 Hz NON-INT = 25 SCANS
50 Hz INT
= 24 SCANS

1.0 V

OV

iV\

TIME--_I

OOD FIELD:ISTART OFEVEN FIELD

I

I,

f!

I

I

VERTICAL BLANKING INTERVA~LAST DISPLAYED SCAN OF 1-4-_ _ _-+II ______________~,'_t60 Hz INT = 23 SCANSEVEN F I E L W t

50 Hz INT = 75 SCANS

10 V

60 Hz INT = 2.5 SCANS{ 50 Hz INT = 24.5 SCANSOV

Mr'r'r'~1r-1~~I~L~L~.

I.H PERIOD = 63.56 J.LS ± .01%

FIRST OF 240 DISPLAYED

:
:

!

-1 ~

iV\

TIME - - - - .

1-1 r-LSTART OFODD FIELD

H PERIOD = 63.56 J.L:S ± .01%
NOTES:IN NON-INTERLACED OPERATION THE
EVEN FIELD IS REPEATED CONTINUOUSLY. AND THE ODD FIELD IS NOT
USED.

--1 F
I

IN THE INTERLACED OPERATION THE
EVEN FIELD ALTERNATES WITH THE ODD
FIELD.

H BLANK {11.84 J.LS ± 50 n5 /80 COLUMN
12.34 J.LS ± 50 ns / 132 COLUMNBRIGHT = 1.00V_=-=j
NORMAL.79 V _
DIM = .64 V BLACK = .29 V SYNC = 0.00FRONT PORCH = 1.54 J.LS ± 50 ns
H SYNC = 4.71 J.LS ± SOns

•

U
~I

j+

ALL FIELDS CONTAIN 240 DISPLAYEDSCANS.

~-ifU~Q = 2.33 J.Ls ± 50 ns ~ ~u

H PEFIIOD = 63.56 J.LS ± .01%

..J

~n

L-o-1

j.-v

IL
SYNC = 27.28 jlS± 200 ns

MA·1993

Figure 3-4 Composite Video Output

Video Input (J8)An analog signal applied to the video input is "ORed" with the internal video signal such that thebeam intensity at any point on the screen corn~sponds to the intensity of that signal which tends tomake the beam brighter at that point. A video s:ignal on this input affects only the internal screen anddoes not appear on the composite video output. This input has the following nominal characteristics:
1.
2.
3.
4.

Input impedance = 75 ohms, dc-coupledBlack level = 0 V
White level = 1.0 V
Maximum continuous input = ±2.0 V.

The external video source must be synchronized to the VT100; it may do this by referencing thecomposite sync on the composite video output. This means that the VT100 video input will not synchronize with any composite video source including the composite video output of another VT100.

3-8

CHAPTER 4TECHNICAL DESCRIPTION

4.1 INTRODUCTION TO VT100 TECHNICAL DESCRIPTIONThis section describes the con.tt::nts of the technical description chapter and provides a technical overview of the terminal.
4.1.1 Scope of Chapter
This technical description is intended to provide an understanding of the terminal operating principles
for Field Service, depot repair, and engineering personnel. The description considers the terminal to be
several functional or replaceable subunits. Each subunit is described in its own section. Several subunits interact. Those interactions are discussed in the section about the subunit most involved in theparticular process. For examph~, power-up involves the nonvolatile RAM but is described in the microprocessor section. Scrolling has its own section because it is a complex process that involves the
microprocessor and video processor equally.
4.1.2 Order of Presentation
Each section describes the hardware first and the associated firmware operations second. This section
contains a block diagram level discussion of the terminal hardware and firmware. More detail isprovided in the functional block d~~scriptions in late:r sections. Refer to the VT 100 series Field Maintenance Print Set, No. MP00633, for circuit details while studying this manual.
4.1.3 Definition of Terms and Abbreviations
Many terms are written out the first time they appear, with an abbreviation or mnemonic in parentheses after it. The abbreviation is generally used after that. There is a glossary of abbreviations andsignal names in the appendices of this manual. Numbers may be given in binary, octal, decimal, or
hexadecimal (hex). The normal form will be decimal for scalar or ordinal values, and hex for data andaddresses. Numbers are subscripted B for binary, Q for octal, H for hex, and no subscript for decimal.
4.1.4 Hardware Introduction
The VT100 is a complete computer input and output terminal that has a keyboard like a typewriterand displays its data on a video screen. It fits into two compact packages; the keyboard is flexiblyattached to the main cabinet by a coiled cable. Refer to Figure 4-1-1.
The terminal consists of four basic: components (not including enclosures) plus two important options.
The components are the terminal controller, the kt::yboard, the CRT monitor, and the power supply.
The options are the advanced video option and the current loop adapter option.

4-1

CRT
MONITORLED'STERMINAL CONTROLLER• MICROPROCESSOR• VIDEO PROCESSOR
• RAM
ROM
NVR
• UART

•
•

r-

-

.....

~;;]
CONNECTOR

KEYBOARD•ADVANCED
VIDEO
OPTION

CURRENTLOOPADAPTOROPTION--TO HOST

lElA 1/0~

POWER
SUPPLYI
MA-4656

Figure 4-1-1 VT100 Components
The terminal controller is a single pc board module that manages all displays and all communication.
Everything else connects to it. The terminal controlller contains these functional components:•

A microprocessor to manage terminal operations•

A video processor for converting data to recognizable patterns•

3072 bytes of random access memory (RAM) for screen data storage and microprocessor
scratch memory•

8192 bytes of read only memory (ROl\1) containing the microprocessor's programming tooperate the terminal with its particular features•

A nonvolatile RAM (NVR) to store the user-settable operating features without requiringhardware switches•

An asynchronous serial receiver-transmitter (UART) for data exchange with the computer•

EIA level converters to adapt the on-board input and output (I/O) signals to the communications interface•

A special connector, the standard terminal port (STP) that allows a plugged-in option tointercept terminal communications inside the terminal enclosure.

The keyboard is the typewriter-style input device for the operator. It has a loudspeaker for user feedback keyclicks and bells, and indicators that show internal states of the terminal.

4-2

The CRT monitor is a video scn~en that displays exchanges between the operator and the computer. It
can display data in two modes: 80 characters by 24 lines, or 132 characters by 14 lines (or, with the
AVO, 132 by 24). With the contrOiI circuitry on the terminal controller board, the CRT can performmany special character display functions.
The power supply converts the Olc power line to the four dc voltages required by the terminal. It has aswitching regulator for highest effilciency and coolest operation.
The advanced video option provides greater display capacity, plus it can carry extra firmware for the
expanded functionality of other products in the VT 100 series.
The current loop adapter option converts the EIA output of the terminal controller to a more noise
immune standard when longer distances between the terminal and the computer are required.
4.1.5 Block Diagram Description
Figure 4-1-2 shows the VT100 t.erminal as a set of functional blocks. The rest of this section describes
these blocks in greater detail.
4.1.5.1 Microprocessor - A mi.croprocessor manages all terminal input and output operations. It also
provides the intelligence that ~:nables the VT100 to respond to and generate a wide range of ANSI
control functions, and to emulate the characteristics of the VTS2. Several of the microprocessor's
program functions are effectivdy in series with data paths in the terminal. These functions have theirown blocks in the functional block diagram to clarify the processes involved. These blocks are shaded
to indicate that they are program functions or that the microprocessor controls data transfers between
the blocks. The microprocessor is a computer with its instructions in program ROM (read only memory) and working memory in the scratch RAM (random access memory). Terminal parameters forstart-up are stored in the nonvolatile RAM (NVR). The advanced video option (AVO) normallycontains extra RAM as described below but can also contain extra program ROM.
4.1.5.2 Program ROM - The VT100 program ROM is an 8K X 8 memory containing instructions
and data tables for the terminal's microprocessor. Memory comes in four 2K packages (later VT100s
may have a single 8K package). Checksum data stored in each ROM allows the terminal to confirm
the condition of its programming at self-test.
4.1.5.3 Scratch RAM - The scratch RAM is the portion of RAM on the terminal controller that is
not used for the screen RAM. That is, the RAM is 3K bytes long, but only about 2.3K bytes are used
for screen display. The rest of the RAM contains the microprocessor stack, SET-UP data, various flag
bytes, the communication SILO, the keyboard buffer, and so on.
4.1.5.4 Nonvolatile RAM - The nonvolatile RAM (NVR) does not lose its data when its power is off.
It stores all user-settable features and parameters and the answerback message so that they are available each time the terminal is turned on. Even the screen intensity can be stored. There are no mechanical switches needed for configuration.
4.1.5.5 Advanced Video Option .- The advanced video option (AVO) contains the 1K X 8 of extra
screen RAM needed to expand the display from 14 lines of 132 characters to 24 lines, plus a 4K X 4
RAM to store an extended set of attributes for all characters. The AVO also contains an additional
segment of video processor to manage the four extra bits of data. Sockets for ROMs and jumper- or
switch-programmable decoders allow expansion or overlay of program memory.
The AVO is a replaceable subunit of the VT100.

4-3

CRT
MONITORADVANCED
VIDEO
OPTIONPROGRAMROM

SCRATCHRAMMICROPROCESSORNON VOLATILERAMCOMMUNICATIONRECEIVEREIADRiVERS

LEOS---'-_ _ _...::..;..;,..=.;:..;..;.:;;~~KEYBOARD

CURRENTLOOPADAPTOROPTIONro HOSTCOMPUTERCOMMUNICATION
TRANSMITTERPOWER
SUPPLYSHADED BOXES = MICROPROCESSOR PROGRAM FUNCTIONS
BOX=DEVICES INSIDE TERMINAL CHASSIS
MA..t3156

Figure 4-1-2 Functional Block Diagram

4.1.5.6 Keyboard - The keyboard is the user's input device to the terminal. The keyboard's output is a
serial data signal that travels along the same wire as data coming from the terminal. The keyboard
contains a bidirectional interface circuit, a set of keyswitches arranged like a typewriter, circuits tosend the key information to the interface, LED indicators, and a small loudspeaker for keyclicks andbells. The connection to the terminal is a 3-wire coil cord carrying signals, power, and ground.
The keyboard is a replaceable subunit of the VT 100.
4.1.5.7 LEDs - The terminal can inform the user of some internal conditions such as on-line or loc~land keyboard locked through the LEDs on the keyboard. The LEDs also may indicate the location ofa failure during self test and are lLlser programmable during normal operation.
4.1.5.8 Keyboard Translator _. The output for each key is a number that represents the key's location(address) in the keyboard switch matrix. The microprocessor's keyboard translator translates the address to the industry-standard ASCII code.
4.1.5.9 Transmit Buffer .- The ASCII codes wait in a transmit buffer until they can be transmitted.
Some keys (such as the numeric keypad in application mode) produce control functions that are threebytes long. The transmit buffer is nine bytes long and thus can store at least three keys of any kind.
4.1.5.10
Communication Tra.nsmitter - The communication transmitter is one-half of a programmable universal synchronous/asynchronous receiver transmitter (PUSART) and its associated circuitry and firmware routines. The PUSART is programmed to place data in a standard asynchronous
format by adding control and t;~rr()r detection bits to the original byte. The communication transmitterthus takes the parallel ASCII keycodes out of the keycode buffer, converts them to serial form, anddelivers them to the EIA interface.
4.1.5.11
Communication Re,~eher - Data that the host sends to the terminal enters the communication receiver which is the other half of the PUSART. The PUSART accepts serial data from theinterface and converts it to parallel form. The PUSART also checks for errors and records them in astatus byte. The microprocessor reads the data and then the status byte to confirm the correctness ofthe data. If an error is detected, a checkerboard is displayed instead of a character to symbolize theerror. If the microprocessor is busy managing the display, it devotes only enough time to the communication receiver to get the incoming code and check it for special codes requiring immediate action.
4.1.5.12 SILO - The rest of the incoming codes are stored in a part of RAM memory called a SILO.
This memory maintains the order of the data as it arrives; the first data to arrive leaves first. This
memory gives incoming data 2l place to wait when the microprocessor cannot transfer data from thecommunication receiver to the screen RAM as fast as it arrives. The SILO control routine checks thefilling of the SILO and can iss.ue XON and XOFF commands to the host to try to keep from overfilling. (XON and XOFF are (~xplained in Section 4.3, Communication.)
In local mode, data from the keyboard bypasses the communication receiver and transmitter and the
SILO.
4.1.5.13 Control Function Parser - When the microprocessor has enough time, it takes data from the
SILO and puts it through a control function parse:r routine in the microprocessor. Each code is tested
to see if it is in the control range «20H or 7FH). If it is, the microprocessor acts on it immediately.
Line feed, for example, causes a one line scroll. If the code is IBH (escape), more codes are read fromthe SILO until the characters that define a control function are seen. Then the microprocessor executes
the control function immediately or discards it if it is not a valid function. N oncontrol codes are
ignored by the parser and are wriitten into the screen RAM.

4-5

4.1.5.14 Screen RAM - The screen RAM is a memory that stores data for display on the screen(CRT monitor). The memory is organized according to the SET-UP line length specifications. Basicterminal memory can hold 24 lines of 80 charactl~rs or 14 lines of 132 characters. With the extra
memory provided by the advanced video option, th(~ screen size may increase to 24 lines of 132 characters and four additional bits are appended to each 'Character location to allow expanded character
attributes. (A character attribute modifies the display of that character relative to the preset values forthe entire screen.)
Most of the time, the screen RAM is readable and writable by the microprocessor. For about 10
percent of the time, during the first scan of each 10 scan line of characters, the video processor silences
the Inicroprocessor and takes full control of the screen RAM, providing its own addresses to access thememory. This complete control of memory (by a device other than the microprocessor, which is normally in control) is called a direct memory access (DMA). The DMA allows fast access of data inmemory because the microprocessor does not have to perform all the steps of addressing, reading, andwriting to a destination. The video processor needs the fast access because the data rate required todisplay a line of characters on the CRT is greater than the microprocessor can handle.

4.1.5.15 Video Processor - The microprocessor puts displayable data in the screen RAM, The video
processor direct memory accesses (DMAs) data a line at a time from the RAM. It converts the ASCIIencoded data into streams of pulses which, when converted to light on a CRT screen, appear to formcharacters on the screen. Custom ICs provide the complex timing and control signals required for thisconversion. The video processor can be programmed by the user to perform the conversion at different
rates (called refresh rates) to minimize flicker at different power line frequencies. A number of otheraspects of video processor operation can be programmed as well.
4.1.5.16 CRT Monitor - The cathode ray tube (CRT) monitor is a simplified monochrome televisionset. It converts electrical pulse streams into dots of light by exciting a phosphor on the face of the tube
with a moving electron beam. A video input from the video processor enters a cathode drive circuitthat regulates the strength of the electron beam. The cathode driver is a linear amplifier that allows the
CRT to display different intensities (gray scale). The monitor uses timing pulses from the video processor to drive the horizontal and vertical electron beam deflection circuits. These circuits cause the beam
to travel down the screen slowly while rapidly movi,ng sideways to draw horizontal traces called scans.
This beam movement produces a pattern which is called a raster and the display system is called rasterscanning. Because the beam repeatedly passes by each location on the screen, the video processor, bysynchronizing its output with the motion of the beam, can make rows of dots of light align to formcharacters.
The screen does not hold its image after the electron beam has painted dots on it. For the eye toperceive it as continuously illuminated (i.e., without flickering) the screen must be repainted (refreshed) repeatedly some 30 or more times per second. Also, stray magnetic fields and electrical noiseat the power line frequency can cause distortions in the display. If the refresh frequency is different
from the power line frequency, the distortions appear to move up or down the display. This is very
~oticeable. Most distortions disappear by matching the refresh rate to the power line frequency. The
VT100 can refresh at either of the two world power frequencies, 50 or 60 Hz, satisfying both flicker anddistortion requirements. (VT100 refresh is not locked to the power line but is close enough to conceal
most distortions.)
The CRT monitor, the monitor circuit board, and the flyback transformer are replaceable subunits of
the VT100.

4-6

4.1.5.17 Power Supply - The VT100 power supply provides enough power to run the terminal and a
few options. It is a switching supply to allow highest efficiency and to minimize the heat load on therest of the terminal. It rectifies line voltage directly (without a transformer), and chops the resulting
high dc voltage with a transistor at about 30 kilohertz. This ultrasonic ac is stepped down in a relatively tiny transformer and then regulated at low voltage to give the various outputs.
The power supply is a replaceable subunit of the VT100.
4.1.5.18 Standard Terminal Port - The standard t(~rminal port (STP) is a shorting connector in series
with the communication port, the: modem control lines, and some power and timing lines. By connecting to the terminal through this port, options can exchange signals with the terminal controller orintercept terminal-host communications from inside the terminal cabinet.
4.1.5.19 EIA Interface - The Electronic Industries Association (EIA) interface used on the VT 100 is
the RS-232-C unbalanced bipolar voltage standard" The terminal controller has two types of ICs thatprovide conversion between EIA levels and the TTL levels used on the controller board. One IC is aline driver that outputs EIA levels for TTL inputs, and the other senses the EIA levels on the input line
and converts them to TTL.
4.1.5.20 Current Loop Interface Adapter - The current loop adapter option plugs into the terminal
controller board and mates with the EIA voltage interfaces to convert the terminal to 20 milliampere
current loop interfaces. The current loop interfaces can be individually selected to be active or passive.
The 20 rnA adapter is a replac'eable subunit of the VT100.
4.1.6 Firmware Introduction
Figure 4-1-3 portrays the VT 100 as a system with four levels of operation.
At the deepest level, the background routines continually repeat to manage functions that do not
require precisely timed responses. The keyboard processor commands the keyboard to perform address scans, controls the bell and LEDs, and manages the conversion of key information from hardware-dependent codes to ASCII. The transmitter routine manages the transmission of ASCII data to
the host. The received character processor examines incoming data, manages the SILO, initiates special functions as specified in the data, and writes displayable data into the screen RAM. When theterminal is in local mode, a logical shortcut bypasses the communication process and allows the keyboard data to enter the re:ceived character processor directly.
The background routines work on the internal buffers, registers, and flags which are logical devices
located in hardware and RAtvl. These are physical locations in hardware that contain information
placed there the hardware and by the firmware. The: key buffers store up to three key addresses for the
keyboard processor to pass through the transmit buffer to the transmitter routine for transmission to
the host. The screen Ram, which stores the displayable data, is the largest segment of RAM. The
scrolling flags contain data for the scrolling process in the video processor. The SILO stores data
coming from the host in case the received character processor cannot transfer data to the screen RAM
as fast as it arrives. The Send XOFF flag, set by the SILO manager, signals the transmitter routine tosend the XOFF code to the host to halt transmissiion and prevent SILO overflow.

4-7

TBMT:

TRANSMIT BUFFER EMPTY

r-------------------------~VIDEO CIRCUITSKEYBOARD CONTROL CIRCUITS
KBD ~
TBMT
~LEDS
8 /'

KEY
ADDRESS(KBD RDIKBD.DATAAVAILABLE H(INTERRUPTI
"Ii

>"

A

SPEAKERSCAN
STATUS(KBD·UP)

/~

12
(DMAI

V

CONTROL
CHIP
COMMAND

KEY DOWNINTERRUPT
ROUTINEVERTFREQINTER·RUPTl

PUSART

REC
FLAG

8

H

"HARDWARE"/i-"RECEIVEDDATAINTER·RUPT

RECEIVERINTERRUPT
ROUTINEVERTICAL FREQUENCYINTERRUPT ROUTINE

TRANSMITTEDDATAINTERRUPT
DRIVE NROUTINESXMITFLAGSCREENRAM(BASIC +AVOI

KEY
BUFFERSSCROLLING
FLAGS

SILO

-

INTERNALFIRMWARE
BUFFERSREGISTERSAND FLAGSSEND"XOFF"
FLAG

r----1

14-----l--fi LOCAL iJ-l_ _-I

I

00

RECEIVEDCHARACTER
PROCESSORKEYBOARD
PROCESSORI' - - - - - - - - - I TRANSMITBUF FER

TRANSMITTERROUTINEBACKGROUND
ROUTINES~----------------------------------------------------------------~r

RECEIVEDCHARACTER
PROCESSOR

TRANSMITTERROUTINE

Figure 4-1-3 VT 100 Firmware Block Diagram

MA-4351

Interrupt routines are segments of the firmware that take precedence over other business in the microprocessor because of the short-lived nature of the data that they handle. The Key Down interrupt
routine is initiated by the appearance of data at th~~ keyboard control circuits. It instructs the microprocessor to get the,key address from the keyboard UART and put it in the key buffer. The Vertical
Frequency interrupt routine occurs every 50th or 60th of a second and provides synchronization ofvideo routines with the actual display timing. The: Receiver interrupt routine moves incoming datafrom the communication transceiver to the SILO.
At the exterior level of the: VT100 system, the hardware responds to the firmware by exchanging data
between the user and the host 'computer in forms that are understandable to each.

4.2 MICROPROCESSORThe VT100 has an 8080 microprocessor at the heart of its intelligence. The 8080 performs all the usualfunctions of a stored program computer, fetching instructions and data from ROM and RAM andresponding to service requests from various devices in the system. Because of technical limitations in
the implementation of the microprocessor hardwan~, some high speed counting and timing circuits andsome power circuits are located in peripheral ICs made with a different semiconductor technology.
These components are bipolar (8224, 8228) while the 8080 is NMOS.
4.2.1 8080 Microprocessor
The 8080 (Figure 4-2-1) contains a set of general and special purpose registers (the register array),timing and control logic which responds to machine code instructions, and an accumulator and arithmetic logic unit that perform the computations associated with the microprocessor operation.
The stack pointer is an important register that points to the bottom of the stack. The stack is a lastin/first-out area in RAM that stores information about the current process when a subroutine orinterrupt branches away from the current instruction sequence. By storing this information at the
beginning of an interruption and restoring it at the end of the interruption, the 8080 can continue themain program without any disturbance. This is the meaning of the interrupt process as it applies to theinterrupt-driven routines mentioned in the firmware block diagram in Figure 4-1-3.
Most of the pins on the 8080 are: tristate data and address lines. Four pins are power supplies andground. The others, briefly, are:
HOLD - an input that lets another device get control of the buses when the 8080· finishes the current
machine cycle. Hold Request froln the video processor is the input signal.
HLDA - Hold Acknowledge output indicates that the buses will be given up for the Hold state.
INT - Interrupt Request input accepts INTR H signal that causes read of the interrupt vector address
and branch to it.
READY - input for use with slow memory or I/O. If low, the 8080 enters the wait state (an indefinite
portion of a machine cycle). It. is not used in the VT100.
WAIT - output acknowledging the wait state. Not used by VT100.
INTE - Interrupt Enable output indicates whether interrupts have been enabled or disabled with therelated instructions or by serviicing an interrupt re:quest. Not used by VT100.
0/1, 0/2 - Clock phases 1 and 2. Inputs to drive the 8080.

4-9BI·DIRECTIONALDATA BUS(8BIT)
INTERNAL DATA BUS(8 BIT)

INTERNAL DATA BUS

L

.b.

i

(8)

(8)

-'

D

fa}

~

'0'
'u,

f.I)

REG.
H
REG.

(8)

REG.
L
REG.

(8)

u

w

w

a:
w

INSTRUCTIONDECODERAND
MACHINE
CYCLE
ENCODING

(8)

B
REG.

I-

0

Z
TEMP. REG.
C
REG.

~

<.!l
w

a:

STACK POINTER
PROGRAM COUNTERREGISTER
ARRAY

(16)
(16)

INCREMENTER/DECREMENTER (16)ADDRESS LATCH

ADDRESS BUFFER
POWER
SUPPLIESl(16)~-'+12V-.+5V-'-5V---'GND

A 15 - AO
ADDRESS BUS
MA-<C355

Figure 4-2-1 8080 Block Diagram

SYNC - output that indicates the beginning of each :machine cycle. Combines with clock in the 8224 toproduce Status Strobe (STSTB).
RESET - clears the program COlLlnter so that when it is released, program starts at location zero. Used
to initiate power-up sequence and self-test.
WR - Write output controls memory and I/O writes by indicating the stable period of the data bus
during a write instruction.
DBIN - Data Bus In output indicates that the data bus can accept data.
For more detail, see Intel's 8080A manual.
4.2.2 Data Bus and System Controller
The microprocessor data bus passes directly to the 8228 bus driver and system controller. This device
provides TTL output buffering and level translation for the MOS 8080 bus. Because of the large
number of devices on the data bus, the drive capability of some devices would be exceeded at times if
all devices were on the same bus. (The keyboard UAR T is the weakest low-level current driver.) To
distribute the load, the bus is spllit into those devices that communicate bidirectionally or are only readby the microprocessor, and those that are only written into. Read and writable devices are on thebidirectional data bus (DB). The write-only devices are driven by a one-way bus buffer and are on thedata output (DO) bus. The terminal controller block diagram (Figure 4-2-2) shows which devices areon each bus.
The ROMs do not have sufficient high-level current capacity to drive all of the other inputs on the bus.
Inactive devices have their outputs tristated but their inputs still draw enough current to accumulate asignificant load over the entire bus., Pull-up resistors are connected to the bus to provide the additional
current required. Their resistance is selected to supply enough current to meet high level needs on thebus without exceeding the low level sink capacity of any driving device.
Pull-up resistors are used on the output-only DO bus because the baud rate generator, a MOS device,
has an input threshold higher than TTL driver E58 is guaranteed to deliver. Pull-up resistors ensurethat the data lines rise enough.
An additional function of the 8228 is a combinational logic decode of the 8080 status byte. This byte,
output by the 8080 at the beginning of each machine cycle, contains flag bits indicating the nature andfunction of the cycle. The byte is latched into the 8228 by the Status Strobe (STSTB) signal from theclock generator. In combination with three control output bits from the 8080, the system controller
produces Interrupt Acknowledge (lNT A) and Memory and Input/Output Read and Write (M EM
WR,RD; I/O WR,RD). These signals reduce the external decoding requirements while saving pins on
the 8080 package.
When the video processor asserts Hold Request during a direct memory access (DMA) of the screen
RAM, the 8228 floats its outputs. Since these include the memory control signals, the video processor
must provide its own memory control. The DMA Enable signal, buffered into the MEM RD line bygate E28 (pin 13), provides me:mory read enabling during the DMA. The other control signals arepulled high by the pull-up resistors.

4-11

CONNECTORSPC BOARD FINGERS

120 MAtLOOP L5 1:

5E37. E39. E44
DATA

1-

FLAG
BUFFER

~ E42

CNTRl

COMMUNICATION
TRANSCEIVER

1/0

r-2

E43

~ ,

to

1 1 8

8,

-r1
8

BUFFER
E58

tv

r

...

1

8

GRAPHIC
FLAG

8

,

8

NON·VOlATllE RAM
E24, E29, E48, E61

1/0

J.lATCH &1~

I/O DECODE
E19, E27, E34
2

16

8

i

r

CHAR.
ADDR.

l~UFFER
E15,E2O I B

El0. E13
5

CHAR.
DATA

E16 .

8

8

7

11

t4

2

4

8

+
I.

I

~
2

?

SIR

CONTROLI.

DATA 6SCAN ADDR.
4

ALT.

1

1

ATIRIBUTES;l

TERMINATE

'7

VIDEO
CONTROLAND
TIMING....
E3, E5, E6, E7.
E13. E22

VIDEO CONTROL SIGNALS.1ADVANCED
VIDEO OPTIONCONNECTOR
Jl

10

8

1

VIDEO

E4. E9I LINE BUFFER I
256 X 8 RAM
El" E172t

MEM. DISABLE

I

~
ROMS
lATCH
~ 2KX8}B

KBD4ClK4

r-5

DMA ADDRESS COUNTERS
E21, E22, E25, E26, E30, E33

16

1

'6

CONTROL BUS

4t

ISHIFT REGISTER

8MEMORY DECODE
E7, E23, E31J

f4 .
ADDRESS 8US

8 1

SCREEN &SCRATCH RAM
3K X8
E46, E47, E50,
E51, E53, E54

E40. E45, E52 E56

1/0

~,

VIDEO OUT 1 + 2

CHARACTER
GENERATOR.

PROGRAMROM
8K X8

jt,t----t-.BAUD
ClK

I

COMP
SYNC

E14. E49

L.

8

NVR
r-ClK

t

t

\",onMn.

I

f+E32. E35, E36

1

i-l

4

1

,NT.Acd INT. REQ.
MICRO·PROCESSOR

1I}OBIDIRECTIONAL DATA BUS

NVR
DATA

E18. E19
E23, E41f

INTEN·
1/0--- SITY
CONTROL
5
(D/A)

8

8
INTER·
RUPT
lOGIC
4+-

2

COMPo VIDEO'3ENERATOR

2

ClK

i
BUFFEfi ,cDONE.WAYj DATA OUTPUT BUS

I"-

DIRECT DRIVE
GENERATOR~

H & V BLANK'

8

.-

1

INTERRUPTS

3

H&V
DRIVE

SERIAL

r

FLAGS

~~BD

E28. E48. E55

OPTIONPRESENTBAJD I}O8ClKi
GRAPHIC VIDEO

KEYBOARD INTERFACEI"AUDRATE ,I~~NERATOR~

1DIRECT DRIVE VIDEO OUT IJ6 COMPOSITE VIDEO J9SoI~EIA DRIVERS& RCVRS~ E41. E61 i4-- SERIAL 2 7 MODEM

1GRAPHICS OPTION IJ21 ANALOG VIDEO IJ8

t

b3--

r-------,

STD. TERM. PORTI KEYBOARD 1J7

J4

!

t
MODEM
CONTROLEIA

NV~4ClKI
1i
VIDEO ClOCKI
24.0734 MHz
E2HOLD REQUEST•MICROPROCESSORI

VIDEO PROCESSOR..
MA~352

Figure 4-2-2 Microprocessor Block Diagram

4.2.3 Clock Generator
The 8224 provides the asymmetrical two-phase clock required by the 8080 logic. Its running frequency
is crystal-controlled. An LC circuit on the tank input improves the crystal's mode stability. The capacitor in series with the crystal compensates for internal phase shifts in the 8224 at the high operating
frequency. The 24.8832 MHz clrystal frequency gets divided by 9 to produce a 361.69 ns clock period.
The buffered TTL phase 2 outlPut clocks the PUSART and the baud rate generator. 361.69 ns is thesystem clock period for the microprocessor.

The sync signal from the 8080 combines with an internal clock phase to produce the Status Strobe(STSTB) during the last ninth of the first state of t::ach machine cycle. STSTB latches the status byte
into the 8228 system controller.
The Ready input is not used in the VT100. It is an asynchronous input that gets synchronized to themachine cycles in the 8224. The: synchronized signall can cause the microprocessor to enter a wait state
during a memory access to wait for slow memory to respond. Memory used in the VT100 matches theprocessor speed so Ready is not used.
The Reset input is a Schmidt trigger. Its input is the +5 volt supply delayed by an RC circuit with adiode bypass for fast discharg(~. The Reset input is held low until well after all power supplies havesettled. When the capacitor voltage reaches the Schmidt threshold, reset is released and the microprocessor begins operation at memory location 0 (the start of the firmware ROM). The inverted andnoninverted reset signals clear other portions of the terminal controller.
4.2.4 Bus Timing
The bus timing diagram in Figure 4-2-3 illustrates the basic time relations between the address, data,and control lines in the microproc~~ssor system. The figure distinguishes between write and read cycles,with the exception of the three top lines. These show the constants of the system: the two clock phasesfrom which all timing is derivc!d, and the address bus, that always provides the current address for
either kind of cycle early in the cycle. Numbers on the diagram represent specified minimum/maximum nanoseconds between signals for normal operation.

Starting with the write cycle, nott:: that the status strobe signal (STSTB L) shown in the read section
occurs at the same point in the write cycle. Therefore, the status strobe latches the status byte into the8228 during the first clock cycle. The 8228 delivers the decoded Memory Write L or I/O Write L(MEMW or lOW) signals in the third clock cycle when data to be written is stable. The 8080 Data Bus,DB Bus, and DO Bus graphs show the propagation delays between the three buses. The 8080 bus is theoutput pins on the chip. The DB bus is the output of the buffered 8228 bidirectional bus, and the DO
bus is the unidirectional buffered output-only bus.
In the read cycle, the Memory Re:ad L signal (along with I/O Read L and Interrupt Acknowledge L:
MEMR, lOR, INTA) starts early to enable the chip selects and allow the data buses to stabilize. Data
Bus In (DBIN) goes high before data settles but does not latch data into the 8080 until its falling edge,
when data is settled. The two bus graphs show the assertion of stable data and also show the delay
through the bidirectional bus buffer to the 8080 data bus.
4.2.5 Microprocessor Memory
The basic terminal controller contains 8192 bytes (SK) of program ROM and 3072 bytes (3K) of static
RAM. (One byte = eight bits.) The original board utilizes four 2K X 8· ROM ICs; later versions may
use a single 8K X 8 ROM. The RAM is six 1K x: 4 ICs arranged in pairs. The microprocessor canaddress up to 64K memory loc:ations. Some of these locations are reserved for future expansion. The
memory map of Figure 4-2-4 shows the portions of addressable space that are reserved and also thoseareas that are available for new applications.

4-13

TIMES IN
NANOSECONDS
MIN/MAX

T2

T3

TX

PHASE cp1

PHASE cp2
ADDRESS

WR

w

...J
u MEMW.IOW
ru~ 8080 DATAa:3:
DB BUS~IDO BUS~STSTB

w DBIN...JUru MEMR. lOR0«w INTAa:8080 BUS
DB BUSMINIMUM SYSTEM REQUIREMENTDATA CAN BE PRESENT MUCH LONGER
MA·4303

Figure 4-2-3 Microprocessor Bus Timing

KILO
BYTES

DESCRIPTIONPHYSICALLOCATION

8K X 8BASIC ROM

BVB

3K X 8SCREEN AND
SCRATCH RAM

BVB

1K X 8AVO SCREEN RAM

AVO

4K X 4

A TTR I BUTE RAM

AVO

16K X 8UNASSIGNED

2K X 82K X 82K X 82K X 8PROGRAM MEMORYEXPANSION (USE
2K X 8 ROM/EPROM)

AVO

8K X 8PROGRAM MEMORYEXPANSION (USE
8K X 8 ROM)AVO

16K X 8UNASSIGNEDADDRESS
(HEX)

00000

I
1 FFF
8
2000

I
2BFF
11
2COO
2FFF
12
3000

I
3FFF
16
4000

I
I
7FFF
32
8000

I
I
9FFF
40
AOOO

I
I
I
BFFF
48
COOO

I
FFFF
64

MA-4270

Figure 4-2-4 Memory Map

4-15

4.2.5.1 Memory Map - The basic terminal conltroller board contains 8K of program ROM and 3Kof screen and scratch RAM. These account for the locations from OOOOH to 2BFFH in memory. The
advanced video option adds another 1 kilobyte of RAM (2COOH to 2FFFH) to increase the number ofcharacters that can be displayed. The AVO also(~ontains additional memory for character attributes.
This memory is only 4 bits wide, but to address (~ach location in correspondence with each of the 4K
characters, it uses another 4K of addresses from 3000H to 3FFFH.
The next 16K locations (4000H to 7FFFH) are unassigned. However, 4000H to 4FFFH can be addressed by the video processor using the DMA address counters so 4000H to 4FFFH could be used for
additional screen RAM with 5000H to 5FFFH as associated attribute storage.
Above 7FFFH is an 8K area intended for additions or changes to the program ROM in 2K segments
and above that is an area intended for the sam(~ purpose but in one 8K segment. The top 16K are
unassigned.
4.2.5.2 l\1emory Devices - Each ROM has three ANDed chip select inputs that are mask-programmed to be either active-high or active-low, eliminating the need for external inverters. The programming provides 1 of 4 decoding of the two addrc~ss lines A 11 and A 12. The third chip select line iscommon to all four ROMs. In later VT100sjumpers W2 and W3 can be used to select either a high or
low assertion for this single chip select to allow for 64K ROMs that do not have a programmable chip
select. Table 4-2-1 shows the addressing of the ROMs.
4.2.5.3 ROM Decoding - The program ROM is enabled when the top half of memory decoder E31 isenabled and the correct address space is request'ed by the microprocessor. MEM RD or MEM WR
from the 8228, in the absence of MEM DISABLE, enables the decoder. The ROM is in ,addresses OH
to IFFFH, so AI3 (the 8K bit) is not asserted during ROM reads. Bit A12 is low or high for 0-4K or
4-8K sections of ROM. The decoded outputs from both states are ORed to provide one of the selectsignals for the ROM. Then bits All and AI2 at two of the chip select lines enable the outputs in one of
the 2K segments. The low II bits address one of the 2K bytes in the enabled ROM. If the program is in
one 8K ROM, A 11 and A 12 are used as regular address lines; only one chip' select line enables its
outputs.
4.2.5.4 RAM Decoding - If A13 is asserted, tht~ memory space between 2000H and 3FFFH is being
addressed. The ROM outputs are disabled and the decoded output from the top half of the decoder
enables the bottom half. Now bits AIO and All are decoded to select IK segments of the screen RAM.
The IK X 4 RAMs are paralleled in pairs to make each location 8 bits wide. There is 31<. on the basic
video board. The fourth 1K is located on the AVO; its addressing is decoded separately.
4.2.5.5 Memory Disable - Memory Disable turns off all memory on the terminal controller board. It
is used by options that plug into the advanced video option connector:
1.

To replace (overlay) existing memory,

2.

To disable the terminal controller m(~mory when using memory above 4000H (since theterminal controller does not decode A 14, A 15).

The advanced video option can contain overlaying program memory. This is a set of address locations
that the AVO can be jumper-programmed to decode and provide data for. Since the main memory
may also be decoding the same location, the AVO must assert MEM DISABLE to disable the main
memory (ROM and RAM) so that only one data byte is asserted on the bus.

4-16

4.2.6 I/O Decoding
The I/O address space is divided into two regions: one, containing the 8251 PUSART, has address bit
AOlalways low; the other region contains all other I/O devices and has bit AOI always high. The list of
I/O addresses in Table 4-2-2 illustrates this by the presence of hex 2 in, the low half of each nonPUSART address byte.
4.2.6.1 PUSART Read and \Vrit1e - When bit AOI is low, the PUSART is enabled. The I/O RD andWR signals from the 8228 control the read or write operation. Address bit AOO selects either thecommand or data register for the I/O operation.
4.2.6.2 I/O Read and Write - When bit AOI is high, the PUSART is disabled. Bit AOI high is one oftwo signals required to enable the I/O write decoder (E27). I/O WR is the other signal. Address bits
A05, A06, and A07 select one of the seven writable I/O devices. These are the baud rate generator, thebrightness control D/ A latch, the NVR latch, the keyboard UART transmit buffer, the DCOtt andDCOl2 video processor chips, and the graphics processor data port.

Table 4-2-1 ROM Chip Select Addressing
Address,Line 11Address:
Line 12

Chip
Select 2

Chip
Select 3

0
I
0
I

0
0
I
I

Active Low
Active High
Active Low
Active High

Active Low
Active Low
Active High
Active High

Table 4-2-2 List of lIex I/O Addresses
READ OR ~NR]TEOOH
PUSAR T data bus
01 H
PUSAR T command port
WRITE ONLY (Decoded with I/O WR L)
02H
Baud rate generator
42H
Brightness D/A latch
62H
NVR latch
Keyboard UART data input
82H
A2H
Video processor DCOl2
C2H
Video processor DCOlt
E2H
Graphics port
READ ONLY (Decoded with I/O RD L)
Modem buffer
22H
42H
Flags buffer
Keyboard UART data output
82H

4-17

ROM
SelectedI
2
3
4

Only three I/O devices are readable so their addresses were chosen to allow read decoding directlyfrom the three address lines. When the 8228 asserts I/O RD, I/O WR deasserts and decoder E27 isdisabled. I/O RD enables the gates in E34 to allow reading of the keyboard UART receive buffer, theflag buffer, or the modem control signal buffer, d,epending on which address bit is asserted.
4.2.7 Interrupt Vector
When any of the three interrupting devices (communication receiver, vertical frequency, or keyboard)
sets Interrupt Request (INTR H) through gate E23, the current instruction is completed and then the
microprocessor sets its Interrupt Acknowledge (lNT A) status bit and performs an instruction fetch.
The address requested in the fetch is the contents of th~ program counter. Its value is ignored in theinterrupt process, but it is not incremented, as it would be in a normal fetch cycle. The INTA bit isdecoded from the status word in the 8228 system controller; it enables the tristate inte~rupt vector
buffer (E41) which then presents a restart (RST) instruction to the data bus. Main memQry does notconflict with the vector buffer because the 8228, in decoding the interrupt status word, does not produce the memory read or write command bits nee:ded for address decoding. (Refer to Table 4-2-3.)

Table 4-2-3

OOH
08H
10H
18H
20H
28B
30B
38H

][nterrupt Addresses

Power-up (Not hardware driven)
Keyboard
Receiver
Receiver and keyboard
Vertical frequency
Vertical frequency and keyboard
Vertical frequency and receiver
Vertical frequency, receiver and keyboard

The RST instruction disables further interrupts, pushes the current program counter contents (thelocation of the next instruction in the interrupted program) onto the stack and decrememts the stack
pointer. Then the program counter is loaded with the bits in the address field of the RST instruction.
This field is produced by the interrupt signals of the interrupting devices. The signals are passed onto
the data bus as bits in the address field (bits 3, 4, and 5). The rest of the instruction is hard-wired
through diodes that supply high level to the other data bits during INT A and that are reverse-biased toisolate these data bus lines when the vector buffer is inactive.
The RST address field, when mapped into the sanle bit locations in the program counter, defines a setof eight 8-byte long memory spaces at the beginning of the memory. The first address, 0, is the starting
point for the terminal controller program and is not used for interrupts. The program is normally
started by a hardware reset signal that sets the program counter to O. It can also be started by an escapesequence that the host can send to force the program to jump to zero, or in SET-UP mode the RESET
key can be pressed. The other seven memory spaces, starting at 8, 16, etc., contain jumps to places in aninterrupt handling routine that can mediate requests for service from any of the seven combinations ofinterrupting devices.
At the end of the interrupt service routine, the stack is popped, interrupts are enabled, and the interrupted program continues.
Early VT100s can disable the receiver interrupt by programming D4 in the NVR latch. However, thisis never used by the VT100. Later VT100s instead, have the ability to add a Communications Transmit
Buffer Empty interrupt by adding W6. The 8080 would then have to distinguish transmit and receive
interrupts by testing the transmit flag on the flag buffer. This provision is not used on the VT100.
4-18

4.2.8 Power-Up and Self-Test
When power is first applied to the terminal controller board, the reset circuit in the 8224 holds the
microprocessor in a halt state. Wilthin a second, after the voltages stabilize in the power supply, the RC
network at the reset input allows tlhe input voltage to rise to the switching threshold of a Schmitt
trigger. Then the reset is released wit.h the 8080 program counter set to O. The low 64 bytes of program
are reserved for the eight interrupt service routines which can be addressed by the restart instruction(see previous section). The low 8 byt(~s start the power·-up routine by disabling the interrupts, setting up
the stack pointer, and then going immediately into the self-test routines.
Assuming there are no hard logic failures present on the board, the microprocessor attempts to perform a confidence check of the controller. Some failures are considered fatal and will stop the machine;other failures limit its operation but win not prevent its use. Fatal failures are indicated by the LEOs
on the keyboard, while nonfatal errors are indicated as a single character on the screen.
The microprocessor first sends tlhe number of the first ROM to the LEOs on the keyboard. Then it
calculates a checksum of the contents of the first 2K of program. (Since firmware is treated as four 2K
blocks of code, later VT100s with one 8K X 8 ROM chip operate the same way but any block failure
requires replacement of the one l~hilP.) At the time of ROM preparation, a special byte was included
within each block to make the c:hecksum equal zero if there are no errors. If there is an error, themicroprocessor halts and the LEOs indicate the current ROM at the time of failure. Otherwise, theLEOs are incremented to show t.he next ROM number and the process continues.
The next part of the test is writing and reading the RAM. Every bit in the RAM is written with a 0 anda 1 and read each time. If the advanced video option is present (as indicated by the Option Presentflag), its RAM is tested immediately after the main RAM. In the main RAM a failure halts themachine. Failure of a bit in the advanced video option RAM is indicated on the screen and the processcontinues. In another termnnal, lik(~ the VT52, one bad bit in the screen RAM means there is one
location that may not contain th(~ right character. This can be annoying to the user but does not affectthe rest of the screen. If one bit is bad in a VT100 line address, the entire screen below the affected line
can become garbled and unusablc~. A bad bit in the scratch area could disable communication with thehost. So this confidence check ensures that any RA1V1 failure is detected immediately.
The next test checks the nonvola1tile RAM by reading it. A checksum is calculated and compared withthe value stored the last time the 'NVR was written during a save. A bad NVR does not stop the VT 100
because the SET-UP values can always be reestablished from the keyboard at power-up. The NVR testis also the normal time when the terminal gets its auto SET-UP readings from the NVR. Time is saved
because reading the NVR is the most time-consuming part of both the self-test and the auto SET-UP.
If the NVR fails, the bell sounds several times to inform the operator, and then default settings stored
in the ROM allow the terminal to work. The operator must then manually reset any parameters thatdiffer from the default values.
To test the keyboard, the microprocessor commands the keyboard to scan once, lights all the LEOs,
for about a half second, and sounds the bell. It waits for the scan to finish and then looks for the last
key address 7FH at the keyboard UART. If the test fails, the terminal remains on-line, making it areceive-only (RO) terminal.
This is the end of testing.
Once the NVR data is in the scratch area in RAM, the microprocessor uses that data to program the
hardware. All operating parameters that were last saved (see NVR) are recalled and the terminal is set
to match them. Finally the cursor appears at column 1, line 1, and the microprocessor enters its
background routine, ready for operation.

4-19

Refer to the Communication chapter for a discussion of Data and EIA tests, andto the Service chapter
for a listing of the Self-Test Results tables.

4.3 COMMUNICATION TRANSCEIVER
The VT100 interfaces to its host system through a serial data port. An 8251 programmable universal
synchronous or asynchronous receiver-transmitter (PUSART), illustrated in Figure 4-3-1, drives theport. This device translates between parallel and serial formats, adding or removing start and stop bits
as required. The data exchanged are ASCII characters; parity may be enabled or disabled; the selectably odd or even parity bit will take the most significant bit position.
4.3.1 PUSART Principles
Most data in computer systems is exchanged as groups of bits. The bit is the smallest unit of information, but to be useful, most information must be encoded into groups of bits in standardized patterns.
The VT100 operates with the standard patterns described by the American Standard Code for Information Interchange (ASCII). ASCII defines the: use of 7 bits, specifying 128 different patterns that
correspond to almost all of the letters, numerals, and punctuation marks used in English and several
other languages. An eighth bit is reserved for an expanded standard.
The eight ASCII bits can be exchanged most rapidly over eight separate wires (in parallel), but this isvery expensive to do anywhere outside the computer cabinet. Instead; the bits are rearranged to passover a single wire one after the other. This is called serial transmission. The circuitry' for converting
parallel to serial and back again is complex but suited to large scale integration (LSI). The savings
allowed by the use of serial lines has encouraged the development of very sophisticated but inexpensive
conversion devices in LSI. At the same time, a variety of data exchange protocols has been developed.
The result is an LSI device that can operate with virtually any protocol depending on the programmingthat it receives from its local processor. This is the PUSART. The VT100 uses one such device (Intel's
8251A) only in asynchronous mode, plus two simpler, wire-programmed asynchronous-only UAR TS
for the keyboard interface.
Synchronous and asynchronous describe the manner in which separate groups of bits (called bytes) areexchanged. In order for a receiver to know which bit is arriving at any given time, it must know theformat of the byte and which bit of the byte is the first one. In synchronous mode, one or more special
bytes are transmitted which the interface recognizes as synchronizing characters. Then all data bytes
are transmitted together in rapid and precisely timed succes'sion. Both the transmitter and receivermust have the same externally-supplied clock.
The VT100 only communicates asynchronously. Asynchronous transmission uses bits added to eachdata byte to provide synchronization between the transmitter and receiver. Because any two dataexchanges can originate at random times with dock frequencies as much as 1 percent different, theprotocol assumes random arrival of any byte of elata, and relies on the synchronization information in
the byte. This synchronization consists of extra bits appended to the beginning and end of the byte.
One bit at each end (one start bit and one stop bit) is the most common configuration. The start bit andstop bit are defined to have specific states, and in particular, the start bit has a different state from theidling condition on the line. The interface looks for the transition from the idling state (called mark) to
the start bit state (called space) and then clocks in the byte. The stop bit is the mark state, as is theidling line, so an immediately following byte has the correct mark to space transition to provide
synchronization. The data bits, which occur between a start and a stop bit, are represented by a markfor a one and a space for a zero: Figure 4-3-2 shows the asynchronous data format.

4-20

TRANSMIT
BUFFER

D.ATA
BUS
BUFFERPARALLELTOSERIAL

TxD

RESET
CLK
TRANSMITCONTROL

C/DRDWR

CS--RECEIVE
BUFFER

DSR
DTR

MODEM
CONTROLCTSSERIAL TO
PARALLEL

RTS

RxD

RxRDY
RECEIVECONTROLSYNDET/
BRKDET

INTERNAL
DATA BUS

PIN NAME

F' IN FUNCTION

D7 Do
C/O

[ )AT)\ BUS (8 BITS)

RxC,-----

C:ONTROL OR DATA IS TO BE WRITTEN OR READ
FlEAD DATA COMMAND

AD
WR
CS
CLK
RESET
TxC
TxD
RxC
RxD
RxRDY
TxRDY
DSR
DTR
SYNDET/
BRKDETRTS
CTS
TxEMPTY\ VRITE DATA OR CONTROL COMMAND( ~HIP SELECT( ~LOCK PULSE (TTL)
f~ESETT RAI'JSMITTER CLOCKT RAI'JSMITTER DATA
I=!ECIEIVER CLOCK
I=!ECIEIVER DATA
I=!ECEIVER READY (HAS CHARACTER FOR CPU)T RANSMITTER READY (READY FOR CHAR. FROM CPU)I)ATA SET READYI)ATA TERMINAL READY,) YNC DETECT/BREAK DETECT
I~ EQUEST TO SEND DATA
CLEAR TO SEND DATAT RANSMITTER EMPTY
c~

MA-4302

Figure 4-3~1 8251A PUSART Block Diagram
4-21

TxD

MARKING

~-(

START
BIT

ST~

PARITYBITDATA BITS

--(

BITS

DOES NOT APPEAR
ON THE DATA BUS

D D ------Dx

RECEIVER INPUT

RxD

GENERATEDBY 8251A

Dx

Do Dl

TRANSMITIER OUTPUT.~o'~~---'---r----t'
START
BIT

ST~P

DA-r
TA BITS------------~-------PARITY· .
BITBITS~-------------------~"-----v------:--'PROGRAMMEDCHARACTER.LEI\JGTH.
fRANSMISSION FORMATSERIAL DATA INPUT (RxD)
)

'I \

( (

START
BIT

DATA CHARACTER) }PARITY
BIT

.~

ST
BIJ

I l

CPU BYTE (7-8 BITS CHAR)*\~

IDAT~;RACTER I*NOTE: IF CHARACTER L.ENGTH IS DEFINED AS 7
BITS THE UNUSED BITS ARE SET TO "ZERO"
MA-4284

Figure 4-3-2 Asynchronous Data Format

4-22

4.3.2 PUSART Operation
The complete functional definit.ion of the PUSART is programmed by the system's software. A set ofcontrol words must be sent out by the microprocessor to initialize the PUSART to support the desiredcommunications format. Once programmed, the PUSART is rea9Y to perform its communication
functions. The Transmitter Ready (TxRDY) output is raised high to signal the microprocessor that the
PUSART is ready to receive a data character from the"'microprocessor. TxRDY is reset automaticallywhen the microprocessor writes a character into' the PUSART.
Upon receiving an entire character from the serial input, the Receiver Ready (RxRDY) output israised high to signal the mi'croprocessor that th~ PUSART has a complete character ready to be read.
RxRDY is reset automatically when the data 'is read. The PUSART cannot begin transmission until
the Transmitter Enable (Tx'Enable) bit is set in t,he command instruction and it has received a Clear To
Send (CTS) input. The Transmit Data (TxD) output will be held in the marking state when the line isidle.
For a more detailed description of the PUSART's operation, refer to Intel's 8251A specification.

4.3.3 PUSART Addressing
I/O read, write and enable addressing and commands are discussed in the microprocessor I/O decoding section.
4.3.4 PUSART Programming
The microprocessor can program the PUSAR T to opeate with several standards and parameters.
Many of these parameters are predetermined by the VT100 specifications. Character length, number ofstop bits, parity enabling and format, baud rate'multiplication factor, and asynchronous operation are
all programmed in at power-up through the mode iinstruction (Figure 4-3-3) from the stored SET-UP
information. Address bit AOO selects either the command register in the PUSART for writing the byte
containing this information, or the transmit buffer for normal operation. A different programmabledevice, discussed later, provides the selected baud rate from SET-UP data.
After the PUSART mode of op,eration is selected by writing a mode instruction, PUSA R T operation iscontrolled by writing a command instruction' (Figure 4-3-4). Once the mode instruction has been
written into the PUSART~. all further "control writes" (C/D= I) load a command instruction. A reset
operation (internal or external) returns the PUSART to the mode instruction format.
The status of the PUSART dm be read by the microprocessor by performing a read with C/D= 1.
Some of the bits in the status word (Figure 4-3-5) have the same meaning as output pins on the
PUSART chip. The status word may be a maximum of 28 clock periods behind the event causing the
update. This clock, from the microprocessor's phase 2 TTL signal, is the clock for the internal operation of the PUSART, which is a dynamic device requiring internal refresh at regular intervals.

4.3.5 Data Transmission
When the microprocessor wants to send a' character out, it checks the XM IT flag at the flag buffer. If
this flag is high the transmit buffer is empty and can accept data. If the flag is low, the microprocessor
continues through its background program and returns to check again later.
When the flag is high, the microprocessor loads a data byte into the transmit buffer. The PUSART is
double-buffered; this means that there is a second data buffer inside that is automatically loaded fromthe first buffer. The second buffer's contents get start and stop bits and parity (if enabled) appended
and are shifted out by the continuously running clock. Immediately after the second buffer is loaded,
the transmit flag goes high and the first (transmit) buffer can be loaded again.

4-23

S2

S,

EP PEN

L2

L,

B2

13,

L

0

1

0

1

-

0

0

1

1

SYNC
MODE

(lX)

(16X)

(64X)

BAUD RATE FACTOR

a

CHARACTER LENGTH

.

.

0

,

0

0

,

5

6
BITS

7

8

BITS

BITS

BITS

1

0

1

PARITY ENABLE

o =DISABLE---.., = ENABLE---. ~V!~::NRIT~ ~E:~ATION/CHECKNUMBER OF STOP BITS

....

a

0

,

0

,

0

0

1

1

INVALID

1
BIT

1%
BITS

2
BITS

.(ONLY EFFECTS Tx; Rx NEVER
REQUIRES MORE THAN ONE
STOP BIT)
MA-4283

Figure 4-3-3 lMode Instruction

4-24

D,
EH

IR

RTS

ER

SBRK

RxE

DTR

TxEN

~

..

TRANSMIT ENABLE
1 = ENABLE
0= DISABLEDATA TERMINAL READYp"HIGH" WILL FORCE DTROUTPUT TO ZERO.

i...---.

..

RECEIVE ENABLE
1 = ENABLE
0= DISABLE

SEND BREAK.. CHARACTER-....

1 = FORCES TxD "LOW"
0= NORMAL OPERATION

..
p

...

i..--.

ERROR RESET
1 = RESET ERROR FLAGSPE, OE, FE

REQUEST TO SEND"HIGH" WILL FORCE RTSOUTPUT TO ZERO

INTERNAL RESET: "HIGH"~=-

RETURNS 8251 A TO MODE
INSTRUCTION FORMATENTER HUNT MODE*
1 = ENABLE SEARCH FORSYNC CHARACTERS* (HAS NO EFFECT
IN ASYNC MODE)

NOTE: ERROR RESET MUST BE PERFORMED WHENEVER RxENABLE AND
ENTER HUNT ARE PROGRAMMED.
COMMAND INSTRUCTION FORMAT
MA·4276

Figure 4-3-4 Command Instruction

4-25

SYNDETOE

TxEMPTY
TxRDY
FtxRDY

DSR

FE

I

I

I I I I I

0 5

0 4

07

0 6

PE

o3

O2

0 1

DO

.-

I

NOTE 1-

SAME DEFINITIONS AS I/O PINS..

PARITY ERRORTHE PE FLAG IS SET WHEN A PARITYERROR IS DETECTED. IT IS RESET BY
THE ER BIT OF THE COMMAND
INSTRUCTION. PE DOES NOT INHIBITOPERATION OF THE 8251 A.

OVERRUN ERROR
TH E OE FLAG IS SET WH EN TH E CPU
DOES NOT READ A CHARACTER BEFORE
THE NEXT ONE BECOMES AVAILABLE.
L -_ _ _..... IT IS RESET BY THE ER BIT OF THE
COMMAND INSTRUCTION. OE DOESNOT INHIBIT OPERATION OF THE 8251 A;
HOWEVER THE PREVIOUSLY OVERRUNCHARACTER IS LOSTFFIAMING ERROR (ASYNC ONLY)
THE FE FLAG IS SET WHEN A VALID
STOP BIT IS NOT DETECTED AT THE' - - - - - - - - 1 -..... END OF EVERY CHARACTER. IT IS RESETBY THE ER BIT OF THE COMMAND
INSTRUCTION. FE DOES NOT INHIBITTHE OPERATION OF THE 8251 A.

'--_ _ _ _ _ _ _ _ _--1;....

DATA SET READY INDICATESTHAT THE DSR IS AT A ZERO LEVEL.

STATUS BYTE FORMATNOTE 1:TxRDY STATUS BIT HAS DIFFERENT MEANINGS FROM THE
TxRDY OUTPUT PIN. THE FORMER IS NOT CONDITIONED·BY CTS AND TxEN; THE U\TTER IS CONDITIONED BY BOTH
CTS AND TxEN.
i.e. TxRDY STATUS BIT = DB BUFFER EMPTY
TxRDY PIN OUT
DB BUFFER EMPTY. (CTS-D) • (TxEN-1)=

MA-4275

Figure 4-3-5 Status Byte Format

4-26

4.3.6 Data Reception
Any data that appears on the re:ceive data line is shifted into the internal receive shifting buffer. Whena full character of bits has arriv(!d, the start, stop, and parity bits are stripped. Parity is checked, and if
bad, the parity error flag in the stat.us word is set. Data is transferred to the receive data buffer, and thereceive flag is set. This flag requests an interrupt from the microprocesor. The microprocessor then has
the amount of time it takes the next character to shift in to read the first character. After reading thecharacter, the microprocessor reads the status byte to check the integrity of the data. If the microprocessor does not read the recdv~~ data buffer in time, the second character writes over the first one
which is lost. Then, an overrun (~rror is reported in the status word. The checkerboard character
appears for all errors.
4.3.7 Baud Rate Generator
PUSART clocks are derived from the microprocessor clock. The microprocessor clock crystal was
selected to provide a frequency within the limits of the 8080 which could be readily divided to provide
standard baud rates. The division occurs in programmable baud rate generator E60. This device contains two independent counters to allow different receive and transmit (split) baud rates. Each counterhas 4 input lines to select 1 of 16 rates. Thus, a I-byte load into the device can set up both send andreceive rates. The baud rate generator's input register is written into as a device in the I/0 address
space.
E60 is factory mask-programml~d with the division ratios required to get standard baud rates from thecrystal frequency. The 4-bit input is an address for a ROM location containing the SET-UP information for each rate. Table 4-3-1 lists the baud rate generator divisors.
E60 was originally designed to operate with a crystal as a self-contained crystal controlled oscillator
and divider. The oscillator is located elsewhere, so the oscillator inputs EXTI and EXT2 receive themicroprocessor clock driven out of phase by two inverters in E38.
TnblE~ 4-3-1 Baud RatE~ Generator Divisors(Input frequency:: 2.76480 MHz)
X16
Baud Rate

Divisor

Output

50
75
110
134.5
150
200
300
600
1200
1800
2000
2400
3600
4800
9600
19200

3456
2304
1571
1285
1152
864
576
288
144
96
86
72
48
36
18
9

800
1200
1760*
2152 *
2400
3200
4000
9600
19200
28800
32000 *
38400
57600
76800
153600307200

Freq
(Hz)
Error

-0.006%-0.019%+0.465%*Output frequency shown is nominal value. Include percentage error to get actual frequency.
4-27

4.3.8 Serial Interface
The serial transmit and receive interfaces are ICs that convert between TTL signals and EIA RS-232-C
unbalanced bipolar signals. The electrical specifiications and connector pinouts are described in Chapter 3, Installation.
4.3.9 Modem Control
Certain pins on the PUSART are labeled with standard modem control designations. these pins arereadable [Data Set Ready (DSR)] or writable [Data Terminal Ready (DTR)] and [Request to Send
(RTS)] as buffered bits.in the PUSART's status and control bytes. Other signals from the modem passthrough EIA level translators with Schmi tt trigger inputs to a tristate buffer which, when enabled by
the MODEM RD command, presents them to the data bus. Another signal [Speed Select (SPDS)] is
written from the data bus into the NVR latch which is a convenient extra latch position. None of thesesignals are used to support modem control in the basic VT100. They are always programmed at powerup to allow normal full duplex operation with some modems when a standard EIA cable is installed
between the modem and the VT100. See Chapte:r 3 for more interface information.
4.3.10 Data Types
Three kinds of data can be exchanged between the VT100 and the host: control characters, control
functions, and displayable characters.
Control characters are any ASCII characters in the range 0 - 1FH. They include carriage return andline feed.
Control functions start with a control character (escape) and contain additional characters which extend the range of special actions that the terminal can perform. Cursor home is such an action. Some
control functions can contain numeric parametem to modify the special actions. Direct cursor addressing is a typical example. Appendix A of this manual describes the programming and use of the control
characters and functions in detail.
Displayable characters are those ASCII codes that are stored in the screen RAM, causing a characterto be displayed on the screen.
4.3.11 SILO
The microprocessor checks each character as it comes in from the PUSART. Only four characters
cause any special action at this time. Control codes XON and XOFF (see below) are immediately processed while NULL and DELETE are discarded. Everything else gets put in a 64 character (128 characters in later model terminals) first-in/first-out space in'the scratch area of RAM called the SILO.
The SILO processor routine maintains this area by updating two locations called SILIN and SILOUT.
These point to the current entry and exit points in 11 loop of memory locations. The farther apart they
are, the more characters are in the SILO. The addresses of the two points are subtracted from eachother to determine the filling of the SILO. The subtraction is performed in modulo 64 (or 128) arithmetic to accommodate the rotation of the locations.
The SILO is necessary because when the microprocessor reads a character, it acts on that charactercompletely before taking another one. For example, a line feed character causes the processing neededto accomplish a scroll. The processing time often exceeds the time between characters at the port. To
save the characters that might arrive and get lost during a special action, the microprocessor responds
to the received data interrupt by quickly lnoving the data to the SILO. Only the examination describedabove gets performed. After the current action is finished, the microprocessor gets the longest waiting
character out of the SILO and range checks it. If it is less than 20H, it is a control character and themicroprocessor processes it. If it is 20H or above, the microprocessor puts it in the next character position in the screen RAM.

4-28

4.3.12

XON/XOFFXON and XOFF are two control codes that the terminal and host may send to each other to control thepace of data transmission. The host usually has a buffer space similar in function to the VT 1OO's SI LO.
If either device has a large: processing load at the same time that a lot of data is being received, thebuffer or SI LO can fill up. The receiving device l11onitors its buffer and sends Transmit Off (XOFF)
when the buffer contains a predt:termined number of characters. On the VT100 this value is 32 characters. (A second XOFF is sent at 112 characters in late model VT100s.) The sending device should stoptransmitting until it receives Transmit On (XON). \"fhen the receiving device empties its buffer to another predetermined number of characters (16 characters on the VT100), it sends XON.
The NO SCROLL key on the keyboard enables and disables SILO fetching. If data continues to arrive,
the SILO management routine sends XOFF or XON as required. The microprocessor keeps track of
the current state and sends the: opposite command the next time the key is pressed. CTRL-S andCTRL-Q send XOFF and X01\[ directly. Coordinat.ion of various causes of XON and XOFF is discussed in Appendix A.
Because of the serial interface, several character times may elapse before the transmitter acts on XOFF
and its last character passes through the receiver. This partly determines how full the buffer can bebefore XOFF must be sent.. The other determinant is the worst case condition in split speed operation.
If the terminal transmits at a low speed and receives at a high speed, the interface delay can allow
several characters to arrive before XOFF stops their transmission. A detailed discussion of this problem
is in Appendix A.

4.3.13Control Function Parser

A parser is a routine that examines. a sequence of characters. It then starts processes and extracts parameters based on the contents of the sequence. The term comes from the grammarian's practice ofparsing (separating) a sentence into its component parts: subject, verb, object. The meanings of many
sequences are being standardized throughout the data processing industry through American Standards
Institute (ANSI) and International Organization of Standardization (ISO) committees. The VT100
employs a subset of several of thes~;! standards, plus it has several private sequences to allow it to perform certain DEC-specific functions like behaving as a VTS2.
A character in the range below 20B is always the starting flag for the parsing process. Some functions
have only the first character for their sequence; line feed (OAB) is an example. After the function is
performed, the next character is taken from the SILO. If it is not in the control range, it is put on thescreen. Escape (1 BH) is the flag for a longer sequence. After escape, characters are taken from the
SILO and range-checked as intermediate (20H to 2FH) or final (30H to 7EH) until a final character
appears. The sequence is interpreted and the appropriate function performed. Then the next characteris taken from the SILO and displayed if not in the control range. If a sequence is not supported by the
VT 100, it is parsed and then ignored.
Detailed descriptions of the functions are in the VT100 User Guide and in Appendix A of this manual.

4.3.14Local

In local mode, keyboard output bypasses the communication transmitter and receiver and SILO and is
acted on directly. The Data Terminal Ready signal (DTR) at the EIA interface is unasserted in local.

4.3.15

Standard Terminal PortThe standard terminal port. (STP) is a printed circuit board edge connector on the basic video boardthat contains twenty pairs of contacts. When no board is plugged into the connector, the pairs of contacts meet. All EIA data and rnodem control signals plus the two baud clocks pass through this connector. Future options may utilize the signals present at this connector. For a complete discussion of thedetails of the STP, see the STP Option Interface Guide, Chapter 7.

4-29

4.3.16 Communication Sell-Test
The VT100 can test its communication circuits, but because the operator must temporarily plug in a
specially wired loopback connector, the test is not performed automatically. Refer to the Service
chapter for instructions. There are two tests. One is a data test for either 20 rnA current loop or EIA
interfaces. This test transmits a pattern of data out the transmit line and examines the data as it returns
through the receive line. Each bit of the data bus is tested with the eight test characters: 01 H, 02H,
04H, 08H, 10H, 20H, 40H, 80H. This group of eight passes through the circuit repeatedly while themicroprocessor changes the baud rate after each pass.
The second test, for EIA only, tests the modem control lines to ensure that they can be controlled.
Some terminai controller modules have an etch revision at E39 that does not permit EIA testing. These
modules can be recognized by the presence of extra wires attached at E39.
Table 4-3-2 lists the test connector wiring.
Table 4-3-2 Loopbslck Test Connectors
From

To

EIA:

Pin 2
Pin4
Pin 20
Pin 19Pins 3 and 15
Pins 5 and 8
Pins 6 and 22
Pins 12 and 17

20mA:

Pin 1
Pin 2
Pin 5

Pin 3
Pin 7
Pin 8

4.4 KEYBOARD
The VT100 keyboard is a typewriter-like array of momentary, normally-open switches. The array ismounted in a small case with a speaker for audio feedback and electronics for interfacing the array tothe terminal. The VT100 keyboard connects to the terminal controller board through a three conductor cable that plugs into the back of the terminal cabinet. The cable carries power, ground, and acomplex bidirectional data and clock signal. The terminal sends the clock signal and a statms word that
controls the LED indictors, the bell, and the keyboard scan process. The keyboard sends the row andcolumn address of each key that is pressed. The terminal's microprocessor then translates that address
into an ASCII character and transmits it serially to the host through a UART or performs internal
actions such as SET-UP and no-scroll. Refer to Section 4.3 for a discussion of UART principles.
This section describes the operation of the keyboard and its interface hardware and software in theterminal.
4.4.1 Keyboard Block Diagram (Figure 4-4-1)
The bidirectional interface separates incoming from outgoing data on the single signal line. Incoming
data from the terminal contains a clock that passes directly to the UART and the address countercircuit. Then the data and clock are integrated. The duty cycle encoded data becomes seri'al data. The
UART deserializes the terminal data and produces an 8-bit parallel output. These bits control the belland LEDs, and start address scanning, depending on which bits were set by the terminal in the keyboard status byte.

4-30

---CLOCKSERIALLINETO
TERMINAL

BIDIRECTIONAL-INTEGRATORBELL
CIRCUIT

INTERFACE'-----r--~

CLOCK

SEFlIAlDATA INUARTCLOCKSERIAL
DA.TA OUTADDRESS
COUNTERSKEYBOARDSWITCHARRAYDATASTROBEKEYDOWN

MA·4861

Figure 4-4-1 Keyboard Block Diagram
The address counters start on command and send row and column addresses to the keyboard switch
array. When an address matches a key that is down, the Key Down signal strobes that address into the
UART. The UART serializes the address and the bidirectional interface sends it to the terminal.
4.4.2 Keyboard UARTs
Information is exchanged betwt,en the terminal and the keyboard in serial form. One start bit, eightdata bits, and one stop bit are transmitted using a clock derived from the horizontal timing circuits inthe terminal. Besides timing the serialization of data in the terminal, the clock is also transmitted to the
keyboard to time its circuits. The terminal data is a status byte that controls the keyboard by commanding key scans and other functions.
The keyboard transmits its data in the same format and with the same clock. Its data are the addressesof whatever keys are down during a scan. The last key address sent has the highest address possible andis always sent to indicate to the microprocessor that the scan is complete.
4.4.3 Keyboard Status Byte
The terminal controls the keyboard! through a status byte that it sends through the interface along withthe keyboard clock. The first six bits of the 8-bit byte (Figure 4-4-2) control the On-Line/Local,
Keyboard Locked, and four user programmable LEOs on the keyboard. Every time the status byte issent, it refreshes the LEDs even if no new action is being taken. The seventh bit is sent only once in a
vertical interval and initiates the scanning process in the keyboard. The eighth bit, if sent only once,
causes the keyboard speaker to click. (Keyclick is defeatable at SET-UP.) If the bit is sent approximately two hundred times in a row, for about a qlLlarter second, it sounds a bell.

4-31

07

I

SPKR.
CLICK

05

06

03

04

~INE/

ON
LOCAL
START
SCAN

02

DO

L~O

LJO
1

KEYBD.
LOCKED

01

3

LED
2

LED

4
MA-4293

Figure 4-4-2 Keyboard Status Byte
The operating clock for the keyboard interface comes from an address line in the video processor(LBA4). This signal has an average period of 7.945 microseconds. Each data byte is transmitted with
one start bit and one stop bit, and each bit lasts 16 clock periods. The total time for each data byte is
160 times 7.945 or 1.27 milliseconds. Each time the Transmit Buffer Empty flag on the terminal's
UART gets set (when the current byte is being transmitted), the microprocessor loads another byte
into the transmit buffer. In this way, the stream of status bytes to the keyboard is continuous.
4.4.4 Key Address Counter
Keyboard addresses are outputs from a counter that correspond to locations in a keyswitch matrix.
The counter can address all locations in the matrix. If a keyswitch is closed, the counter output addressing that location is transmitted. The address (~ounter is a pair of 4-bit binary counters arranged sothat only the top seven bits go to the switch matrix. These outputs also connect directly to the UART
transmit data inputs. The output of the first bit in the counter is a squarewave with a period equal tothe amount of time that each key is sampled during a scan. Key Down L appears at the input to flipflop E6 when the counter reaches the address of a key that is pressed. Half a sample period later, thefirst counter bit clocks the Key Down signal through flip-flop E6. The half period delay allows any
glitches in the address counter to settle before Key Down asserts Data Strobe. Data Strobe loads the
UART transmit buffer with the address count pre:sent at the data input at that moment. That address
count represents the key that was down when Ke:y Down was asserted.
The UART, which is double-buffered, deasserts Transmit Buffer Empty while the transmit (outer)buffer is full. This stops the counter by blocking the clock at gate E4. As soon as the da~a moves into
the inner shifting register, the transmit buffer empties, TBMT is asserted, and the count continues. In
this way, any number of key addresses can be sent to the terminal. The time the scan takes to finish
varies with the number of keys down. On the first address load, when transfer from the transmit buffer
into the shifting register is immediate, the UART reasserts TBMT almost immediately. For loads laterin the scan, the UART deasserts TBMT for a longer period because an address that loads into thetransmit buffer must wait with the counter stopped until the previous transmission is done. Because
the transmission time is 160 counts and the complete address scan takes only 128 counts, there is aminimum wait of 32 counts or about 20 percent of a character transmission time between the scan ofaddress 7FH and the transmission of address 7FH if the first key in the scan was down. (Refer toFigure 4-4-3.)
Because it is hard-wired, the highest address (7FH) always asserts Key Down and gets transmitted,
indicating end of scan to the terminal. The highest bit also clocks flip-flop E3 which clears the countersand stops the count. This is the only way that the scan is terminated. The scan begins again when theterminal sends the Start Scan bit in the status byve to the keyboard. When the data arrives, the UART
asserts its Data Available flag. On the next clock transition, flip-flop E6 passes a short, clock-synchro-4-32

nized Data Available pulse to gate E5, resetting the flag in the process. E5 combines the Data Available pulse with the Start Scan bit if present to clear E3, allowing the count to begin.
After the terminal starts the scan, it waits for the 7FH address and then for a vertical interrupt (asynchronizing signal explained in VIDEO) before it will start the scan again. If there are a lot of keys
down, the scan may take more than one vertical interval to finish. The keyboard ignores further
requests to scan until the ,current scan is complete.

BEST CASE
SCAN: ADDR 1.... "..... 127 COUNTS ........ ADDFt 7FH
TRANS: ADDR 1.... "............ 160 COUNTS ............. ADDR 7FH~~
DELAY BETWEEN SCAN & TRANS
OF ADDR 7FH

WORST CASESCAN:
ADDR 1. ADDR 2 .... NO COUNTS ..... START COUNTS ..... 126 COUNTS ..... ADDR 7FH
TRANS: ADDR 1.. ............. 160COUNTS......... ADDR 2................... 160COUNTS ............. ADDR 7FH

H
DELAY 1 COUNT MORE
THAN BEST CASE

DELAY BETWEEN SCAN &TRANS OF: ADDR 2

MA·4278

Figure 4-4-3 Key Address Transmission Delays
Here is a formula that estimates the delay between the time that the terminal asserts the start scan bit at
its UART and the time that the terminal UART asserts data available upon receiving the final address
7FH. The clock driving the address counter and UART has a period of 7.945 microseconds, there is
the number of addresses to the first closed key to be: counted, and the serial transmission of an address
takes 160 clock periods (16 clocks per bit, 8 data bits 1 start and 1 stop bit).
9160
start scan command word to keyboardmcounts to first key+ n X 160 for n keys down+
160
transmission of7FH
Total X 7.945 = microseconds+

For example, suppose that one: key, #24, is down.

+
+
+

160
start scan command word to keyboard
24
counts160
transmission of key #24 addn~ss
160
transmission of 7FH
504 X 7.945 = 4004 microseconds (4,,0 Jls),-::-------:-~.

4-33

4.4.5 Key Scanning and Address Formation
The keyboard is an array of contact pairs arrang<!d in 16 rows and 8 columns (Figure 4-4-4). One sideof each pair is connected to all the others in its column and each column connects to + 5 volts througha resistor. Each of the eight columns also connects to an input on the eight-to-one multiplexer E 14.
The other side of each contact pair connects to all the others in its row and to an output on one of the
one-to-eight demultiplexers Ell and E13. The seven outputs of the keyboard scan counter control themultiplexer and demultiplexers. The rows are selected by the lower four bits and the columns by theupper three.

A low input to the selected column line on the multiplexer causes a Key Down L signal. If a key ispressed when the row and column address is not on its position, the un selected demUltiplexer line ishigh and there is no change in level across the contacts. If the demultiplexer line is selected, it is low,
and the closed contact pulls the column low through the resistor. Each column is scanned top tobottom as the low four address lines count; then the next column is selected and scanned. The complete
keyboard scan takes about I millisecond when no keys are down.
The last row and column position (address 7FH) is wired to always indicate key down. This value
indicates to the terminal that the scan is ended.
4.4.6 Bidirectional Interface Operation
The terminal sends data and clock to the keyboard; the keyboard sends data only. Transmission is
asynchronous, full duplex, serial, 8-bit data with one start bit and one stop bit over a single signal line.
Four states can exist on the line, representing th,~ two signal states from each end of the line.
Both signals may coexist on the same wire, originate at opposite ends, and simultaneously communicate provided that sensing resistors are put at ea.ch end. The interface works by observing the voltage
variations on its input (across the sensing resistor) while biasing the input in an opposite direction with
its own output signals so that only input variations can cause enough change to exceed the threshold ofdetection.
4.4.6.1 Interface Line - Refer to the keyboard interface schematic, Figure 4-4-5a. If one side of theline is at + 12 volts and the other is at ground, then by Ohm's Law, the center of the two equal resistors
will be at V /2 = 6 volts. If both sides are at 0 or 12, the center will be identically at 0 or 12. Thus thesignal line can either have no current flow but w:lth the junction of the two resistors at either 0 or 12
volts, or the junction can be at 6 volts with current flow to the left or to the right, thereby representing
the four required states.
4.4.6.2 Receiving Side - The receiving side of the keyboard interface separates the incoming signal
from its own output by delivering a sample of its output to the inverting input of a comparator. Refer
back to Figure 4-4-5. This provides an additional input for the comparator which compensates for thevariation that occurs on the noninverting input at the same time that the output changes. R 12 and R 13
(both approxim'ately 20K) and RII (10K) are a divider providing bias to the comparator. If E8 (anopen collector driver) is off (high), then the end of R II connected to E8 is essentially at + 12 voltsthrough RI5 (470). The RII, R12, R13 divider outputs 9 volts as shown in Figure 4-4-5b. If E8 is on(low), the end of R II is at ground, and the divider outputs 3 volts (Figure 4-4-5c).
Meanwhile, the signal from the other end of the signal line is admitted to the noninverting input of thecomparator through a resistor (R 7) whose value is small compared to the comparator's high input
impedance. The positive feedback resistor R8 provides a small amount of hysteresis to improve thecircuit's noise immunity.

4-34

COLUMNS
MSD

5

3

4

2

\0 0 - )88 3
08G
T) 0
t

l

o
ALWAYS
OPEN

--_.

.

\

!

BACK

~1

3

SPACE

_.

LINE

4

RETUR N

?

:>

5

/

6

M

<

7

SPACE
BAR

I\J

en

3:

FEED

BREAK

DELETE/"\../

}

=

\

]

)
0

-

{
[

P

+

RETURN

"

I

I

'"

,

L

8

*

(
9

I

0

J

K

1\
6

&
7

U

Y

H

G

%
5

$
4

R

T

@

#£

2

3

E

W

TAB

ESC

!
1

Q

'--'

0

a:

8

V

IB
._-"

9

C

X

D

F

A

Z

NO
SCFlOL L

S

A

B

SETUP

.--.
C

CTRL.

D

SHIFT

E

CAPS
LOCK

F

ALWAYS
CLOSED--.

MA-4361

Figure 4-4-4 Keyboard Switch Array

4-35

R8

R7
>-....L.-.COMPARATOROUTPUT12r---- -------,
I
R12
I
I

20K
I
BIAS
I
NETWORKI
I
Rll
R13
I
I __
10K
20K
L
_ _ . _______
.JI
I

C7

1. I

f.--SIGNAL LlNE-----1

I

SENDER
2K

I RECEIVER I
I JUNCTION
~,'l

~

2K

OUTPUTDATA

t~LEI

CAPACITANCE
MA·4659

Figure 4-4-5A Keyboard Interface Circuit

12

12

20K

!

10K

I-9VOLTS

Figure 4-4-5B Bias Network - E8 High

12
20K

T._3VOLTS
20K~10K
MA·4660

Figure 4-4-5C Bias Network - E8 Low

4.. 36

For the case where the junction is at 12 volts, there is no ambiguity about what signal the sender issending. The comparator must produce a high output because the sender is outputting a high level.
(The receiver is also sending a h:igh level but no distinction between the two needs to be made.) The
bias network presents a 9 volt signal to the inverting input, so the comparator sees a + 3 volt difference
and goes high.
For the case where the junction between the sender and the receiver is at 0 volts, there is again no
ambiguity. The comparator must produce a low output because both sender and receiver are outputting low levels. The bias network presents a 3 volt signal to the inverting input, so the comparator
sees a -3 volt difference and goe:s low.
For the case where the junction is at 6 volts, either end could be the high or low sender. The decision ismade at each end by each circuit examining its own output to decide whether it or the other end issending a particular level. If the sending end is at 0, the noninverting input sees 6 volts. The receiving
end is outputting 12 volts, and the network outputs 9 volts to the inverting input. The comparator seesa difference of -3 volts and outpUlts low in recognition of the low level at the sending end. If the sending
end is at + 12, the noninverting input sees 6 volts. The receiving end is outputting 0 volts, and the
network outputs 3 volts to the inverting input. The comparator sees a difference of + 3 volts andoutputs high in recognition of the high level at the sending end.
Table 4-4-1 summarizes the effe1cts of the various signals.

Table 4-4-1 Keyboarcl Receiver Signals

Send.
End

Rec.
End

NonInvert.
Input(JllInction)

0
0
12
12

0
12
0
12

0
6
6
12

Invert.
Input

3
9

3
9

Difference

Output

-3
-3
+3
+3

0
0
5
5

4.4.6.2.1 Keyboard Cable Comltensation - C7 compensates the circuit for the capacitance of the cable.
If C7 were not present, the outPlLlt of the comparator would glitch when the output driver on the sameend of the line changed state. This would be caused by the output signal propagating immediately tothe inverting input of the comparator but being delayed (by the RC time constant of the line) to thenoninverting input. C7 is chost::I1 so that the time constant of the line is the same at both inputs.
Because the resistance seen at the middle of the line is approximately 1000 ohms (two 2K resistors inparallel) and the resistance seen at the inverting input is approximately 5000 ohms (one 10K and two
20K resistors in parallel), C7 is about one-fifth of the cable capacitaQce. The value is not criticalbecause the ratio of the two tirrle constants can be as large as two and still provide acceptable noise
immunity.
4.4.6.3 Terminal Data Encoding -. The keyboard requires a clock for its operation and is provided
with one by the terminal controUer side of the interface. To transmit a clock independently of data on
the same wire, the terminal side of the interface gen~~rates a clock signal within which data is encoded
as a pulse width modulation. The terminal circuit produces a 75 percent high pulse width output forthe mark state. Data transmission causes the clock output to switch between 75 and 25 percent pulse
width (duty cycle).
4-37

Figure 4-4-6 is a timing diagram that illustrates the formation of the pulse width modulation. Threenand gates, I, II, and III, combine three signals, Data, LBA 3, and inverted (not) LBA 4. The threegate outputs are wire-ANDed so that all three must have high outputs to produce a high to the out
inverter, which drives the terminal's end of the bidirectional interface. The timing is not precisely
correct in this drawing because the LBA signals, addresses to the line buffer in the video processor, are
not pure squarewaves and have variations in their periods (see the DCOII section). These variations
give the keyboard signal the appearance of clust,ering in groups of four, but they do not affect the.operation of the circuit.
The negative transition of each output pulse occurs at the clock interval regardless of the presence ofdata. This transition is therefore the reference point for the keyboard clock at the receiving end.

4.4.6.4 Combined Interface Signal -Figure 4-4-7 illustrates the four possible conditions on the interface line when the effect of the clock is included. Figure 4-4-8 shows all four states and the transitions
between each of them. Two series sensing resistors in the interface circuit divide the signal in half at thewire. Therefore, although the drivers swing 12 volts at each end, the figures show only 6 volt variations.
4.4.6.5 Decoding of Data from Terminal - The kt!yboard recovers the modulated clock signal sent by
the terminal but must also separate the data from the clock. The signal is sent directly to the UART
and address counter circuits as a clock. The negative edge of the clock occurs at a fixed interval while
the positive edge varies according to the duty cycle modulation. The keyboard circuits use the negativeedge and ignore the variable pulse width.
Data is extracted from the combined clock-data by a simple resistor-capacitor filter on one input to acomparator. The other comparator input is referred to one-half the power supply. Because the duty
cycle of incoming data is either 1/4 or 3/4, the ,;apacitor charges to that proportion of the supply
voltage over the 16 clock periods of each bit. The comparator switches when the capacitor voltage rises
or falls past the reference value. The short duty cycle of zeros averages to a low voltage that holds thecomparator output low. The long duty cycle of ones averages to a high voltage and switches thecomparator to a high state. The comparator output goes to the serial data input of the UART where it
is deserialized. When all ten bits of a transmitted character are loaded into the U AR T, it asserts Data
Available. This signal enables the bell and scan start if the appropriate bits were set in the byte. The
LED bits remain latched at the parallel output of the UART until the next command byte arrives.

4.4.6.6 Keyboard Output - The keyboard UART serial output goes directly to an open collector
driver that swings its end of the bidirectional signal line between 0 and + 12 volts. This is shown as E8
and R 15 in Figure 4-4-5a. The circuit is identical at both ends of the interface.
4.4.7 BellThe keyclick/bell circuit provides audio feedback and attention signals for the user. A bit in the
keyboard status word controls the bell. Refer to Figure 4-4-9 for the circuit. Capacitor C8 charges to+ 5 volts through resistor R 16. The speaker connl!cts between the capacitor and the collectors of thetransistors in E 1. When a single status word contains the bell bit, flip-flop E3 toggles and turns on E 1.
C8 discharges through the speaker and El, generating a click. When the voltage on C8 falls low
enough, it clears E3. El turns off and C8 charges up for the next click. The value of C8 is selected todetermine the volume of the click. 08 protects the transistors from inductive spikes from the speaker.

If the bell bit is set for many words in succession, the UART latch holds the data output constant. A
one clock period pulse from the Data Available flip-flop E6 gates the bell bit through E5 to form aclock to E3. As C8 discharges through the speake:r and El, E3 clears itself, turning El off. Then C8
charges up again until the next Data Available pulse clocks E3 on again to repeat the discharge cycle.
C8 discharges fast enough so each Data Available pulse (which arrives every 1.28 ms) triggers a cycle,

4··38

LBA3

LBA4

DATA

~--------------------------~---------------------------------r1

II

LJ~_LJ=~;J,..-----,UU___---In. . . __. . . .
I

OUT

I

LJ

u

'---v----'
16 OF THESE
AVERAGE HIGH.NOTE:n-.- - - - - - - - - - - - - - - - - - - - - - - - - - -I
L.....JLJ

I,r

LJ r-,LJ

n L - __ ...J~._ _~I

CLOCKING
EDGE

'

u
n
'

r1L...Jr1L....Jn

~

:l

1-111

U

U

u

LJl

n

IL

I I

I r--

nu

....
' -_.....

L.....I

J........

'---v----'
16 OF THESE
AVERAGE LOW

LBA3 & 4 APPEAR DIFFERENT
IN WAYS NOT AFFECTING THISCIRCUIT.

J

OPEN COLLECTOR WIRE-AND:
ALL MUST BE HIGH TO
GET HIGH OUT

1= DATA AND LsA4
II = DATA AND LBA3
III = LBA3 .AND LBA4

MA-4359

Figure 4-4-6 Encoding of Terminal Data and Clockallowing the circuit to produce an 800 hertz tone. Bell is generated by setting the bell bit for 0.25
seconds (about 200 status words). Each cycle of the tone is at a reduced amplitude compared with thesingle keyclick because R 16 is selected to limit C8's charging rate. The overall effect of the tone burst
on the ear is that of a beep.

KEYBOARDTERMINAL

INTERFACE
STATE

0---------- 12
60

i 1IIIIl 0---------- 12
1

0

6

IIIIII 0,
12
IIIII ! 6
I

I
I
I

0

1

---------- 0
12! IIIII i 611---------- 0
MA-4667

Figure 4-4-7 Four Keyboard Interface States-1r-II

..
II
II

II
II

II

II
II

.
.....
..,..

---1r-

U

II
II

II

II

II

TERM XMITS 1I

TERM XMITSO

KEYBOARD XMITS 0I

ITERM XMITS 1

KEYBOARD XMITS 1
MA-4666

Figure 4-4-8 Keyboard Interface Signal

4-40

R16
+5~

I
--l
+-

BELL
BIT

FLIP
FLOP
E3

CLEAR

MA-4658

Figure 4-4-9 Bell Circuit
4.4.8 Keyboard Interrupt Routilne
When the microprocessor responds to an interrupt froIll the keyboard UART and reads a key addressfrom the U ART data output, it imlnediately range tests the address. The function key addresses are allabove the regular key addresses, with SET-UP the lowest at 7BH and the always down Last Key at .
7FH. An incoming function key address causes a bit to be set in a flag byte called Keys (Figure 4-4-10).
When a key address below the function range arrives, the microprocessor checks the low three bits in
Keys for the key count. If the count is less than three, the key address is stored in a three place New
Key Address Buffer and the counter is incremented. If the count is already three, the counter is incremented but the key address is discarded.

I,

KEY COUNTER

I

CAl's

LOI:::K

LAST
KEY

I

I

CONTROL.
SHIFT

I

I

OVER
FLOW
BIT

SETUP
MA-4291

Figure 4-4-10 Keys Flag Byte
4.4.9 Logical Keyboard ProcessOi'
The logical keyboard processor is that portion of the operating firmware that manages the interpretation and transmission of keyboard data. It consists of several processes.

4-41.

4.4.9.1 Key Recognition - For a key to be recognized as a new key, it must not have been down in thescan before entry is accepted. The microprocessor checks each key's history at each scan. If a key was
down during the last scan, it is old and is not ent(~red. Only new keys, those not previously seen, areentered. Tqis system allows a key to be held down without being continuously entered at each scan.
(This process and auto repeat are discussed later.)If a key is detected as down for the first time in a while, the microprocessor assumes that it has beenpressed. During the scan when the key is first down, the contacts may bounce for several milliseconds.
The time window when the contact is scanned is very short. If the contact happens to be bouncing open
during that interval, it is not detected in that scan but the time between scans is long so it is finishedbouncing by the next scan and is detected normally. If the contact happens to be closed for the firstscan while still bouncing, it is detected. It is also detected on the next scan after it has stopping
bouncing but now it is an old key and is not reentered.
When the microprocessor is free to perform its bac:kground routines, it processes the results of the last
keyboard scan. First it checks the high bit of the Key's byte to see if the scan is finished. If it is not, themicroprocessor continues with other work (exits). If it is , the microprocessor checks the key counter
overflow bit representing four or more keys sent in the scan. If the bit is set, the microprocessor clears
the New Key Address Buffer and exits.

If t.he overflow bit. is not set, the first key is taken from the new key address buffer and tested. If it iseither the SET-UP or NO SCROLL key, the microprocessor acts on it immediately and branches tothe appropriate routine. It then returns to the keyboard process. (Refer to the microprocessor section
for a discussion of SET-UP and to the Communication section for no scroll.)
Another three place buffer contains the keys from the last scan. The microprocessor compares thethree new keys with those in the old key buffer. If an old key is not in the new key address buffer, that
key is cleared from the old key buffer. New keys then go into the old key buffer. Each key address isonly seven bits long, so the high bit in each key entry is used to indicate how long that entry has been in
the buffer. I f a key is new, the bit is set to O. This rneans that the microprocessor has only seen the key
once. If the key appears in the new key address buffer on the next scan, the microprocessor sets thehigh bit to 1, converts the key address to an ASCII code, and sends it to the keycode buffer. Only one
key is converted and sent in each cycle of the logical keyboard processor routine. Since the set bit
indicates that the key has been sent, in the next cyde that key will be ignored and the next key will beprocessed.
4.4.9.2 Key Rollover - Key rollover means that more than one key can be down at the same time andbe accepted. Normally the VT100 accepts 3-key rollover. If the keys were pressed during different
keyboard scans, they will be accepted in the order in which they were pressed. If they were all pressed
during the same keyboard scan, they will be accepted in the order of their addresses.
Certain conditions will limit the rollover to only two keys. The 2.5 key rollover specification reflects
the presence of these conditions. Because there are no isolating diodes in the switch matrix, certain
patterns of contact closure can produce false key down indications. Specifically, three switches closed
in three corners of a rectangular pattern, as in Figure 4-4-11, will cause a fourth apparent key address
to be sent to the terminal. (Refer back to Figure 4 .. 4-3 to see how the pattern fits into the row-column
configuration.) For this reason, although any number of key addresses may be sent by the keyboard
during a scan, no more than three may be sent if any are to be accepted. If four or more app~ar, theterminal ignores all of them and waits for a scan with only three. The special function keys (SHIFT,CAPS LOCK, CONTROL, SET-UP) are in a part of the matrix where there is no pattern sensitivity
and no ambiguity. They all are accepted in the same scan with the regular keys and are not counted inthe 3-key maximum.

4··42

/J

·K

---_._-----,

I

I
I
I
I
I
I
I

I

/

H

/

C5

!/

G

\

C4

-

SCANNING ORDER
COLUMN 5-FtOW 7
C5·R8
C4·R7 (G4 SEES C5-R7
THROUGH G, H)
C4-R8

OUTPUTJH
K (FALSE 4TH KEY)
G
MA·4668

Figure 4-4-111 Sneak Path
The sneak path problem is also the reason that the keyboard processor looks for the appearance of a
key in two successive scans. In Figure 4-4-11, the ke:ys are scanned in the order J, H, K, G. Normally,
the keyboard processor counts the number of keys in a scan and ignores all of them if the count is overthree, as it is in this case. But it is possible for a user to briefly press keys J, H, and G and then release
G before the scan is completed. Then the keyboard processor might see J, H, the false key K, and,because G was lifted just before: it was scanned, register only three keys. One key would be false, butwith a count of only three, all would be accepted. To prevent this, the keyboard processor looks for thesame keys two scans in a row. Because the G key is released, the K key does not appear in the second
scan, and only J and H appear and are accepted by the keyboard processor.
4.4.9.3 Generation of Codes - Because the keys are essentially randomly ordered with respect to the
ASCII standard, the program ROM includes several look-up tables that assist in the generation of
ASCII codes. Most keys convert directly from an address to an ASCII code. The codes for alphabetic
keys with SHIFT or CAPS LOCK down are formed from the tables with bit 5 forced to 0 to produce
uppercase alphabetic codes. Holding down the CONTROL key when another key is pressed causes
another table look-up. If the key is in the table of valid control codes, that keycode is changed byforcing bits 5 and 6 to O. For example, the ASCII code for the letter "g" is 67H. Holding down the
CONTROL key and typing G transmits the ASCn code 07H.
H7

Normal code
Control code
Shift code

x
x
x

B6
1
0

B5

0

1

0

1

4-43

B4
0
0
0

B3
0
0
0

B2

Bl

BO

1
1
1

1
1
1

1
1
1

Nonalphabetic keys have a second look-up table that provides the shifted code given the unshifted
code. CAPS LOCK performs the shift function only on alphabetic codes, leaving the nonalphabetics
to be performed with an extra shifting action. If a. key that does not make a standard control code ispressed with CONTROL, it is not sent.
4.4.9.4 Keyboard Transmit Buffer - Some keys generate three byte ASCII codes. The auxiliary keypad, for example, when in alternate mode, transmits escape sequences that a system can be programmed to interpret in a special way. Cursor control keys also send escape sequences which the operator
can use to control the cursor position. To store the codes that might be generated by three simultaneous keys, a 9-byte buffer is provided for the communication port. If the buffer fills up, the keyboard
is locked and the appropriate LED lights. When a key is about to be converted to ASCII and stored in
the buffer, the microprocessor checks the buffer to see if there is room. Since any key m~ght produce
three bytes of code, the microprocessor must be sure that there are at least three places av~i1able in thebuffer. If six i-byte keys have been sent, the next i-byte key leaves only two places. Therefore, thekeyboard locks with only seven places filled in the buffer.
4.4.9.5 Auto Repeat - If only one key is in the old key buffer (in the logical processor), and if itappears continuously, it may be a candidate for auto-repeating. A key with control cannot repeat, anda nonrepeat table contains a few keys that do not repeat. These are SET-UP, NO SCROLL, ESCAPE,
RETURN, BREAK, and ENTER.
A count-down timer gets loaded with a value each time the buffer changes. When there is no change
for a while, the timer decrements to zero. This takes about one-half a second. Then the key is sent to
the keyboard buffer a second time and the timer is loaded with a smaller value. This time the countlasts about one thirtieth of a second. The key is sl~nt and the timer reset the same way until the key islifted or another key is pressed while the first is still down. If the second key is lifted, the countcontinues at the fast rate. The timer is decremented every time a status byte is sent to the keyboard(every 1.27 ms).
4.5 NONVOLATILE RAM
The nonvolatile RAM (NVR) used in the VT100 can retain its data for about 10 years and 1 billion
reads. This type of device is also called electrically alterable read-only memory (EAROM). It contains
the programmable configuration information that would otherwise have to be reentered every time power was turned on or else stored in mechanical switches.
While the microprocessor sets up initial conditions using the specifications in the NVR, a user canchange those settings at any time from the keyboard. However, the new settings are only stored in thescratch pad memory until a special Save sequence is initiated from the keyboard to store the settings in
the NVR.
This section contains an overview of NVR principles, the circuitry used with this particular device, andthe microprocessor's procedure for using the NVR. Information about the SET-UP data ~ontents may
be found in Section 4.7.11.
4.5.1 Principles
An NVR memory cell consists of an MNOS (metal nitride oxide semiconductor) field effect transistor
whose gate is insulated with a material (silicon nitride) that can accept charge movement through itself
and yet hold a charge as a superior insulator. Undler high voltage conditions, electrons can migrate between the insulating layer and the substrate, leaving a net charge buried in the insulator. This is theprocess of erasing and writing.
An FET transistor normally has a physically determined voltage required between its gate and channel
for it to conduct. A charge in the insulator between the gate and channel adds algebraically with thevoltage on the gate and shifts the value of threshold voltage accordingly.
4-44

A reference voltage is applied to the gate of a memory. transistor in the read process. If the threshold isbelow the reference, the transistor will conduct. If the threshold is above the reference, there is no
conduction. Decay of the stored charge causes the difference between high and low thresholds tobecome smaller. At normal operating temperatures this decay takes 10 years to affect recovery of data.
Erasure consists of writing all th(~ memory cells in a word to the same low threshold. Writing pushes
the selected cells to a high threshold. The time required to write or erase is determined by the thicknessof the gate insulation, the voltage used, and the temperature of the device. The thickness of insulation
is a trade-off between writing tirrle and data longl~vity.
The writing process damages the insulating prop(~rties of the nitride layer. With the ER 1400's layer
characteristics, its data retention time is at least 10 years provided that it is written less than 1000 times.
The data retention time is at least 1 year if it is written between 1000 and 10,000 times.
4.5.2 NVR Device
The ER1400 (E24) is a 1400-bit memory arranged as 100 14-bit words. Data and addresses enter orleave the device in serial form through a single bidlirectionalline. Information is shifted with an external clock; identification of th(~ meaning of the bit stream is made by setting three control lines thatspecify the operation in progress (Figure 4-5-1).

14

BITS~

.....

REGISTER!
t--

10 BITSMEMORY
A.RRAYTENSADDRESS ~

~

==>

t

_READ

MODE

100 X 14
_WRITE
ERASE

-

fI

ADDRESSI/O
BUFFER

DECODE
LOGIC

DATA
I/O

-

.-

.

--

~

DECODEt-

UNITS ADDRESS

10 BITS

=:J-

CLOCK
GEN

..

CLOCK

MA-4308

Figure 4-5-1 ER 1400 NVR Block Diagram

4-45

4.5.3 NVR Control
Seven states of the three control lines give commands to the NVR device:

State

Data Bus
C3
C2

Cl

0

H

H

H

Standby. The device output floats.

3

L

L

H

Accept Address. Two 1 of 10 addresses are shifted in at the clock rate.
The first group is the 10's decade and the second is the 1 's decade of the
1 of 100 word address.

2

H

L

H

Erase. The word stored at the addressed location is erased to all zeros.

7

L

L

L

Accept Data. The data register accepts serial data shifted from the I/O.pin. The address register remains unchanged.

6

H

L

L

Write. The word contained in the data register is written into thelocation designated by the address register.

4

H

H

L

Read. The addressed word is read from memory into the data register.

5

L

H

L

Shift Data Out. The output driver is enabled and the contents of the dataregister are shifted out.

1

L

H

H

Not Used.

4.5.4 NVR Support Circuits
Several factors in the ER 1400's design require sp<;!cial treatment by its support circuitry. It requires 35
volts for the write and erase processes. Its signal levels are specified to be Vss (the positive power
supply) for the high level and 12 volts lower than that for low. The logic of these signals is negative: 1 isasserted as a low level, and 0 is asserted high. When driving data, the NVR's output actually switches
between + 12 and -23 volts with a high impedance: in series with the negative sour~e. This requires thatan external clamping diode (D4) be present to pull the low level up to ground through the highimpedance. 12 volts and ground are thus the I/O logic levels. The terminal controller is made with
TTL, so open collector buffers with pull-up resistors to + 12 volts are the interface.
The Standby command of the ER1400 is not used in the VT100. Instead, Accept Data serves as thecommand to the NVR during idle periods. The code for Accept Data is all inputs low. This arrangement protects the contents of the NVR from spontaneous writes that might occur due to the powerdown behavior of E29, the 7417 open-collector buffers. E29, in powering down, tends to drop its
outputs from the high to the low state in an unpn~dictable order. This could present a write commandto the NVR before the power supply voltages drop low enough, if the NVR had been maintained in theStandby mode by keeping its inputs high. By keeping all outputs low with the Accept Data command,
no new command can occur accidently during power-down.

4-46

The pull-up resistor used to drive the data input is too Iowan impedance for the ER1400 output todrive. Line C2 is high during state: 5 when the output driver is enabled, and low when data is being
input to the NVR, so transistor Q1's base is connected there. When the line goes high, Q1 turns off,
raising the impedance at that point to the leakage values of Q1 and E29, and the input impedance ofcomparator E48. D4 clamps th<;: output to -0.6 volts to protect the comparator input from leakage to-23 volts in the ER 1400.
Later VT100s may have power down circuitry in series with the Vgg pin on the ER1400 to ensure thatthe -23 volt supply is cut off when the +5 volt supply is low. This would prevent writing during powerdown.
The comparator is a high impedance load for the ER 1400 output driver and is biased to switch at +8
volts. This threshold ensures that a wide range of output levels will still pull the low state down enoughto switch the comparator. The comparator output, pulled to +5 volts by a resistor, provides the NVR
DATA bit to the flag buffer. The microprocessor reads the flag buffer after it sees the NVR clock flagchange, and samples the NVR DATA bit to get the serial data.
.
The NVR clock is the lowest fre:quency line buffer address signal and occurs at the horizontal line rate,
15734 kHz. This is the bit shifting rate during address and data transfers. A read operation requires
only a single clock cycle to transfer data into the data register but an erase or write of a word eachtakes 20 milliseconds.
4.5.5 Microprocessor Management
During an NVR operation, the Inicroprocessor uses 21 bytes of scratch pad memory to set up a group of
NVR address or data bits. Each group consists of 20 bits of address or 8 bits of data with another 6 bitsof fill for the 14 bit NVR word. These groups must enter the NVR serially with precise timing. The
microprocessor cannot calculat<;~ the groups fast enough to keep up with the shifting process while also
managing the shifting process, so it saves time by precalculating and storing each group of bits. Then it
reads the stored groups, and delivers them to the NVR at the NVR clock rate through the NVR latch.
The microprocessor serializes its data by rotation in a register. It combines the data with command bits
to control the NVR device. Output from the microprocessor reaches the NVR through the NVR latch.
The latch is updated at each clock during an NVR operation. One unrelated signal from the communication port is routed through an extra bit in the NVR latch device.
The microprocessor reads the l'lVR during the powler-up process. The bits are deserialized by rotation
as they are read in. Although 14 bits from each NVR word are written or read, only 8 bits are used by
the microprocessor. The data goes into location in the scratch portion of RAM for use during a later
portion of the power-up.
4.5.6 NVR Timing
Use of the ER 1400 in the VT100 takes place during normal operation of the video circuits. The 8080
must be free to operate on every scan line in order to load data and address and shift data out (theER 1400 is clocked at the horizontal rate and this signal is provided as a clock to the flag word for the8080). Because of the above two conditions, it is necessary to ensure that all DMAs performed by thevideo processor are short.
The processor works fast enough to permit the display of the short message "WAIT" at the left edge ofthe screen. This causes the Dl\1A to be longer but informs the operator during long save and recall
sequences. The timing for all of these conditions is shown in Figure 4-5-2.

4-47

CLOCK SIGNAL ONI

PIN 5 OF NVR

J'-1--------+-TIL L (0)1-2.5 usI I

HOLD REQUEST
80 COLUMN MODE --:---

L- - - - -_ _ _ _ _..1
r--10 JJS + 623 ns FOR EACH CHARACTER DISPLAYED

--+l

l

- - - - + - V s s - 12

l ..._______: - - - + - T T L H (1)

CLOCK FLAG ~

-l

-Vss

!---1.5 JJSHOLD .REQUEST
I r--t132 COLUMN MODE .-!...J
L -_________-'---1
t--11.3 us + 373 ns FOR EACH CHARACTER DISPLAYED
MA-4299

1

Figure 4-5-2 NVR Signals
All data and command changes to the ER1400 occur immediately following the falling edge of theclock flag (the rising edge of the signal on pin 5 of the ER1400); the data is strobed into the NVR on
the opposite edge. The two one-of-ten codes for address have a single zero and nine ones (at DO of the8080 bus).
When the "shift data out" mode is entered as per the timing diagrams in Figure 4-5-3, the first data bit
may appear when the mode is entered but will become stable 25 j.LS later; subsequent data bits will beshifted out on the falling edge of the clock flag (rising edge of the signal on pin 5 of the chip) and will
become valid 25 j.LS later. This means that, following a change to "shift data out" mode or a fallingedge of clock flag during this mode, a delay of 25 JIS must occur before reading of the NVR data flag is
attempted. The first bit shifted in when writing is the first bit shifted out when reading.
When using the ER1400, it is necessary to operate with interrupts off.

4.6 VIDEO PROCESSOR
The video processor is the heart of the VT100 display. It is composed of the devices shown on the rightside of the terminal controller block diagram (Figure 4-6-1). This section discusses the general mechanism that converts data into a visible display, followed by a discussion of the two central devices (thetiming and control chips) followed by a general discussion of all the other blocks on the video processor side of the block diagram. The interactions between the data paths on the left of the diagram andthe processor on the right are covered in Section 4.7, Microprocessor - Video Processor Interface.
4.6.1 Introduction
The video processor converts data into an electrical signal that a CRT monitor can turn into visible
letters, numbers, and symbols. The video processor works with the characteristics of the CRT monitor
to do this. A brief description of these characteristics precedes an introduction to the video processor's
operation.

4-48

PC BOARD FINGERS
20 MA lOOP J5;
5

SERIALDATA

GRAPHIC VIDEO

2 '}

MODEM
CNTRl

COMMUN ICATlON
TRANSCEIVER

n

E43

1 1 8

1

KEYBOARD INTERFACEI"AUD RATE'IOPTIONPRESENTBAjD 1;0
8
ClK

ilo

E28, E48, E55

1)0

1

1

INTERRUPTS

•

~1

8

8

1

8

+8

4

1

.. ' NVR
-elK

NVR
DATA

....

I NON-VOLA TI lE RAM
E24. E29, E48, E61

E18. E19
E23, E41

1/0

lATCH &
BUFFER
E15,E2O

E32, E35, E36

I--.BAUDClK

I/O DECODE
E19, E27, E34
2

t

i

r

tttt----t

I

2

t

CHAR.
ADDR.

SF

t

4

ISHIFT REGISTERt
El0, E13
5

CHAR.
DATA

10

CHARACTER
GENERATORDATA 6SCAN ADDR.

ROMS--t-- 2K
X8

lATCH
E16
87
8

4

E4,E9
ALT.
1
CHAn.

VIDEO
CONTROLAND
TIMING~ATTRIBUTES~-7

E3, E5, E6, E7,
E13, E22

.1

I
2

SIR
CONTROL

8

VIDEO CONTROL SIGNALS

I

I

,

t4

SERIAL
VIDEO
2
1t
ADVANCED
VIDEO OPTIONCONNECTOR
J1

MEMo DISABLE

L2

VIDEO OUT 1 + 2

TERMINATE

~~~4-

4

•

DMA ADDRESS COUNTERS
E21, E22, E25, E26, E30, E33

16

1

'6

CONTROL BUS

4t

COMPo VIDEO
SENERATOR

I LINE BUFFERI
256 x 8 RAM
Ell, E17

4 ADDRESS BUS

16

2

COMP
SYNC

8

8

MEMORY DECODE
E7, E23, E31

11

2

8 1

SCREEN &SCRATCH RAM
3K X8
E46, E47, ESO,
E51, E53, E54

PROGRAMROM
8KX8
E40, E45, E52 E56

INT. REQ.

+-

8

8

I/O

MICRO·PROCESSOR

f
I,

E14, E49

FLAGS

BIDIRECTIONAL DATA BUS

INToACJ2

INTEN·
1/0--- SITY
CONTROL
5(D/A)

GRAPHICFLAG

Ii
BUFFER ED ONE.WAY! DATA OUTPUT BUS

a
foe+-

DIRECT DRIVE
GENERATOR'?

H & V BLANK...KBDClK

8INTER·
RUPT
lOGiC

1

~:ERATORt~ BUFFER
E58

2

f4-

8,

:3
8

H&V
DRIVE

E37, E39, E44

}-I/O

~ E42

Jo

~EIA DRIVERS& RCVRSI~ E41, E61 4 -FLAG
BUFFERLGRAPHICS OPTION IJ2 ANALOG VIDEO IJ8 IDIRECT DRIVE VIDEO OUTJ J6 COMPOSITE VIDEOIJ9KEYBOARD J7

J4!
r-------, l:ir-

STD. TERM. PORTMODEM
CONTROLI EIA

5NVR+ClKI~1

ri
VIDEO ClOCKI
24.0734 MHz
E2HOLD REQUEST•MICROPROCESSORI

VIDEO PROCESSOR..
MA-4352

Figure 4-6-1 Video Processor Block Diagram

4.6.1.1 The Raster - The raslter is that area on the CRT screen that is scanned (passed over) by anelectron beam moving in a regular pattern. Deflection coils cause the beam to quickly scan a series ofhorizontal lines while moving relatively slowly down the screen. This scanning repeats quickly andconstantly, and persistence of vision makes the entire screen look continuously scanned. The bea"mmay be on or off, lighting the fluorescent phosphor on the face of the CRT or leaving it dark, but the
beam's continuous motion traces and defines the raster.
4.6.1.2 Character Formation -- As the beam moves in its horizontal scans, it can be turned on and offvery fast. This means that a spot of light (called a dot) can be produced anywhere along each horizontal scan line. Each scan contains the same number of potential dots. If only one dot is lit in a scan but
dots in the same position on several successive scans are also lit, the screen appears to have a verticalline on it. This ability to line up dots on different scans is the key operating feature of the video
processor.
Limiting our discussion to 80 column lines for this description, each character that can be displayed on
the VT 100 is made up of a matrix of dots, ten wide and ten high (Figure 4-6-2). There are 800 dots in ascan and the raster is made of 240 scans. So there are 80 groups of ten dots in each scan horizontally,and 24 groups of 10 scans vertkally. Each 10 dot X 10 scan group is a character cell, where a charactercan be displayed, and there arc: 801 X 24 character cells on the screen. As the electron beam scans theraster, the video processor turns the beam on and off, assembling the characters scan by scan.

INTERCHARACTERSPACECHARACTER ~r

CHARACTER, r-----.A~. .•..

.[!ji •••• ·1· .

• •1

••

•

'. • •

•

•

• ••

•

•

•

•

••

•••••

. • •... •

••

. •

. •

•

.

•

•

•

• • • el • • • • •• •..

CRT BEAM MOVES• . . . . . . . . . THIS WAY•• •••••••••••

10 SCANS,• .. • • • • ••••• ••••••••

CHARACTERS ARE SHOWNBEFORE DOT STRETCHING• • • • • SCAN 1

DOTS

/

. :~ .1: ~ ~ ~ . . . . . :~ .
• • • •• ••••• •• • . • •• • . • •

• •
• •
• •

• • • .

. • ••• •••••. .. • • .
. • .

·.. I'... .............
• • . • • • . • . . . •--LIJ....L.L..LL..LJ
DOT INTERVALS• . • • •

•••••

•

••

~~~~ ~
SCAN 4SCAN 5SCAN 6SCAN 7SCAN 8SCAN 9SCAN 10

I-..L--L.!

CHARACTER INTERVALS
MA·4655

Figure 4-6-2 Dots, Scans, and Characters

4-5l

4.6.1.3 Video Processor Data - When we say the characters are assembled scan by scan, we meanthat only one scan of information about a chara(:ter is displayed and then the same scan for the next
character is displayed. This continues to the end of a line of characters. Then the next scan of the firstcharacter is displayed, followed by the same scan of the next character, and so on. Therefore, eachcharacter must enter the video processor ten times, once for each scan, and remain only until the next
character in the line is displayed.
Each character in a line is stored in one of a group of adjoining locations in the'screen RAM. (SeeFigure 4-6-3 for the video processor functional diagram.) The process of moving a line of character
data from the screen RAM to the video processor takes the same amount of time as a scan. During
data movement, the microprocessor cannot use the RAM. So, to give the microprocessor as muchworking time with the RAM as possible, the video processor accepts the line of character data fordisplay during the first scan and stores it in its lin~! buffer at the same time for use during the other ninescans. Movement of data from the screen RAM to the line buffer by the video processor is called direct
memory access (DMA). During the DMA, the video processor provides addresses to the screen RAM
with the address counters. The data is stored in the line buffer which gets its addresses from the line
buffer address (LBA) outputs from the DCO 11 timing chip. Both kinds of addresses change values
when they receive a clock (called character clock) that occurs after each 10 dots. This clock makes thecharacter data in the video processor change at the right times to provide proper alignment of thedisplay.
The character latches hold the data coming from the screen RAM or line buffer and ensure th;;tt thedata remains stable for long enough periods to be written into the line buffer or the video shift register.
The buffer between the latches is tristatable and, during non-DMA time, prevents the normal data
flow on the microprocessor data bus from interfering with the video processor's reading of data fromthe line buffer.

4.6.1.4 Video Processor Character Generation - Data, coming either from the screen RAM for scan 1or the line buffer for scans 2 through 10, becomes part of an address to a character generator ROM.
(See Figure 4-6-4, Character Generator Example,) The rest of the address comes from a scan counterin the DCOl2 control chip. The scan counter addresses the ROM according to which oftne ten scans is
to be displayed. The 4-bit scan counter skips over the other 6 possible addresses to the ROM, so the
ROM contains data in only 10 out of 16 locations. The output of the ROM is eight bits that represent
the pattern of sequential dots to be displayed for that character on that scan. The eight bits enter thevideo shift register, a serializer that converts the eiight parallel bits into a one-bit-wide stream. An extra
flip-flop stores the last bit so it can be output to the stream two or three extra times (depending on line
length) to fill the intercharacter space. The stream enters the DC012 control chip, where the final
adjustments for video display are made, and then the video signal goes to the CRT monitor.
4.6.1.5 Attributes - Three attributes apply to the VT100 display: character, line, and screen. Character attributes provide a special appearance to characters as they appear on the CRT screen. In the basic
VT100 (without an advanced video option) only one bit of memory (called the base-attribute bit) isavailable to each character on the screen. The original character data from the screen RAM is eightbits wide but only seven bits define the character itself. The eighth bit defines the base attribute. The
attribute bit bypasses the character generator ROM and video shift register and enters the DCOI2.
There it controls the presence or absence of th~: attribute as that character is displayed. The baseattribute is displayed as either reverse video or underline, depending on the selection of the cursor at
SET-UP, and is invoked by the base attribute bit. Reverse video appears as all 10 scans of a character
cell reversed (black changes to white and vice versa). Thus, if two vertically adjacent characters are in
reverse video, no black space appears between them. Underline forces the ninth scan on (off withreverse video screen attribute.) Once a character attribute or combination of attributes is set, all displayable characters sent to the terminal have that attribute regardless of where they are placed on thescreen. This continues until the attribute selection is changed.

4-52

ATTRIBUTES
LINE BUFFER
AVO

LINE BUFFER ADDRESSESFROM DC011

AVO
EXTENDS WIDTH TO 12 BITS

AVO

AVO

AVO ATTRIBUTES

3BASE ATTRIBUTESCREEN RAM
AVO
3K
EXTENDSRAM(INCLUDES
T04K
SCRATCH RAM)I

I I

ALTCHAR SET

1ST
CHAR
LATCH
AND
BUFFER

CHARACTER
GENERATORROM

SERIALIZER
VIDEO
SHIFT
REGISTERATTRIBUTES

1---'" IN DC012

VIDEO
OUT

!

DOT CLOCK12ADDRESS
COUNTERSSCANCOUNTERIN DC012

HORIZONTAL RATE CLOCKLINE
BUFFERLINE
CHARACTER
BUFFER
CLOCK -------~~ ADDRESSES~_ _TO AVOLINE BUFFER

IN DC011
MA-46S1

Figure 4-6-3 Video Processor Functional Diagram

FLIPFLOP STORES DO AND. - - - - - - - SHIFTS IT INTO VIDEO SHIFT REGISTER
1 BIT
OUT

DO
FLIP
FLOP
L
L

CHARACTER
GENERATORROM

ASCII "B" - - - - '7 BITS

7 BITSOU'=)

01

L

02

H

03

H

04

H

05

H

06

H

07

H

OUTLINED DOTS
IN FIGURE 4-6-2

SHIFT
OUT

~

L
+ - - LAST DOT OF PREVIOUS
CHARACTER DEFINESFIRST DOT OFNEW
CHARACTER.
TO DC012
L~

SCAN COUNT"SCAN 2"
4 BITS

MA-4569

Figure 4-6-4 Character Generator Example
Line attributes are double height, double width, and scroll. The VT 100 displays single-width, doublewidth or double-height, double-width characters on a line by line basis. All characters on one line
appear in the same mode. Double-width lines are generated by displaying each dot of a character twicein the horizontal direction. Double-height, double-width lines are generated by displaying each dot ofa character four times (twice horizontally and twice vertically). The top and bottom halves of a doubleheight, double-width line must be entered as two separate lines of characters. The scroll attributeindicates that a line is part of the scrolling region.
Screen attributes affect the entire screen's characteristics at once. They include the base attributeselection (reverse or underline as mentioned under character attributes), reverse video over the entire
screen, 80 or 132 character line length, 50 or 60 Hz refresh rate (chosen according to the local power
supply), interlaced or noninterlaced operation, and jump or smooth scrolling of data over the screen.
4.6.1.6 Advanced Video Option (AVO) - The AVO extends the length of the screen RAM so morecharacters can be displayed in 132 column mode. In addition, it allows each character to have four
more attributes, for a total of five. Three of the AVO attribute brts enter the DCa 12 to control displayable features of each character. The fourth AVO attribute bit controls the selection of an extra
character set by switching in an optional alternate character generator ROM that can provide nonASCII characters or other special displays.

4-54

To provide the extra attribute bits, the AVO widens the entire screen RAM by 4 bits to make eachcharacter location 12 bits wide. It also contains a 4-bit wide extension of the character latches and a 4bit wide attribute line buffer, addressed by the sam.e: LBA signals as the regular line buffer. This extension treats the attribute data with the same timing as the character part of the circuit, and matches
each character with its attributes.
With the AVO present, reverse video, underline, bold, and blinking are all available singly or in combination. Reverse and underline appear as described above with the addition that if both reverse andunderline are asserted, the underscore is forced dark instead of light. Bold increases the intensity of thedisplay. The blink rate is about half that of the cursor or about 0.5 Hz. Cursor selection is independentof character attributes when the AVO is installed.
4.6.2 Timing Chip Descriptiolll
The DCO 11 is a custom designed bipolar integrat(~d circuit that provides most of the timing signals
required by the video processoJr. Internal counters divide the output of a 24.0734 MHz oscillator (located elsewhere on the terminal controller module) into the lower frequencies that define dot, character,' scan, and frame timing. The c:ounters are programmable through various input pins to control thenumber of characters per line, the frequency at which the screen is refreshed, and whether the display
is interlaced or noninterlaced. These parameters can be controlled through SET-UP mode or by thehost. In the following discussion, refer to the block diagram in Figure 4-6-5.
4.6.2.1
Input Decoder - The input decoder responds to commands on the DO Hand 01 H pins (connected to 04 and 05 of the 8080 bus respectively) whenever the VIDEO WR 1 L pin is low. The outputs of the decoder select 80 j 132 column, 60 j 50 hertz refresh, and interlacedjnoninterlaced modes ofoperation. Table 4-6-1 shows that when 01 H is low the number of columns is programmed according to
the state of DO H, and when D 1 H is high the refresh rate is programmed. Interlaced mode is always
selected when the column mod,e is set, and noninterlaced mode is selected when the refresh rate is set.
The interlace mode in use depends on whether "nunlber of columns" or "refresh rate" was selected last.

Table 4-6-1 Video Mode Selection(Write Address
C2H)=

InputsD5
Pin 21ooD4
Pin 20oIo1

Configuration
80 column mode
132 column mode

Sets interlaced mode

60 hertz mode
50 hertz mode

Sets noninterlaced mode

In addition to strobing data into the input decoder, VID WR 1 L also acts as a reset signal for the
DCOII. Whenever VID WR 1 L is low, the counters in the DCOll are held in a cleared state. Resetting
the counters serves no purpose in the VT100 because the remainder of the VT100 synchronizes itself to
the DCO 11, but a reset is useful for testing both individual chips and complete modules. Because writing into the DCOII would cause the counters to reset and disturb the display, this is never done unlessthe mode is being changed.

4-55

DOUBLE W!DTH MUXr

VSR LD

DOT fLOCKI,"

ADD) CNT

t

1
~

CHAR
CLOCK

t

1

~

HOLD
REQUEST
H

OW
H

WRITE
LB L

ADDR LD L

I)
VIDWR

1U

r---

~D

I~

1/2 DOT CLK (132)~
MASTE R
CLOCK
24.073 4MHz

1/2 DOT
i-CLOCK "(SO)~ 2 (132~J...-1.5 (SO)

f

~a2!!

I
ADDR CNT
ON H

HORIZ
BLANK 4 H

r-L()--INPUT
DECODER~

RES~T

Lt> I i1-

Q

4

....

SOH

I

INTERLACE

SOH

SOH

•

DOT
HORIZ
TIMING

9H
DIVIDER
3

DIVIDER

RESET
H

9

OUTPUTS

.1-

COMPo
SYNC
GEN

I
60 HziI

HORIZDRIVE 4 -

L

0

~

LJf-

CLR

"I DOT COUNTER
~

()

r--

I

(SO)
I ++ 109 (132)

SO
MUX

~L

HOLD
REO H

DWH

-

DOH

D1H

COivi?
SYNC LJ

I

VERT-+DRIVE H
VERTVERTTIMING -.. BLANK L

10 VERT DIVIDER-+ VERT
1'10

5

RESETHRESET H~t{~
Y~5(132J.".
+3(80)

3

H5

5

.!.2

10

VF - VERTRESET LHF
2 HF.--It tI
+ + r + •+VERTICAL COUNTER+ 524/60 Hz NON-INTERLACED+ 525/60 Hz INTERLACED+ 630/50 Hz NON-INTERLACED+ 629/50 Hz INTERLACED

9 INTO 8 STATE MAPPINGLBAO THRU LBA7

MA-42611

Figure 4-6-5 DCO 11 Block Diagram

4.6.2.2

80/132 Column Selectilon - The column mode is changed by modifying the divisors of three ofthe counters in the DCO 11. The first of these counters divides the input clock (MASTER CLK) by 1.5
to produce the dot rate clock for SO column mode. The DOT CLK output provides the signal that
controls the shifting of dots out from the video shift register. A multiplexer determines what rate D9T
CLK will have for the entire screen by selecting either the output of the divide-by-1.5 in SO column
mode, or by selecting the 24 :MHz MASTER CLK directly in 132 column mode. The other two
counters affected by SO/132 selection are the dot c:ounter and the horizontal counter.
4.6.2.3

Dot Counter -- The dot counter uses four nip-flops to divide the DOT CLK that was selectedby the multiplexer by 10, in SO column mode, or by 9, in 132 column mode. The output of the dot
counter is the character rate clock, which is used to move character codes in the latches that are outside
the DCOll. Character clock is further divided by the horizontal counter. The timing of CHAR CLK isshown in Figures 4-6-6 and 4-6-7 for each of the two column modes. CHAR CLK is unaffected bydouble-width mode. The output of the next-to-Iast flip-flop is used for the write enable signal for theline buffer RAMs (WRITE LB L). WRITE LB L is also shown in Figures 4-6-6 and 4-6-7. This signal
allows the data and address changes, caused by the rising edge of CHAR CLK, to become stable
before writing is enabled and then disables writing before CHAR CLK rises again. WRITE LB L is
gated directly with HOLD REQ H so that it is active only during DMAs. Intermediate signals fromthe four flip-flops are used by various other functions in the DC011 such as the double-width multiplexer and the composite sync generator.

I

CHAR CLOCK ----,~_ _ _.....

VSRLD ______~r--1_______________________________________________~r__l~____WRTLBL~

1-------

80 COL - DOUBLE VVIDTH--I!--124.6188 ns

UL..ILILFLrlJI..
CHARCLOCK~LS
DOT CLOCK______________~r--l~________VSRLD~
WRT LB L--.J

LJ

l~'_--""""I
MA-4297

Figure: 4-6-6 Video Latch Timing - SO Column

4-57

132 COL - SINGLE WIDTH

1--- 41.5396 ns
DOT CLOCKCHAR CLOCK , ' - -_ _ __VSR L D - - - - -l ....._____--'WRTLBL~132 COL - DOUBLE WIDTH-I

1---83.0792 ns'

DOT CLOCKCHAR CLOCK

1 . . ___

L----.J

VSR LDWRTLB L~MA-42RO

Figure 4-6-7 Video Latch Timing - 132 Column
4.6.2.4 Double-Width Multiplexer - The double··width multiplexer (MUX) produces the three signals
whose timing must be changed when a line of characters is switched between single- and double-widthmodes. The frequency of DOT CLK must be divided in half on a double-width line so that the video
shift register will shift half as often, making each dot (;;tnd therefore each character) twice as wide as it
would be in single-width mode. In order for the video shift register to work properly with the half-rate
DOT CLK in double-width mode, the load signal for the shift register (VSR LD H) must still comeevery 10 dots (80 column mode) or 9 dots (132 c:olumn mode). Therefore loads must occur at every
other CHAR CLK. Similarly, incrementing the [~MA address counters occurs on every other CHAR
CLK to ensure that characters that are stored sequentially in the scre~n RAM are presented to the shift
register at the correct time for each VSR LD H pulse. The different modes of DOT CLK and VSR LD
H are shown in Figures 4-6-6 and 4-6-7.
In single-width mode, the double-width MUX directs the output of the 80/132 MUX to the DOT
CLK pin, providing either a 16 MHz or 24 MHz output. To get the half-rate DOT CLK for 80 column
mode, the double-width MUX selects the output of the first flip-flop in the dot counter, that acts as adivide-by-2 because the dot counter is dividing by 10 (10 is an even number). In 132 column mode thesame selection cannot be made because the dot counter is dividing by 9. But the divide-by-1.5 is notneeded in 132 column mode, so this divider is converted to a divide-by-2 and the double·width MUX
selects its output when a double-width line is displayed in 132 column mode.

4-58

The load input of the video shift register used in the VT100 is a synchronous input. This means thatwhen the load input is high, the rising edge of DOT eLK causes a parallel load to be performed insteadof a shift. To get one load and many shifts for each character, VSR LD H can only last for that one
cycle of DOT CLK that is adjacent to CHAR CLK. Furthermore, transitions of VSR LD H must satisfy SET-UJ? and hold times with respect to the rising edge of DOT CLK. In single-width modes, VSR
LD H is one dot time wide, generated from the outputs of the dot counter, and its SET-UP and holdtimes are guaranteed by internal propagation delays. This relationship is shown in Figures 4-6-6 and 4..:
6-7 by a slight shift in the transitions. of VSR LD H with respect to DOT CLK. In double-width mode,
VSR LD H is created by selecting every other CHAR CLK (Figure 4-6-5 shows a flip-flop that divides
CHAR CLK by two for this purpos(~) and then delaying this signal by one single-width dot time.

80 COLUMN OPERATION--------1
HOLD REO H -t-o-...... ---9.97 us Min.--=+Jllllllllllllllll-----12.46u s\+-- 2..4924 us

I-I 2.243 IJS Min .
:11111111111111111~.____.-1

ADDR CNT ON H -+-_ __I

SINGLE \NIDTH :I I

ADDR CNT H

I I

I I I I I

I I I

I I

DOUBLE WIDTHADDR CNT H

1+-- 623: ns----~-~I----------------------- - - - - - 1 1 .465us
HORIZ BLANK H

132 COLUMN OPERATIONHOLD REO. H -+_...

ADDR CNT ON H----11.215us--I

HllllllllllllllllllllllllTI'!+--1.37j.ls Min-----------~11111111111111111111111111,
I

SINGLE WIDTH I

I

Ilm!!!!I!!!!!!!!!!I!!!!!!~!!:I

ADDR CNT H

DOUBLE WIDTH:ADDR CNT H

IiIl.- 37~L8E)ns

I----~---~1-2-.0-8-8-j.l-S--------~-LI______________________HORIZ BLANK H
MA-4279

Figure 4-6-8 Address Count Timing
4-59

The signal that increments the DMA address counter (AD DR CNT) is shown in Figure 4-6-8. ADDRCNT has the same timing as CHAR CLK; the difference is that it does not run continuously. Figure 46-8 shows that ADDR CNT can only be generated if HOLD REQUEST H is high and that it is further
controlled by a signal from the horizontal timing section (ADDR CNT ON H) that allows ADDR CNT
to provide exactly three pulses (in single-width mode) before HORIZ BLANK H goes low. The threepulse delay primes the external character latches so that the dots for the first character on a line arebeing loaded into the video shift register at the same moment that HORIZ BLANK H enables thevideo at the beginning of a scan. The only change made to ADDR CNT for double-width operation isthat every other pulse is deleted, beginning with the first pulse (Figure 4-6-8).

4.6.2.5 Horizontal Counter - The block diagram in Figure 4-6-5 shows the horizontal divider broken
into three stages. The first divider is programmable according to the number of columns selected and isdriven by CHAR CLK from the dot counter. For 80 column mode the divisor is three; for 132 column
mode the divisor is five. The total division from ~1ASTER CLK to the output of this first divider is 45,
independent of mode (for 80 columns: 1.5 X 10 >< 3 = 45, for 132 columns: 1 X 9 X 5 = 45). Therefore, the operation of all of the remaining divideJrs in the DC011, which are driven from the first horizontal counter, are also independent of the column mode. The second stage of the horizontal divider has
a divisor of 17, which is chosen to give the required number of displayable columns plus about 28 percent more to allow time for the monitor to execute a horizontal retrace. The last stage is a simple divide-by-2 that provides the horizontal frequency. Designing the last stage to be a divide-by-2 guarantees
that the signal at its input will have a frequency twice that of the horizontal frequency as required by
the vertical dividers to create interlaced operation. The total division from CHAR CLK provided by
the horizontal divider is 102 in 80 column mode and 170 in 132 column mode. In either mode the frequency at the output of the horizontal counter is, 15.734 kHz.
4.6.2.6 Horizontal Drive and Horizontal Blank -- Two timing signals are generated from the horizontal
counter to control those system functions occurring at the scan rate. These signals begin at the end of ascan and last until the horizontal counter is incremented past a specific state that is decoded to turn thesignals off. The monitor requires a pulse at the end of every scan to tell it when to initiate a retrace andbegin the next scan; the duration of this pulse must be between approximately one-quarter and one-halfof one scan. Figure 4-6-9 shows HORIZ DRIVE L as produced by the DC011; the slight difference intiming between 80 and 132 column modes is the result of design convenience and is not significant to
the operation of the VT100. HORIZ BLANK H is designed to allow 83 characters during the forward
scan in 80 column mode and 137 characters in 132 column mode. The extra characters are included forpossible future use such as a field of indicators along the right margin of the screen or as extra symbols
inserted to mark text. The rising edge of HORIZ BLANK H is synchronized to CHAR CLK to eliminate the accumulated delay of the horizontal counter. The falling edge of HORIZ BLANK H occurs
between two CHAR CLKs (Figure 4-6-8) to m1eet some requirements of the DCO 12, but inside theDC012 HORIZ BLANK H is delayed to the folliowing edge of CHAR CLK so that the beginning ofeach displayed scan will coincide with a character boundary. The actual video blanking occurs inside
the DC012. Therefore there is no signal outside the DC012 that has the exact length of horizontal blanktime.
4.6.2.7 Line Buffer Addressing - The line buffer memory stores one line of characters during a scan onwhich a DMA occurs and then recalls these characters on each successive scan until the next DMA.
Because the line buffer is a random access memory, it has address inputs that must be provided with asequence of addresses that change at each CHAR CLK such that each character is stored in a uniquelocation. The horizontal counter can provide such addresses because it is incremented through a seriesof unique states that repeat in the same sequenct: on every scan. Because of the three stages that comprise the horizontal counter, there are nine flip-nops whose outputs must be converted into the eightline buffer address (LBAs) outputs. The conversion is possible because the 9 flip-flops represent a maximum of 170 states in 132 column mode (8 bits can represent 256 states). The DC011 contains gatesthat combine the output of the ninth flip-flop in the horizontal counter with the outputs of the other4-60

80 COLUMN OPERATION
r---------63.55 us
HORIZ
BLANK H--1 ~62:3ns~t:::-11.465us
j~12.088us

---I

I

if--12.462us-.j r---373.85 ns
HORIZ
BLANK H132 COLUMN OPERATION__~t:::...;-1 2...;.O_8_8.;;.;us~_ _._ _ _----II

I
80 COLUMN OPERATIONHORIZDRIVE L-,.....- 28.282.8u~s~:!:·rl·f----35. 262us-----4.'1I_____....J

I

HORIZ
DRIVE L

VERT
BLANK

f.:-28.164us

-J

.,..

35.386us-~.....I________'

1--1.869us FOR BOTH HIGH + LOW TRANSITIONS

~

~
VERT
RESET

132 COLUMN OPERATION

I----------

1--5.608us...JL

NOTE: HORIZONTAl. Bl.ANK H IS SHORTER THAN ACTUAL HORIZONTAL BLANK TIME.
MA-4272

Figure 4-6-9 Horizontal Timing
eight to generate some addresse:s tlhat are not otherwise represented by the eight. The resulting LBAs
do not follow a normal binary counting sequence but the sequence of unique addresses repeats exactlyon each scan. Figures 4-6-10 and 4-6-11 show the LBA sequence for one-half of a scan; the other half is
identical except that LBA 7 is low.
Several of the LBAs are used as general purpose clocks in the VT 100. LBA 3 and LBA 4 are used togenerate timing for the keyboard" These signals satisfy the keyboard's requirement of two squarewaves, one twice the frequency of the other, even though every 16th transition is delayed (the second
stage of the horizontal counter divides by 17, not 16). LBA 7 is used by the nonvolatile RAM. The
31.468 kHz signal on LBA 6 could be used for power supply synchronization, although this is not donein the VT100.

4-61

CHAR
CLOCK

--1

\--1 .2461 88 J1.S

LBA 0

LBA 1

LBA2~~'___________________________________________

r--L

LBA 3

1--5.60684 J1.s--j
LBA4

J
I-

LBA 5

LI1
I..

LBA

61
I..

LBA 7

r-3.738561 J1.S

J
I"

9.34641J1.s'1-I
16.82353 J1.S

L
7.47713J1.s---l_I_____. . .

Ul

·1 .

I
31.77778J1.S--------------.l-1

28.288 J1.S----------~-1

1 1,..- - - - -H DRIVE L

SECOND HALF OF SCAN
IS IDENTICAL EXCEPTLBA 7 IS LOW~

I
MA-4300

Figure 4-6-10 Line Buffer Address Outputs - 80 Column

CHAR
CLOCK
LBA 0

-1 !--747.7nS

LBA 1
LBA 2
r1.869281 us

LBA 3
LBA4 J......... '"' --,L..Jn1...._ _ _ _ _ _---'
LOA 0

I

n

L--I 1-

11+,.-------16.82353 ~S-------.+.I...------14.95425 ~S------.l·1
LBA 6l______________---'

I\ 1 4 - _ - - - - - - - - - - - - - - 3 1 . 7 7 7 8 ~S--------------~.I

LBA 7JHDRIVE Ll .I4"==========================-_2_8_.1_6_4_J.l_S~:::::::::::::::::::::::::::::::::::::::::::::~~~:::::::::::::..·~I------.
SECOND HALF OF SCANl
IS IDENTICAL EXCEPTLBA 7 IS LOW
MA-4274

Figure 4-6-11 Line Buffer Address Outputs· - 132 Column

4.6.2.8
Vertical Operation - To paint a complete picture on the screen, the monitor moves theelectron beam slowly from the top of the screen to the bottom, while it is also moving the beam quickly
from left to right to paint each scan. The vertical sweeps of the beam must be repeated continuously sothat the picture is refreshed often enough to prevt;:nt the appearance of flicker. In television terminology, a single pass of the beam from the top of the screen to the'bottom (and the data displayed duringthat time) are referred to as one field. A compll~te picture, which may contain one or more fields
depending on the type of interlacing in use, is called one frame. When the VT100 is used in noninterlaced mode, each successive field is identical and therefore only one field is contained in ,each frame.
During interlaced operation in the VT100, there are two types of fields that alternate with each otherso that each frame consists of two fields. Even fields start at the top of the screen and display 240 scanlines before reaching the bottom. Odd fields place their first scan line between the first and secondscans of the preceding even field and then place each additional scan between succeeding scans of theeven field. Interlacing the even and odd fields gives a whole frame of 480 scans, instead of 240 scans, toprovide increased vertical resolution. In noninterlaced operation, commands to the monitor to begin a
new field are always coincident with commands to begin a new scan. This causes the beam to always bein the same vertical position when the first displayed scan is begun. But, in interlaced mode, odd fields
begin with a command for a new frame that occurs halfway through a scan line. This causes the beam
to have moved down the screen from where it would have been during an even field (by the distancethat it moves in one-half of a scan) when the first displayed scan is begun. Even and odd fields are
made to alternate by including an odd number of half-scans in every field. This is in contrast to
noninterlaced operation, where each field contains only complete scans. The VT 100 always displays
the same video information on both even and odd fields. Interlaced mode is provided for future use by
options that desire increased vertical resolution.
4.6.2.9 Vertical Counter - The 10-bit vertical c:ounter, shown in Figure 4-6-5, determines the frequency at which the screen is refreshed by counting the number of horizontal scans to be included ineach field. The vertical counter uses the 31.468 k Hz output of the horizontal counter so that it cancount the half-scans required for interlaced operation. Figure 4-6-5 lists the four available divisors that
select the interlace mode and keep the refresh frequency as close to the local power line frequency as
possible (to minimize interference with the screen from nearby equipment). The vertical frequencies
produced by these divisors are approximately 1/20 Hz above or below the nominal power line frequency.
4.6.2.10 Vertical Outputs - Three outputs are derived from the flip-flops in the vertical counter tocontrol the vertical refresh operations in the VT100. These signals are shown in Figures 4-6-12 and 4-613 for all four modes. VERT DRIVE H is issued at the bottom of the screen to initiate a verticalretrace followed by a new vertical scan. This operation is analogous to the effect of HORIZ DR-IVE L
on horizontal scans. The time between any two VERT DRIVE Hs is a constant, equal to an evennumber of half-scans in noninterlaced mode and equal to an odd number of half-scans in interlaced
mode. VERT BLANK L always enables exactly 240 scans during any field and blanks any remaining
scans. Furthermore, VERT BLANK L is always turned off exactly 20 scans after VERT RESET H in
60 Hz mode and 50 scans after VERT RESET H in 50 Hz mode. VERT BLANK L is always adjusted
to display complete scans even during odd fields in interlaced mode. VERT RESET H initiates the
DMA process at the start of every field. When VERT RESET H goes high, the DMA address counters
are reset to point to address 2000H in the screen RAM, all line attributes are cleared, and the scroll
counter in the DC012 is preset to the value stored in the scroll latch. (See the DC012 description for
more explanation.) During noninterlaced operation and on even fields, VERT RESET H occurs at thesame time as VERT DRIVE H; but, on odd fields VERT RESET H is delayed one-half of a scan tomatch the start of a horizontal scan. The relationship of VERT RESET H and transitions of VERTBLANK L to HORIZ BLANK Hand HORIZ DRIVE L is depicted in Figure 4-6-9. Notice that
VERT BLANK L always turns on or off when the video is already blanked by HORIZ BLANK H.

4-64

60 HERTZ NON-INTERLACEDL.

VERT DRIVE.....J

LI

J'--'_02_m_s_ _ _ _ _ _ _ _ _ _ _
1_·
r
....I

..

-+1 4-125Jls (2 SCANS)l~VERT BLANK

16.65 ms

·1 1.40 ms-I. 1.02 ms-~

I
1 6.65 ms~ r--125JlS (2 SCANS)·1·1 1.40 ms

I..

I

PL---

VERTRESET~~_4__
5._6Jl~S_______________________________Jr_I__________________________________

60 HERTZ INTERLACED-'VERT DR IVE....J-l1:'-1571lS (2.5
I

VERT BLANK------------,r 1.02 ms

"1.02
ms
ODD FIELD________________________________
00....1

EVEN FI ELD

16.68 ms ------~.i.--------16.68 m s - - - - - - -...I'SCANS)--1 ~125Jls (2 SCANS)~--------------------------~II
14-----4....- 1.46 ms\..- 3'.8~(s (.5 SCAN)

Ir---fLVERT RESET -.:.I
L - 5.6Jls

1+--~f-1.40 ms

II
16.65'ms - - - - - - - - - .
.. ··--------16.72msn-I
I I~L.

a...-________________________________

MA-4307

Figure 4-6-12 Vertical Signals - 60 Hz

50 HERTZ NON-INTERLACEDn

VERT DRIVE ..:::::f(:-1.02 ms

VERT BLANKC

I---1 ~1VERT RESET.\.

20.02 ms

I-

4 .77 ms--=J-1.59 ms (25 SCANS)...=jt= 5.6

J,JS

50 HERTZ INTERLACED-VERT DRIVE --=::jI:-1.02 ms

0\
0\

VERT BLANK

l

I·

-I

r1.59 ms (25 SCANS)nfL
EVEN FIELD

I

19.99 ms

·1-

19.99 ms-I

20.02 ms

-I

I 4.70~1 .55 ms (24.5 SCANS)-1

31.8 J,JS (.5 SCAN)

VERT RESET

4.77 ms

ms.t1.52 ms (24 SCANS)

19.96 ms
5.6 J,JS .

-I

n4.77 ms

I:---=:Il:-

20.02 msODD FIELD

"'I

I

n

"-

MA-4301

Figure 4-6-13 Vertical Signals - 50 Hz

4.6.2.11 Composite Sync - The COMP SYNC L signal supplied by the DCOl1 is combined withvideo information by the terminal (;ontroller board to produce the composite video signal that appears
on J9 at the back of the VT100. An external monitor can use the composite video signal to reproduce
the image displayed on the VT100 screen. This is accomplished by using the video information to control beam intensity and the cemposite sync waveform. to synchronize the raster to the video information.
The composite sync generator in the DC011 uses outputs from the dot, horizontal, and vertical countersto generate the complex timing of COMP SYNC L. COMP SYNC L consists of one of the verticalintervals depicted in Figure 4-6-14 followed by 240 horizontal sync pulses, another vertical interval, etc.
The vertical synchronizing interval consists of a transition from horizontal sync pulses to six equalizing
pulses, six vertical sync pulses, six more equalizing pulses,and then a return to horizontal sync pulses.
Two vertical intervals are shown in Figure 4-6-14. The vertical interval that begins an odd field is similar to that which begins an even field except that the equalization and vertical sync pulses are shiftedby one-half scan with respect to the horizontal sync: pUlses. In noninterlaced mode all fields are evenfields; but, in interlaced mode every other field is an odd field. Figure 4-6-14 also shows the relationshipof COMP SYNC L to ,bot.h the: horizontal blank tiIne (HORIZ BLANK H modified by the DC012)
and VERT BLANK L. COMP SYNC L meets the requirements of EIA RS-170 and the NTSC standards for sync pulse generators.
4.6.2.12 Hold Request, Address Load, and Double-Width - The logic associated with HOLD REQ H,
ADDR LD L, and DW H is shown in Figure 4-6-5. The falling edge of HOLD REQ H sets ADDR LD
L to the low state; ADDR LD L is subsequently cleared by the falling edge of CHAR CLK, thus creating a short low pulse on ADDR LD L at the end of e:ach DMA. ADDR LD L stores, in their respective
registers, all line attributes and the memory address of the next line to be accessed by a DMA. The
rising edge of HOLD REQ H causes the value of DW H that was stored in the holding flip-flop by theprevious ADDR LD L to be transferred to a second flip-flop whose output controls the double-width
MUX. This means that the value of DW H stored at the end of one DMA by ADDR LD L does not
actually become effective until the beginning of the next DMA. The holding flip-flop for DW H iscleared by VERT RESET H at the start of every field. HOLD REQ H is also used to enable ADDR
CNT and WRITE LB L only during DMAs. Interactions of HOLD REQ H with other signals during a
DMA are further defined in Figure 4-6-19.
.
4.6.3 Control Chip Description
The control chip (DCO 12), like the timing chip, is a: custom bipolar device. It accepts attribute specifications and timing signals and delivers addresses fQir the character generator ROM and attributes forthe video output to the monitor. It also generates the HOLD REQUEST signal that halts the microprocessor and initiates DMAs to get lines of characters. Refer to the block diagram, Figure 4-6-15.
The DCO 12 performs three main functions.

1.

Scan count generation. This involves two counters, a multiplexer to switch between the
counters, double-height logic, scroll and line attribute latches, and various logic controlling
switching between the two counters. This is the biggest part of the chip. It includes all scrolling, double-height logic, and feeds into the underline and hold request circuits.

2.

Generation of HOLD REQUEST. This uses information from the scan counters and thescrolling logic to decide when to generate HOLD REQUEST.

3.

Video modifications: dot stretching, blanking, addition of attributes to video outputs, andmultiple intensity levels.

4-67

EVEN FIELD
14t-_ _ _ _V_E_RT_I_CA_L_B_LA_N_K_I_NG_I_N_T_E_RV_A_L____===

60 Hz NON-INT
22 SCANS}
60 Hz INT=_22 SCANS _ _ _.....-!
75 SCANS{ 50 Hz NON-INT
50 Hz INT
74 SCANS

60 Hz NON-INT = 2 SCANS
60 Hz INT
2 SCANS{ 50 Hz NON-INT = 25 SCANS
50 Hz INT
= 24 SCANS=LAST DISPLAYED SCAN OFFIRST OF 240 DISPLAYEDCOMPOSITE
SYNC

I

:\/\

TIME--+

I
:

~

I

I
I
I

START OFEVEN FIELDI

H PERIOO= 63.56 P'

I

I

I[60 Hz INT = 23 SCANS~------+-----------------+l50HZI~T=75SCANS ~----~ODD FIELD: VERTICAL BLANKING INTERVAL

60 Hz INT = 2.5 SCANS{ 50 Hz INT = 24.5 SCANSLAST DISPLAYED SCAN OF'
EVEN FIELD

V\

\

I
:
I

FIRST OF 240 DISPLAYEDSCANS IN ODD FIELD

!

n

(V

COMPOSITEillllr*lllnnnnnnn
n n n n nnnnnnrlllrr,rlllllllr--SYNC
UUU
U
U· U U U U U U L..JL..JL...JL...JL..JL...JU U U U U U
U
U
U
U
U
U
u

i\r\

TIME--+I

START OF.1ODD FIELD

-,

F

r1-

H PERIOD= 63.56/Js

H BLANK {11.84 /JS /80 COLUMN
12.34/Js/132COLUMNHORIZONTALBLANKCOMPOSITESYNC

FRONT PORCH = 1.54 P'
H SYNC = 4.71 P'

u
U

yl

I-

~

NOTES:•IN NON·INTERLACED OPE~ATION THE
EVEN FIELD IS REPEATED CONTINUOUSLY, AND THE ODD FIELD IS NOT
USED.

•

u
u
I

~H

u
u

If
EO • 2.33 '"PERIOO..j \..

U

U
I
--t

L

n
j.-V SYNC

rL= 27.28

J(S= 63.56 P'

IN INTERI".ACED OPERATION THE
EVEN FIELD ALTERNATES WITH THE ODD
FIELD.

•ALL FIELDS CONTAIN 240 DISPLAYEDSCANS.

MA-<I304

Figure 4-6-14 Composite Sync Output

4
SCAN COUNT MATH
4
1-_ _ _ _ _ _._/ SCROll 1-_ _"7'4'--_ _ _~OFFSET I----~---.-/ SCROll..---7'4'---_ _.-.1 MU X
t---+---,----.j NORM: ADD 15 GET 15,0,1,2 ... 7,8
LATCH
COUNTERo HI TOP: +2 & ADD 15 FOR 15,15,0,
0 ... 3,3
DATA <0-3>

4

SCAN
COUNT

<0:3>

o HI BOT: +2 & ADD 4 FOR 4,4,5,5 ... 8,8
4

VERT FREO....- - - - - - ,INTRPT

ClR SCANCOUNTER

VERTRESET
BASICATRLATCHREVVIDo HIGHATIRIBUTE
11"\f"'!'1f'Io... vun....

VIDEO OUT 1
ADDRlD---.....

VIDEO OUT 2

3
HOlDR04----------~----------------_++_--------_r-----~

CHARClK------------------r---------------+--~---------~---L-r_----r_~---~HORIZBlANK--------r------~--------------_+------------_r--~

HORIZ ClKGENERATOR
3 CHAR DELAY

I

H ClK

BOLD
TERM

UNDER
LINE

BLINK

VID IN DOT ClK
MA-4364

Figure 4-6-15 DCa 12 Block Diagram

4.6.3.1
Input Decoder Functions - The input decoder accepts a 4-bit command from the microprocessor when VID WR 2 L is asserted. Table 4··6-2 lists the commands.
The low eight values are used to load the scrolllateh with the offset for smooth scroll. The scroll latch
is loaded in two passes, first writing the two least, and then the two most significant bits. Because theoffset is a decimal value controlling 10 display scans, the combination setting the most significant bits
to lIB is not used in the VT100 (lIB covers the range 12-16).
The input decoder also toggles the blink flip-flop by complementing the state of the flip-flop whenever
1000B is written. The blink flip-flop invokes blink only where the blink attribute is set.
To save external hardware the vertical frequency interrupt flip-flop is located in the DC012 because aspare pin was available. It is set by the falling edge of Vertical Reset. It is cleared by writing 1001B
into the input decoder.
Set and clear of reverse field are not toggled because the absolute state is important and there is nofeedback for the system to detect the current state. Therefore, the two states are explicitly set to their
desired values.
1100B means set base attribute to underline and 1101B means set base attribute to reverse video.
1110B and 1111 B are for future specification.
Any time the input decoder is loaded with l1XXB, the blink flip-flop gets cleared. This is the only way
to initialize blink in the chip testing process. The firmware does not currently Use the ability to clear theblink flip-flop but if hardcopy output was being implemented, it could be used to set the blink to a
known state during a freeze.
Table 4-6-2 Control Chip Commands(Write Address = A2H)
D3 D2 Dl DO
0
0
0
0

0
0
0
0

0
0
0
0
0
0

. Function

0
0
1
1

0
1
0
1

Load low order scroll latch = 00
Load low order scroll latch = 01
Load low order scroll latch = 10
Load low order scroll latch = 11

0
0
1
1

0
1
0
1

Load high order scroll latch = 00
Load high order scroll latch = 01
Load high order scroll latch = 10
Load high order scroll latch = 11 (not used)

0
0

0
1

Toggle blink flip-flop
Clear vertical frequency interrupt

0
1

Set reverse field on
Set reverse field off

0
1
0
1

Set basic attribute to underline *Set basic attribute to re:verse video *Reserved for future sp(:cification *Reserved for future sp(:cification *

0
0
0
0
1
1

*These functions also clear blink flip-flop.
4-70

4.6.3.2

Attribute Latches .- Thl! line attributes are managed by two latches that store the scrolling,
double height (DH), and double width (DW) bits. The first latch stores the incoming data when
Address Load (ADDR LD) goes low at the end of a DMA. Scrolling means that the next line will bepart of the scrolling region, DH m(!ans the next line will by double height, and DW specifies top or
bottom half for double-height lines. There is no double height, single width combination, so in double
height, double width is assumed. The DW pin also tells the DCOl2 to extend HOLD REQUEST
during double width. The second. set of latches for double width and double height are clocked by therising edge of HOLD REQUEST (similar to the second latch for double width in the DCOIl) to invoke
the attributes at the beginning of the new line. The first latch stores those attributes from the end of
one DMA to the beginning of the: next. It is the outputs of the second latch that invoke attributes in thechip. The scroll bit is invoked by a different signal that will be discussed later. The pin defining
scrolling is the same pin as reverse video; it means scrolling when loaded in by ADDR LD L and itmeans reverse video at all other times. The reverse video signal passes from the input pin around thefirst latch directly to the attribute l'Ogic.

4.6.3.3 Scroll Counter - The scroll counter consists of two 4-bit, divide-by-l0 counters called theScan counter and the Offset counter. Both are clock(~d at the horizontal rate to count scans. The Scan
counter is cleared by VERTICAL RESET so that it starts at 0 and counts by lOs down to the end of
the screen.
The Offset counter is loaded with the contents of the scroll latch by VERTICAL RESET. The Scroll
latch is loaded by the microprocess'Or and defines th~~ offset between the Scan and Offset counters foran entire frame because the Offse:t counter is only loaded at vertical reset time. The microprocessor will
load the latch with the offset for the next frame during the current frame.
At the beginning of a fran1e, the two counters divide by 10 but start at different numbers. If not
currently scrolling, the offset is 0 and there is no functional difference between the counters. If in the
middle of a smooth scroll, the offset will be some other value from 1 to 9. The scan address outputs
from the chip to the character generator ROM are either the output of the Offset counter or of the
Scan counter, depending on wh<~ther the current line is in or out of the scrolling region, respectively.
One of the two counters is select,ed by a 4-bit wide multiplexer (MUX) whose output is the Counter In
Use. The MUX is controlled by the scroll flip-flop which is the second latch for the scroll attribute bit.
Most line attributes (double height, double width) take effect when HOLD REQUEST goes high forthe line in which they are effective. They always take effect with the actual data being displayed.
However, the scroll flip-flop can only change state when crossing one of the fixed 10 scan boundaries
that are defined by the Scan counter reaching O.
Each scan when the Scan counter reaches 0 is a scan on the screen where a change can occur from anonscrolling to a scrolling region, 'Or from a scrolling to a nonscrolling region since this is normallywhere one line of data changes to the next if the line were not scrolling. This is the only place changes
can occur because the bottom of a nonscrolling line of characters is the place for moving into a
scrolling region and the top of a nonscrolling line is the place for getting out of a scrolling region. To
get into or out of a scrolling region the Scan counter must be at zero. A 4-bit Boundary Detect decoder
gate is connected to the outputs of the Scan counter and clocks the scroll flip-flop when all its inputs
are zero. If the input to the scroll flip-flop (from the scrolling attribute latch) has been low and goeshigh at the end of the previous line's DMA, then on 0 (boundary detect), the output of the scroll flipflop, which is the control line of the MUX, causes the MUX to switch from the Scan to the Offset
counter. At the bottom of the s(~rolling region, the last DMA in the region gets a line from the screen
RAM with its scroll attribute not set so when the nlext 0 boundary is reached, as defined by the Scan
counter, the scroll zone is exited. This is because thle scroll flip-flop will get a zero input again which
will switch the MUX back to th<~ S(;an counter right in the middle of the line that was partway throughscrolling.

4-71

4.6.3.4 Scan Count Math - The scan count output of the scroll MUX goes through combinatorial
logic that looks at the double height bit and the top and bottom half bit and decides whether those scancounts need to be modified for double height before going out of the chip. If double height is notasserted, the top and bottom half bit is ignored and the scan is passed through with 1 subtracted inmodulo 16 arithmetic. (Thus, 0 becomes 15,3 becomes 2,9 becomes 8.) If double height is asserted and
top half is asserted, then the operation is to divide the scan count by 2, and continue to suotract 1 after
dividing by 2 so the first scan = 15, second scan == 15, third scan = O. If bottom half is asserted, theoperation is to divide by 2 and add 4. This particular arithmetic arrangement was designed for an
external component that is no longer needed. Oth(~rwise, dividing by 2 (and adding 5 for bottom half)
would be sufficient. Table 4-6-3 shows the scan count sequences for the various modes. The scan countchanges on the rising edge of HORIZ BLANK H.
Table 4-6-3 Scan Count Sequence
Normal and Double Width
SC3
SC2
SCI
SCO

1
0
0
0
0

0
0
0
0

1

0

1
0
0
1
1

1
1
1
1
0

0
0
1
1
0

1
0
0
0

1
0

1
0
1

0
1
0
1
0

Double Height Top
SC3 SC2 SCt

1
1
0
0
0
0

0
0
0
0

1
1
0

1
1
0

0

0

0

0

0
0
0
0

0
1
1
1
1

0

SCO

1
1
0
0
1
1
0
0
1

1

Double Height Bottom
SC3 SC2 SCt SCO

0
0
0
0
0

0
0
0
1
1

1
1
1
1
1

0
0

1
1
1
0

1
1
1
0
0

0

0
0
1

0

0
1
1
0

0
1
1
0
0

NOTE: Top line of table is first scan of character line (where HOLD REQ H occurs).

4.6.3.5 Generation of HOLD REQUEST - HOLD REQUEST is the signal to the microprocessor
that makes it give up control of the data bus. Then the video processor can DMA a line of data out of
the screen RAM and place the data in the line buffer. Two principle conditions can generate HOLDREQUEST. The most common is when the output of the Counter in Use = 0, meaning on the firstscan of a new line of characters. (The Counter in Use, which is the output of the scroll MUX, is either
the output of the offset or scan counter, depending on whether the current line is in or out of a scrolling
region.) Whenever a new line of characters starts, a HOLD REQUEST is needed to get the line's data.
Therefore, a detector at the output of the scroll ~r1UX detects scan 0 of the Counter in Use.
The other condition for generating HOLD REQUEST is at the top of a new scrolling resion. This isnecessary because as the CRT beam moves from a nonscrolling region into a scrolling region, it
switches from the last scan of a normally registejred line to the first displayed scan of a line that is
scrolling. Assuming the scrolling.region is in midsc:roll, the first scan is not the Oth scan of the scrolling
line, so the Counter in Use is not O. The new scroll zone flip-flop (whose clock input comes from thescroll flip-flop that controls the scroll MUX) is triggered by entrance into a scrolling region. When the
new scroll zone flip-flop is set, it forces a HOLD REQUEST even if the Counter in Use is not also O. If
the Counter in Use is 0 (implying an offset of 0 between scrolling and nonscrolling lines) there are twosimultaneous causes for HOLD REQUEST.

4··72

The new scroll zone flip-flop is cleared by ADDR LD that occurs at the end of the Hold Request
generated by the new scroll zone flip-flop. That is., the new scroll zone flip-flop generates HOLDREQUEST. HOLD REQUEST is cleared either by Terminate or Horizontal Blank, whichever comes
first (the way the VT100 is programmed, Terminate is always first) and termination of that HOLDREQUEST feeds back through ADDR LD and clears the new scroll zone flip-flop. More about
HOLD REQUEST follows a discussion of Horizontal Blank and Terminate.
4.6.3.6 Horizontal Blank and TE~rminate - Horizontal Blank, in addition to blanking the video output,
clears the terminate flip-flop and also generates an internal timing signal (horizontal time reference)for clocking counters.
A short signal, that occurs on every horizontal scan and lasts only a few character times, is needed in
the chip to clock flip-flops and to disable the decoder gates that detect boundaries and generate HOLDREQUESTS while the counters settle. Horizontal Blank cannot be used for this purpose because
HOLD REQUEST and Boundary Detect (and other signals) need to be settled well before Horizontal
Blank ends. The required short signal comes from a small counter triggered by Horizontal Blank andfurther clocked by character clOlck . The counter has two outputs: a two-character clock wide signalthat enables and disables the boundary detect flip-nop (that drives the scroll flip-flop) and a threecharacter clock wide signal (H eLK) that enables the Hold Request gate. Boundary detect is enabled
earlier than the HOLD REQUEST gate so that the existence of scrolling can set up the new scroll zone
flip-flop before HOLD REQUEST is enabled. A gate combines the output of the new scroll zone flipflop and the output of the boundary detector (Counter in Use = 0). The output of that gate is combined with H CLK (three character clocks long following Horizontal Blank) to generate the rising edgeof HOLD REQUEST three character times after the rising edge of Horizontal Blank, and is also
combined with the signal from the terminate flip-flop to end HOLD REQUEST when a terminator is
detected.

If Terminate did not cut off HOLD REQUEST, then HOLD REQUEST would be disabled by thenext falling edge of the H CLK siignal, but the VT100 is programmed to always end HOLD REQUEST
with Terminate. If the VT100 was not working right, HOLD REQUEST might be ended by Horizontal Blank.
Terminate causes a number of functions inside the: DCOI2. The Terminate input is not direct; it issampled on each rising edge of character clock and latched into a flip-flop. When detected, it ends any
HOLD REQUEST in progress. In normal screen mode, it blanks the video output, but in reverse
screen mode it forces the video output to the dim intensity level. The terminate flip-flop output feeds
back to its own input, so that as sOlon as the flip-flop is clocked with Terminate asserted, the flip-floplatches itself up.
Once the terminate flip-flop is latched up by feedbac:k from its output, there is only one way to clear it:
through the asynchronous clear input. The flip-flop must not be cleared until Horizontal Blank hastaken over blanking the video output; therefore the dear is delayed slightly (by one character time after
the onset of Horizontal Blank). The clear is maintained until jusf before the character clock whichcorresponds to the first charactc~r on the screen because data on the video data bus may be undefinedand might contain extraneous Terminates. These must not be detected during the horizontal blanking
interval because they would latc~h up the terminate flip-flop for an entire scan. However, the internalsignal that blanks the video outputs of the DC012 during the horizontal blanking interval cannot be
used to clear the flip-flop directly because it must rellease the video output at the exact beginning of thefirst character on the screen, and the terminate flip-flop must be capable of detecting the terminator in
the first character position . If the internal blanking signal was used to clear the terminate flip-flop, therelease time of the flip-flop would not be satisfied, and it might miss a terminate in the first character
position (as would be found in SET-UP and the top and bottom fill lines). Therefore the Horizontal
Blank output of the DCOll is made to end approximately one-half character time before video unblanking to release the clear on th€: terminate flip-flop. Inside the DCOI2, the falling edge of Horizontal Blank H is delayed to the follQlwing character clock to provide the correct video blanking.

4-73

4.6.3.7 Double Width and Hold Request - The first occurrence of Terminate or Horizontal Blank at
the end of a DMA normally gates Hold Request off. But in double-width mode, Hold Request isextended by two character times. This is required because each character appears twice in the external
character latch pipeliI;e. To get the first and second byte of the address of the next line correctly placedwith respect to Address Load, the end of Hold Request must be delayed by two character times afterTerminate or Horizontal Blank. This delay occurs either when double width is asserted alone or any
time double height is asserted (because double height implies double width) by combining Hold
Request with a two character time delayed version of Hold Request to give a Hold Request that starts
at the normal time but ends two character times later.
4.6.3.8 Attributes - The attribute section of the DC012 basically implements Truth Table 4-6-4 which
decides how to interpret various combinations of attribute inputs. A number of different inputs determine attributes applied to each character. There afl~ the four attribute pins: Reverse Video H, Underline L, Bold L, Blink L. But there are internal signals (mostly from the input decoding section) that
. affect attributes also: the blink flip-flop (toggled by the input decoder to provide blink timing), thereverse/normal field flip-flop (set by input decoder), the base attribute flip-flop (set by the input
decoder to select whether the reverse video pin is interpreted as reverse or underline) and the scancounts (from the output of the doubie height section, that enable the underline on the correct scan).
These inputs are applied to a combination of gates that feed into a 4-bit latch before controlling thevideo outputs. This latch is clocked by character clock to change the attributes during the intercharacter space.
Table 4-6-4 defines the following appearance for characters with attributes.
Normal characters appear uninverted at normal intensity by asserting VID OUT 2 whenever VID IN
H is asserted. Bold characters are the same as normal characters except that VID OUT 1 and 2 areenabled. Reverse characters (exclusive-OR of rev€!rse video and reverse screen) normally have dim
backgrounds with black characters so that the large: white spaces have the same impact on the viewer's
eye as the smaller brighter white areas of normal characters. Bold and reverse asserted together give abackground of normal intensity. Blink applied to nonreverse characters causes them to alternate between their usual intensity and the next lower intensity. (Normal characters vary between normal anddim intensity. Bold characters vary between bright and normal intensity.) Blink applied to a reverse
character causes that character to alternate between normal and reverse video representations of thatcharacter. Underline causes the ninth scan of a chaJracter to be forced to white of the same intensity as
the character for non reversed characters, and to black for reverse characters.
4.6.3.9 Dot Stretcher - The dot stretcher reduces the video bandwidth required in the monitor (especially in 132 mode) by making the minimum dot width 80 nanoseconds. Wider dots give the CRT time
to reach full intensity before turning off again. This makes vertical lines appear to have the same
intensity as horizontal lines, rather than looking dimmer because of the brightness loss as illustrated in
Figure 4-6-16. The dot stretcher works by delaying the VIDEO IN H signal by one dot time (using a
flip-flop clocked by Dot Clock) and then ORing the undelayed and delayed signals. Figure 4-6-17
shows an example of the dot stretcher's operation.
4.6.4 Address Counter and Data Structure in RAIVf
Refer to the print set and to Figure 4-6-20. The address counter (E21, E22, E25, E30) is three presettable 4-bit binary counters cascaded to form 12 bits with an additional flip-flop that provides a 13th
bit of address to the screen RAM. Vertical reset dears the counter to an initial hardwired value of2000H so that the video processor always begins to process from that location after a vertical reset.
The counter is loaded with a new address at the end of each DMA when the address load signal
appears. The counter counts forward from this address at the character clock rate, using the address
count (ADDR CNT H) signal. ADDR CNT H only occurs during Hold Request; thus, the counter
only counts during the DMA portion of each line. The address is loaded at the end of theDMA scan

4··74

and held until the next DMA begins. The 13th bit is programmed by D4 in the high byte of a DMA
address. The VT100 firmware programs this bit high to access address 2000H plus the contents of the
12-bit counter. But if D4 were programmed low DMAs would access address 4000H plus the contentsof the 12-bit counter.
Table 4-6-4 Character Attribute Combinations
Effect *Ba.ckgroundVideo (VID
IN H = 0)

Attributes

CharacterVideo (VID
IN H = 1)

Reverset

UnderlineL

Bold
L

Blink
L

L
L
L
L

H
H
H
H

H
H
L
L

H
L
L

0
0
0
0

L
L
L
L

L
L
L
L

H
H
L
L

H
L
H
L

0
0
0
0

H
H
H
H

H
H
H
H

H
H
L
L

H
L
H
L

D
D/O

N
N/O

H
H
H
H

L
L
L
L

H
H
L
L

H
L
H
L

D

0

0

D/O
N
N/O

OjN

OjN

H

Rev Field H

Rev Vid H

Reverse

L
L
H
H

L
H
L
H

L
H
H
L

Code inTable

BeamIntensity

0
D
N
B

Ofr
Dim
NormalBrightNot Applicable

X

N

NjD
B

BjN

VID2H

VID IH

L
L
H
H

L
H
L
H

Underline
Video+
X
X
X
X

N

N

NjD

NjD

B

B

BjN

BjN

0

X
X
X
X

OjN
0

OjB

0

0

OjB

OjB

* For blinking, outputs are shown as OFF JON whlere OFF and ON are the blink flip-flop states.
t Reverse = (reverse field H) XOR (reverse video H):(: Intensity of beam on underline scan

4-75

ns~

*BRIGHTNESS LOSSINPUTMONITORPULSERESPONSE
THE MONITOR RISETIME IS TOO SLOW TO REACH MAXIMUM
BRIGHTNESS BEFORE THE SHORT PULSE FALLS__. .rl---SO
..

ns

"1-

BY STRETCHING ALL PULSES TO A MINIMUM
OF TWO DOT TIMES, FULL BRIGHTNESS IS ATTAINEDSIMPLE LOGIC ADDS ONE PULSE TO THE
TRAILING EDGE OF ANY INCOMING PULSEINPUTOUTPUT..

S:L
MA-4665

Figure 4-6-16 Dot Stretching

CHARACTER AS STORED IN
SCAN
CHARACTER GENERATOR ROM
NUMBER1 • • • • • • • • • • • • • . . . • • ••ACTUAL CHARACTER DISPLAYEDAFTER DOT STRETCHING... ........... .
.....
•••••••• •••••••••· ..

2· . . . • . . . . . . . . . . . . . . .
3 ...•.•..............
4· . • . . . • . . . . • . ••••. ..
5· • . . . . . • . . .•• . . . . • . .
6· •••••••. . .••. . . . • . .

............. .

· ..
•

•

•

•••••••••••••• •••••••••••••••••••••••••••••• ••••••••.
..
..... .
••.... ......
........
.... ..... .
· .......... ... ..... .
•7·.· ....•...•. ••••. ..

•8·.· ... .•. ..•......

9· . . . . . . . . . . • . . . . . .
10· . . . . . . . . . . • . . . . . .

~-------------------v------------I
20 DOTS FOR 2 CHARACTERS
IN 80 COLUMN MODE

••

•

•

MA-4663

Figure 4-6-17 Dot Stretcher Example

4··76

In double-width mode, the addn~ss count pulses occur half as often as in normal width. The line buffer
receives the normal number of WRITE LB pulses, however, so each character gets copied into two
adjacent locations in the line buffe:r.
4.6.5 Address Latch Buffer
Tristatable latches (E26, E33) ston! the address counter outputs for a character period to increase thespeed of RAM accesses that would otherwise be slowed by the long propagation delay of the counters.
They provide sufficient output power to drive the address bus of the basic terminal controller board
and the AVO if present. The outputs are disabled during the non-DMA period to prevent conflict withthe microprocessor address bus.
4.6.6 Line Buffer
Data arrives at the screen RAl\1 latch (E20) during a DMA cycle and is latched in by the characterclock. During the DMA the tristate buffer (EIS) is ,enabled. Data passes through it to the line buffer(Ell, E17) for storage and to the character generator latch input (EI6). The line buffer is a 256 X 8
RAM that can hold one fulllinc! of data including the three end bytes. The line buffer is written when
WRITE LB L is asserted in the middle of each character clock period. Its outputs are disabled during
the DMA by the Hold Request signal. During non-DMA operation, the screen RAM latch samples
the 8080 data bus at the character rate but the tristate buffer is off so the 8080 data has no effect.
However, the outputs of the line buffer are enabled and the same data is presented to the character
generator latch as was presentedl during the previous DMA scan. The address signals for the line buffer
are described in Section 4.6.2.7.
4.6.7 Character Generator
The character generator is a ROM that is addressed by the coded representations of the desired characters stored in the screen RAM. Each code is used as the high 7 bits of the address to a 2K X 8 ROM(that provides enough storage for 128 characters). (The eighth character bit is the base attribute input
to the DCOI2.) The low four address bits are provided by the scan counter in the DCOI2. The sevencharacter bits combine with the 4-bit scan count from the DC012 to give an II-bit address to theROM. The data stored at: each (scan + character) address are 8 bits representing the presence orabsence of dots of light at sequential horizontal positions within that scan. Figure 4-6-18 shows thepatterns supplied in the standard VT100 character generator ROM.
If the alternate character generator ROM and the advanced video option are present, the A VO may
assert AL T CHAR SET L to disable ROM E4 and enable ROM E9 when the alternate character set
attribute is set.
If the AVO is installed without the: alternate character ROM, any character cell in which the alternate
set is selected will appear white (black if reverse video). See Appendix A (SCS) for selection of alternate
characters.
If it is necessary to use a different main character set than the one provided in the VT 100, but analternate character set is not required, the following arrangement may be used.
1.

Cut jumper WI to disable the main ROM.

2.

Plug a new main ROM into the alternat(~ character ROM socket.

3.

The new main ROM must be programm(~d exactly as the alternate ROM described in Section 6.5.1 except that the chip select on pin 18 must be programmed for high assertion.

To use a UV erasable PROM in th~e socket for E9 (which must have Intel 2716 pinouts), cut jumper W4
and insert jumper WS to put +5 volts on pin 21. Only later VT100s have these jumpers. The accesstime of the ROM must be less than 300 ns to guarantee operation in 132 column mode.

4-77

o

. .

3
7
6
--1 - - .. - - - I +-.~-.-----.
t--------l· .-----+--------+ t--------t" •. - Il- i.-~------+
I
,
I
I
I
I
I
I
I
I
I
I
I
lu.n
I I *****II*
I I ***
II
1* * * I 1*
I
I
I*,** II I *
1 *U
1
I:t:
I
I
I
*
*
I
I*
I
I *
*
I
I
I
11IHU
I
I*H
I
1*
I
I *****
I
I
*
I
1*
*
*
I
.1
*
*
I
I
I
I**HH·~ I
I *U*
I
I*
*
I
I
I *
*
1 1*
I
*****
I
II
***
I1
I tun
I
1
I
,;to
U**
I
I
U***
I
I
*U*
I
1*
*
I
1* * *' I
I
:HtI
1
I
I
I
I
* 11 II I ** II II ****
I
I
I
I
I
** III III ***I* II 1*II * * *' * III 1II *****
I
****
I
I
1
I
I
I
*
I
,
*
*
I
'
*
I
I
I
I
..
I
I
I
I
I
I
I
I
*
I
I
* * I +--------++--·------t +-------_.1- -1.•• -------+ tI -- ---*--- '1I- +--------+ t--------++--------+

t--------+
I

I

B
t--------.
I
I

I
I

9

lO

I

I

+--------t

11

12

13

14

+--------+I
I
I
I** II t--------+
I
** II
I
I
I
I
I
I
I
1*
*
I
1*
*
I
I
I
11
I
I
I
I
I
1** * I 1* * 1 I
*
I
I
*
I
I
I
* 1 I-¥ * * II II *** II 1****I* II I**U I II ***** II ,I *UU*III
lu*un I 1* **
I
I
I
1*
*
I
I
***** I ,I** II II ** II II
II** II II **1 1
II** 1I II
I
I
11IU**** I
I
I
I
*
I
I
*
I
I*,I
I
I
I
I
I
I
I *
I I *
I
*
I
I
I
I
I
I
I
I
*****
I
I
*
I
I
*
I
I
*
I
+-----_...
_+
t--------t
t------····+ +--------+ +--------+-------+ +--------+I+--------+

1It--------1·+--------.~

I

1

.~-

16

t--------t17+-------_ .•18.----_ .. _-+19+--··-----1·

20

** II
** III****UU*** III** ,I+--------+
I
I
I
I
I
I
I
I
I
1

21

+-_._-----+

22

23

I
** II
* II II ** II +--------+
1******** I
I
I
I
*
I
I
I
*
,
I
I
*
I
** 1I
I
I
I
I
I
* I I1***** II II ********I
I
I
I********
I
*****
I
,
I
I
I
I
I
** ,I II ** II II
I
I
I
I
I
I
I ******** I
I
I
I
I
I
I
I
I
I
* I I * I
1
I
I
I
I
I
I
I
,
II *'******* II II ** II II ** II II
I
I
I
It--------t+--------+ +--------1' +--------+ +--------+ +--------+ +--------+
27
28
29
24
26
30
31
+--------+ +--_._----+ +-------_ .• +--------++-----+:~------+ t-------··tt--------t
I
I
I
I
I
I
I
I
I
I
I
I
I
I
*
I
I
I
I
I
11
I
I
* II II **** * II II
II* II II * * I II
I
I
I
I
I
*
I
*
I
I
*
I
I
I
I
I ***U** I
I
I ******* I
1
*
I
*
I
*
I
*
I
I
*
,
I,
I ******** I
I
*
I
*
I
I
I
*
I
I*
I
I
*
*
I
I *****I
I*
I
I
I** II II ** II II * * II II * ** ** II II *******
I
I
I
I
I ****
I
,
*
*
I
I
I
I
I
I
II *
* II II *1*
III
I ** **'I
I*** III III *** 1II 1II U**U** III 1*
II *******
1
I
I
I
I
I
I
I
I

1
1
I
I
1********1
1
I
I
I
I
I
I
I
I
I
I
I
I
1
t - ---.-- -- t

1
1
I
I
II

I
I
1
1
II

I
I
I

I
I
I
I

+--------t15

t--------+

I
I
I
I
I
I
I
I

I
I
I
I
I
I
I
I

t--··-----+
I
I

Ii

--~,

I
I:

t:

I;

t--------t

t-----····-+

t--------t

32

33

34

t--------·.
+--------+I
I
I
I+--------+
I
I
I
!I

I
I
I
II

Ii
I;

+.. --- - ---,.

t--------++--------++--------t+--------+

·35

36

37

38

+--------+
I
I+- -------"
I
I
I
I ***U*
I
,*UU*
I

I
I
H
I.
I
I
I
JI
I

+--------+
I
I
I

I
,
I

+--------+
I

I+--------+
I
I
1*
1*

I
I
I

39

11
***
** 1I
* *
** **
1**
*U**
* ,II
** , III ***1** ***'II
1* *
I
** II
I
** **
I
,
I **U*
I,I ** II 1 *** I I
* *
I
I
1I
* II 1I
I
*
*
I
1*
*
*
I
I
1
I
I
1
* I I
* *
'*****I
I
I
1** III 11*
I* III I,1* * **I
* 1I III **** * II
'*
*
I
I
I
I
I
I
I
I
,
1
,
I
I
I
I
I
I
I
1
1 I
I
I
t--------t +--------+ t--------+ +--------1· +--------+ +--------+ t--------+ +--------+ '
44
47
42
43
4S
46
40
41
t--------+ +--------+ +--------+ +--------+ +--------+ +--------+ +--------+ +--------+
I
I
I
I
I
I
I
I
1
I
1
I
I
I
I
I
I
I
I
I
I
I
* II
1
* 1I 1I ** II II * * II II * II II
I
I
I
I
I
I
*
1
*
I
,
I
I
I
* II III
I *1I* * II II UUU*
I
1
II** I1I
1 *I
I***' I1I II*U****I ******* I
1
I
I
I
I
I
I
*
I
*
I
*
1 1
I
I
*
*
I
I
I
** 1I 1I ** II II * * II II * II II *** II II
I
**
I
I
I
** III III **
1
1I
I
I
I
I
I
I
1
I
1
1 I
I
I *
I
I
I
I
I
I
I
I
I
I
I
I
I
1
I
I
t--------+ +--------+ +-.-------+ +--------1· +--------+ +.. _------+ +--------+ +------_ .. +
I
I
I
I
I

I
I
I
I
I

48

t--------+
1

1

I
1
I
I

49

I
1

** 1II 1I ******* II 1I **
I
*
I *
*
I
*** II I U***
I ***

1* *
1*
1*
1

1

1

I

I

+--------+

I

55

51
S2
53
54
+--------+ +--------+ +--------++--------++--------+
I
I
I
I
I
I
I
I
I
I
I uU
1 IU***** I I*
I
1******* I I **** I I ******* I
I
**
I
I
I
*
1
1*
* I I ** II I * * I 1*I * UU II 1I ** * II I
I
1I*:u * 1I II
1** III** II 1**I
1 * ******* * II II ******** * II 1**
I
**
I
I
I
*
II II **
I
1
1*
*I
*
** II 1*I ***** * II II ****.t: * 1I , *I
I
I ,I'*****u,I II UU* II III
I
I
I
I
I
I
I
I

+--------+
I50

t--------+
I

I

I

I

I

I
+-----_.. _+It---- .. ----+

I

I+--------+

II

t--------+
60

58
57
+--------+ +--------++--------++--------+
,
I
I
1
I
I
I
I
,
I
,
I
I ****
I
*****
I
U
I
* II '**
I** ,I '** I III * * III** 1*1* **III,,I II * *'***** *+: 1II II .tc*** ** 1I I U
I
I
1*
I
1*
I
*
I..
*
I
'** II II
I U**
I I **
1 U***
1
* III
II
'*
I
I
I
I
I *
I
59

56

t--------+I
I
I
I
1I * t I IIII~--------+

;f:

I

I

1---------1-.I- -" ... -- _..
I

II
1-- .. ----··-1-II

1-- ------ ....

I+-_...._----+I

61

t-·-------t
I

I
I

I
I
I

I*****U III

I ***U:U I
I
I
I
I

I
I

I
I

.--------+

I

I

I
+-_
.. _----+I+---------+

62+-_.. _----+

63+--_._----+

**

1*

I
I
I
I
I
I
I
I
I

I

*

I
I
I
I
I
I

* 11
** I

I
I
I

+---_ .. - -- ~

I
I

I
I
I
I
I

I

U***

I

* III
**
** III* II..I -- ---_.- I-.~

MA-4927

Figure 4-6-18 Character Generator ROM Patterns (Sheet 1 of 2)

4-78

60

70

69
t-·--- - ..

- _. _. - - - - - + ,--+, +---------+ t--------t, +--------+ ,• 6"- -._--_.- - +, .--------t •'*uu, I"'****U , I*****U I , U** I*,
I *.tc** I'* * , ,'***'* :« I ** ** I '**
'*
1*
, I..
* ''*
** '** *'
,'If
*
,***n
I ******
1***,.tcU** * '***'*'*'* * *** I* **' ''* * I****:.
'*,I 1*** * I, IU******'* . ** 1******'*,, I **** I
****
,
,
64

,

+-------.--.~

'UU*

1*

l ,

1*
1*
I
I
I
I

,

*:U

*UU

I,U*U

I

I

I
I
I
I

1*
I

II
I
I
II
I

I

+--------t

72

I

,

1I

+--------+

67

65

I
I
I

I
,

II U*"

I

I
,

I

,

,

1*

I
II
I

I

I
I

I

I

1

+--------++--------+

74

75

73

I

I

I

I

I
I

II
I

I
I
I
I

I
I

I

I

I

71

I

I

I

I
I

I

I

I
I

I
I

1:«

I

* '1I

I

I
I
+-------_ .• +--------++--------+

76

I

I
'I
II
I

I

I,
I

+--------+

77

79

79

+-------_ .•+--------+.• - - "._-'--- + t--------·t .• --------+ +--------+
t----··----+ +--------t .--------+
I.--------.
I
1 I
I
I
I
I
I
I
I
I
I
I
I
I
1
U*
1
1*
I
I
I
'*
I
I U***I'*'***1I I * I 1
*
II
'*
*
II
1*
**
1**
*
*
1 '*
1*
*
I
'*
I,
1*
* I I * II ,I** II 1*'*'*'** ******:.*'I.II 1*'* ** ** II 1*1* ** II*** I1I 1*
I*I
1******* I II *
'**
1*
1
'***
I
*
I
'*
I
'* * * I '*.. I
* II 11* **** * '1 '*1* ** * ,I I'**U**** II 1*'*'*,** II II *****'* *** III I'*I ***** ** IIII
I
'*
I
1 I
I
I
I
I'*
*
I
I
I
I
'*
*'
,
1
,
I
I
I
I
I
I
I
1
I
I
I
I
I
**u~

+--------++------.--++--··-----t.• --------++----_._--++--------+

SO

Sl

82

83

84

95

+--------++--------+

1---_._._---+ +-_._-----+

1'*****
1*,**'** *
1*
:t:
1*
*
1* '*
'*II U** **1******

1

1*
I**UU

I

I

'*
'*
I*
I

1 ******
1*
I

I

1

I

*1
I
I
I
I
I
I

+--------+as+--------+
I

I

I
I

1*

I

+--------t
S9+--------t
I'*I * **1I l.tcI * , *I*** II II *'
**
I
~ *
I
I
I
I
I *
*
I
I'
* 1I II *
I
;JC

,

I

+--------+
96

t---------+
I

I

I
I
I
I

II
I
I
I

,
I
,

I
I
I

'****

1

I

I
I
I
I
I
I
I
I
I
,

I

I
I
I
I
I
I
I
I
I
I

+--------i·97+--------t
I
I
I

I
I
I

I
I
I

****' * II***U* I
1** I
I *U*U I
I

I

I

I:

I

1

I
I

I
I
I
I

+-_ .. _-_._-+

I

I

'I

I
I

I
,

t--------t

**

I
II
I

+--------+
I

'*'*
1*
'*'*

I

+_._------+

I

:t: I
*1

I

+---------+

90

91

I
I
I
I

I
I

I
I

I
I
I
I
I

I:~

t--·---··--t99+----_._--+
I

I

I

II

+--------t99+--------+
I.
I
I

I
,
I

I

I

1
I
I
I

I
I
I
I

+_._------+
100+-·-------t
I
I
I

I
I
I
I

+--------+\01+--------+
I
I
I

I
I
,

I

***l~

,1

I

I

1*

I
II
,

I

I

II
I

,I
I

+----_ .. -_ .•

104

105

106

107

'u)8

109

I

* '***

,.jC
1**
1*

'*'*

I
I

I
I
II

*,
**1II
I

+--------+

t---------if
I
I
I

,

***
I
I
**
I
*****
I
I
I

I

I

,

I
I
II
I
I
'II
I

1

+--------+,, t--------+
I
I
112
,
,

113

I
I
I

I
I

I
I

1* ****
I **** * ,1***** II1*** I 1*I1* UU **'*''*1** **** ,
I

II

I*
I
+--------t120

t--------t
I
I
I
I

I
I

.-----··--t,IIIt--------t

,
I
I
I

1*
'*

l~

:l

I
I
I

** Ii
** Ii
:l
I

+--------+
I
I

I
II

,:«*

'* *.. II
I..
1***
I
,'*'* * *1,I,

I+._-------+
I
I
I
I
I
I
I
I
,
I

***
**
*
*
*U

I
I
I
I
I
I
I
I
I
I

+--------t
I
,
,
I

I
I

121

+--------+
I
,
I

I
I
I

+--------+
I

I

I
I
I
I
I
I
,

I

+--------+

102

103

+--------+
I
I
I

,

+--------t

114

i16

117

,

I
I
I

'* *** *** * , '*****
'*
II
I
I
I

I
I

122~

+-_._-----+
I
,
,
,

110

+--------+
I
I
I

I
,
I
I
I

I

I

I

1

*I
'* **** ** II'* *'I'*****
I'***'I+'****- ----_... - +
I
I
I

111

+--------+
,
I
I

I

I

I

I

I

I

I

+---------+ +--------+,, +--------+ +---_ .... _-+ +--------+,,+----_._--+
I

115+--------++----_ .. _._+

, +--------+ +--------+"1;--------+

,,

I
I
I
I

I
I
I
II
I
I
I,
I

* I '* **** * 1*
I ****** II'*'* *** ** II 1**
'*
*1
'*
*
I
'*
'*'*I * *1
* II 1*
I ***U * II** III '*
I
I
I

I U**
1
+----_._--++--------+
I
I
I

II
I
I
I
I
I

I
I'
I

*

I
I
I

I
,

118

I
I

I
I

123

+--------+
I
I

,

.jC

t.u

I
I
,

119

I
I
I

I
I
I

I

I

1

I

I
I

I
I
II

I

I

I
**
** II '*
1*'*'*,! '*''* *'* I '*
I
*
1*
*
* ,
I *
*
I
1**
I
,****1I,I *** * II 1*I'* **** **'
,
*
I
*
I
I
*
*
II
,
I
I
I
I
I
I

1*****

124+----.----+
I

I
I

I

I

I

t--------+
95

I

:II

*:It

I

I
I

125

+--------+
I

I+--------+
126+--------+II, I ** * I,, ** II I'** *'I** I, I'* ** II
I*
II* II II
,
1***
1***

I
* I 1* * I ,n**u* I I * I I*'** II 1*,1* U* **** III I, ** * ,I III ** ** ,II III :II 1I,'*** III II
1**** I, I, :It:«** II I'*
1******* III II
I
,
I
,
I
I
1*
,
I
I
I
I
I
I
I
I
I
I
**'*
I
+--------t t-----·---+ +-··------t +.. _------+ ·t---------+ +--------+
t--·-----t

1*
I

I

+--------+

1**

I *****I** II , **,II IIII *:Ie __ *** * II* I +-------_ .• +-_._-----+ +---_._--_ .•I +---_.. _--+I
t--------+
I
I
I

1*
'*

**
***
'*1** un ,********* * ,, '** .*
,
****
*
1*
1*****
1**
*' '*
'* **
**'
'*
'******* ,'*1****'I ** *' 1*
'*
**
1*
*****
,
****
*
,
*****''*
I1+._-------+

I

I

I
1*

I
**** , I **,I ****I*
I *I** II II ** ** III,, ** ,, I
I
'
*
I
I
I
I
*
I
I
*
I
*
I
1*
*
I
,
I
I
I
,
*
I
I
*
I
I
*
I
I
I
I
* ,I II
1 *I** I, II ***** ,I II, **:UI
1 **:U*** I
,
I
I
,
I
I
I
I
I'******* I
I
I
,
I
I
,
I
I
I
I
I
I
I
I

'*****u,.:1,+--------1·

I

I

87

+--------+

94

I+----_ .. _-+

I

I

93

S'2

I

+--------i1*I, +--------t +_._------+ +--------+ +--------+ +--------t,t--··---·--tt-----··--++--------t86+--------+*:« II '*
*'
.. I
'*
* II
*
I
* , '*
*'
I *
*
I
'*
*
*
,I 1*I U*** *1* II II, ***** I,I I'*1******** III
,
,
I
I
I
I
I
I

*U::U
1*
* II'11******** IIII*
II ***** * ,I II
** I,

'* *'
*,
'*'* ** '*'*11* ,I , ****' ,II1+---------+

I+--------+
127+--------+
I

,,

I
I
I
,
I
I
I

I
,
I
I
I
I
I

,,

I

+--------.~

MA-4928

Figure 4-6-18 Character Generator ROM Patterns (Sheet 2 of 2)

4-79

4.6.8 Video Shift Register
When VSR LD H is asserted, seven of the eight output bits from the character generator ROM arelatched into the shift register and one is latched into a flip-flop (Figure 4-6-4). At the same time, thelast bit shifted out by the video shift register (VSR) during the previous character time is latched into
the first bit position in the VSR. The VSR is continuously clocked by the dot clock. The first bit shiftedout in the new character time is the same value as the last bit of the previous character, providing
horizontal continuity of characters from one character cell to the next. The seven new bits are thenshifted out.
Meanwhile, the flip-flop that stored the eighth bit has delivered that bit to the serial input of the shift
register. This bit was shifted into each successive r1egister position as the first eight bits were shifted out.
Now the shifting continues, for one more bit in 132 mode, and for two more bits in 80 mode, causing
the last bits shifted out to be the value that was stored in the flip-flop.
VSR LD H then latches the next character into the VSR and flip-flop, with that last, multiply-shifted
bit in the first position. In this way, one bit from the character ROM defines the two or three dots
between characters, while seven bits define the character itself.
At the end of the scan, horizontal blanking forces the flip-flop output low. Since blanking lasts morethan one character time, the low level will be shifted to the first position before the start of the next
line. This ensures that the first dot on the next sl~an will be at the screen background level.

4.6.9 Terminator
The 7 bits of each character address in a line go to an 8-input terminator detector gate as they are
passed to the ch:aracter generator ROM. Only seven bits are examined because the eighth bit is an
attribute and does not contribute to the uniqueness of a character. The last bytes in each line are aterminator character and two address bytes. Only the terminator character activates the gate. During
the character time when the terminator reaches the detector gate, the first address byte is at the input tothe character generator latch and the second address byte is at the input to the screen RAM latch. On
the next character clock, the terminator causes the DCOl2 to blank the display and end the Hold
Request. The latch outputs now contain the two address bytes. The low order byte is at the inputs tocounters E30 and E25, while the low four bits of the high byte are at E21. The fifth bit is at the input toflip-flop E22. This bit is normally high; it allows future development of screen RAM size. The highthree bits go to the line attribute inputs to the DCO 12.
The address load (ADDR LD L) pulse, timed to arrive before the next character clock after theterminator, loads the address' counters, flip-flop, and DCOl2 inputs with the two final bytes. The
counters and flip-flop designate the address of the first character of the next line to be displayed.

4.6.10 DMA Cycle Timing Diagram
Figure 4-6-19 shows the complex timing in the video processor during the first scan of each new line ofcharacters. The entire scan is shown, with the rep,eating portion compressed into the area represented
by dashed lines. The diagram is for 80 columns, single width display as the VT I 00 is currently programmed. Diagrams in the DCOll timing chip description (Section 4.6.2) show the differences insignals in other modes.
The first line shows the Character Clock. This continuous signal is the time reference for all DMA
events.
The terminator occurs at the end of the previous scan. TERM L goes low for one character clock andthen goes to an unspecified state which depends on the random characters that appear at the terminator detector gate. Character Clock continues to shift data through the character latches but invalid
data are present in the character latches and stored in the line buffer until just after DMA ENA is

4-80

"VRESET
1---/623.1 ns

1l.[lJlJI..f-------UlJj_
13ps------------------------------.~------~; 51ps
TERM L~.i"I--------------tL--------t-r------'+! UNDEFINED REGION\HOR BLANK H

j . - 3 CHARS=-+J~--....;.SYNCHED TO END OF
I( CHARACTER IN DC012
I

i

:
:

=:J_.....

1--3CHARS--I~
I,

1----------------

E15, LINE BUFFER, AND ADDRESS LATCHOUTPUTS TRISTATED DURING THIS INTERVAL00
ADDR COUNTAVAILABLE
E150UTPUT
I101,.1---+---VALIDATDATA
I

,

!

Ih

;
I

ADDR LD

u

u

u

I

I

I
I

.'
:

u

u

u

I

I

I

I
I

'-1

I

11 11 r1 11 11 r------l

u

I

:

I

-\

I

!
---------1-J-

I

CHARACTER LATCHDATA BUS
....

:

:
:

---------ir--r:

II

CHARS~HOLD REQUEST H, _ _ _ _ _ _ _ _ _ _....---3
L-I..____DMAENAH
E22-9

~

~

r---r--------Lr,------tf'

I

I

WRITE LINE BUFFER

MA..:J53·VERTICAL RESET DURING
1ST DMA OF FIELD ONLY

Figure 4-6-19 D MA Cycle Timing Diagramasserted. The terminator forces the video output to black or white (depending on normal or reverse
screen) effectively blanking the end of the line (Section 4.6.11). It also ends any DMA process inprogress. The terminator's blanking effect is take:n over by Horizontal Blank, and the terminate flipflop in the DC012 is held cleared until just befo:re the first character in the next scan. This prevents
undefined data from triggering the flip-flop and blanking the whole scan.
Horizontal Blank occurs 3 characters after Terminate in 80 column mode and 5 characters after in 132
column mode. It forces all video to black (regardless of normal or reverse screen) for the horizontal
retrace interval. The Horizontal Blank signal, as an output from the DC011, ends one-half character
before the video actually needs to unblank. This. early transition releases the clear for the terminate
flip-flop in the DC012. The blank signal is resynchronized to Character Clock in the DCOI2.
Hold Request silences the microprocessor so that the video processor can DMA data out of the screen.RAM. It is initiated when the scan counter in use: is equal to 0, or at the setting of the new scroll zone
flip-flop. The terminate flip-flop must be cleared for Hold Request to occur. The start of Hold Request
is delayed by three character times from Horizontal Blank to allow the counter in use to settle before
the O-boundary is detected. Hold Request is ended by the detection of terminate at the end of a DMA
scan.
DMA Enable is generated from Hold Request and the microprocessor's hold acknowledge (HLDA)
by discrete logic on the board (E22). It is enabled by the first rising edge of LBA4 if HLDA from the8080 is available. This ensures that the 8080 has given up the bus before DMA ENA H enables the
DMA address counters onto the bus and drives ]\1EM R low. DMAEN.A H is cleared by the end of
HOLD REQUEST H. While the use of LBA4 ensures that enough time has elapsed from the start of
HOLD REQUEST H to guarantee that the 8080 is in its hold state, the use of HLDA H on the D inputof the DMA Enable flip-flop is required to prevent HOLD REQ from preventing a power-up cycle inthe 8080.
The character latch data bus is shown to be tristated from the start of Hold Request until the start ofDMA Enable. Then it starts moving data through the video circuits.
Address Count begins three character times before the end of Horizontal Blank (Section 4.6.2.4).
Address Load is triggered by the falling edge of HOLD REQUEST H. It stores the line attributes forthe next line and loads the address counters with the pointer address bytes at the end of the DMA lineof characters. This address is the location of the first character of the next line to be DMA'd.
Write Line Buffer L is described in Section 4.6.2.3.
Figure 4-6-20 is an expansion of the DMA timing showing the contents of the various storage devices
at different times at the beginning of the active display of a scan.
4.6.11 Video Blanking
The display is blanked by Horizontal Blank during the horizontal retrace interval, and by Vertical
Blank during the vertical retrace interval. These hardware signals ensure that the CRT beam is turned
off while it moves backward through the active screen area. Horizontal Blank controls the video signal
inside the DC012. Vertical Blank controls the video signal at the video output circuit. Figure 4-6-21
shows a frame of video divided into segments of one horizontal and vertical movement of the electron
beam over the CRT face with respect to time. Figure 4-6-21 plots the screen and its invisible regions byrelating the screen area to the state of blanking at any given time. The top-left corner represents thefirst visible dot position. The terminator position is the place where no data is displayed but Horizontal Blank has not yet taken effect. Horizontal Blank then takes effect all through the horizontal retrace
period and unblanksjust in time for the first dot of the next scan. After 240 scans, Vertical Blank turns
off the beam while the beam returns to the top of the screen.

4-82

'-------~+--TERMINATE L

3 CHARS,_ _ _ _ _ _-...;1'_ _ _ _---.
HORIZONTAL BLANK H

HORIZONTALSYNCHED TOEND OF CHARAC!~~~~_DC012

I
I

I

:

-----------~

I

I

:

DMA ENABLE H _ _ __-----------L

1~-L-,------I--VALID DATA AVAILABLE
I1

1

AT E150UTPUT-------Ill--.. U.
I

ADDRESS COUNTl----~I- - - -1

HOLD REQUEST H

BL:~-:--~
1

I

i

1

I

--U--U-------'-----1

1

ADDR ESS LOAD L

WRITE LINE B U F F E R U U L_____
CO_N_T_E_N_TS_O_F. ADDRESS COUNTERDDR1ADDRl ADDR2 ADDR3ADDR4ADDR ADDR6ADDR7

CONTENTS OF ADDRESS LATCH ADDRl ADDRl ADDR 1 ADDR2 ADDR3ADDR ADDR5 ADDR6--------

DA.TA AT E20 IN CHARl CHAR1 CHARl CHAR2 CHAR3 CHAR4 CHAR5 CHAR6DATA AT E15 OUT•

CHARl CHAR1 CHARl CHAR2 CHAR3 CHAR4 CHAR5DATA AT E16 OUT* = UNDE!FINED

CHARl CHAR1 CHAR1 CHAR2 CHAR3 CHAR4

DATA LOADED INTO VSR------------.
--+---~HORIZONTAL BLANK

CHAR1 CHAR1CHAR1CHAR2CHAR3-----~-~--,~--~-~-+--+--+-~DISPLAYED DATACHAR 1 CHAR2 CHAR3---------------

MA·4669

Figure 4-6-20 Character Latch Timing
The horizontal blanking signal is timed to provide 83 columns of unblanking in 80 column mode, and137 columns of unblanking in 132 column mode. Thle VT100 is currently programmed so that the threeor five extra columns are blanked by Terminate. In normal screen mode, this termination forces thebeam to black, but in reverse screen, termination forces the beam to the screen background intensity.
This means that in reverse screen mode, the last character that can fit on the screen is three or fivecharacters in from the right edge of the illuminated screen. Because hardware blanking allows 83 or
137 columns on the screen, future program developments may allow the microprocessor to format thescreen RAM for this ability. The main adjustment is to the position of the terminator and address
bytes relative to the starting location of the line. Terminate, as the first character in the line, creates
short lines during the vertical blanking interval to conserve memory while maintaining synchronization of the line address syst.em.
4.6.12 Video Input and Output
Refer to the print set for the circuits discussed in the next three sections.
4.6.12.1 Direct Drive Video - The: two video outputs from the DCOI2, Video Out 1 and Video Out 2,
are combined with Vertical Blank in two open collector nand gates (E7). The outputs of the open
collector gates are wire-ANDed with Graphic 1 and 2 IN (E29) from any option board that may bepresent. The combined outputs of E7 and E29 pass through and either float the base of Q4 to + 12 V
through R38, R39, and R36 or R.37, or pull Q4's 1base down to some value determined by one, theother, or both resistors R36 and R37 in parallel. These four conditions represent the four levels ofintensity visible on the screen: black, dim, normal~ and bright.

4-83

TERMINATOR- - HORIZONTAL ----.
TIME

HORIZONTALRETRACETIME

VERTICALTIME1DISPLAY TIMEBLANKED BY
VERTICAL
BLANK~BLANKED.j

SHADED AREA: BLANKING BYTERMINATORf

BY
HORIZONTAL
BLANK
MA-4285

Figure 4-6-2] Video Blanking

4.6.12.2 Composite Video Out - The combined outputs of E7 and E29 control the voltage at Q2's basethrough R31, R32, and R33 in the same manner as described above. At the same time, composite sync
controls Q2's base through R33 and R30. The re:sult is a 75 ohm output from the terminal controller
consisting of four intensity levels (including black) and composite sync. This signal can directly drive astandard video monitor or sync can be extracted to synchronize an external device for input to theterminal. The output is dc coupled. Although the use of dc coupling is not in strict agreement with EIA
specification RS-170, this presents no problem with most monitors because they are usually ac
coupled. See Figure 3-4 for an illustration of the: composite video output.
4.6.12.3 Video In - The video input stage terminates a standard video signal in 75 ohms: R43 and 07
bias Q5 into linear operation, while C 16 passes video around the bias network. R44 suppresses oscillation in the stage and 06 protects the transistor from a reversed polarity input. 05 biases the baseof Q3 and R41 is the load resis.tor for the amplifier. R42 stabilizes the amplifier by emitter feedback.
The video input affects only the picture on the internal monitor as described below; it does not appear
at the Composite Video output.
4.6.13 Intensity Control
The video input and output circuits can produce: a range of voltages (as compared with circuits thatcan produce only two values, white or black levels for example). To do this they are biased into linear
4-84

operating conditions. High curr1ent biasing provides the necessary high speed operation. Because of thehigh power dissipation that results, the video circuits use discrete transistors.
Direct Drive Video is the output from the terminal controller to the video monitor',s cathode drivertransistor. It is a combination of Video Out 1 and 2 signals from the video processor, and by means ofa parallel transistor Q3, the signal from the video input (labelled Graphics Video In on schematic sheet
BV 4). The monitor already recdvt::s horizontal and vertical deflection signals directly from the terminal controller, so the terminal's video input only requires picture information. If the blanking level on
the video input is greater than zero volts, the screen background intensity cannot be black. Note thatcomposite sync on the input is alsOi ignored by the terminal controller, because the terminal's timing is
produced entirely by a crystal and cannot be synchronized to external signals. As explained in Chapter
3, external sources may be synchronized with the c01nposite sync signal that appears at the output jack.
Q3 and Q4, in parallel, are ont~ amplifier with cornmon emitter and collector resistors. The emitter
feedback resistor is R40, connt~cted to +12 volts. The collector load is the input impedance of themonitor to ground in paralllel with R54 and anyone of 32 parallel combinations of R49, 50, 51, 52, and
53. This arrangement allows either transistor to set the minimum current through the collector andemitter resistors with the voltage that appears on its base. The other transistor then cannot reduce thecurrent by being tur"ned "off. It can increase the current, however, if it receives a larger base voltage.
Thus the output is always proportional to the greater of the two inputs. Two identical input signals do
not add up because of the common emitter resistor. If the voltage on Q3's base is more positive thanthe voltage on Q4's base, a voltage at the base of Q4 causes a 0.6 volt different voltage at R40 (bothemitters), and current to maintain that value will flow through Q4 and R40 (as well as the collectorload). If the same voltage as at Q4's base is applied to Q3's base, the voltage at the emitters will notchange due to the identical voltage drops across the two base-emitter junctions. There is no current
change and so the output remains constant. D8 and R48 provide an extra 0.6 volts of bias for thecathode drive transistor in the monitor. CI7 bypasses the diode for video signals.
The 32 combinations of resistors in the collector load of the output stage are produced by connecting
any of the selected resistors to ground through an open-collector buffer. The buffer inputs come fromthe D / A (digital to analog) latch. This latch is written into as an I/O device by the microprocessor. In
SET-UP mode, the microprocessor uses the up and down cursor keys as inputs to a 5-bit software updown counter. At each vertical reset, the microproct~ssor writes the current contents of the counter into
the latch. Thus there are 32 possible intensity levels available, controlled from the keyboard, andfrequently updated to Ininimiz(~ the effects of soft e:rrors. Note that the variable intensity only applies
to the internal monitor.
.
4.7 MICROPROCESSOR - VIDEO PROCESSOR INTERFACE
The microprocessor comnlunic:ate:s with the video processor in the following ways.
1.

During setup, the microprocessor reads the setup specifications and writes them into the
DCOII and DCOI2 to e:stablish screen attributes.

2.

The contents of the screen RAM directly control the display of the lines and characters. Thisregion of memory contains the displayable characters, their attributes, the line attributes,
and the addresses that link one line to the next. The microprocessor modifies and updates
this information in the intervals between DMAs. During each DMA, the video processor
copies one line of characters from the screen RAM for display on the screen.

3.

During smooth scrolling, the microprocessor updates the scroll latch in the DCOI2.

This section describes the proc:esses of control through the screen RAM and scrolling. The meaning
and mechanism of the line: and character attribute bits and the DMA process are discussed in the video
processor section. The setup process is discussed in the 8080 section.
4-85

4.7.1 Screen Memory Organization
Three bytes of control data are located at the end of each line of characters (Figures 4-7-1 and 4-7-2).,
The first byte, called the terminator, is 7FH and is a unique character that the video processor recognizes as the end of the line. (The high bit is not tes,ted by the terminator gate but is set to zero to avoid
complications in the attribute circuits.) Five bits of the next byte and all of the last byte are an address

~

I

80

CHARA~TA:~A

83
SINGLE WIDTHSTARTING LOCATION

1135'~~------------------D-A-i'-'A----------------~I-TT-IAV9
132 CHARACTER SINGLE WIDTH
83

41

1

I

DATA

ITIAIAI

40 CHARACTER

~---'

>-

DOUBLE WIDTH

6~~

1

I

BLANK

COPIED FROM END OF LINE135

I T I AI AIDATAITIAIAIBLANK

ITIAIAI

66 CHARACTER DOUBLE WIDTH

Figure 4-7-1 Line Organization

TERMINATOR

1

1

1

SCROLLING REGIONoLOW ADDRESS
BYTE

1(7FH,177Q)

D7
1

HIGH ADDRESSBYTEPART OF SCROLLING REGIONNOT PART OF REGIONl,=blH+I ~40()OH+T

ADD R ESS (I NPUT TO ADD RESSCOUNTER AT END OF DMA)DOUBLE HEIGHTDOUBLE WIDTHTHREE HARDWIRED BITS ARE ADDED TO THE THIRTEEN
VARIABLE BITS. WHEN THE ADDRESS COUNTER CLEARSAT VERTICAL RESET, IT POINTS TO THE START OF RAM.

D6 D5
11 NORMAL LINE 80/132
1
0 DOUB LE WIDTH 40/66
o 1 TOP HALF, DOUBLE HEIGHTo 0 BOTTOM HALF, DOUBLE HEIGHT

ALL LINE ATTRIBUTES APPLY TO THE LINE
STARTING AT THE GIVEN ADDRESS.

MA·4664

Figure 4-7-2 Terminator and Address Bytes

4-86pointing to the first character of the next line to be displayed. The three remaining bits in the first byte
define the line attributes of thc~ line pointed to by the address. The high bits of the address are hardwired at the address latch so that when vertical reset clears the address counter, it will point to the
ROM-RAM boundary at 2000H.
.
During power-up or reset the :mkroprocessor writes terminators and addresses into the screen RAM
according to the specified line length and refresh rate. The 50/60 Hz refresh choice causes the microprocessor to arrange fill lines to place the beginning of the display in the right time slot relative to thevertical reset and vertical blanking signals. The line length determines the locations of the control
bytes. For 80 column lines, the n1emory space is arranged in 83 byte intervals; for 132 columns, theinterval is 135.
The memory organization for 80 (~olumn, 60 Hz mode is shown in Figure 4-7-3. Location 2000H is thestart of the RAM space. When V1ertical Reset resets the DMA address counter in the video processor
to zero, the counter latch points to this location. The first 18 bytes are fill lines. Byte 2 is the only one
written differently when 50 Hz refresh is selected. The change causes a longer fill time during the longer
vertical blanking interval.
About 700 bytes of RAM are res(~rved for the m.icroprocessor stack, scratch pad, and setup areas. The
rest of the 3K RAM is devoted to screen information. At program start, the microprocessor reads thecontents of the NVR into the setup area (Section 4.7.11). Then the microprocessor reads the setup
parameters, erases the screen area and writes in terminator and address/attribute bytes at the selectedline length intervals. The addrc~ss at the end of each line points to the first location of the next line. At
start-up, this is the next physic:allocation. The end of the last line points to a fill line which points toitself. The fill line repeats until vertical reset.

4.7.2 Fill Line Operation
The video processor clock is constant so it always takes the same amount of time to refresh the screen.
At any refresh rate there are some fill lines needed at the beginning of the frame so the data can bedisplayed starting a few lines down from the top edge of the picture tube. At the slower refresh rate, thevideo processor must idle for awhile between fram(:s. Figure 4-7-4 illustrates the vertical position of theelectron beam in the CRT as a function of time for the two refresh rates. The beam sweeps down thedisplay area at the same rate for both refresh rat(:s but because 50 Hz has a longer interval between
sweeps, the beam travels farther off the ends of the display. While the beam is off screen, fill lines
maintain synchronization in the video processor address system. More fill lines are needed at the top
and bottom of a 50 Hz screen than a 60 Hz screen. Figures 4-7-5 and 4-7-6 show the top-of-screen fillline operation for both refresh rates. Starting at location 2000H, the terminator-address triplets point
successively to one another and then to the first displayable line of data in the screen RAM. Thechange of one byte in the group changes the fill line delay from two lines for the 60 Hz refresh rate tofive lines for the 50 Hz refresh rate. Figure 4-7-7 shows how the single bottom fill line repeats itself as
many times as needed until ve~rtical reset stops it and clears the address counter to 2000H.

4-87

0123456789 ABCOEF
300
01

02

4-K X42C
20
2E

ATTRIBUTE
RAM

2F
30
31
32

BF
CO

FF~

__________________~

MA-4268

Figure 4-7-3 Screen RAM Organization - 80 Column, 60 Hz(Sheet 1 of 2)

4.7.3 Line Organization
In 132 column mode 251ines are set up in the RA~1 for a 24 line screen, and 15 lines are set up for a 14
line screen. With the advanced video option, 25 lines are set up for either 80 or 132 column lines.
Except during a smooth scroll, only 24 lines are seen. But the microprocessor keeps the 25th line erased
in reserve, and when a scroll takes place, the 25th line becomes visible as the new top or bottom line
(depending on scroll direction). All new characters after the command that caused the scroll go into
this line. In preparation for a full screen scroll up, the microprocessor writes the address of the repeating fill line into the 25th line pointer as well as the 24th line pointer. This saves processing time during
the address rearranging which is a part of each scroll.
The line organization changes when the first scroll occurs. Pointer addresses are revised any time a line
is added to or removed from the screen. The extra line is used whenever the screen needs to be scrolled
up or down. Then the extra line is displayed and the old top or bottom line is scrolled off screen,erased, and made available as the new 25th line.
To understand the pattern of address changes, consider the display to consist of two parallel entities: aphysical screen and a logical screen.

4-88

200
~I--~

01

3K X 8

02

STACK

03

04
05

~L-~~_~_L~~_~_~.~~~

__

~

___

~~-,

06

SCRATCHPAD

SETUP AREA

2E

31

NOTE: ADDRESSES ARE
TYPICAL BUT MAY VARY~+-4-~-+~--r-+-4r·-r~~r-+--~-r~-'32~+-4-~-+~--r-+-~-.-r~~r-+--1-'-r-+~

SCREENRAM

BF~~~~_~_~_ _L_~_~.~~~~~ __~~~~CO
ADVANCED VIDEOSCREEN RAM

FF~

1K X 8_____________________________________
MA-4273

Figure 4-7-3 Screen RAM Organization - 80 Column, 60 Hz(Sheet 2 of 2)

4-89

CLK~Jl-jLS1..Jl..J
~
I
I

Cl

//

H
L

,'I'

,:

C31

(,'

,~

I

:;1

I

I·

20 CLOCK PERIODS

·1

C21

A

Cl~/
I

C2 --~I~~------------~j~~'------------------H
I
LI

C3 _ _J...I- . . . ! . . . - - - - - - - - t l ' I - / - - - - - - - - - H
I
I
L
I
I
• OK TO CHANGE MODE

I

H
L

-+t

ACCEPT ADDRESS "

C11

//

C3!
I
~

I:

Ifi'

C2

I

,1\

DATA
(OUT)

\D

I

14-1 CLOCK CYCLE REQUIRED
READ

CLKn

~

~

I

H
L

//

r~

~~

7L

I

n n n n n LffJn n n n r HL

L....I

L....I

L....J

C1

L....I~

L....I

L-.I

L---I

&......l

/1

C21

;f;'

H
L

r~

,'}

C3

H
L

H

II

i

,-

I

ERASE

I
-I

14 CLOCK PERIODSSHIFT DATA OUT"

CLK

C1~~____________~/,.~I----------~r-~r

C2~L______________~h~I----------~-

C1 ----,

H
L

C2

C3IL_____________j~~!----------~r-~

C3

DATA

1

\
-

F25)lSMAX.

~J1Sl.JlJLJ~//

r~~L------------__~j~JI------------~r-~
II

H
L

~

WRITE

25)l SMAX.=! -1 4 - - - - - - 1 4 CLOCK PERIODS-----~
ACCEPT OAT A""OUTPUT DATA CHANGES ON THE POSITIVE-GOING
CLOCK EDGE. DATA AND ADDRESS INPUTS ARESHIFTED ON THE NEGATIVE-GOING CLOCK EDGE.
MA-4929

Figure 4-5-3 NVR Timing Diagrams

~BEAMPOSITIONON SCREEN

2 SCANS FILL

t-II---:----60HERTZ FRAME TlME---~1111

BEAM
POSITIONON SCREEN

I L2~SCANS-BOTTOM
ACTIVE SCREEN TIME - - - /1-(2.5L1NES) FI Ll........- - - - - - 5 0 HERTZ FRAME TIME------~"1i111t

t

VERT
RESET
MA·4281Figure 4-7-4 N,eed for Fill Lines
STARTING
ADDRESS AFTERVERT RESET

1~ERl 17
ADDRESS POINTS

HARD·
WIRED

+

o

1

0 o ~S4 ~~0

IF TOP LINE NOT IN SCROLLING REGION~4

503 m ® 2

I DO

2

3

6

7

8

9

ABC

0

E

F

[''!tJ 70 1 06 [?f§l 70 1 OC till] 70

I
I
I

I
I
I

I

I

I
I

I
I
I

TWO FILL LINES AT TOP OF SCREEN

I
CROSSHATCHED BYTE = TERMINATOR

2 D

60 HERTZ FILL LINE OPERATION

Figure 4-7-5 Fill Line Operation - 60 Hz
4-90 .

MA-4360

STARTING
ADDRESS AFTERVERT RESETCHANGE FROM 3 TO 9
FOR 50 HERTZ

1

1

~~~~
~

0

2

r- 71F TOP LINE NOT IN SCROLLING REGION

3

+4

5

6

o f ~ ~-------:~7I11:""11F::~'=r=2
I [\ffF]
DO

-!

I
I

!
2 D

__
I I I I
I
I

-*~

i-:

D

---r-----r--'
A

T

A

7
70

8

9

I 6 [j~0

ABC70

I t_~r:sl

DE.

70

F

I t5~]FIVE IFILL LINES AT TOP OF SCREEN

I:~~~~--

CROSSHATCHED BYTE = TERMINATOR
MA-4357

Figure 4-7-6 Fill Lin(~ Operation - 50 Hz

STARTING ADDRESSAFTER VERT RESET

+

HARD-

~I! ~D00--"'!o_.....-_-.--_""""ft"~,3
o 'I
I

I

Jo-------'""

I
I
I
I

I
I
I
I

8

9

A

7FI~70

06

§!m

70

A

5

6

I

B
OC

D

E

F

~iF] 70

OF

§!t~

C

FILL LINE REPEATS UNTIL VERTICAL RESETLi I I I
D

4

7

2

T

A

J~,~~-~.

7F

END OF SCRIEEN

70

06

CROSSHATCHED BYTE = TERMINATon

Figure 4-7-7

MA-4358

End of Screen Fill Line Operation

4-91

4.7.3.1 Physical Screen - The physical screen is t.he memory organization already described. The key
feature of the physical screen is the pointer address, contained in each line, that causes the hardware to
chain the lines into a sequence for display. After a series of split screen scrolls, the physical screen willcontain some arbitrary sequence of line addresses.
For example, if the original order of lines was 1,2,3, ... 23,24, the new order might be 16,13,24, ... 1,8.
With only this organization, a command to ins(~rt a line at the fifth position on the screen would
require the microprocessor to follow the various pointers around the RAM until it reached the fourthsuch pointer in order to learn where the physical address of the current fifth line was in the RAM.
Instead, a list of locations is maintained in the logical screen.

4.7.3.2 Logical Screen - The logical screen is a 25-entry table that points the microprocessor to theproper locations for shuffling (rearranging) line addresses and placing the cursor in the screen RAM.
The table is set up in a contiguous area of memory starting at the location named LATOFS (Line
Address Offset Table). Figure 4-7-8 shows LA TOFS after at least one split screen scroll and in theprocess of another split screen scroll. Each entry in LA TOFS is the number of a line in the physicalscreen. The position of an entry in LATOFS refe:rs to the position of a line on the screen. The microprocessor updates LA TOFS just before each scroll so that the microprocessor can rewrite line addresses during the vertical interval. The microprocessor reads the table to learn which line in RAM isavailable for writing as the new 25th line or which line is being used at a given position on the screen.
For example, to insert a character in the fifth line, if the fifth entry in LATOFS is "20," the microprocessor calculates the starting address of the 20th physical line in RAM. The character address canbe calculated from that starting address and the cursor position within the line.
4.7.4 Address Shuffiing
Consider the case of a full screen upward jump seroll. The line in LA TOFS #25 is the extra line, notseen except during smooth scrolls. When a line is jump-scrolled off the screen, it becomes the extra
line, and the RAM area that was line 25 becomes the new last line. The scrolled...;off line is erased andits first location is noted as the starting point for new data entry into the RAM. The physical screen
addresses that chain in which the displayed lines must be revised. And since the last fill line must point
to the new first line, which formerly was the second line, the revisions must be done before that last fillline is DMA'd into the video processor.
When a line feed is received, four numbers are stored in memory. These are Shuffle Address 1 and 2(SHUFAD) and Shuffle Data 1 and 2 (SHUFDT). SHUFAD contains the location of the address thatmust be changed, and SHUFDT contains the new address that will be inserted there. The two sets arefor the pointer above the line that will be scrolled off, and for the pointer on the end of the line that willbe the new next-to-Iast line (Figure 4-7-9).
The process of changing the addresses is called shuffling because most of the computation is done inadvance. The change is made quickly in a simple point-swap-point-swap sequence. One other item
prepared in advance is the pointer on the 25th (to become the new last) line. The pointer on the present
last line is copied onto the new line. The shuffling process takes less than 550 microseconds (the time
between DMAs). The screen's apparent jump up or down is entirely the result of the revision of pointeraddresses. If, for example, the shuffle occurs during the 15th line, no effect will be visible until the endof the frame, when the extra line is pointed to but is outside the viewable area. After vertical reset,
however, the shuffled address at the top of the screen will point to the old second line. The first line isgone, and now there is room on the screen for tbe extra line and it appears.

4-92

I.ATOFS

#1

3

#2

- - 45

#3

_.

_. 6
,t 20
#5

#4

1
SCROLLINGREGION

~

~-

#6
#7
#8

-

t

21
~.

+

22

r---"
23

25 -

7

#9
~.

#10

8

#11

9

r---

10

#12
#13
#14
#15

11
~-

r----'
1---"

#16
1---"

#17
#18
#19

.

12
13
14
15
16

1----'

17
1----

18

#20
1----'

#21
#22
#23
#24

19
r----'

1

1----

2
r----"

24
25(EXTRA) #25

20t
MA·4305

Figure 4-7-8 Line Address Offset Table

4-93

SHUFAD 1

I FILL 2 PNTR ISHUFDT 1
LINE 2
BEFORESHUFFLEAFTERSHUFFLEPNTR = LOCATION
OF POINTER ADDRESS~----~~----------~SHUFAD 2

I LINE 24 PNTR I--~SHUFDT 2
LINE 24EXTRA
AFTER SHUFFLE----------

MA·4294

Figure 4-7-9

Full Screen Address Shuffle

4.7.5 Shuffle Timing
The shuffles for smooth and split screen scrolls must be synchronous with vertical reset to avoid
disrupting the appearance of the display. Therefore, only one line feed can be executed during a frame.
However, in the case of full screen jump-scrolling, the address shuffle may occur at any time. This
increases the rate at which line feeds can be executed and improves the terminal's throughput.
While full screen jump scrolling may occur at any time relative to vertical reset, the two other kinds ofscroll are sensitive to the time when shuffling occurs. If a split screen scroll region (say 10 lines in the
middle of the screen) is revised while the display is scanning that region, only the change at the bottomof the region would take effect during that frame. The extra line would appear at the bottom of theregion and the following lines on the screen would be pushed down one line from their locations in theprevious and succeeding frames. The appearance would be that of a flash of mixed-up data below thescrolling region. Therefore, all changes are made during the vertical interval, ensuring that the proper
number of lines is consistently displayed because the video procesor cannot ever attempt to execute
only part of a sh uffle sequence.
Logically the screen still flashes in full screen scrolling, but because the extra last line is displayed
beyond the end of the screen, Vertical Blank blank:) the display. The shuffle is a two part process, withthe two address bytes transferred in separate operaltions. If the shuffle is not complete before the DMA
that accesses the shuffled address starts, the address that gets read may not be valid, and garbage may
be displayed thereafter. The random start of the shuffle process relative to the video processor's DMA
timing causes this error.

4··944.7.6 Scrolling Region
A scrolling region may be established on the screen, on a horizontal line basis, within which data may
be inserted or lines scrolled without affecting the positions of data outside the region. Only one region
may be defined at a time, but it may be repeatedly redefined. Full screen scrolling is a special case inwhich the region margjns and the screen margins are the same. A control sequence defines the region
by specifying the line numbers of the top and bottom of the region. When the control sequence arrives,
the microprocessor stops taking characters from the silo and waits for the current scroll to end. It thenchecks the parameters for legality (top less than bottom, bottom less than 14 or 24). If they are bad, thesequence is ignored and the next character is taken from the silo. If they are good, they are stored inlocations labelled Top and Bottom. Then starting at the pointer address on the last fill line, the microprocessor sets the fill line's scroll attribute bit to scroll or no scroll (depending on the specification for
top margin) and jumps to the c~nd of the addressed line, setting its scroll attribute bit. The microprocessor continues down through the screen RAM until it reaches the point to line #Top, the line thatwill be at the top of the scrolling region. It sets the attribute bit there to scroll. Jumping down throughthe region, the microprocessor continues setting line: attributes to scroll until it reaches line #Bottom,
the bottom line in the scrolling region. From there to the end of the screen it sets the bit to no scroll.
4.7.7 Split Screen Jump Scrollllng
When a line feed is received, during the remainder of the current frame the microprocessor rotates
LA TOFS and prepares for the shuffle. The line number at LATOFS #25 (25 in Figure 4-7-8) moves up
to the bottom position in the scrolling region (LATOFS #8). The line at LATOFS #5 (20) moves to
LATOFS #25, and all the other llines in the scrolling region of LATOFS are moved up one position. The
shuffle buffers are set up. (See Figure 4-7-10.) SHUFAD 1 contains the location of the pointer address
at the end of the last line befor(: the scrolling region and SHUFDT 1 contains the pointer address forthe new first scrolling region lim:. SHUFAD 2 contains the location of the pointer address at the end of
the new last scrolling region line and SHUFDT 2 contains the pointer address for the first line after thescrolling region.
While the LATOFS and shuffle preparations are underway, data may be coming into the terminal.
Data received after the line feed stay in the silo until the LA TOFS rotation is completed. Just before
rotation, LATOFS 25 points to th(: nUlnber of the next RAM line that data should go to. The microprocessor records that location and then performs the rotation and shuffle preparation. Then it resumes
writing the data into the line previously noted. When vertical interrupt occurs, the shuffle is performed
and the new line is displayed. If no new line feed is received, data will continue to be written into thesame line.
4.7.8 Smooth Scroll
Become familiar with the operation of the scan counter as described in the video processor section(4.6.3.3) before studying this dt::scription.
In smooth scroll operation, the VT100 changes the positions of the lines on the screen slowly, so the eye
can follow and read the data as it goes by. Instead of moving one character height or 10 scan lines in asingle frame, the data moves up or down one scan line in each frame. The smooth scroll rate is thus 6lines per second at 60 Hz frame rate. Operation is the same for full or split screen smooth scroll. For
any given line feed, the eff.ect on the screen is delayed by two frames. Line feeds may queue up so thatscrolling is continuous.
Smooth scroll is enabled by a bit in the setup memory that causes the microprocessor to perform all
scrolls as smooth scrolls. Whenever a line's scroll attribute bit is set, it receives its scan count from theoffset counter. At vertical reset, the scan counter, used for nonscrolling lines, always resets to zero, but
the offset counter is loaded with the contents of the scroll latch. The microprocessor loads the scroll
latch with an offset value. If a jump scroll is involved, the offset is always zero. If a smooth scroll is
involved, the microprocessor loads an offset value according to the number of frames that have passed
since the line began moving.

4-95

IUNE4~. .-+=~~=~~=~--=~--=~--=::--=~--=~--=::~=::--=::--=::--=::--=-=-I~

SHUFFLESHUFDT1- - ---

LINE 6PNTR = LOCATION
OF POINTER ADDRESS~_7-L-..-.I_-

J~1_L1_NE_8_________________ ~",~I UNE 4 PNTR

_ L6 .

" ' -_ _ _ _

[

~ORE

I I

LINE 5AFTER
SHUFFLESHUFAD 1

I

BEFORESHUFFLE,SHUFAD 2I

WIE 8 PNTRSHUFDT2

I LlDI

fiNE 9I

EXTRA~- -- -- -~--~WRITTEN BEFOREAFTERSHUFFLESHUFFLESCROLLING REGION IS LINES 9-15. AT SHUFFLE,.L1NE 9
DISAPPEARS, REGION MOVES UP, EXTRi\ LINE APPEARSTO FILL SPACE BETWEEN LINES 15 AND 16.
MA-4662

Figure 4-7-10 Split Screen Address Shuffle
When a line feed is received the microprocessor waits for the current scroll to end. It sets an internal
scroll-pending flag. Then, at the next vertical interrupt, during the frame before scrolling begins, theshuffling process makes its preparations but only to add the 25th line to the display. During smooth
scrolling, all the lines will be visible together. The microprocessor, which keeps count of the number offrames in the scroll, loads the scroll latch in the DCO 12 with an offset value of one. Then, when thesecond vertical interrupt occurs, the microproce:isor performs the address shuffle, the offset counter
receives the 1 from the scroll latch, and the microprocessor loads the scroll latch with 2. As the frame
begins, the character generator ROM, driven by the offset counter, displays its second scan row on the
top line of the scrolling region. The rest of the scrolling region is moved up by the same amount, so thelast scan in the scrolling region is the top scan of the 25th line.
Succeeding frames contain the data moved up scan by scan as the microprocessor loads the scroll latchwith larger offset values each time. During the ninth -such frame, only one scan from the top line andnine scans of the bottom line are visible. The microprocessor loads 0 into the scroll latch. If the

4-96microprocessor made no other change, then on the next frame, the data which had been moving slowly
up would jump back down to its original position. Therefore, another address shuffle is performed atvertical reset. The top line of th(: scroll region is discarded and the 0 offset applies to the former secondline. The old top line is erased and becomes the new 25th line that will appear in the next scroll.

4.7.9 Split Screen Smooth Scrolling
In a split screen smooth sc:roll, the scan count to the character generator ROM must switch between
the normal scan counter and the: offset counter. (Please remember that full screen scroll is a special casescrolling region, and that jump scrolling is a special case offset count of 0.) The scrolling attribute bits,
which were set when the control sequence that defined the region arrived, operate the counter multiplexer (MUX).
Refer to Figure 4-7-11 and suppose that the smooth scrolling region extends from line 5 to line 8. The
scroll is shown at its midpoint.. The scrolling attribute bits at the ends of lines "Fill" through threedefine lines one through four to be outside the scrolling region. Each line's DMA has occurred when
the scan counter, which always starts together with the top scan on the screen, is equal to zero. A
DMA always occurs:
1.
2.

when the counter in use (MUX output) is zero, or
when the MUX first selects the offset counter.

The offset counter is loaded with its offset at vertical reset. The switch between scan counter and offset
counter may only occur when the scan counter (NOT the MUX output) is zero.

SCAN
COUNTEROFFSET
COUNTER

COUNTERIN USE

o

5

0--

o

5

0--

o

5 ---0,--ooT(FILL)o ---5 ---0-o

5---5-0--o ---5 ---5 - -0-o
5 ---5 - 0-0--- 5---5-0--o

5 ---0--o

5 ---0--o5---0--o

SCROLLING ATTRIBUTE
READ AT END OF DMA

ABC
D E F

LINE 2G H

LINE 3LINE 1.

AT NEXT SCAN COUNTERo BOUNDARY, WILL SWITCHTO OFFSET COUNTERJ

K L

LINE 4

IVI

1'\1

LINE 5

V

P Q R
STU
\/ W X

LINE 6

COUNTER STARTS AT 5.
SWITCH TO OFFSETCOUNTER CAUSES DMA.
NEXT DMA AT O.

'LINE 7
LINE 8LINE 25

2 3 4LINE 96 7LINE 10SWITCH OUT OF OFFSETCOUNTER AT NEXTSCAN COUNTERBOUNDARY. COUNTERIN USE = 0, THEREFOREDMA.

oMA-4282

Figure 4-7··11 Split Screen Smooth Scroll at Midpoint

4-97

The scrolling attribute bit on line 4 enters the DC012 during the DMA. However, it does not cause the
MUX to switch until scan 0 of the next line. Because of the switch to the offset counter, line 5 begins
with a'DMA but it starts displaying with scan 5 because of the offset counter. Its attribute bit enters
the DC012 at the end of the DMA. Five scans later the counter in use is 0, so another DMA occurs.
Because the scan counter did not reach 0 before the DMA, the scrolling attribute bit from line 5 isignored. Line 6 DMAs and its attribute bit enters the DC012. Line 6 is present for all 10 scans and soas the scan counter passes through zero, the DC012 accepts control from the line 6 attribute bit.
This special case (pointer to the second line in the scrolling region while the smooth scroll is in progress) is the only occasion when an attribute bit is ignored. The double height and width bits in the samebyte are accepted at the moment the DMA for the corresponding line begins. ,As line 5 begins to roll off the screen, the extra line in memory, line 25, becomes visible. It becomes the
new line 8 when line 5 is gone. Line 25 carries a non-scroll attribute bit because the next line (which theaddress on line 25 points to) is not in the scrolling region. Line 25 was DMA'd in when the counter in
use was 0 so it starts with its top scan. But the attribute bit is accepted when the scan counter reaches 0
five scans later. Now the counter in use is 0 again because of the shift back to the scan counter soanother DMA occurs, bringing in line 9, which also carries a non-scroll attribute bit. The rest of thescreen thus appears in non-scroll fashion.

4.7.10 Cursor
The microprocessor keeps a running account of the cursor position. It starts at the reset position, line 1- column 1 (top left corner) and responds to any change in position that might result from receiving a
new character, a cursor position command, a line feed, etc. The microprocessor calculates the appropriate screen RAM address from the combination of previous line and column plus change in position,or from the specified line and column in a direct cursor address (DCA) control sequence. The microprocessor then records the current setting of the base attribute bit of the character at that'address andthen periodically inverts the attribute bit, showing the operator that the cursor is located at the spot on
the screen where the attribute appears and disappears.
When a line scrolls on the screen, its location in RAM remains the same. To keep the cursor at thesame screen location as before, representing the cursor moving down through the lines, the microprocessor calculates a new address for the cursor at.the same column number but in the RAM location
corresponding to the next line. Then, after reseUing the attribute at the old location to its originalvalue, it records and then toggles the attribute bit at the new location.
The attribute bit that the microprocessor toggles and the appearance on the screen depend on the setup
selection of the cursor attribute and on the absence or presence of the AVO. If the AVO is not installed, the microprocessor toggles the eighth bit in each character word. A setup selection of reverse
video causes the microprocessor to set the DC012 to interpret its base attribute input (REV VID H) as
reverse video. If setup specifies that underline is to be used for the cursor, the DC012 is set to interpretthe base attribute as underline instead of reverse. Notice that without the AVO the cursor selection
determines the appearance for all characters on the screen that have the attribute asserted. Furthermore, the microprocessor will accept the commands for either reverse or underline to assert the attribute.
With the AVO present, the microprocessor tells the DC012 to interpret the base attribute as reverse
video. The cursor selection in setup determines whether the microprocessor toggles the base attribute
bit (eighth character bit) to get reverse video or one of the bits in the AVO RAM to get underline. With
the AVO present, cursor selection is independent of attributes and all attributes are available at thesame time.

4-98

4.7.11

SET-UP

The SET-UP area is a portion of the scratch RAM. It contains 8-bit bytes that are passed between the
RAM and the NVR. Here is a list of the SET-UP area contents. This list is subject to change.
22 bytes
17 bytes
1 byte1 byte1 byte1 byte1 byte1 byte1 byte1 byte1 byte1 byte1 byte1 byte1 byteAnswerback message (20 characters and 2 delimiters)
Tabs encoded in bits
80/132 column mode
Intensity
Mode byte for PUSART
On-Line/Local
Switchpack 1 (scroll, autorepeat, screen, cursor)
Switchpack 2 (bell, keyclick, ANSI/VT52, XON /XOFF)
Switchpack 3 (US/UK #, wrap, new line, interlace)
Switchpack 4 (parity sense, parity, bits/char, power)
Switchpack 5 (STP - visible only when option installed)
Transmit baud rate °Receive baud rate
ParityChecksum for ]\J"VR

When the SET-UP key is presse:d, the SILO locks and any scroll in progress is allowed to finish. Now
the 25th line (Extra) is available: for one of the lines at the bottom of the screen. Another 135 bytes areavailable as line Extra2 for use as the other of the two bottom lines, or for the NVR buffer area and the"Wait" message displayed during °NVR operations. Another 125 bytes are the SET-UP screen RAM.
They store the words "SET-UP AH twice (for double height) and the words "To exit press SET-UP"
with the three lines' terminator and address bytes, plus 19 more terminators and addresses for the 19
blank lines in the middle of the SET-UP screen.
For SET-UP A, the microprocessor performs a routine to fill the line at the bottom of the screen with aruler. The other free line displays the cursor and letters "T" to indicate tab positions. Then the microprocessor counts from the beginning of the tab bytes in the SET-UP area to find the bit corresponding
to the column number where the cursor is. If the bit is set, the microprocessor writes the letter "T" inthe current cursor position. Keys (Set/Clear Tab, Clear All Tabs) on the keyboard can toggle thesetting of the bit in the SET-UP area, and the microprocessor writes or erases the "T" to agree.
For SET-UP B, the microprocessor displays the data contained in the switchpack and baud rate area
by writing corresponding information into the bottom line. Switch pack 5 is only displayed if the
Option Present flag is asserted at the STP. The oth(~r free line is not written into but is used to display
the cursor position and to display the answerback message when the message is being entered. The
switchpack data is changed by a key on the keyboard (Toggle 1/0).
The non-switchpack data is changed by separate keys. These include parameters that display themselves - line/local (displayed in the LEDs) and 80/132 column, seen on the screen. Transmit andreceive are displayed numerically as is parity in later models. Switching between SET-UP fields andstarting Reset can also be done with separate keys on the keyboard.

4.8

MONITOR

Two monitors have been used in VT100 prodectiol1. Early VT100s used DEC part number 30-14590.
Later terminals used DEC part number 30-16080. Most of the circuitry in these monitors is standard
television technique, and t.his description simply highlights the signal path. An overview of the generalprinciples of the horizont.al section is included because this circuit is not intuitively understandablefrom an examination of the schematic. It is also the likely candidate for failure because of high stresses
in the components.

4-99

4.8.1

Monitor Description: 30-16080 (Elston)

4.8.1.1 Video Driver - The cathode driver stage gets its operating supply of 38 volts from a winding of
the flyback transformer. RI08 is the collector :load resistor. CIOI bypasses the emitter resistor to
improve high frequency response. The stage is intended to be biased by the driving circuit (direct video
out in the terminal controller). R 105 couples the video signal to the cathode limiting current flow if the
CRT arcs.
4.8.1.2 Brightness - The brightness control circuit gets its -150 volt operating supply from the horizontal output circuit. A charge pump (CI04, CI05, CRI03, CRI04) produces a large negative voltage
by inverting the large positive swings in the stage. The brightness voltage returns to the + 38 volt video
output power supply, rather than ground, to allow the brightness control output to vary from -42 to+ 17 volts. The brightness control potentiometer RI09 varies the bias on the first grid of the CRT.
C 107 bypasses currents resulting from internal CRT arcs from the high voltage anode and also bypasses video signals from the grid to ground.
4.8.1.3 Vertical Oscillator - The vertical oscillator receives its synchronizing drive through inverterbuffer Q298. R331 and C314 are a low pass filter on the input for noise immunity. The input is accoupled so that if the drive stops in either a high or low state, the circuit can self-oscillate to keep thebeam moving on the CRT.
Basically, the oscillator is an RC timer with R333 and R334 through CR304 charging a capacitor madeof C318 and C319 in series. As the voltage acroSs. the capacitor rises, emitter follower Q309 drives theoutput amplifier Q310 so that its collector current rises at the same rate. CR304 is two diode drops tocompensate for the drops in Darlington Q309 so the voltage at the base of Q31 0 is the same as thevoltage at the top of C318. When Q308 receives a vertical drive pulse, it discharges the capacitor.
R341 and R342 are positive feedback to the junction of C318 and C319. As Q310's emitter voltage rises
with increasing current, the two resistors couple that voltage back to the timing capacitor. This makes
the voltage across the capacitor rise faster than it would with only the charging current from R333 andR334. But because the rise in capacitor voltage causes Q3IO to turn on more, the feedback voltage
increases as well. The exponential rise in Q31 O'S output current that results closely matches the variations in L30 1's current. This is explained more under Linearization (Paragraph 4.8.1.6).

4.8.1.4 Self-Oscillation - If the vertical circuit does not receive a drive signal, it oscillat,es by itself tokeep the electron beam moving to prevent a phosphor burn. The self-oscillation period is longer thanthe period between vertical drive pulses so the drive pulses, when present, always control the verticalscanning rate.
Without a drive signal, Q308 is off. The regular RC circuit produces a rising voltage at the base of
Q310. While Q3IO's output moves the electron beam, its base voltage is coupled to Q308 through R335
and CR302. When the voltage rises above the diode drops of CR302 and Q308 base-emitter junction,
Q308 turns on, discharging the timer and cutting off Q310. The retrace voltage that forms at L301 is
coupled by R344, C316, and R339 back to Q308 to keep it on long enough to complete a retrace eventhough the voltage from Q310's base (that started the cycle) has started to decrease. After the voltage
at L301 falls (due to current flow to the yoke), the drive to Q308 is gone, Q308 turns off, and the selfoscillation cycle begins again.

4.8.1.5 Vertical Output - Consider L30I, which is a large inductor, to be a constant current source.
Assume that the yoke starts with a current that deflects the beam to the top of the screen, and Q31 0 is
off. The current flows out of L301 through C321 and into the yoke. Q3IO now turns on with a gradually rising voltage on its base. Q310 thus draws a.n increasing amount of current from the junction of
L301 and the yoke. Because L30I's current is relatively constant, this means that less current is avail-

4-100

able for the yoke, so as Q310's current increases, the yoke's current decreases. Eventually Q310 passes
all of L301's current and the yoke Icurrent is 0 with the beam in the center of the screen. As the current
in the collector of Q310 increases further, the current in the yoke reverses and adds to the current
coming from L301. This opposite current deflects tlhe beam toward the bottom of the screen. Now thevertical drive pulse turns Q310 off, and L301 produces a large positive voltage to try to maintain its
constant current. This voltage rapidly reverses the current in the yoke and makes the beam return to
the top of the screen very fast. Q310 turns back on and the cycle repeats.
C320, R338, and R340 limit the voltage across L301 during vertical retrace.
4.8.1.6 Linearization - Because L301 is not an infinitely large inductor, it is not a perfect current
source. Current through it decn~ases gradually until the beam reaches the center of the screen and thenincreases again toward the end of the cycle. This non-ramp component of the current would causecharacter height to vary from top to bottom if allowed to pass to the yoke. The exponential drive toQ310 as a result of feedback causes Q310 to accept the varying current from L301 at the same time thata ramp current through the yoke is maintained.
4.8.1.7 Horizontal Driver - The horizontal driver receives a TTL level drive pulse from the terminal
controller. R468 limits the bas1e current to Q413. C435 provides noise immunity for the drive input.
When the input is high, Q413 is on. With pin 6 of transformer T403 pulled low by Q413, and with
about half the supply voltage a.t pin 4, there is approximately 6 volts across the primary winding 4-6.
The secondary winding 3-2 sees one quarter of this voltage across itself due to the 4: 1 turns ratio, but
no current flows because Q414"s base-emitter junction is reverse biased. Meanwhile, current increases
through winding 4-6 while Q413 is on, storing energy in T403's core. When the drive signal falls,
turning Q413 off, winding 3-2 reverses polarity. Current now flows from T403 winding 3-2 throughQ414's base-emitter junction, Q414 saturates, and the horizontal output functions as discussed below.
When the drive signal goes high again at the beginning of horizontal retrace, Q414 needs to turn offvery quickly to minimize dissipation. The purpose of opposite polarities in T403 is to force Q414 off byturning Q413 on. When Q413 turns IOn, winding 3-2 reverses polarity again and this voltage forces
Q414's base-emitter junction into a reverse biased state, rapidly discharging Q414's stored base charge
and cutting off Q414's collector current.
R470 limits the peak current through Q413. R470, and R471 (if present), limit the on time of Q414.
C443 (if present) speeds up the turn-off of Q414. C436 limits the peak voltage that develops acrossQ413 caused by leakage inductance in the primary of T403 that prevents complete coupling of the
primary energy into the secondary. C437 filters Q413's power supply.
4.8.1.8 Horizontal Deflection Operation - The horizontal output circuit consists basically of Q414,
CR406, C438, C441, and the horizontal deflection yoke. Assume that the beam is at the center of thescreen during a scan. Refer to the waveform diagram (Figure 4-8-5) for reference points TO through T4.

4-101

Figure 4-8-1 Horizontal Deflection Current - TO

YOKE

+15
C441

TO
MA·4670

TO:

Right Half of Scan (Figure 4-8-1)

Initial Condition:

Current through the yoke is zero. C441 is charged to + 15 volts. Q414 is on.

Action:Current now flows out of lthe yoke through Q414, pushed by the voltage acrossC441. The voltage across C441 is nearly constant so the current through the
yoke's inductance increas(:s linearly. As the current increases, the beam moves
to the right of the screen. The magnetic field building in the yoke stores energy.

Figure 4-8-2 Horizontal Deflection Current - Tl
C438

YOKE

T1
MA·4671

Tl:

Start of Retrace (Figure ~f-8-2)

Initial Condition:

Current out of the yoke is maximum. Q414 is switched off. C438, which had
been grounded by Q414, has 0 volts across }t.

Action:Current continues to flow out of the yoke by inductive inertia as the stored magnetic field collapses. C438, which is a small valued capacitor, quickly charges
to a high voltage. This voltage opposes current flow and causes a rapid reduction in current. The beam quickly returns to the center of the screen.

Figure 4-8-3 Horizontal Deflection Current - T2

+17[31
CjYOKE
T2
MA·4672

T2:

Middle of Retract (Figure: 4-8-3)

Initial Condition:

Current through yoke is zlero. C438 is charged to + 175 volts.

Action:The high voltage across C438 causes a rapid rise in current into the yoke. The
beam moves to the left of the screen.

4·102

g

Figure 4-8-4 Horizontal Deflection Current - T3

CR406

YOKE
+15
C441

T3
MA-4292

T3:

Start of Scan (Left Half) (Figure 4-8-4)

Initial Condition:

Current into the yoke is maximum. C438 is discharged.

Action:Inductive inertia makes the top of the yoke slightly negative, forward biasing
CR406 to provide a return path for current out of the bottom of C441. The yokecurrent gradually decreases as the magnetic field collapses and discharges into
C441 against the voltage across C441. The beam moves to the center of thescreen.

T4:

Return to TO

4.8.1.9 Horizontal Output Circuit _. (Refer to Figure: 4-8-5.) L403 adds a variable inductive reactancethat controls current in the circuit to vary the scan width. L402 is a magnetically biased inductor whose
reactance varies nonlinearly with changes in yoke current. This, with R481 and C442, provides correction for nonlinearity caused by the decaying exponential rate of current increase in the yoke caused by
the yoke's resistance. It does this by allowing more voltage across the yoke at the end of the scan. Thisis n~eded because as current increases, the voltage drop increases across the resistance of the yoke,tending to reduce the rate of current increase.

CURRENT" ...--THROUGH
YOKE+ - - 0 AMPS

...

i

f
T1 T3
T2

TO

1- 1

o VOLTSLVOLTAGE
ACROSS
YOKE

T1 T3
T2

MA-4930

Figure 4·,8-5 Horizontal Deflection Waveforms
4-103Power enters the circuit through the primary of the flyback transformer. CR408 and C439 work with
an autotransformer winding on the primary to boost the stage's operating voltage to + IS volts. The
output circuit shuttles yokvbe current back and forth between C438 and C441, losing only a small
amount of power in resistive losses. Therefore, the average current through the flyback primary is small(approximately 800 rnA). C438 is relatively small so that the voltage drop across its reactance can provide "S" correction for the horizontal scan. This compensates for the difference between the arc of the
tube face and the arc of the beam's deflection. Each time Q414 turns off, a 175 volt pulse, lasting theinterval of horizontal retrace, appears at the dotted end of the flyback primary. This pulse passes into
the flyback secondary to provide high voltages for the CRT.

4.8.1.10 High Voltage and Focus - When the 175 volt pulse appears on the flyback primary at retrace,
the flyback secondary produces 12 kV which is rectified by CR407 and filtered by the capacitor madeby the aquadag (graphite) coatings on the inside and outside of the CRT's glass envelope. Screen andfocus grid voltages of about 370 volts come from a lower voltage winding on the flyback and are rectified by CR409. For the cathode driver, 38 volts comes from another winding and is rectified by CRI02.

4.8.2

Monitor Description: 30-14590 (Ball)

4.8.2.1 Vudeo Amplifier - The video amplifier consists of Q 101 and its associated circuitry. The incoming video signal is applied to the monitor through 1101-8 and RIOI to the base of QIOI.
Transistor QI01 has a nominal gain of IS, and operates as a class B amplifier. QIOI remains cut off
until a dc-coupled, positive-going signal arrives at its base and turns it on. R 103 provides series feedback that makes the terminal to terminal voltage gain relatively independent of transistor parameters
and temperature variations. RI02 and CIOI provide emitter peaking to extend the bandwidth to 12
MHz.
The negative-going signal at the collector of QIOI is direct coupled to the CRT cathode. The class B
biasing of Q 101 allows a large video output signal to modulate the CRT's cathode and results in a
maximum available contrast ratio.
Overall brightness of the CRT screen is also determined by the negative potential at its grid which isvaried by the brightness control.

4.8.2.2 Vertical Deflection - Q 102 is a thyristor used as a programmable unijunction transistor andwith its external circuitry forms a relaxation oscillator operating at a vertical rate. The sawtoothforming network consists of A 101, C 103, and C ll04. These capacitors charge exponentially until thevoltage at the anode of Q 102 exceeds its gate voltage at which time Q 102 becomes essentially a closed
switch, allowing a rapid discharge through LIOll. The rate of charge or frequency is adjustable by
AI01. The oscillator is synchronized by a negative pulse coupled to its gate from the vertical drive
pulse applied externally at 1 101-9.
A divider network internal to AIOI sets the free running frequency by establishing a reference voltage
at the gate. This programs the firing of Q 102 and amounts to resistive selection of the intrinsic standoff
ratio. Frequency is controlled by passive components only. CRIOI provides temperature compensation for Q 102 while controlling the gate impedance to allow easy turn on and off of Q I 02. L 101
forms a tuned circuit with CI03 and CI04 during conduction ofQI02 which provides a stable control
on the dropout time of QI02 to assist in maintaining interlace. QI03 collector to base forward diodeclamping action prevents the voltage from swinging too far negative during this flywheel action.

4·104

The sawtooth at the anode of QI02 is direct coupled to the base of QI03. This stage functions as a
Darlington pair emitter follower driver for the output stage Q 104. It presents an extremely high impedance in shunt with A 101 and prevents the Beta dependent input impedance of Q 104 from affecting thefrequency of the sawtooth forming network.
Linearity control of the sawtooth is accomplished by coupling the output at Q 103 emitter resistively
back into the junction of CI03 and CI04. This provides integration of the sawtooth and inserts aparabolic component. The slope change of the sawtooth at QI03 output is controlled by the setting of
AI02. The output at QI03 is cOlLlpled into a resistivle divider.
Height control R 110 varies the amplitude of the sawtooth voltage applied to the base of Q 104 andcontrols the vertical raster size on the CRT. CI0S lilmits the amplitude of the flyback pulse at QI04
collector.
The vertical output stage Q 104 uses an NPN power transistor operating as a class AB amplifier. The
output is capacitively coupled to the yoke. L 1 provides a dc connection to B+ for Q 104. It has a highimpedance compared to the yoke inductance that causes most of the sawtooth current of Q 104 to
appear in the yoke. R 114 prevents oscillations by providing damping across the vertical yoke coils.

4.8.2.3

Horizontal Deflection

4.8.2.3.1

Low Level Stages - The: purpose of Q I OS and Q 106 is basically to process the incoming
horizontal drive signal into a form suitable to drivle the output stage Q 108. The duty cycle of Q 108
becomes essentially independent of the amplitude and pulse width of the drive pulse. This is a necessary condition to assure stability and reliability in the output stage. In addition, these stages provide ahorizontal video centering adjus1tmtmt by delaying retrace with respect to the horizontal drive pulse.

The drive pulse is presented to QIOS via 1101-6. The base circuit of QIOS includes a clamp and adifferentiator that makes QI0S output insensitive t.o drive pulse amplitude and width changes. The
only requirement is that pulse amplitude be of 2.S volts minimum and pulse width should be 10 to 40
microseconds. Q lOS with Q 106 functions as a monostable multivibrator with Q 107 being a slave thatprovides a positive feedback. Specifically, when Q1OS is turned on by the drive pulse, it discharges
C112 at a rate determined by the setting of AI03. VVhen C112 is discharged to 1.7S volts, QI06 turns
off. This change of state turns Q 107 on and the base drive to Q 106 from R 128 is shunted throughQI07. QI06/QI07 remains in this state for nominaBy 2S microseconds until C112 recharges throughA 103 to 8.2S volts. At this tim,e, Q106 is biased on again by the current through A 103. The multivibrator is now in a state in which Q 106 is on and Q1OS /Q 107 is off. It remains in this state until thenext drive pulse occurs or power is turned off. Cl12 is the only timing capacitor in the circuit and has
two time constants associated with it. Primarily, the charge path between pin 1 and pin 3 of AI03
determines the on time of QI07. The discharge path through the video centering control and QI0S
determines the delay between application of the drive pulse and the start of retrace (turn on of Q 107).

4.8.2.3.2

High Level Stages - Th,ese stages consist of Q 107 driving the output stage, Q 108, and its
associated circuitry through TIOt. QI07 is an inverting slave of QI06 and is driven alternately into
saturation and cutoff as are all stages in the horizontal circuit. Q 107 output is transformer coupled tothe output stage with phasing of TIO! chosen such that QI08 turns off when QI07 turns on. This
allows QI08 to turn off quickly, thus minimizing dissipation. A careful review shows that QI08 turns
off at a variable delay time afte:r receipt of the drive pulse. This action causes retrace to begin.

4-1015

During conduction of the driver transistor, energy is stored in the coupling transformer. The polarity
at the secondary is then phased to keep QI08 cut off. As soon as the primary current of TI0l isinterrupted due to the base signal driving QI07 into cutoff, the secondary voltage changes polarity.
Q 108 now saturates due to the forward base current flow. This gradually decreases at a rate determined by the transformer inductance and circuit resistance. However, the base current is sufficient tokeep QI08 in saturation until the next polarity change of TIOl.
The horizontal output stage has two main functions:1.

to supply the deflection coil with the correct horizontal scanning currents and2.

to develop high voltage for the CRT anode and dc voltage for the CRT bias, focus, andaccelerating grids, as well as the dc vohage for the video output stage.

Q 108 acts as a switch that is turned on or off by the rectangular waveform on the base. When it isturned on, the supply voltage plus the charge on C 123 causes deflection current to increase in a linear
manner and moves the beam from near the center of the screen to the right side. At this time, thetransistor is turned off by a polarity change of T 101 that causes the output circuit to oscillate. A highreactive voltage in the form of a half cycle negative voltage pulse is developed by the deflection coilinductance and the primary of T2. The peak magnetic energy that was stored in the deflection coilduring scan time is now transferred to C122 and the deflection coil distributed capacity. During thiscycle, the beam is returned to the center of the screen.
The charged capacitances now discharge into the deflection coil and induce a current in a direction
opposite to the current of the previous part of the cycle. The magnetic field thus created around thecoil moves the scanning beam to the left of the screen.
After slightly less than half a cycle, the decreasing voltage across CI22 biases the damper diode CRIll
into conduction and prevents the flyback pulse from further oscillation. Magnetic energy that wasstored in the deflection coil from the discharge of the distributed capacity is now released to provide
sweep for the left half of scan and to charge C 123 through the rectifying action of the damper diode.
The beam is now at the center of the screen. The cycle repeats as soon as the base of Q 108 becomes
positive with respect to its emitter.
C 123 serves to block dc current from the deflecti on coil and to provide "S" shaping of the current
waveform. "S" shaping compensates for stretching at the left and right sides of the picture tube because the curvature of the CRT face and the deflected beam do not follow the same arc.
L 103 is an adjustable width control placed in seri,es with the horizontal deflection coils. The variableinductance allows a greater or lesser amount of deflection current to flow through the horizontal yoke
and varies the width of the horizontal scan.
Linearity control is provided by modifying the deflection coil voltage. During retrace, an auxiliary
winding on the flyback transformer supplies a pulse that charges C 119 through rectifier diode CR 112
and L I 02. This voltage is then applied in series with the deflection coil when the damper diode turns on
at the start of trace. The voltage is sawtooth shaped and has the effect of decreasing the deflection coilcurrent as a function of the sawtooth shape. This compensates for the stretch normally found on theleft side of the screen due to the deflection coil and system RL time constant. Linearity is optimized byadjustment of LI02 that acts as an impedance to the pulse fro~ T2.
The negative flyback pulse developed during horizontal retrace time is rectified by CR 110 and filteredby C 117. This produces approximately -130 V de which is coupled through the brightness control R 117
to G I of the CRT.

4-106

This same pulse is transformer-eoupled to the secondary of T2 where it is rectified by CR2, CR 113,
and CR114 to produce rectified voltages of approximately 12 kV, 400 V, and 32 V respectively. 12 kV
is the anode voltage for the CRT, 32 Y is used for th~~ video output stage, and the 400 V source is used
for 02 and 04 voltages for the CF~T.

4.9 POWER SUPPLYThe VT100 series power supply is a switching supply that has 95 watts capacity with four separate
voltage outputs. Figure 4-9-1 is a block diagram of the power supply.
4.9.1 Power Input
The input to the supply consists of an electromagnetic interference (EMI) filter, an on/off switch, afuse, and a 120/230 volt select switch. Either on 120 Vac or 230 Vac input, thermistors Rl and R50
reduce the start-up inrush currents to safe levels. For 120 Vac operation a voltage doubler rectifier isused; for 230 Vac operation a full wave bridge rectifier is used. The storage voltage across both C9 andC 14 varies with the input line voltage from 200 to 360 Vdc. R 19 and R20 are bleeder resistors.
4.9.2 Start-Up Circuit
Transformer T2 is a start-up transformer that supplies the power to start the control circuit. The ac
voltage on the primary of T2 is stepped down, rectified, and filtered by C33. The dc voltage is applied
to the input of + 12 volt regulator Z2. The output passes through two diodes D24 and D25 to thecontrol circuitry. When the unit is turned on, the only voltage supplying power to the control circuit isfrom the regulator Z2. After the outputs come up, th~~ + 12 output is fed back through diode D34 to thecontrol circuitry. This voltage, being higher than that delivered by the start-up circuit, will back bias
D24 and D25, isolating the Z2 n~gulator. This scheme of returning the output through D34 enables thepower supply to also meet its ride-through specification (ability to supply power during brief outages).

INPUT
SWITCHINGRECTIFIER......... TRANSISTOR .........
r+
FILTERQ7
400 VOLT~AC
IN-23 VOLT
RECTIFIER-FILTER

I--t1.....

-12 VOLT RECTIFIER
AND REGULATOR

MULTI- f-+
TAP
30 KHZ
TRANSFORMER-

5 VOLT RECTIFIER-FILTER
AND CURRENT LIMIT. SENSE AMP---

START-UP
4- SUPPLY
12 VOLT

I
f--

~.

-+

112 VOLT RECTIFIER-SWITCHING-REGULATORFILTER &CURRENT LIMIT SENSE AMPt+
PULSE WIDTH SYNCHRONIZATIOI\ISLOW-.
TURN-ON ~ MODULATOR
E4CIRCUITI

PULSE WIDTHMODULATOR
E2 & E3

MA-4296

Figure 4-9-1 VT100 Power Supply Block Diagram

4-107

4.9.3Control Circuit

The control circuit in the VT100 power supply is designed around the 3524 pulse width modulator(PWM) Ie. It houses a voltage reference, error amplifier, oscillator, pulse width modulator, pulse
steering flip-flop, dual alternating output switcher, current limit circuit, and a shutdown circ,uit. Referto the regulator Ie block diagram in Figure 4-9-2 and the power supply timing diagram in Figure 4-93.

REFERENCE t------~--. +5V TO ALL
REGULATORINTERNAL CIRCUITRYOSCILLATOR

+5V

+5V
FLIP
FLOP
OSCI LLATOR t------...L-CT(RAMP)COMPARATOR+5V
INV. INPUT

N.I. INPUTGROUND(SUBSTRATE)

1

1K
10 t----~"v_-,..--~-I

9

COMPENSATIONSHUT DOWN

10K

MA-5265

Figure 4-9-2 3524 Regulator Block Diagram

4-108

RAMP :::l-~-DC lEVEL' L
OSC. OUTPUT

Y

IFLIP FLOP OUTTO NOR 13,14~_.----1

L ...... .--

L~

b--4

r

.S

n-----

[

1

I

L

.--1

L .-~

r~ -

L

10- ~

OUTPUT OF
COMPARATOR:

I--

013,14 CalL~

02 BASE

po-

VCE

5.1V

··rr
"n
~

COll01.~j-

08V CE.n,.

r

f- f--Ir-'

PIN 5 __

07 Call CUR RENTrI

PIN 2 555

PIN 3 555

-

~ f--

FLIP F lOP OUTTO NOR 11,12

PIN 6,7-.... -

02 Call.
07

-

r- ~

OUTPUT OFNORGATE 13,14 _~--------------------......

--

r--

r-

r-

-

Ls~

~

.-

~

~

I-

~

MA-4873

Figure 4-9-3 Power Supply Timing Diagram

4-109

The oscillator frequency is determined by resistor R 18 and C7. The ramp generated by C7 is used as areference for the comparator. The discharge time of C7 determines the pulse width of the oscillator
output pulse. This pulse is used as a blanking pulse to ensure that the outputs of the 3524 cannot turnon simultaneously. Capacitor C5 ensures that th{: blanking pulse is wide enough.
The error amplifier in the 3524 is a transconductance amplifier with an output (pin 9) impedance ofapproximately 5 megohms. Pin 9 is a convenient point to place the compensation network, R30, C 17
and R 13. It is also an ideal point at which to turn off the switching regulator and also to put the slowturn-on circuit. The slow-turn-on circuit consists of D39, R51, D40, and C34. When the power supply
is initially turned on, pin 9 is pulled to ground by C34 through D39. As C34 charges slowly andexponentially, pin 9 follows, turning the power supply on slowly and exponentially. The current thatcharges C34 comes from pin 9 and the + 12 volt start-up. Pin 9 operates at a dc level that is determinedby the input error voltage into the amplifier. C34 eventually charges to + 12 volts, thus back biasing
039. When the supply is turned off, C34 discharges through D40, allowing the supply to be ready for
another soft start.
The inverting side (pin I) of the input to the error amplifier is tied to the + 5 volt output through adividing network, R32 and R48. The noninverting side (pin 2) is referenced to a 5.1 volt zener, 038,
through a divider network, R41 and R49. An error appearing at the input causes pin 9 (output of theerror amplifier) to shift. This dc level shift is tied into an input of a comparator. As mentioned earlier,the ramp generated by C7 is tied into the other input of the comparator. This is the means by which theregulator is pulse width modulated. The actual frequency of the oscillator is 60 kHz. The switchingfrequency of the power supply is one-half that of the oscillator, 30 kHz, beca.use only one of the singleended outputs is used. This output, pin 13, a puls{! width modulated wave, turns transistor Q4 on andoff. When Q4 is off, Q3 supplies base current to Q2, turning it on. D7 and D8 are antisaturating
diodes. R 14 limits the base drive, and R 15 and C4 are a speed-up circuit to turn Q2 on and off fast.
When Q2 is on, Q7 (high voltage switch) is off. Current flows from + 12 through R 11, D6, and winding
5,6 of pulse transformer T3 through transistor Q2 to ground. The circuit remains in this state until thebase drive to Q2 is removed by the control circuit. When Q2 turns off, the voltage across T3 winding
5,6 reverses, causing all the dotted ends of windings in T3 to become negative. Current starts to flow
into the base of Q7. This causes collector current to flow. This current flows through winding 1,2 ofT I, through the transistor and winding 2, I of T3. The current in winding 2,1 of T3 produces current
flow in windings 3,4 and 7,8 of T3. The action that takes place is regenerative and causes Q7 to snap
on. When Q7 conducts, energy is transferred from the primary of T 1 to the secondary. The positive
voltage at terminal 5 of T 1 charges capacitor C6 through D 14 and R21. The voltage at terminal 5
depends on the conduction time of the switch. When the control circuit switches Q2 on, C6 discharges
through D9, winding 5,6 of T3 and transistor Q2. The current through winding 5,6 of T3 makes all
dotted ends positive on T3. The negative polarity on the base of Q7 turns it off. D 11 is across T3 andQ2 for noise immunity. Diodes D41, DI2, and D3 are antisaturation diodes. C19, R27, and 027 form
the snubbing network.
.
Winding 1,3 of T 1 is a reset winding. On turn-off, this winding clamps the collector of Q7 to two times
the storage voltage. It is also used for resetting the high frequency transformer core.

4.9.4 Outputs
There are four secondary outputs. The ":'23 volt output is rectified by D28, filtered by C 18, and passedon through a 300 ohm resistor. The output goes to two zeners mounted on the video board. The 300
ohm resistor limits power dissipation in the zeners and also dissipates all power under short circuit
conditions.

4-110

The -12 volt output consists of a rectifier diode (D29), filter capacitor (C20), and a regulator Zl.
The voltage at winding 9,10 of T 1 is rectified by D36 and goes into an averaging network L2 and C31.
The catch diode, part of D36, completes the conduction path wh'en Q7 is off. When Q7 is on, there is a
voltage on the secondary with pin 9 being positive. D36 is forward biased and current flows throughL2. This causes the inductor curnmt to increase at this time. With the switch open, stored energy in the
inductor forces the current to continue to flow to the: load and return through the catch diode (D39).
The voltage across L2 is now reversed and is approximately equal to'the output voltage. During thistime the current in L2 decre:ases. The average current through L2 equals the load current. Since C31
keeps the output voltage constant, the load current will also be constant.
The + 12 volt output circuitry works the same way as above except the voltage at winding 4,5 is turnedon by Q8 and turned off by the voltage at terminal .5 going negative.
The current limit circuits for the +:; and + 12 outputs have identical configurations; only some resistance values differ. The voltage at pin 5 of the comparator referenced to the junction of R 16 and R37 iscompared to the voltage drop across R37. When the voltage across R37 increases to a point where pin
6 is more positive than pin 5, El switches and pin 7 goes low, pulling pin 9 of E4 to ground and thus
turning off the switching regulator.
The + 12 volt control circuitry is synchronized to the 3524 pulse width modulator at a 30 kHz rate.
When pin 12 of E4 is high, capacitor C 15 charges up from the + 12 start-up through R29, R26, andD13. The polarity on the capacitor is such that when pin 12 ofE4 goes low, the emitter ofQ6 is pulled
negative with respect to the base which is at ground. Q6 saturates, pulling pin 2 of E3 down, thereby
allowing the ramp generated at pins 6 and 7 by C 13 to ramp up. Pin 6 is the threshold pin. The input tothis pin is compared to the voltage at pin 5. When the voltage at pin 6 is equal to that of pin 5, pin 7
discharges capacitor C13 and pin 3 ofE3 goes low. Whenever the voltage at pins 6 and 7 is ramping up,
the output of E3, pin 3, is high.
C 13 is the timing capacitor for the + 12 volt pulse width modulator. C 13 is charged from a voltagecontrolled current source. The voltage at pin 5 of E3 is connected to the 5 volt reference. Thus, whenthe voltage across C 13 reaches 5 volts (pin 6 of E3), the output of E3 pin 3 drops low, turning Q 1 off
and thereby turning Q8 on. Q7 and Q8 are turned off simultaneously when Q2 is turned on. The pulse
width that determines the length of time Q8 is on is determined by the rate of voltage rise on capacitor
C 13. The faster C 13 charges, the longer Q8 conducts. The error voltage that determines the rate of rise
on C 13 is generated by error amplifier E2. The noninverting input of the error amplifier is referenced
to 038, a 5.1 volt zener. The inverting input is divided up by R2 and R3 and senses the + 12 volt
output. Any difference creates an error signal on pin 6 of E2. This increase or decrease in voltage at pin
6 divided by R33 generates- a proportional change in current through Q5, thereby changing the rate ofvoltage charge on capacitor C 13. As described above, the change in rate of charge affects the pulse
width.
R4, C 1, and R5 are the compensating components of error amplifier E2. D 1 and D2 are antisaturating
diodes. R6 limits the base drive and R 7 and C3 are: a speed-up circuit to turn Q 1 on and off.

4-111

4.9.5

Power Supply Specifications

4.9.5.1

Input Specifications

Voltage
Single phase, 2 wire

90-128 V nns (switch-selected)
180-256 V Jrms

Frequency

47-63 Hz

Current

2.2 A rms max. @ 115 V rms; 1.1 Armsmax. @ 230 V rms.

Input power

250 VA apparent 150 W max.

Power factor

Ratio of input power to apparent power isgreater than 0.6 at full load and minimum
input voltage. The VT100 appears
capacitive to the line.

Leakage current

When installed in VT100 terminal, current
to ground is 0.5 rnA max. Each line toground at 250 V rms sine, 50 Hz.

Current limiting

When installed in video terminal, 3.0 A
normal blow fuse.

Electrical Magnetic Interference Susceptibility
Conducted transients
Single voltage transient without causing
system degradation: 600 V @ 2.5 W Isecmax.
Single voltage
transient, survival

1000 V @ 2.5 W Isec max.

Average transient power,
survival

0.5 Wmax.

Conducted cw noise

Unit operat(~s without error at conducted
noise levels lLlp to 10 kHz - 30 MHz: 3 V
rms.
RF Field Susceptibility: 10kHz - 30 MHz:
2 V1M; 30 1v.1Hz - 1 GHz: 5 V1M with power
supply instaUed in video terminal.

Power line disturbance

4-112

Ride through capability

The VT100 power supply provides a minimumof 20 ms ride through during a power
outage condition. Ride through capability
is at low line and full load. During thistime, all power supply outputs must bewithin their spec:ified limits.

Overvoltages

The VT100 powl~r supply withstands for one
second, an overvoltage of 110% of the
maximum input voltage(s) specified in
Section 4.9.5.1.1 without causing systemdegradation or damage.

Undervoltages,
disturbances, andoutages

The VT100 power supply is capable ofwithstanding undervoltage disturbance andpower interruptions without physicaldamage.

Hi-PotInput to frame for 1 min. - 2.15 kV dc;
input to output for 1 min. - 2.5 kV rms

Output Specifications
GeneralDC outputs are provided by the dc output
distribution.
DC output speciifications are defined at
the dc distribution buses.
Distribution systems must be designed per
this document since no output voltage
adjustments are provided.

Output power+5 V @ 1.5 A rnin to 11.0 A max.
+ 12 V @ 1.0 A min to 2.75 A max.
-12 V @ 0.0 A min to 0.5 A max.
-23V@10mA+ 5 V Specifications
Total regulation
Static line regulation
Static load regulation
Long term stability
Thermal drift
RippleDynamic load regulation
Noise

±5%
±0.75%±2.0%
0.1 % - 1000 hrs± 0.025% - deg C
150 mV p-p for f < 66 kHz± 2.2% (see notes)
1% peak at f greater than or equal to 100
kHz (noise is superimposed on ripple)

4-113

+ 12 V Specifications
Total regulation
Static line regulation
Static load regulation
Long term stability
Thermal drift
RippleDynamic load regulation
Noise

±5%
±0.5%
± 1.0%
0.1 % - 1000 hrs± 0.025% - dleg C
240 mV p-p for f < 66 kHz± 1.1 % (see notes)
1% peak @ f greater than or equal to 100 .
kHz (noise is superimposed on ripple)- 12 V Specifications
Total regulation
Static line regulation
Static load regulation
Long term stability
Thermal drift
RippleDynamic load regulation
Noise

±5%
±0.5%
±1.0%
0.1 % - 1000 hrs± 0.025% - deg C
240 mV p-p for f < 66 kHz± 1.1 % (see notes)
1% peak @ f greater than or equal to 100
kHz (noise is superimposed on ripple)- 23 V Specifications
Total regulation
Static line regulation
Ripple±10%±2%500 mV p-p

NOTES
1.
For all outputs, the long term stability and thermal drift specifications apply after a 5 minute
minimum warmup, measured at the dc distribution buses with an averaging meter.

2.

Dynamic load regulation is measured in + 25% load steps from a starting point of 75% of full load.
Measurements are made at the power supply tE!rminals.

3.

Zener diodes for - 23 V supply are located at lthe load and not on the power supply.

Regulation limits

Regulation lilnits are measured at the dc
distribution buses. The root sum squaredof errors due to the following
conditions:
1.
2.
3.
4.
5.
6.

Initial tolerance
Static and dynamic input voltage
Gradua.lload changes over the load
range nlinimum to full load
Operatiion over the temperatureenvironment specified for the VT100Long te:rm stability per 1000 hours
Ripple and noise must remain within
the tota.l regulation limits statedabove.
4·114

Ripple and noise: must be measured with awide band oscilloscope in the
differential modle between ground and theoutput under test. The oscilloscope must
be grounded so as to minimize spurious
responses. The specification applies only
to repetitive voltage variations that
occur while operating with a constant
input voltage and fixed load.

Ripple and noise

Overload protection+5 V output

Current limit with foldback. Limit pointis 18 A max; foldback is 6.0 A max.

+ 12 V output

Current limit with foldback. Limit pointis 6 A max; foldback is 3 A max.

-12 V

Internal current limit of the 3-terminal
regulator is per DEC specifications
PS-19-12048-02.

-23V

Current limited to less than 150 rnA.

Voltage adjustments

None. 1.68 kg (3.7 lbs) max.

4.9.5.2 Cooling - Cooling is by natural convection. Adequate space must be provided around the supply to allow a free flow of air. The power supply was designed with capability greater than the basic
VT100 requirements so that options could be easily added in the future. Since the form factor andpower dissipation of these options is not known, additional air flow and thermal profile testing should be
conducted as part of the option design to determine if convection cooling is sufficient.

4.9.5.3

Base Product Power Requirements - The basic VT100 terminal controller, monitor, and keyboard have the following combined maximum power requirements:
+5V
+12 V
-12 V
-23 V

2.5 A
1.8 A
0.03 A
12 mA (no other device should use this voltage).

The advanced video option uses +5 V, 1.1 A maximum power.

4-115

CHAPTER 5
VT100 SERIES SERVICE

5.1 INTRODUCTION
This chapter contains troubleshooting and repair information for VT100 series terminals. All terminals
in the series are based on the VT100. Therefore, the VT100 can always be isolated as a separate unit.
This allows you to determine if the trouble lies within the VT 100 hardware or the hardware added tothe terminal to make it a variation.
5.2 TROUBLESHOOTINGThis section contains the troubleshooting information for the VT100 series of terminals.
5.2.1 Troubleshooting the Basic VT100
The VT100 has a series of internal self-tests that help isolate failures to a field replaceable unit (FRU).
Paragraph 5.2.7 describes the tests and how to run them. Tables 5-1 and 5-2 show the error codes, thedetected failure, and the FRU you should replace.
Table 5-1

Keyboard LED Error Codes

Keyboard LEDs
Ll
L2

L3

L4

Error

Replace FRU

Ofr

Ofr

Off

On

ROM 1

Terminal controller

Off

Orf

On

Off

ROM 2

Terminal controller

Off

Orf

On

On

ROM 3

Terminal controller

Off

On

Orf

Off

ROM 4

Terminal controller

Orf

On

Off

On

Main DataRAM

Terminal controller

Table 5-2

VT100 Display Error Codes

Error Detected
Error
Char.

AVO

X

4
5

-X

6

8
9

X

Data
Loopback

X
X
X

X

X

X
X
X

X

X

X

X

X

X

X

X

X

X

X

X

X

<

X

X
X

>

X
X

@

A

X

B
C

X

X

X

X

X

D
E

EIA

X
X

X

X

?

KBD

X

1
2
3

7

NVR

X

X

X

X

X

X

X

X

X

X

X

F
G

X

H
I

X

X
X

X
X

5-2

Replace
Advanced video
Terminal controller
Advanced video andterminal controller
Keyboard
Advanced video andkeyboard
Terminal controller
and keyboard
Advanced video,
terminal and keyboard
Terminal controller
Advanced video andterminal controller
Terminal controller
Terminal controller
and advanced video
Keyboard and terminal
controller
Advanced video,
keyboard and terminal
controller
Terminal controller
and keyboard
Advanced video,
keyboard andterminal controller
Terminal controller
Advanced video andterminal controller
Terminal controller
Advanced video andterminal controller
Keyboard and terminal
controller
Advanced video,
keyboard and terminal
controller
Keyboard and terminal
controller
Advanced video,
keyboard and terminal
controller
Terminal controller
Advanced video andterminal controller

Table 5-2

VT100 Display Error Codes (Cont)

Error DE~tected
Data
Loopback

EIA

Replace

X
X

X
X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

Terminal controller
Advanced video andterminal controller
Keyboard and terminal
controller
Advanced video,
keyboard and terminal
controller
Keyboard and terminal
controller
Advanced video,
keyboard and terminal
controller

Error
Char.

AVO

NVR

J
K

X

X
X

L
X

M
N
0

X

KBD

5.2.2 Troubleshooting Basic VT100 Variations Without Self-Test
If the terminal appears to be faulty, perform the following procedure. If the problem is not solved bythis procedure, refer to Table 5-3 for a list of typical problems.
1.

Turn the power switch to the off position and check the following items.
a.

Power cord. Make sure the cord is connected securely at both the terminal and the walloutlet. Check the wall outlet with another device, such as a lamp, to make sure it isproviding ac power.

b.

Voltage selection switch and fuse. Make sure the switch is in the correct position andthe fuse is good .

c.

Keyboard coiled cord. Check that the cord is securely plugged into the keyboard connector at the back of the terminal.

2.

Turn the power switch to the on position. The terminal performs the power-up test. Refer tothe power-up test description (Paragraph 5.2.7.1) for more information about the power-up
test. If the terminal does not power up correctly, refer to Table 5-3.

3.

If needed, perform the Computer Port Data Loopback Test. Refer to the data and EIA loopback test descriptions (Paragraphs 5.2.7.2 and 5.2.7.3) for more information about the data
loopback test.

Table 5-3 lists the most common VT 100 failures and the associated symptoms. To use this table selectthe symptom that matches the terminal failure.

5-3

Table 5-3

Basic VT100 Troubleshooting Procedure
1.

NOTES
This procedure assumes that only one field
replaceable unit (FRU) has failed. Symptoms
displayed may be r,epresentative of multiple
failure; as a result, symptoms may change as
FRUs are replaced. Always troubleshoot tothe current symptoms.

a2.

Spare parts do faiJ. Do not ignore the possibility of a failure just because the module has
been replaced onc,e.

3.

You must turn off the power before disconnecting or replacing any FRU.

Symptoms

Probable Cause

Corrective Action

No response whenpower switch is set
to ON. The CRT
filament and LEOs
are not on.

Not plugged in; nopower at wall socket.

Plug in VT100; use different
wall socket if possible.

Main power fuse

Replace fuse. (If fuse blows
again there is a possible
shorting problem. Useappropriate troubleshooting
methods).

Power supply

Replace power supply.

AC line cord

Check for open or shortand replace line cord.

Power distribution
harness

Replace harness.

Power supply

Replace power supply

Terminal controller
board

Replace board.

Power distribution

Replace harness.

Controller

Replace.

Keyboard

Replace.

Keyboard cable

Replace.

Speaker

Replace.

No response whenpower switch set
to ON and CRT
filament is on.

No audible tones
when terminal isturned on. LEOs
are on. (Most
usual hard failure
symptoms.)

5-4

Table· 5-3

Basic VT100 Troubleshooting Procedure (Cont)

Symptoms

Probable Cause

Corrective Action

No audible alarms
and indicators
when terminal
turned on and noneof the LEDs areon.

Keyboard disconnected.

Connect.

Keyboard cable

Replace.

Keyboard

Replace.

Connectors

Check and reconnect.

Controlller

Replace.

Screen brightness
too low.

Adjust monitor
brightness.

Controller

Replace.

Monitor board

Replace.

Flyback transformer

Replace.

DC power harness

Replace.

CRT and yoke assembly

Replace.

Monitor fuse open.

Replace monitor board.

Moni tor board

Replace.

DC power harness

Replace.

CRT and yoke assembly

Replace.

Random characters
appear on screen.

Controller

Replace.

Horizontal orvertical line
appears on
screen.

Monitor connectors

Check and reconnect.

Monitor board

Replace.

CRT and assembly

Replace.

Cursor does notappear on screen
after terminal
powered up.
CRT filament ison.

Cursor does notappear on screen
after terminal
is powered up.
CRT filament is not
on. Keyboard
functional.

5-5

Table 5-3

Basic VT100 Troubleshooting Procedure (Cont)

Symptoms

Probable Cause

Corrective Action

Screen display
distorted.
Characters narrowon left or rightside of screen.

Monitor ismisadjusted.

Adjust monitor.

Monitor board

Replace.

Flyback transformer

Replace.

CRT and yoke assembly

Replace.

Controller

Replace.

Ball monitor
misadjusted

Adjust.

DC power harness

Check.

Controller

Replace.

MonitorReplace.

Displaypresentation bowsin or out

Yoke pincushion
incorrectly
misadjusted.

Replace CRT andyoke assembly.

Displaypresentation
jumpy.

Interlace featureon.

Turn feature off.

Power feature set
incorrectly.

Set feature tocorrect line
frequency.

Controller

Replace.

Power supply

Replace.

Monitor board

Replace.

Flyback transformer

Replace.

Graphics or alternate
character set, or
alternate keypadmode or cursor key
mode is selected.

Clear condition withpower up or reset.

Keyboard

Replace.

Controller

Replace.

Screen rolling.

Wrong character
appears on
screen when typed
in LOCAL

5·6

Table 5-3

Basic VT100 Troubleshooting Procedure (Cont)

Symptoms

Probable Cause

Corrective Action

Wrong character
appears on
screen when typed
in ON-LINE withloopback installed.
Terminal functionalin LOCAL mode.

Graphil;;s or alternate
character or alternate
keypad mode or cursor
key mode is selected.

Clear condition withpower up or reset.

Transm.it and receive
speed not the same.

Change speed setting.

Controller

Replace.

Receive and/ ortransmi.t speed set
incorrel;;tly.

Set speeds to match
computer.

Bits per characterfeature set
incorrectly.

Set feature to match
computer.

Parity feature set
incorrectly.

Set parity and/or
parity sense feature
to match computer.

Communications line

Check communications
facili ties.

Double characters

Local echo set on
full-duplex system(VTIXX-AC, VT132 only)

Set correct feature.

Messages received
are incomplete.

XON /XOFF feature set
incorrectly.

Set feature.

Computer does notrecognize XON /XOFF
sequence.

See Chapter 3 ofVT100 User Guide.

Controller

Replace.

Parity feature set
incorrectly.

Set parity and/or
parity /sense feature
match computer.

Controller

Replace.

Comm lLlnica tions
facility problem

Check communications
facility.

Wrong characters
appear on screen
when typed ON-LINEand connected tocomputer. Terminal
functional withloopback connector.

Checkerboard
character appears
on screen insteadof character typed(ON-LINE withcomputer).

5-7

Table 5-3

Basic VT100 Troubleshooting Procedure (Cont)

Symptoms

Probable Cause

Corrective Action

All characters
displayed as awhite area (blackwith reverse
screen).

Alternate characterset selected andnot available.

Clear condition withpower-up or reset.

Only top or bottom
half of characters
appear on thescreen.

Incorrect use of
double-height escapesequence

See Chapter 3 ofVT100 User Guide.

SET-UP features
do not work correctly(multiple alarms
may sound on power
up or recall). Error
2 displayed onscreen.

Save operation not
performed.

Perform save operation.

Controller

Replace.

Terminal does
not respond to
Escape sequences.

ANSIjVT52 feature
set incorrectly.

Set ANSIjVT52 feature
to correct compatibility.

5.2.3 Troubleshooting the VTI05
The troubleshooting procedure for the VTI05 consists of the following two steps.
1.

Isolate to the base VT100 configuration and troubleshoot the terminal.

2.

Perform the internal VTI05 waveform generator tests described in Chapter 6.

To isolate to the base VT100, disconnect the graphics interface cable from J2 on the VT100 controller
board. Now perform the troubleshooting procedures outlined for the basic VT100.
To troubleshoot the VTI05 graphics module, reconnect the graphics interface cable to J2 on the VT100
controller board. Perform the testing procedure outlined in Chapter 6. When performing the test sequence remember to type the sequence exactly as written. If an error appears retype the sequence toverify that there is an error and then replace the VTI05 graphics board.

5.2.4 Troubleshooting the VT132
The troubleshooting procedure for the VT132 is the same as the basic VT100. The only difference between the two machines is the advanced video option (AVO) board. On the VT132 the AVO board isstandard and contains four ROMs. In addition the ROMs on the video controller board are different.
To replace the terminal controller board, remove the ROMs from the new VT100 controller board andsubstitute the VT132 ROMS. To replace the advanced video option board, configure the new AVO
board jumpers or switches for VT132 application, and plug in the VT132 ROMs. Paragraph 5.4 contains information on board configuration.

5-8

5.2.5

Troubleshooting the VT125

The VT 125 is a VT 100 terminal that has an intelligent graphics processor installed between the terminal and the communications connectors (Figure 5-1). A problem in the graphics components can also
prevent the terminal from working as a text terminal. You can isolate any problem with the VT125 to
the VT 100 components or the graphics components.

If any of the following conditions exist, remove the graphics components from the terminal by performing the appropriate procedures in Paragraph 5..4.
•

The VT 125 cannot complete its power-up test•

Any of the keyboard indlicators Ll through L4 are on at the end of the power-up test•

The complete screen flashes

After you remove the graphics components, test and troubleshoot the terminal as a VT100. When theterminal passes its VT 100 power-up and data looback tests, reinstall the graphics components and per.
form the VTI25 tests (Paragraph 5.2.8).

INTERNAL
MONOCHROME
MONITOR

GRAPHICSANDTEXTEXTERNAL
COLOR
MONITORVIDEO SYNC
Ft

G

B

M_iO_N_O_V_ID~O
VT100
TEXT
TERMINALr - - - -,I ~ LINE

I

GRAPHICSPROCESSOR

I

L~~_J
r--I

LJ
I

L

I

LOCAL II

_ _ _ _ .J

Figure 5-1

CURRENTLOOPADAPTEROPTIONCOMPUTER~~--~~XTERNAL

GFtAPHICSPRINTERVT 125 General Block Diagram

5-9

MA-9436

5.2.5.1

VT125 Self-Test Error Codes - If a character appears under the blinking cursor at the top left
corner of the screen, or a message appears in the center of the screen, check Table 5-4 for the meaningof the error code character or message. Note that a character displayed can indicate more than one
error. To clear the error indication after the error is corrected, reset or power up the terminal.
The self-test code characters indicate the following three types of errors.
Advanced video option(A VO) if installed

If the advanced video option fails,
the terminal operates with the basic
VT100 text capabilities.

User permanent SET-UPfeature memory failure(Memory)

If the user permanent SET-UP feature
fails, the terminal operates using
default SET-UP feature selections
for e:ach feature. (Refer to Chapter
6 for more information on the SET-UPfeature memories.)

Keyboard missing or
malfunction(Keyboard)

If only the keyboard fails, theterminal ends the test ON-LINE
so it may operate as a receive-only
terminal. The SET-UP featuresele(;tions cannot be changed.

There are several other problem indicators. The solutions are listed in the suggested order of FRU replacement.

Indication

Problem

Solution

VT125
Off-Line

VT 100 text terminal
is LOCAL. LOCAL wassaved in SET-UP, or
there is a user
permanent memory
problem. Terminal
can only process
received graphics.

Put terminal ON-LINEand save the feature in
SET-UP.

VT125
BM Error

Video bit map memory
has one or more bad
pixels.

Replace graphics board.

VT125
EC Error

Computer port failed
data loopback test.

Replace graphics board,paddle board, 24-pin
cable.

Terminal can only
operate as text
terminal in LOCAL.

5-10

Indication

Problem

Solution

VT125
IC ErrorInternal C:OInmunications failure VT125 cannot communicate with VT100.
Terminal can only
process received
graphics.

Replace graphics board,paddle board, 24-pin
cable.

VT125
SC Error

Auxiliary port failed
data loopback test.

Replace graphics board,paddle board, 24-pin
cable.

Terminal cannot senddata to printer.
VT125
VG Error

Vector generator
could not draw
sample shape.
Graphics. probably
does not work,
but terminal may
communicate normally.

Replace graphics board.

A box is drawn around the margin of the graphics screen area. * If any part of the box is missing or
distorted, replace the graphics board.
If no graphics data appears, but the VT100 section of the terminal operates correctly, the 16-pin cable
may be bad.
If an external color monitor ha.s trouble displaying graphics information, but the internal monitor displays correctly, the ground witre from the chassis to the graphics processor board video connector
bracket may be loose.

Table 5-4 shows the possible error characters displayed on the screen and the failure indicated by eachcharacter. Note that a character displayed can indicate more than one error.

*Not on all units

5-11

Table 5-4

VT125 Displayed Error Codes

Character
Displayed

Faults Detected
AVO
Memory

1
2
3
4
5
6

x
x

X*
X

X

X
X

Keyboard

xt
X
X
X

7

X

Message
Displayed

Faults Detected

VT125 OK

None (normal power-up test results)

VT125 Offline

VT 100 text terminal is LOCAL - LOCAL
was saved in SET-UP, or there is a User
Permanent Memory problem.

VT125 BM Error

Video bit map memory one or more bad
pixels

VT125 EC Error

Computer port

VT125 IC Error

Internal communications

VT 125 SC Error

Auxiliary port

VT125 VG Error

Vector generator*Also, bell tones are generated - perform a save and recall in SET-UP.
tCheck that keyboard is properly connected.

5-125.2.6 Troubleshooting the Options;Troubleshoot the options after the basic terminal is checked and found to be good. Then perform theoption checkout procedure for the suspected faulty option as outlined in Chapter 6. If the option does
not check out correctly, replace thle option module.
5.2.7 VT100 Internal Self-Tests
The VT 100 contains five self-test programs in the basic ROM memory.
Power-up test
Data loopback test
EIA test
Video adjust pattern keyboard test
SET-UP display test
Each test isolates a failure to the faulty module, so you can repair the terminal in a minimum amount oftime. If the VT 1XX-AC Printer Port Option is installed, use the test procedures for that option.
NOTE
In command sequences, control keys are labelled inangle brackets <KEY>. Control keys are The special k,eys that do not display on the screen. Press
that k,ey and type the rest of the sequence as shown.
5.2.7.1 Error Codes - If executing any self-test produces an error, the test stops automatically. The
screen may display a random pattern of characters. Error indications are error codes displayed on the
keyboard LEOs (L 1 through L4, listed in Table 5-5), or an error code character displayed in the upper
left corner of the screen, under the blinking cursor. If one or more errors occur while the test is repeating continuously, the entire scn;:en flashes from white to black to white about once a second as an alarm.
This continues until the terminal its reset.
Table 5-2 shows the error characters that may appear on the screen, and the FRU that you should
check or replace.
5.2.7.2

Power-Up Test -, The terminal automatically performs the following tests during power up.

1.

Writes a 1 and a 0 in each bit location of RAM on the basic terminal controller board toverify that the RAM[ can store each bit.

2.

Writes a 1 and a 0 in each bit location of RAM on the advanced video option (AVO) board toverify that the option RAM can store each bit. If the AVO board is not present, The terminal
automatically skips this. part of the test.

3.

Reads the contents of t.he r.onvolatile RAM (NVR), calculates a checksum, and then compares the checksum to the checksum stored in the NVR.

4.

Reads the contents of each ROM chip, calculates a checksum, then compares the checksum
to the checksum stolred in each ROM chip.

5.

Turns on all keyboard LEOs on, rings the keyboard bell for one-quarter second, and looks forthe end-of-scan character from the keyboard to determine if the keyboard is functioning
properly.

5-13

Use one of the following procedures to start the power-up test.
1.

Turn the terminal power on.
or2.

Type the following sequence to perform the test once. The terminal must be inANSI-compatible mode (in SET-UP B, group 2 switch 3 = 1).

<ESC>[2;lyor3.

Type the following sequence to perform the test continuously. The terminal must be In
ANSI-compatible mode (in SET-UP B, group 2 switch 3 = 1).

<ESC>[2;9yor4.

Enter SET-UP and press the 0 key (reset).

NOTE
The continuously running test ends only if it finds anerror or you turn power off.
Any error found by the power-up self-test appears on the terminal screen and/or LEDs LI through L4
on the keyboard. Tables 5-5 and 5-6 define the error codes.

5-14

Table 5-5

LED Error Codes

Error

Ll

L2

L3

L4

ROM 1 checksum error
ROM 2 checksum error
ROM 3 checksum error
ROM 4 checksum error
Main data RAM error

Off
Off
Off
Off
Off

Off
Off
Off
On
On

Off
On
On
Off
Off

On
Orf
On
Off
On

Table 5-6
DisplayChar

Fault Detected
AVO NVR KBD Data

1

X

2
3
4

X

5

X

7
8
9

X

<
>

?

A
B

X

-c

X
X
X
X
X

X

X
X

X
X

X
X

DislplayChar

Fault Detected
AVO NVR KBD Data

X
X

X
X
X
X

X
X
X
X
X
X

D
E
F
G
H
I
J
K
L
M
N
0

X
X

X

X
X

X
X
X

X

X

X
X
X
X

X
X

X
X

X
X

X
X
X
X

NOTE
See Table 5-3 to determine the correct module to replace.

5-15

EIA

X
X
X

@

X
X

X

6

EIA

Displa.yed Error Codes

X
X
X
X
X
X
X
X
X
X
X
X

X
X
X
X
X
X
X
X
X

5.2.7.3 Data Loopback Test - In the data loop back test the VT100 transmit and receive lines connect
to each other via a special external connector. The test transmits a predefined set of characters. The
terminal receives the characters and compares them to the characters transmitted. If the characters do
not match, an error is then flagged.
Use the following procedure to perform the data loop back test.
1.

Install the appropriate data loopback connector. Connector PN 12-15336 is for EIA communications (Figure 5-2); connector PN 70·-15503-00 is for 20 rnA current loop communications(Figure 5-3).

2.

Make sure the transmit and receive speeds are the same.

3.

Place the terminal in ANSI-compatible mode (in SET-UP B, group 2 switch 3 = 1).

4.

Place the terminal ON-LINE.

5.

Type the following sequence to perform the test.

<ESC>[2;2yor6.

Type the following sequence to performl the test continuously.

<ESC>[2;lOy

NOTE
The continuously runnin!~ test ends only if it finds anerror or you turn power off.
Any error displays an error code on the screen. Table 5-6 defines the error codes.

5-16TOP CONNECTORUSED ON VT125
AND VTIXX-AC

VT100} BOTTOM
VT125 CONNECTOR
VT132

CONNECTORS

l*1

FROM PIN

TO PIN

TOPIN

2

3

15

4

5

8

20

6

22

19

12

17

*DATA LEADS ONLY
NOTE: ACCESS COVER
SHOWN IS VT125
MA·7868A

Figure 5-2

EIA Loopback Connector

5-17

FROM PIN

TO PIN

1
2
5

3
7
8

NOTE: ACCESS COVER
SHOWN IS VT125
MA-7867A

Figure 5-3

20 rnA Loopback Connector

5·18

5.2.7.4

EIA Test - The EIA tlest checks that the following signals can be set to a 1 or a O.
Request to Send
Clear To Send
Ring Indicator
Speed Indicator

Data Terminal Ready
Data Set Ready
Carrier Detect
Speed SelectUse the following procedure to perform the EIA test.
1.

Install the EIA data loopback connector, PN 12-15336.

2.

Make sure the transmit and receive speeds are the same.

3.

Place the terminal in AJ\JSI-compatible mode (in SET-UP B, group 2 switch 3 = 1).

4.

Place the terminal ON-LINE.

5.

Type the following se:quence to perform t.he test once.
<ESC>[2;4yor6.

Type the following sequence to perform the test continuously.
<ESC>[2;12y
NOTE
The continuously running test ends only if it finds anerror or you turn power off.

Any error displays an error codle on the screen. Table 5-6 defines the error codes.
5.2.7.5 Keyboard Tests -, The power-up test verifies the presence or absence of a keyboard. You cantest individual keys by placing th(~ terminal OFF-LINE and enabling keyclick. All keys typed should
produce a click except NO SCROLL, CAPS LOCK, SHIFT, BREAK, and CTRL. Typing the keys
should cause the corresponding character to appear on the screen. Typing CfRL-G should cause thebell to sound. This checks both the bell circuitry and the CTRL key. Keys typed with CAPS LOCK andSHIFT verify the operation of those keys. After you enable XON/XOFF and place the terminal ONLINE, the BREAK and NO SCROLL keys should produce a click when typed.
5.2.7.6 SET-UP Screen Test ,- In SET-UP the terminal exercises all its display functions. The functions available in the base VT100 include double-he:ight, double-width characters (SET-UP A), doublewidth, single-height characters (TO EXIT PRESS ("SET-UP"), and reverse or underline base attribute(selected by the cursor setting and displayed by the cursor and the tab ruler).
The VT 100 with advanced vid(~o option includes these basic functions, plus other functions such as 24lines with 132 columns (test with the video adjust pattern, Paragraph 5.2.7.7), and more character attributes.

5-19

You can check the following features using the keyboard controls.
Intensity (up and down arrow keys)
80/132 column
Transmit and receive speeds
Reset
Smooth/jump scroll
Auto repeat
Reverse screen
Margin bell
Keyclick
US/UK character set
Wraparound
ON-LINE/OFF-LINE control
Check smooth scrolling by filling the screen with E's (Paragraph 5.2.7.7) and pressing line feed while
OFF-LINE.
To perform the test, enter the two SET-UP displays and check that the details agree with those in thesample displays in Chapter 6. To test the advanced video option, check that the words SET-UP A blinkin bold, the words TO EXIT PRESS "SET-UP" are underlined, and the tab ruler has alternating normal and reverse video sections, even if you selected the underline cursor.
5.2.7.7 Video Adjust Test - The video adjust ltest provides a screen full of E's for display height,
width, and linearity adjustments. The test pattern is internal to the terminal and is not sent to the hostcomputer.
Use the following procedure to display the test pattern.
l.

Place the terminal in ANSI-compatible mode (in SET-UP B group 2 switch 3 = 1).

2.

Place the terminal LOCAL.

3.

Type the following sequence.
<ESC>#8

5.2.8 VTt25 Tests
The VT 125 terminal has several self-tests available for checking terminal operation. Some of these are
the self-tests of the VT100 terminal that the VT125 Graphics Processor resides in. The other tests arefor the graphics processor itself. To perform the VT100 tests as described in Paragraph 5.2.7, disconnect the graphics components from the terminal controller.
The power-up test is performed each time the terminal is powered up. The other tests may be performed after the power-up test is completed. To perform the other tests, the terminal must be disconnected from the communication line, have an external loopback connector installed, and be ONLINE with the ANSI/VT52 SET-UP B feature selected to ANSI (SET-UP B switch 2-3 = 1). Whenthe tests are completed, turn the power switch off, remove the loopback connector, and conned thecommunication cable.
NOTE
A continuously running test ends only if it finds anerror or you turn power off.

5-20

5.2.8.1

Loopback Connector Installation - Use the following procedure if the test needs a loopback

connector installed on the terminal.
1.

With the power switch off, disconnect the communication cable.

2.

Install the loopback connector on the EIA connector. Refer to Figure 5-2. The EIA loopback
connector is PN 12·,15336.

3.

I f the 20 rnA Current Loop Adapter Opt.ion is installed, perform one of the following steps.
a.

Use the loopback connector (PN 70-15503-00) included with the option.
orb.

Disconnect the: current loop option cable from the terminal controller board (inside theaccess cover) and use the EIA loopback connector.

NOTE
Do not use the EIA loopback connector at the sametime as the current loop connector.
5.2.8.2 VT125 Power-Up Test -- The VT125 has a built-in power-up test to check terminal operation.
The test checks general operation of the VT100, including the advanced video option (if installed), user
permanent SET-UP feature :memory, and keyboard. The test also checks general operation of thegraphics processor, including the: bit map memory.
To perform the power-up test, either turn the terminal on or (if power is already on) enter SET-UP andpress the 0 (RESET) key. Install a loopback conne:ctor and use the following procedure if the test mustrun continuously.

1.

Turn the power switch on. The terminal performs the power-up test.

2.

Type one of the following sequences to perform the test.

<ESC>[4;lyPerforms test once.

<ESC>[4;1;9y

Performs test continuously.

NOTE
You can also perform this test with the VT100 power-up test sequence (ESC[2;ly). The continuously
runnin,~ test ends only if it finds an error or you turnpower off.
The test gives the following indications.
•

Keyboard and scre,en flash on and off.

•All keyboard indicators turn on and off, and either the ON LINE or LOCAL indicator turnson.

•

The wait message appears on the screen and then is erased.

•

A bell tone sounds .

5-21

•

A band of light appears at the top of the screen and then is erased.

•

A second bell tone sounds.

•

A message on the screen ,gives the result of the VT125 power-up test, and a box is drawn*
around the margins of the graphics screen area.

NOTE
Messages do not appear on the screen until the terminal warms up.
•

The text cursor appears in the upper-kft corner of the screen.

The power-up test provides three possible error indications. (Refer to Paragraph 5.2.7.1 for more information about error indications.)•••

Displays error on screen as a character or a message.
Displays error on keyboard indicators lLI through L4.
Sounds several bell tones.

5.2.8.3 VT125 Computer Data Port Loopback Test - The computer port data loopback test checks
that the VTI25 can transmit and receive characters over the computer dat port. To perform this test,
you must connect the transmit and receive lines to each other with an externalloopback connector. The
terminal transmit and receive speeds must be the same (300 baud or faster). Use the following procedure to perform the test.
1.

Turn the power switch on. The terminal performs the power-up test.

2.

Type one of the following sequences to perform the test.
<ESC>[4;1;2y

Performs power-up test and computer data port loopback
test.

<ESC>[4;1;2;9yPerforms power-up test and computer data loopback test
continuously until failure.

The test gives the foHowing indications. (Refer to Paragraph 5.2.8.2 for power-up test indications.)•

Either the ON-LINE or LOCAL indicator turns on.

•

The wait message appears on the screen and then is erased.

•

The cursor appears in the upper-left corner of the screen.

•

If the computer data loop back test fails, the message "VT125 EC Error" appears on the internal monitor.

*Not on all units

5-225.2.8.4 VT125 Auxiliary Port 1Loopback Test - The auxiliary port data loopback test checks that the
VTI25 can transmit and receive characters over the auxiliary data port. To perform the test, you must
connect the transmit and receive lines to each other with an externalloopback connector. The auxiliary
port speed must be 300 baud or faster. Use the following procedure to perform the test.
I.

Turn the power s.witch on. The terminal performs the power-up test.

2.

Type one of the following sequences to perform the test.

< ESC> [4; 1;3y

Performs pow1er-up test and auxiliary data port loopback
test.

<ESC>[4-1'3'9y,,,.

Performs pow1er-up test and auxiliary data port loopback
test continuously until failure.

The test gives the following indications. (Refer to Paragraph 5.2.8.2 for power-up test indications.)••••

Either the ON LINE or LOCAL indicator turns on.
The wait message appears on the screen and then is erased.
The cursor appears in the upper-left corner of the screen.
If the test fails, the ITleSsage "VT125 SC Error" appears.

5.2.8.5 VT125 Display Test - This test requires you to check the internal monitor screen and the color
monitor screen (if present) for correct operation. The screen cycles through the four intensity levels ofeach of the three primaries and white to test the output memory. The computer data port must have theloopback connector installed. Use the following procedure to perform the test.
I.

Turn the power switch on. The terminal performs the power-up test.

2.

Type one of the following sequences to p(!rform the test.

<ESC>[4;1;4y

Performs power-up test and display test.

<ESC>[4;1;4;9yPerforms power-up test and display test continuously until failure.

The test gives the following indications. (Refer to Paragraph 5.2.8.2 for power-up test indications.
Monochrome
Step IWhiteLight Grey

Dim GreyBlack

Step 2

Black

White

Light Grey

Dim Grey

Step 3

Dim Grey

Black

White

Light Grey

Step 4

Light Grey

Dim Grey

Black

White

Step 5White

Light Grey

Dim Grey

Black

5-23

Color
Step 1

Light Green

Light RedLight BlueBlack

Step 2

Black

Black

Black

Black

Step 3

Black

Light Red

Black

Black

Step 4

Dim Blue

Dim Red

Dim Green

Dim Grey

Step 5Light Blue

Light RedLight Green

Light Grey

5.2.8.6 VT125 Video Bit Map Memory Test - This test checks that every bit in both video bit map
planes can be written to both 1 and O. The computer data port must have the loopback connector installed. Use the following procedure to perform the test.

1.

Turn the power switch on. The terminal performs the power-up test.

2.

Type one of the following sequences to perform the test.

<ESC>[4;1;5y

Performs power-up test and video bit map memory test.

<ESC>[4;1;5;9yPerforms the power-up test and video bit map menlory
test continuously until failure.

The test gives the following indications. (Refer to Paragraph 5.2.8.2 for power-up test indications.)
"-

5.3

•

The screen fills with levels of intensity (or color) moving from top to bottom.

•

If this test fails, the message "VT125 BM Error" appears.

VIDEO ALIGNMENTThis section describes the alignment of both the Ball Brothers and Elston video monitors. Always checkeach adjustment, because many adjustments affect each other. However, if a check shows the correct
indication, skip that adjustment and go to the next procedure.
Make all adjustments under the following conditions.
•
•
•
•
•
•
•
•
•

Normal video (white characters on a dark background; SET-UP B, switch 1-3 = 0)80 characters per line
ANSI mode (SET-UP B, switch 2-3 = 1)
LOCAL mode
Out of SET-UP
CRT alignment template attached to the screen
Top cover removed
Screen filled with E's (after brightness adjustment)
Type ESC#8

5-24

5.3.1 Alignment Template
Figure 5-1 shows the alignment dimensions used in this procedure. If the mylar adjustment templates(PN 94-03220-03 and PN 94-03270-03) are not available, use the dimensions in Figure 5-4 to make apaper template. Paragraph 5.3.1.1 and Figure 5-5 describe the procedure. You can perform the adjustments with the paper template or mylar templat~.
5.3.1.1 Making a Paper Templat'~ - You need a pencil, a ruler, a triangle (or anything that can help
you draw a right angle), and a sharp knife.
1.

Mark a dot in the center of a piece of stiff paper.

2.

Measure the dimensions to the top and bottom, and mark with dots.

3.

Draw the top and bo1:torn lines (using the triangle if needed).

4.

Mark off the left and right sides and draw those lines at a right angle to the top and bottomlines.

5.

Measure the width of the "red shaded area" in Figure 5-4 and mark a dot at each of the foursides.

6.

Draw a line through each dot ,to form a box around the box already drawn.

7.

Mark an area in the middle of each side to leave for support, and cut out the rest of the bandof paper.

8.

Measure from the center through each outer corner and cut the paper away so you can center
the paper template on the CRT between the marks at the bezel corners.

5.3.1.2 Attaching the Template - The CRT template (PN 94-03220-03) stays attached to the screen
during all adjustment procedures. (If you are using the paper template, you may have to remove it forbrightness and linearity.) Use the following procedure to attach the template to the CRT.
1.

Using the bezel around the screen as a guide, mark the four edges of the screen with a watersoluble marker (felt-tip pen).

2.

Remove the terminal top cover (Paragraph 5.4.11).

3.

Tape the CRT alignnlent template to the screen, with the four corners of the template all thesame distance from the marks you made in step 1.

5.3.2 Monitor Adjustments (Ball Brothers)
The following paragraphs describe the alignment of the Ball Brothers video monitor. You can easily
identify the Ball monitor by the: lo'cation of the flyback transformer (on the horizontal brace above the
CRT's neck). This monitor also has a small connector board on the CRT yoke assembly.
Make all adjustments under thl~ conditions listed in Paragraph 5.3.

5-25

CHARACTERWIDTH
1.9«(.075) cw;>
co
MIN
o:::t

L

~

14
/1

('II

M

2.2
~
(.087) ~MAX-"'0.-1/~/~---./>

"'I'

.

7.0

~(0.275)60(2.36)

120(4.72)

134(5.28)

I rm

,

(.12)

129/

1~

I

1-

HARACTER_HEIGHTMIN 3.0--I

211 (8.30)-r-/(5.11RED
SHADED
AREAS

~

"

L

99
(3.90)~1IIl

MAX 3.7

t (.1461

7 1 79 VT-100 9403246-3B

"-

"- _L

VII

"'......

II

VT 100 ALIGNMENT TEMPLATE
7-1-79REV.C
9403220-3//

I

RED SHADED AREANOTE: MEASUREMENTS ARE IN MILLIMETERS
EXCEPT VALUES IN PARENTHESIS ARE IN INCHES.
MA-2069A

Figure 5-4

Video Alignment Templates

·1'---------11·---,-----V:

CUT OUT

MA-9340

Figure 5-5Paper Alignment Template

5-27

5.3.2. tboard.

Brightness - Use the following procedure to adjust the brightness control on the monitor

1.

Let the terminal warm up for at least five minutes.

2.

Increase the screen brightness to the maximum level by pressing the T key in SET-UP.

3.

Adjust Rl17 (Figure 5-6) until you see the display raster. Then turn Rl17 in the opposite
direction until the raster disappears.

4.

Return the brightness to a medium leve:l by pressing the 1 key in SET-UP.

10

J 101

0

0
BRIGHTNESSVERT. HOLD

[~

B

FOCUS

IA1031 ~~~~~R1NG

R122
c::::JVERTLINEARITY

B
R18

VERT.
HEIGHT

0

HaRZ
LINEARITY

B

J104

:J

HaRZ
WIDTH

® ®

0
MA·2078

Figure 5-6

Ball Video Monitor Board Adjustments

5-28

5.3.2.

Yoke Rotation _ Use the following procedure to check and adjust the yoke.

2I.

Check that all four sides of the screen display are parallel to the red shaded area of the align-

2.

ment
template.
Loosenthe yoke collar clamp screw (Figure 5-7) and turn the yoke until the four sides of thescreen display are parallel to the edges of the red shaded areas of the alignment template.
3.

Check that the yoke is pushed all the way forward toward the face of the CRT. Hold theyoke in place and tighten the yoke collar clamp screw.

!~

VERT\CALCENTER\NG
R\NGS

YOKE COLLAR

CLAMP SCREW

Figure 5-7

Ball Monitor CRT Adjustments

5-29

5.3.2.3 Vertical Height - Use the following procedure to check and adjust the height of the screen
display.
1.

Check that the top and bottom display lines are covered by the red shaded area of the adjustment template.

2.

Adjust the vertical height control R 11 O.

5.3.2.4 Horizontal Width - Use the following procedure to check and adjust the width.
1.

Check that the first and last columns of the display are covered by the red shaded area or the
adjustment template.

2.

Adjust the horizontal width coil LI03 with a monitor alignment tool (PN 29-23190-00).

5.3.2.5

Centering- Use the following procedure to check and adjust the display centering.

1.

Check that the display is centered in the red shaded area on the alignment template.

2.

Turn Al 03 fully counterclockwise.

3.

Center the presentation by rotating the centering tabs on the yoke (Figure 5-7).

NOTE
You can use AI03 to mOle the display presentation asmall distance horizontally. If AI03 is incorrectly
adjusted, the left side of the screen may be distorted.
5.3.2.6 Vertical Linearity - Use the following procedure to check and adjust the character height overthe complete screen.
1.

Use the character height template (PN 94-03270-03) to check that the heights of the characters located near the four corners and thl:! center of the display are between the minimum andmaximum sections of the template.

2.

Adjust the vertical linearity control Al 02.

3.

Check and adjust the vertical height and vertical hold if needed.

5.3.2.7 Horizontal Linearity - Use the following procedure to check and adjust the character width
over the complete screen.
1.

Use the character width template (PN 94-03270-03) to check that the widths of the characters located near the four corners and the center of the display are between the minimum andmaximum sections of the template.

2.

Adjust the horizontal linearity coil L 102 with a monitor alignment tool (PN 29-231290-00).

3.

Check and adjust the horizontal width if needed.

5-30

5.3.2.8

Vertical Hold -- Use the following procedure to check and adjust the vertical hold setting.

1.

Turn vertical hold control AIDI fully counterclockwise. If the display is not stable (tearing or
rolling), turn Al 0 1 clockwise until the display is stable. Note the position of the control andcontinue turning clockwise until the display is not stable. Then turn the control counterclockwise to the position halfway between the positions where the display is not stable.

2.

Check and adjust the vertical height and vertical linearity if needed.

5.3.2.9

Focus - Use the following procedure to check and adjust the focus of the screen display.

t key in SET-UP. Decrease the1.

Increase the brightness to the maximum level with thebrightness eight steps by pressing the key eight times.

2.

Look at the characters at the four corners and in the center of the screen. All the dots in thevertical segment of the E should be visible in each character.

l

NOTE
Some operators may want the focus incorrectly adjusted to suit personal preference.
If the focus is adjusted correctly, go to step 4.
3.

Adjust R 122 (Figure 5-6) for the best ove:rall character display.

4.

Remove .the CRT alignrrlent template, clean the marks from the screen, and replace the terminal top cover if no more adjustments are needed.

5.3.3 Monitor Adjustments (Elston and DIGITAL)
The following paragraphs descri.be the alignment of the Elston video monitor. You can easily identify
the Elston monitor by the location of the flyback transformer (on the monitor sideplate opposite themonitor board). Also, the Elston CRT yoke assembly does not have the connector card.
Make all adjustments under the conditions listed in Paragraph 5.3.

5.3.3.1
board.

Brightness - Use the foHowing procedure to adjust the brightness control on the monitor

t key in SET-UP.

I.

Increase the brightness to the maximum level with the2.

Adjust R 109 (Figure 5-8) until you can see the display raster. Then turn R 109 in the opposite
direction until the raster disappears.

3.

Return the brightness to normal intensity by pressing the

5-31

l key in SET-UP.

L40:3
WIDTH

R477
FOCUS
R334

HEIGHT
R342

VE RTICA L--tl'--I~:::-. . . . .
LINEARITY

MA-4572

Figure 5-8

5.3.3.2

Elston Video ~Jonitor Board Adjustments

Yoke .Rotation - Use the following procedure to check and adjust the yoke.

1.

Check that all four sides of the display are parallel to the red shaded area of the alignment
template.

2.

Loosen the yoke collar clamp screw (Figure 5-9) and turn the yoke until the four sides of thedisplay are parallel to the red shaded area of the alignment template.

3.

Check that the yoke is pushed all the way forward toward the face of the CRT. Hold theyoke in place and tighten the yoke collar clamp screen.

5.3.3.3

Vertical Height - Use the following procedure to check and adjust the overall display height.

1.

Check that the top and bottom lines of the display are covered by the red shaded area of theadjustment template.

2.

Adjust the vertical height control R334.

5.3.3.4

Horizontal Width - Use the following procedure to check and adjust the overall display width.

1.

Check that the first and last columns of the display are covered by the red shaded area of theadjustment template.

2.

Adjust the horizontal width coil L403 with a monitor alignment tool (PN 29-23190-00).

5-32

CRT ANODE CAP

Figure 5-9

5.3.3.5

Elston Monitor CRT Adjustments

Centering - Use the following procedure to check and adjust the display centering.

1.

Check that the display is centered in the red shaded area on the alignment template.

2.

Center the presentation by rotating the frontmost centering rings on the neck of the CRT(Figure 5-6).

5.3.3.6

Vertical Linearity - Use the following proc(~dure to check and adjust the character height overthe complete screen.

1.

Use the character height template (PN 94-03270-03) to check that the height of the characters located near the four corners and the center of the display are between the minimum andmaximum sections of the template.

2.

Adjust the vertical linearity using R342.

3.

Check and adjust the vertical height if n(~eded.

5-33

5.3.3.7

Focus - Use the following procedure to check and adjust the focus.

t key in SET-UP. Decrease the brightness

1.

Increase the brightness to maximum leve:l with theeight steps by pressing the key eight times.

2.

Look at the characters at the four corners and in the center of the screen. You should see theindividual dots in the vertical segment of the E in each character.

l

NOTE
Some operators may prefer the focus incorrectly adjusted.
If the focus is adjusted correctly, go to step S.
3.

Adjust R477 (Figure 5-8) for the best overall character presentation.

4.

Adjust the focus rings furthest from the yoke for the best focus at all four corners (Figure 59). Readjust R477 if needed.

5.

Remove the CRT alignment template, clean the marks from the screen, and replace the terminal top cover if no more adjustments are needed.

5.4 MODULE REMOVAL AND REPLACEMENT
This section contains information for removal and replacement of mechanical subassemblies in VT100
series terminals. Unless otherwise noted, each procedure applies to all terminals in the series.
Figure 5-10 lists all of the removal procedures in this chapter and the sequence to perform them in. For
example, Figure 5-10 shows that to remove the dc power harness, you must first remove the top cover,bottom cover, and power supply removal proceduf!;!s.
I

5.4.1 Access CoverUse the following procedure to remove the terminal access cover.

1.

Remove power from the terminal by disl:onnecting the ac plug from the ac outlet.

2.

Unplug the keyboard.

3.

Unplug any connectors from the composite video input/output jacks.

4.

Disconnect the communications cable.

5.

Disonncct the printer interface cable if installed.

6.

Use a flat-blade screwdriver to loosen the four captive screws holding the access cover (Figure 5-11).

7.

If the 20 rnA current loop option is installed, gently pull the access cover away from theterminal about two inches. Then reach in and disconnect J5 from the terminal controller
board.

To install the access cover, perform steps 1 through 7 in reverse.

5·,)4ACCESS
COVER](PARA5~~t

TERMINAL
CONTROLLER
BOARD(PARA 5.3)

20Ma CURREfJTLOOP BOARD(PARA 5.9)

+

t

TOP
COVER
(PARA 5.15)

ROM(PARA 5.5)

~

t

]
-]

BOTTOM
COVER(PARA 5.20)

POWER
SUPPLY(PARA 5.2'1_)_

-]

t

~

VT125
GRAPHICSBOARDS(PARA 5.8)

VT105
WAVEFORM
GENERATORBOARD(PARA 5.7)+t+
ADVANCED

PAINTER
PORT/VT125
STP BOARD(PARA 5.6)

VIDEO
BOARD
(PARA 5.4).......

+VIDEO MONITORBOARD
BALL (PARA 5.16)
ELSTON (PABA 5.18)+

CRT DISCHARGE
AND ANODE CAP(PARA 5.26)

FLYBACKTRANSFORMERBALL (PARA 5.17)
ELSTON (PARA 5.19)

1
CRT-YOKEASSEMBLY(PARA 5.25)

RF SHIE LD(PARA 5.2:~-~

KEYBOARDTOP COVER(PARA 5.10)

VT105/VT125]
EXPANSIONBACKPLANE(PARA 5.24)

KEYBOARD(PARA 5.11)

DC.
POWER HARNESS(PARA 5.23)++

KEYBOARD
CABLE(PARA 5.12)+
SPEAKER(PARA 5.13)~
KEYCAPS(PARA 5.14)
MA·9341

Figure 5-10

Removal Procedures Sequence

5-35

CAPTIVE SCREW(4 PLACES)()'" "'"""",
1/I~"'''I'J ;~'''''''''',
I ../1'1/1111/11
",
I'll
II
1'-

"'"

/111

1

.

Figure 5-11."1//10 ","1//11//

VT 100 Te:rminal (Rear View)

5-36

5.4.2 Terminal Controller Bo:ard
Use the following procedure to remove the terminal controller board.
1.

Remove the terminal access cover (Paragraph 5.4.1).

2.

Pull the terminal controller board partially out of the card cage. Disconnect the ground wire
(if present) from the: metal bracket at the EIA connector.

3.

a.

If the terminal is a VTI05, disconnect the graphic interface cable from the terminal
controller board (Paragraph 5.4.6).

b.

I f the terminal is a VT 125, refer to Paragraph 5.4.7. After separating the boards, remove the terminal controller board from the card cage. Remove the screw holding the
STP board to the terminal controller. Then remove the board.

Remove the advance:d video board and/or the printer port/STP board if they are installed on
the terminal controller board (Paragraphs 5.4.3 and 5.4.5).

To install the terminal controllier board, perform steps 1 through 3 in reverse. Make sure to reconnect
any ground wires.
NOTE
Always replace an FCC-certified terminal controller
board with another certified board. There is a key inthe (:omnector to prevent swapping. Do not use an
FCC-certified board in a noncertified terminal. The
VT125 must use a certified board. The non certified
board is PN 54-13009-00. The certified board is PN
54-1.3009-03.
Chec:k the terminal controller board for the correct
ROl\1 configuration. On -W series and printer ports,
you must move the old ROMs to the new board. Refer to Paragraph 5.4.4 for ROM procedures. Refer
to Paragraph 5.5 for ROM location information.
Rem,ember to reconfigur~e the terminal to the custome'r's original SET-UP selections (which should
be listed on the keyboard SET-UP label).
The VTI05 and VT125 cables are 16-pin cables
connecting to an IS-pin ~~onnector. The VTI05 fits
into thE! top 16 connector sockets and VT125 fits
into the' bottom 16 conn~~ctor sockets. Do not misaliglll the cable in the connector. Refer to Paragraphs :5.4.6 and 5.4.7.

5-37

5.4.3 Advanced Video Option Board
Use the following procedure to remove the advanced video (AVO) board.
1.

Remove the access cover (Paragraph 5.4.1).

2.

Remove the controller board (Paragraph 5.4.2), and, if present, the graphics boards (VTI05,
Paragraph 5.4.6; VT125, Paragraph 5.4.7)

3.

Grasp the advanced video board by its edges and gently but firmly lift the board straight up
and off the terminal controller board (Figure 5-12).

To install the advanced video board, perform steps 1 through 4 in reverse.
NOTE
Check the AVO board fo[, the correct ROMs, jumpers, and switch settings (Paragraph 5.5).

COMPONENT SIDE
OF ADVANCEDVIDEO BOARDCOMPONENT
SIDE OFTERMINAL
CONTROLLER
J2 GRAPHICS
CONNECTORTERMINAL
CONTROLLER
BOARD

J4 EIACOMMUNICATIONSCONNECTOR

J6
J9 VIDEO OUT....-- CONNECTOR
L - - - + - r I 4 -_ _J7 KEYBOARD
CONNECTOR
MA-1995B

Figure 5-12

Terminal Controll(;!r with Advanced Video Board

5·-38

5.4.4 ROMs
If a ROM is defective, or if the: terminal is a variation with special ROMs, this procedure describes
how to replace them. Refer to Paragraph 5.5 for ROM positions and part numbers.
I.

Remove the old ROM[.

2.

Unpack the new ROtvl from its container, but do not remove the ROM from the conductive
foam. Gently press the foam against the surface of the terminal controller board to remove
static charges. Then remove the ROM from the conductiv~ foam.

3.

Refer to Figure 5-13 and align the ROM so the notch on the end is on the same side as thenotch on the board sock(~t. Check that all ROM pins are evenly spaced and straight before
trying to insert the ROM into the board socket.

4.

Using even pressure, press the top of the ROM until it is completely seated into the socket. If
you feel a lot of friction, remove the RO~,f and check for proper pin placement.

5.

After the ROM is inserted, make sure all ROM pins are properly seated in the socket.

5.4.5 Printer Port/VT125 STP Board
Use the following procedure to remove the printer port/VTl25 STP board.
I.

Remove the access cover (Paragraph 5.4.1).

2.

Remove the terminal controller board (Paragraph 5.4.2), and, if present, the graphics boards(VT 105, Paragraph 5..4.6; VT125, Paragraph 5.4.7).

3.

Remove the scre:w and washer holding the STP connector on the terminal controller board(Figure 5-14).

4.

Disconnect the STP board from the STP connector on the terminal controller board.

5.

On a VT125, remove the 24-pin flat cable.

To install the printer portjSTP board, perform steps 1 through 5 in reverse. For a VT125, refer toFigure 5-15 to install the 24-pin cable.

NOTE
Check the printer port/op,tion board to make surethe conect jumpers are installed or switches set. Refer to Paragraph 5.5 for ~onfiguration information.
If you remove the printer I)Ort/STP board from thetermilllal, check that pairs of contacts of STP connector J3 short together to make electrical contact.
AdjuS1t separated contacts with a scribe.

5-39

NOTCH

ROMIC

NOTCH

IC BODY

b,.
_
_
_
_
I
!

~

SOCKET

(

I

BOARD

ROM IC PINS'

~-

\

-y

I

PARALLEL AND
EVEN SPACINGPROPER ROW
ALIGNMENTNOTECHECK ALIGNMENT BEFORE iNSTALLING

Figure 5-13

MA·5531B

Terminal Controller Board ROM Installation

5-40

----;1[ ---.'J--j2'J

GRAPHICSI

MOUNTING~ CONN.

[=:]

~:3

~1:~

ADVANCED

~;

VIDEO

:

OPTIONCONN.

~~~RS~~;§

C--]J3"-~I

20MA OPTION
CONN.
EIA
CONN.

STP
CONN.

[~
PRINTER STP OPTION BOARD

D_]OD
MA-9350

Figure 5-14

Installing Print(!r Port on VT 125 STP Board

5-41

o

D

o0

0000

MA·9342

Figure 5-15

VT125 24-Pi,n Flat Cable on STP Board

5-42

5.4.6 VTI05 Waveform Genelrator Board
Use the following procedure to remove the VTI05 waveform generator board.
1.

Remove the access cover (Paragraph 5.4.1).

2.

Disconnect the graphic interconnecting c;able" from XE90 on the waveform generator board(Figure 5-16).

CAUTION
The graphic interconnecting cable connectors areeasily damaged. To prevent damage, use a small
screwdriver to alternately lift each end of the connector until it releases from the module.
Refer to Figure 5-16 for correct orientation whenrecolllnecting this cable.
3.

Remove the waveform generator board by gently but firmly pulling the board straight out of
J2 on the backplane.

To install the waverform generator, perform steps 1 through 3 in reverse.
5.4.7 VT125 Graphics Board
Use the following procedure to remove the VT125 graphics board.
1.

Remove the access cover (Paragraph 504.1).

2.

Pull the terminal controller board and the graphics board partially out of the card cage. Disconnect the ground wire from the BNC connector bracket on the graphics board.

3.

Remove the screw holding the STP board to the terminal controller and remove the board(Figure 5-14). Remove the 24-pin cable from the STP board and the graphics board. Remove
the 16-pin cable from the terminal controller connector.

4.

Pull the graphics board out of the cage.

To install the graphics board, perform steps 1 through 4 in reverse (Figures 5-17 and 5-18).

NOTE
The 16··pin cable conne(:ts to the bottom 16 connector sockets. Do not miisalign the cable in the connector (Figure 5-17).

5-43

M7071
WAVEFORM
GENERATOR

RED LINE ON CABLE
MUST BE IN POSITION
AS SHOWNPINS 9 AND 10
ARE NOT USED
MA-4517

Figure 5-16

VTI05 Interconnections

5-44

D

D

D
D

o

[!]

I

D
MA·9343

Figure 5-17

VTI25 16-Pin Flat Cable on Terminal Controller

5-45

MA-9344

Figure 5-18

VT125 Graphic Cable Connections

5-46

5.4.8 20 rnA Current Loop Board
Use the following procedure to remove the 20 rnA current loop board.
1.

Remove the access cover (Paragraph 5.4.1).

2.

Use a Phillips screwdrive:r to remove the two screws holding the Mate-N-Lok connector to
the bottom of the acct~ss cover.

3.

Use a Phillips screwdriver to remove the three screws holding the 20 rnA current loop board
to the access cover. Then remove the board.

To install the 20 rnA current loop board, perform stleps 1 through 3 in reverse.
5.4.9 Keyboard Top CoverUse the following procedure to relnove the keyboard top cover.
1.

Remove power from the terminal by disconnecting the ac plug.

2.

Unplug the keyboard fro:m the monitor.

3.

Use a flat-blade screwdriver to loosen the captive screws holding the keyboard together (Figure 5-19).

4.

Remove the top cover by lifting it straight up.

To install the keyboard top cover, perform steps 1 through 4 in reverse.
5.4.10 Keyboard
Use the following procedure to remlove the keyboard.
1.

Remove the keyboard top cover (Paragraph 5.4.9).

2.

Disconnect keyboard cable J2 from the keyboard.

3.

Remove the keyboard.

To install the keyboard, perfonn st,eps 1 through 3 in reverse.
For a terminal with a printer port, move the PRINT/ENTER key from the defective keyboard to the
new keyboard. For a VT132 keyboard, move the spe:cial keycaps to the new board.
5.4.11 Keyboard Cable
Use the following procedure to remove the keyboard cable.
1.

Remove the keyboard top cover (Paragraph 5.4.9).

2.

Remove the keyboard (Paragraph 5.4.10).

3.

Disconnect the keyboard cable from the speaker.

4.

Remove the keyboard cable.

To install the keyboard cable, perform'steps 1 through 4 in reverse.

5-47Figure 5.l

9

KeybOard DisassemblY

5-48

5.4.12 Keyboard SpeakerUse the following procedure to remove the keyboard speaker.
1.

Remove the keyboard top cOlver (Paragraph 5.4.9).

2.

Remove the keyboard (Paragraph 5.4.10).

3.

Remove the keyboard cable (Paragraph 5.4.11).

4.

Remove the speaker by sliding it toward the front edge of the keyboard cover.

To install the keyboard speaker, perform steps 1 through 4 in reverse.
5.4.13 Keycap
Normally the only tool you need to install keycaps is a keycap puller. In some cases you may need a pairof long nose pliers. Use the following procedure to remove and replace keycaps.
1.

Remove power from the terminal by turning it off.

2.

Starting at the upper-left corner of the keyboard, insert the keycap puller between the first
cap to be 'replaced and t.he adjacent keycap (Figure 5-20).

3.

Squeeze the puHer legs around the cap and slowly pull straight up to remove keycap (Figure5-20).

4.

If the adapter does not come off with the keycap (Figure 5-20), carefully remove adapter
with long nose pliers. Reinstall adapter in the keycap, making sure the pointed end faces thefront of cap.

NOTE
In some ]keyboards the adapter and the key cap may
be on'~ molded part.
5.

In a very few cases the plunger may also come off. If so, take care to prevent the spring fromflying out. Refer to Figure 5-20 and replace the plunger and spring as follows.

CAUTION
You must follow this procedure carefully to prevent
damal~e to key contacts.
a.

Slide spring into plunger. Place spring and plunger in slot, and over key contacts. Make
sure cross piece of plunger is vertical, not horizontal.

b.

Slowly push plunger down until cross piece touches contacts. Release plunger and checkthat contacts arle separated.

6.

Locate proper replacement keycap. Gendy press keycap straight down on plunger until it isfully seated.

7:

Repeat steps 1 through 6 for each keycap you replace.

8.

Store all unused keycaps in shipping bag for later use.

5-49

ADAPTER

MA-4372

Figure 5-20

Ke'y, cap Removal

5-50

Use the following procedure to test the new keycaps.
1.

Place terminal off-line.

2.

Press each new keycap (both lowercase and uppercase) and make sure the proper characteres) ,appear on the screlen.

5.4.14 Top CoverUse the following procedure to renlOve the top cover.
1.

Remove power from t.he terminal by disconnecting the ac plug.

2.

Unplug the keyboard.

3.

Use a small flat-blade screwdriver (or ascribe on newer terminals) to release the two front
pop fasteners located under the front lip (Figure 5-21).

4.

Use a small flat-blade: screwdriver to release the two rear pop fasteners located on the lower
rear edge of the bottom cover (Figure 5-21).

5.

Remove the top cover by lifting it straight up.

To install the top cover, pe:rform steps 1 through 5 in reverse.
5.4.15 Video Monitor Board (Ball Monitor)
Use the following procedure to remove the video monitor board on a Ball monitor.
1.

Remove the top cover (Paragraph 5.4.14).

2.

Remove the circular connector from the base of the CRT (Figure 5-22). Bend the wire harness up and out of th,e way.

3.

Disconnect the four wire:s from the yoke connection card.
Tab 1 - White with Yellow
Tab 2 - Red
Tab 3 - BlueTab 4 - Brown

4.

Disconnect 4-wire connector J 102 at the bottom of the video monitor board.

5.

Disconnect 7-wire connector J 104 at the bottom-center of the video board. Move the harness
up and out of the way.

6.

Disconnect the green ground wire.

7.

Disconnect video input cable J 101 from the top edge of the video monitor board.

8.

Release the four standoffs and remove the video monitor board.

To install the video monitor board, perform steps 1 through 8 in reverse.

5-51TOP COVER

MA-7197A

R movalFigure 5-2 1 Top Cover eSTANDOFFS (4)J 101---f,--_ _..\_.!...

GROUND
WIRE

CONNECTOR
MA-2082

Figure 5-22

Ball Video Monitor Board Removal

5.4.16 Flyback Transformer (Ball Monitor)
Use the following procedure to remove the flyback transformer from the Ball monitor.

WARNINGThe CRT anode may contain a stored high voltage.
Refer to Paragraph 5.4.2.5 for the anode discharge
procE~dUlre.

1.

Remove the top cov1er (Paragraph 5.4.14).

2.

Disconnect 7-wire connector J 104 at the bottom-center of the video monitor board. Move theharness up and out of the way (Figure 5-22).

3.

Discharge the high voltage at the CRT anode. Refer to Paragraph 5.4.25 for the procedure.

4.

Disconnect the CRT anode wire from the CRT. Refer to Paragraph 5.4.25 for the procedure.

5.

Use a 1/ 4-inch nutdriver to remove the two nuts mounting the flyback transformer to thehorizontal crossbrace, and remove the transformer.

To install the flyback transformer, perform steps II through 5 in reverse.

5-535.4.17 Video Monitor Board (Elston or DIGITAL)
Use the following procedure to remove the video monitor board from an Elston or DIGITAL monitor."
1.

Remove the top cover (Paragraph 5.4.14).

2.

Remove the circular connector from the: base of the CRT (Figure 5-23).

3.

Disconnect the white wire connecting the video monitor board ,10 the yoke ground lug.

4.

Disconnect the 8-pin connector from the video monitor board.

5.

Disconnect the 4-pin connector from the video monitor board.

6.

Disconnect the video input connector from the top edge of the video monitor board.

7.

Release the four standoffs and remove the video monitor board.

To install the video monitor board, perform steps 1 through 7 in reverse.
CAUTION
Do not misalign the 8-pln connector when reconnecting the cable. You may damage the monitor
board if the connector is not correctly installed.

GROUND WIRE

YOKE COLLAR
CLAMP SCREWS
MA-4574

Figure 5-23

Elston/DIGITAL Video Monitor Board Removal

5-54

5.4.18 Flyback Transformer (Elston or DIGITAL)
Use the following procedure to re:move the flyback transformer from an Elston or DIG IT AL monitor.
WARNINGThe CUT anode may conta:in a stored high voltage.
Refer to Paragraph 5.4.25 for the anode discharge
procedure.
1.

Remove the top cover (Paragraph 5.4.14).

2.

Disconnect the 8-pin connector from the video monitor board.

3.

Remove the screw and washer securing the vertical choke to the monitor chassis. Remove thevertical choke.

4.

Discharge the high voltage at the CRT anode. Refer to Paragraph 5.4.25 for the procedure.

5.

Disconnect the CRT anode wire from the CRT. Refer to Paragraph 5.4.25 for the procedure.

6.

Use a 1/ 4-inch nutdri.ver to remove the two nuts mounting the flyback transformer to themonitor chassis.

To install the flyback transform,er, perform steps 1 through 7 in reverse.
CAUTION
Do not misalign the 8-pin connector when reconnectin~~ the cable. You may damage the monitor
board if the connector is not correctly installed.
5.4. t 9 Bottom CoverUse the following procedure to remove the bottom cover.
1.

Remove the top covel' (Paragraph 5.4.14) .

2.

Disconnect the power cord from t~e terminal.

3.

Turn the terminal ove:r on its side and remove the four shipping screws (if present) securing
the bottom cover to the chassis. Disc~rdthe screws and turn the terminal up.

4.

Locate the four pop fasteners holding the frame to the base and release the fasteners by pulling the plungers up.

5.

Grasp the metal frame and lift the frame up and out of the terminal bottom cover.

To install the bottom cover, perform steps 1 through 6 in reverse.

5-555.4.20 Power Supply
Use the following procedure to remove the power supply.
1.

Remove the top cover (Paragraph 5.4.14).

2.,

Remove the bottom cover (Paragraph 5.4.19).

3.

Locate the three pop fasteners on the side of the chassis. Release the pop fasteners by pulling
the plungers out (Figure 5-24).

WARNING
Capacitors C9, C14, s.nd the surrounding circuits
contain a 300 Vdc charge. To discharge the capacitors, leave the power supply plugged into the terminal for a minimum of four minutes after the power
cord is removed.
To assure complete disc:harge of the capacitors after
the power supply is out of the terminal, short the capacitors with an insulat4~d wire as shown in Figure 525.
4.

Grasp the power supply by the end plate and remove by pulling it straight out.

To install the power supply, perform steps 1 through 4 in reverse. Note that there is a grounding tab on
the chassis at the back that fits into a small slot in the end of the power supply's switch plate.

POP
FASTENERS~POWER

SUPPLY
MA-2077

Figure 5-24

Power Supply Removal

5-56

CAPACITORS
C9 & C14SHORT THESE 2 POINTS
MA-2072

Figure 5-·25

Power Supply Capacitator Discharging

5-57

5.4.21 RF Shield
Use the following procedure to remove the RF shield for the VT125.

1.

Remove the top cover (Paragraph 5.4.14).

2.

Remove the bottom cover (Paragraph 5.4.19).

3.

Remove the power supply (Paragraph 5.4. 20).

4.

Remove the terminal controller board (Paragraph 5.4.2) and, if present, the graphics boards(VTI05, Paragraph 5.4.6; VT125, Paragraph 5.4.7).

5.

Loosen, but do not remove, two Phillips screws at the top of the shield (Figure 5-26).

6.

Set the chassis on end with the cage up.

NOTE
The terminal rests on seleral parts that stick out on
the bottom. Set the terminal on a protected surface
to prevent damage.
The bumpers attached to both sides of the chassis
protect the terminal during shipping. You can remove them now if necess;ary.
7.

Loosen, but do not remove, two Phillips screws at the bottom of the shield.

8.

Slide the shield off the cage. Push the :ribbon cable (front of the terminal) and the groundwires (at access opening) as needed to avoid catching the wires on the sheet metal.

9.

Tighten the four screws temporarily and set the terminal on its bottom.

To install the shield, perform steps 1 through 9 in rleverse. At step 8, compress the metal contact fingers
on the shieiq (Figure 5-26) by pressing on the shie:ld until the indicated parts touch.
5.4.22 DC Power Harness
Use the following procedure to remove the dc power harness.
1.

Remove the top cover (Paragraph 5.4.14).

2.

Remove the bottom cover (Paragraph 5.4.19).

3.

Remove the power supply (Paragraph 5.4.21).

4.

Remove the terminal controller board (Paragraph 5.4.2) and, if present, the graphics boards(VTI05, Paragraph 5.4.6; VT125, Paragraph 5.4.7).

5.

Remove the RF shield if present (Paragraph 5.4.21).

6.

Disconnect 10-pin edge connector J 101 from the video monitor board.

7.

Remove the card cage by releasing the two pop fasteners (remove two Phillips screws on newer terminals) that hold the top of the card cage to the chassis. Tilt the card cage out slightly,
then lift the card cage out of the bottom holding clips (chassis slots on newer terminals).

5·-58

4 PL.ACESSCRIEW + LOCKWASHERSCREW +LOCKWASHER
OR POPFASTENERS,/r:~:"

'" ""

SHOCK

,

'.

GROUNDWIRE FOR
GRAPHICSGROUND WIREFOR TERMINALCONTROLLERORWIRE FRAME +SPRING CLIPS

tJll'-,

MAKE PAFtTS~~Il'.

TOUCH, THEN

TIGHTEN SCREW\~~~l,1,,~I~t~~~E~~
MA·9345

Fiigure 5-26

FCC Shield on VT100 Cage

5-59

8.

Disconnect the ground wire from the 10-pin connector to the monitor chassis.

9.

For a VT100: Remove the two E-ring fasteners (spread the spring clips on late model terminals) holding the 22-pin edge connector to the card cage, then remove the connector (Figure5-27).
For a VTI05 or VT125: Disconnect the 22-pin edge connector from the expansion backplane(Figure 5-28).

10.

Remove the two E-ring fasteners (spread the spring clips on newer terminals) holding the 18pin edge connector to the chassis, then remove the connector.

11.

Remove the dc power harness.

To install the dc power harness, perform steps 1 through 11 in reverse.

POP FASTENEBS (2)

~\

CARD
CAGE

t-_---rr-18 PIN
CONNECTOR

MA-2073A

Figure 5-27

VT100 DC Power Harness Removal

5-60

CHASSISTERMINAL
CONTROLLER
EDGE
CONNECTOR

DC POWER CABLE
MA·4580A

Figure 5-28

Expansion Backplane5-61

5.4.23

VTl 05/VT125 Expansion Backplane
Use the following procedure to remove the VTI05/VTI25 expansion backplane.
1.

Remove the access cover (Paragraph 5.4.2).

2.

Remove the terminal controller and graphics boards (Paragraphs 5.4.2, 5.4.6, 5.4.7).

3.

Remove the top cover (Paragraph 5.4.14).

4.

Remove the bottom cover (Paragraph 5.4.19).

5.

Remove the power supply (Paragraph 5.4.20).

6.

Remove the RF shield if present (Paragraph 5.4.21).

7.

Disconnect the ground wire from the lO-pin connector to the monitor chassis.

8.

Disconnect the 22-pin edge connector from the expansion backplane (Figure 5-28).

9.

Remove the four screws and nuts, and ltwo spacers securing the expansion backplane to thecard cage.

To install the expansion backplane, perform steps 1 through 6 in reverse.

5.4.24 CRT and Yoke Assembly
You can repair Elston terminals with new CRT and yoke assemblies without replacing the complete
chassis assembly (Field Service Monitor Assembly). If you replace the CRT and yoke on Ball monitors,
replace the flyback, choke, and monitor board with Elston parts at the same time.
WAllNING
High voltage is present nt the CRT anode. Refer· toParagraph 5.4.25 for the anode discharge procedure.
I.

Disconnect the terminal from the power outlet.

2.

Remove the top cover (Paragraph 5.4.14).

3.

Discharge the CRT anode (Paragraph 5.4.25).

4.

Disconnect the CRT high voltage anode wire (Paragraph 5.4.25).

5.

Disconnect the circular connector from the CRT base (Figure 5-23).

6.

Disconnect the white wire connecting the video monitor board to the yoke ground connector.

7.

Disconnect the 4-pin yoke connector from the monitor board.

5-62

8.

Remove the top two, then bottom two screws from the CRT frame while supporting the assembly from the bottom of the CRT.

9.

Remove the CRT yoke assenlbly.
WARNING
HandlE~ the tube by the sid4~s next to the face, neverby the ne(:k. Do not rest the tube on its neck.
To replace the CRT yoke assembly, perform steps 1 through 8 in reverse.

NOTE
Refer to Paragraph 5.4.26 for the proper CRT storage and disposal procedures.
5.4.25 CRT Discharge and Anode Cap
Use the following procedures to discharge the CRT anode, and remove and install the anode cap.
CRT Anode Discharge
Before you service the CRT or its associated circuits, you must discharge the anode. You can safely use
either of the following methods (Figure 5-29).
•

Connect the plug end of a YOM lead to chassis ground, and discharge the anode by touching
the probe to the CRT anode.

•

Gently slip the end of an insulated-handle screwdriver under the plastic anode cap on top of
the CRT while shorting the other end of the screwdriver to an unpainted area of the CRT
frame.

Anode Cap
Disconnect the heavy CRT anode wire from the CRT as follows.

1.

Note the position of the anode wire.

2.

The connector holds itsellf in place with spring barbs in the depression of the tube (the anodesocket). You must push against one barb, allowing the other side to clear the lip of the anodesocket (Figure 5··30).

3.

Push at a right angle in the direction that the wire enters the rubber cap.

4.

While pushing across, push up on the cap to free one barb.

5.

Now push up in the opposite direction to free the other barb.

5-63

INSULATED HANDLESCREWDRIVER(ALTERNATE METHOD)
CRT

"'"
METAL

~FRAME

CRT
MA-2070A

Figure 5-29

CR'T Anode Discharging

5-64

A. PUSH IN THE DIRECTION
OF THE ARROW~r

B. WHEN ONE BARB IS FREE
PUSH IN THE OPPOSITE
DIRECTION (SEE ARROWS) TO
REMOVE ANODE CAP

MA-6735A

Figure 5-30

Removing Anode Cap

5-65

5.4.26 Field Handling of CRTs
You must use the following procedures when handling CRTs in the field.
CRT Replacement1.

Replace CRTs only in areas where risks and exposure are limited to trained Field Service
personnel.

2.

Only DIG ITAL service personnel should be in the area during replacement.

3.

Any serviceperson relacing a CRT must wear, at least, safety glasses with side guards, orgoggles and gloves. The part numbers are as follows.
Goggles
Gloves4.

PN 29-16141
PN 29-16146

Before servicing the CRT or its associated circuits, you must discharge the anode (Paragraph5.4.25).

CRT Handling
Take the following precautions when handling any CRT.
•

Handle the CRT by the sides next to the tube face. Never handle the CRT by the neck.

•Do not allow the neck to strike anything.

•

Never rest a CRT on its neck.

•

Never scratch the glass of the CRT. Be particularly careful of this when working around the
CRT with any tool.

•

Never touch the glass of a CRT with a hot soldering iron.

CRT Storage
All CRTs must be stored in a closed shipping container or correctly mounted in the product. Neverstore a CRT without a protective enclosure.
CRT Disposal
If a regional disposal procedure does not exist in your area, use the following steps to safely dispose of a
CRT. Destroy any CRT that is to be scrapped and not returned for repair.

WA1RNING
Use extreme caution when performing this procedure.
1.

Place the bad CRT in the container that the new CRT was received in.

2.

Close and seal the container, leaving only the end of the CRT neck exposed (Figure 5-31).

3.

Slowly crush the CRT evacuation point with a pair of pliers or wire cutters. The evacuation
point is located in the center of the CRT neck end. If the procedure is done correctly you willhear a quick rush of air. This means that the CRT no longer has a vacuum and can no longer
implode.

5-66

Figure 5-31

CRT Disposal

5-67

5.5 BOARD CONFIGURATIONSThis section contains the information required to configure all boards in the following terminals.
VT100 and all optional configurations
VTI05
VTl25 '
VTl32
5.5.1 Terminal Controller Board
Use Table 5-7 with Figure 5-32.
5.5.2 Advanced Video Option Board with Jumpers
Use Tables 5-8 and 5-9 with Figure 5-33
5.5.3 Advanced Video Option Board with Switch.es
Use Tables 5-9 and 5-10 with Figure 5-34.
5.5.4 VTIXX-AC Printer Port Option
The factory settings are switches 1 and 5 on; switches 2, 3, and 4 off. Do not change these settings. See
Figure 5-35.
5.5.5 VTI05 Waveform Generator Board
See Figure 5-36.
5.5.6 VT125 Graphics Terminal STP Board
See Figure 5-3'7.

Table 5-7 Terminal Controller Board ROMs
ROMs Used
Used In

ROM 0

ROMl

ROM 2

ROM 3

VT100

23-031E2
or
23-061E2

23-032E2

23-033E2

23-034E2

VT100-WC-WK

23-095E2

23-096E2

23-139E2

23-140E2

VT100/VTIXX-AC

23-095E2

23-096E2

23-139E2

23-140E2

VT132

23-095E2
or
23-180E2

23-096E2

23-097E2

23-098E2

23-181E2

23-182E2

23-183E2

23-061E2

23-032E2

23-033E2

23-034E2

VTl25 and
VTI05

5-68

Character
Generator

23-094E2

ROM 3-----t

0
J2

I~D

GRAPHICOPTIONCONN.

ROM2i-D

ROM1---r~D
I~D

ADVANCED
VIDEO
OPTION
CONN.

ROMo1

]

J8

EXT. VIDEO IN
J6J9CHARACTER
GENERATORKEYBOARD
CONN.

D

[J

MA·4582

Figure 5-32
Table S-8

Terminal Controller Board

Advanced Video Option (AVO) Jumpers---------------------------------------------------------------------------Jumpers Installed

Used In
VT100
VT100-WA-WB
VT100-WC-WK
VT100/VTIXX-AC
VTI32 (ROMs 99-100)(with basic video
ROMs 95-98)
VT132 ROMs 236-239
or PROMs 224-227(with basic video
ROMs 180-183)
VT125

1

2

3

4

5

x

6· 7

8

9

10 11 12

13

14

- X
X X -

X -

- -- x-

5-69

X-

-

X -

X

Table 5-9Advanced Video Option (AVO) Board ROMs
ROMs Used

Board
Used In
VT100
VT100-WA-WB
VT100-WC-WK
VT100/VTIXX8AC
VTI05
VT132

ROM A

E~OMB

23-069E2
23-152E2
23-284E2
or
23-186E2

23-185E2
or
23-187E2

23-099E2
or
23-236E2
or
23-224E2

ROMe

ROMD

23-237E2

23-238E2

23-239E2

23-225E2

23-226E2

23-227E2

23-100E2

VTl25

JUMPERS

8

11
12

8

13

14

MA-4389C

Figure 5-33

Advanced Video Option Board with Jumpers

5-70Table 5-10

Advanced Video Option Switches
Switches Closed

Board
Used In
VT100
VT100-WA-WB
VT100-WC-WK
VT I OOjVTI XX-AC
VTI32 ROMs 99-100(with basic video
ROMs 95-98)
VT132 ROMs 236-239
or PROMs 224-227(with basic video
ROMs 180-183)
VTI25

SI

8

7

6

5

S2

4

3

x

-

x

-

-

-

-

2

1

8

7

654

X -X --

-

X--

X

w
~

CJ)

--J

co
I\J

W

w

Cl..

~
(]'I

0

(j)

I

"co

ROM
A

ROM
B

'ROM
C

ROM
D

NOTE:
DOT ON SWITCH ILLUSTRATION
INDICATES THE SIDE DEPRESSED
MA-4584A

Figure 5-34

Advanced Video Option Board with Switches
5-71

1--X--X--

(]'I

Z

2

x -

I\J

S2-

3

DODD
DOD
DOT ON SWITCHSHOWS THE SIDENOT DEPRESSED.
MA-4583C

Figure 5-35

VTIXX-AC Printer Port Option Board

81

IXE90~UTB1

c=J E71
W2- c:::::::JW3

c:=]E64c=3 E27_W1

c:=J E20
J1

18

~

_

JUMPER IN

c:::J

JUMPER OUT
MA-4586

Figure 5-36

VTI05 Waveform Generator Board

5··72

®

o DOD

[]

L.~D

0

DODO

L
MA-9348

Figure 5-37

VT125 STP Board

5.6 COMPONENT LEVEL TROUBLESHOOTINGThis section helps you to troubleshoot the terminal controller, microprocessor, power supply, and CRT
monitor to the component level.
5.6.1 Troubleshooting the Terminal Controller
Refer to Paragraph 5.2 to isolate problems to a field replaceable unit (FRU) such as the terminal controller board. This section explains diagnosis of problems within the board.
Check the power supply for proper voltages and ripple. Make sure the voltage switch is not set to 230
volt on a 115 volt system. Cheek that all board edge contacts are clean and well seated.
The following four self-test results may appear on the screen or keyboard.
No valid LED code
LEOs indicating fatal error
Nonfatal errors with screl~n display
No indicated error
This section explains the Inajor areas in the terminal to check for each of the self-test results.
5.6.1.1 Microprocessor -- This s(~ction explains the four possible self-test results and how to troubleshoot them.

5-73

5.6.1.1.1 No Valid LED Code - If the LEDs show some random value not found in Table 5-1, several
areas must be checked. ROM 1 containing the self-test routines may be at fault; the 8080 may be halted or in an inappropriate routine; there Inay be a hard failure on the data or address bus. (See Paragraph 5.6.1.2.)
With ROMs, first try to reseat them in their sockets to ensure good contact. Check the chip select lines
to be sure the ROM is being selected.
Check the clock signals to the 8080 from the 8224 (E32-6, -10, -11). Check that the Reapy and Resetsignals are both high (E32-4 and -1). Check for the Sync signal (E32-5) every 3 to 5 clock periods. If
there is no Sync, check Hold Request L (E35-I3) which should go high for approximately 60 microseconds every 635 microseconds. Check for the Status Strobe (STSTB L) (E32-7). Hold Acknowledge(HLDA, E35-21) should toggle in step with Hold Request. If the clocks are present and Sync is entering E32 but Status Strobe does not appear, E32 is probably bad. If all these signals are okay, the problem is most likely not in the 8080 circuits.
If Hold Request is always high, the video proct:ssor is bad even though it may be able to drive themonitor. Grounding pin 1 of the Test MUX (El) disconnects Hold Request, and while the self-test
reports keyboard and NVR failures, the microprocessor is able to work. EI also removes the masterclock from the video processor, so the monitor should be disconnected (to protect it). Connect El pin 2
to 3, and E 1 - 6 to 5 and 11 to run the microprol~essor.

Check the data and address buses for toggling during the power-up test. Almost every address gets
looked at during the test, and every data bit changes state, so that is the best time to check for stuck bus
lines. Restart the test for each line by shorting CIa momentarily with a clip lead.
Connections made at E 1 can serve to force either the microprocessor or the video processor off thebuses. That is, asserting Hold Request L to the 8080 (with a clip lead from ground to pin 11) keeps thevideo processor off the buses, and asserting Hold Request H (with a clip lead from EI-I6 to EI-6 or 10) keeps the microprocessor off the buses.
Check that the interrupt input is not stuck high (E35-14) if Interrupt Enable goes high. If the video
processor works there should be a vertical frequency interrupt every 16.7 ms. If the processor is stuck insome kind of loop because some device is always calling it, the possibilities can be narrowed by looking
at each of the devices' interrupts and flags.

5.6.1.1.2 LEOs Indicating Fatal Error - If the power-up self-test never manages to finish, the LEDs
may display a number indicating the area of failure. Table 5-1 relates LED indications to areas oftrouble. LED indications mean the error is a fatal one, which means the terminal cannot function at all.
(If the self-test finishes, the LEDs are cleared.) Only the ROMs and the main RAM cause such a
failure. The table indicates the ROM to check if a ROM number is displayed. Try reseating the ROMs
in their sockets to ensure good contact. Check the chip select lines to be sure the ROM is being selected. There is no simple way to determine whi,ch of the six RAM chips is bad if a RAM failure isindicated. One-at-a-time replacement of all six chips is the only way to find and fix a bad RAM chip.
But check the memory decoders' ability to address the RAMs before the RAMs themselves areblamed.
5.6.1.1.3 Nonfatal Errors with Screen Display - Nonfatal errors do not disable the terminal completely, although they may limit its usefulness. A keyboard failure, for example, still lets the terminal
operate in receive-only mode. Nonfatal errors have codes assigned to them for display on the screen at
the end of self-test. (See Table 5-2.) The data loopback and EIA tests are considered nonfatal because
the microprocessor must work properly before the tests can run at all; but if they fail, the terminal
cannot communicate. To troubleshoot nonfatal problems, see the following paragraphs.

5-74

5.6.1.1.4

No Indicated Error -- N£any video processor and monitor problems (see below) do not affectthe microprocessor, so most self-tests cannot detect the problems. But if the screen fills with garbage orgoes blank after the keyboard beeps with all LEDs on at the same time (indicating completion of selftest), the video processor or monitor may be at fault.. (If the NVR fails its test, a number appears on thescreen and the keyboard beeps several times. If garbage pr nothing appears when the beeps occur, theproblem is probably in the: video processor rather than in the NVR circuit.) Because you know the microprocessor is good after completion of self-test, the screen RAM probably contains proper control
data (terminators and line addr,esses). Therefore, you should be able to troubleshoot the video processor(garbage: Paragraph 5.6.1.2) or the monitor (blank: Paragraph 5.6.4) as the first step. Run the self-tests
again after fixing the video processor; other nonfatal errors may appear then.
Areas not directly tested by self-test (because they have no effect on the microprocessor) are as follows.
NVR Write (tested by Saving)
Graphics port
Video processor (check w:ith SET-UP screen test)
MonitorCorrectness of baud rates (only confirms match between send and receive)
Keyboard switches
Some video processor functions must work for th(~ self-test to pass. For the microprocessor to work,
these video processor signals rrlUst be close to frequency.
LBA 3 and 4
LBA 7 (NVR clock)
In addition, Hold Request cannot be stuck asserted and the NVR flag buffer must work.

5.6.1.2

Video Processor - There are two classes of video processor failure: 1) those that prevent proper movement of data from the screen RAM and through the character latches, terminator detection,line address counters, (DMA pro1blems in general), and 2) all other problems. Those include the line
buffer, character generator ROMs, video shift register, smooth scroll, attribute, and scan count control
in the DCOI2, the analog video circuits, and monitor drive signals.

The areas in class 1 are difficult to troubleshoot because failures at any point in the loop from screen
RAM data to screen RAM line: addressing can cause the same kind of symptoms. The following section
contains a suggested basic approach to the problem. The areas in class 2 have more straightforward
troubleshooting, because the character data can be considered valid and failures with a particularsymptom are probably caused by a single kind of problem. No further detail is provided here. In either
case, make sure you understand the technical descriptions in Chapter 4 before spending any time trying
to troubleshoot these circuits.
A dual-trace, triggered oscilloscope with delayed sweep is essential for servicing the video processor.
Trigger the scope on Vertical Reset and examine leach line for signals according to the DMA timing
diagram (Figure 4-6-19) in Chapter 4. Check the continuous signals from the DCO 11. These include
everything except Address Load, Address Count, and Write Line Buffer. All others should be checkedagainst their timing diagrams for the respectivle screen modes. Any output affected by double
width/double height may be in either possible state.
Now check signals in this ord<::r.
1.

Vertical Reset

2.

Address counter oUltputs E2I, E22, E25, E30 (not the latches). All should be zero except
E22-5 at Vertical R,eset.
5-75

3.

Hold Request starting after time specified in Figure4-6-19.

4.

D MA Enable

5.

Address Count and Write Line Buffer

6.

While triggered on Vertical Reset, delay sweep to the region shown in Figure 4-6-20. Watch
for the data defined by Figure 4-7-5, Fill Line Operation at positions within the characterlatches as shown in the chart in Figure 4-6-20.

7.

Check for Terminate L during the time that Horizontal Blank is going low.

8.

On the following character clock, Hold Request should go low causing Address Load to go
low and Address Count to stay high.

9.

Check the address in address counter outputs (E21, E22, E25, E30) according to Figures 4-72 and 4-7-5.

10.

Check for unasserted line attributes at lE6-23 and E5-1, -26, -27.

11.

Adjust sweep delay to observe the second DMA period.

12.

Check the length of Hold Request. If twice as long as normal, this means that double widthmode has been invoked by some incorrect signal at Address Load time. Because the screen
RAM does not contain properly formatt,ed data for double width, the video processor cannot
display a normal screen.

Any other failures of address loading cause the second DMA to read from the wrong area of the screen
RAM.
Later DMAs may fail when early ones are okay if, for example, a high bit on the address counter isstuck low. Then only higher address lines (lines later in the screen) are affected. This assumes that no
scrolling has been attempted since power-up, because that would eliminate the correspondence between
screen position and address order.
5.6.1.3 Communications - Most aspects of the communications channel operation are under program
control, so the microprocessor must be fully functilonal (power-up self-test passed) for the interface towork at all. The communications channel "is tested with the data loopback connector (either EIA or 20
rnA) installed. Then you can start self-tests to che,ck the channel operation. If there is a failure, leave
the loopback connector installed. Typing on the keyboard in on-line mode provides data movement to
the transmitter (and receiver if the transmitter works).
Check the STP connector contacts. All interface sIgnals pass through these normally shorted contacts.
Check the baud rate clocks. The baud rate generator (E60) or its two-phase input drivers (E38) may bebad. Check that the transmit and receive frequencies are as selected (16 times baud rate). E60 may
accept changes on one side but not the other. At the PUSART, check the EIA line driver and receiverchips (E39 and E44) and check for pulses on the address (E43-11, -12) and I/O control lines (E43-10,-13) and on the interrupt flag lines (E43-14, -15).
Modem control problems are probably either the STP contacts or the EIA driver or receiver chips.
Check the enable line to the modem flag buffer (lE-41). (Also check the modem control signal at the
NVR latch E-6J.)

5-76

5.6.1.4 Nonvolatile RAM - The NVR is the only device that uses - 23 volts (E24-2). The video processor must be providing LBA 7 as a clock with 12 volt swing at E24-6. Q 1 must present a very highimpedance when it is off or read data will be lost. Check the NVR latch E-61 and the flag buffer E-42.
5.6.2

Troubleshooting the Keyboard

During the self-test, check to see that the LEDs flash and that the bell sounds. Failure of these does notcause the keyboard to fail but this is the best time to Inake sure that they work.

If the keyboard fails self-test, the terminal automatically becomes a receive-only terminal. The number
4 is then visible on the screen under the blinking cursor. Keyboard failure means the microprocessor
attempted to start a scan but did not get any results. back. (The always-down "last key" should always
be returned.) The problem could be at either end of the keyboard interface but is more likely at thecable or connectors, or in the keyboard circuitry (because of its greater exposure to the environment).
Either the on-line or local LED should be on if the keyboard has 12 volt power and the 5 volt regulator
works. If power is good, check 1the interface line for the presence of signals from the terminal. Refer toParagraph 4.4 in Chapter 4 for an illustration of normal signal appearance.
On the interface, if the clock from the terminal is on the interface line, it should also be at E9-8. Serial
data input (l bit for every 16 clocks) should be at the output of the integrator E2-1. Serial data output
should be at E9-12 (TTL level) and E8-8 (12 volt swing).
A clock signal always comes fr()m the terminal, and command bytes come continuously, starting every
1.28 milliseconds. Every 50th or 60th of a second, one command byte includes a bit that triggers the
START SCAN L signal (E5-11) which should start the address counters. KEY DOWN L (E6-12)
should appear once each scan to represent the last. address (for simplicity, make sure that no keys, including CAPS LOCK are down) and should drive the DATA STROBE L input to the UART (EI2-23).
TBMT H (Transmit Buffer Elnpty) (EI2-22) should go low when DATA STROBE is asserted. TBMT
H goes low for only a few clock periods when only one key address is being sent. More keys held down
causes TBMT H to stay low for rnore time for each additional key. When TBMT H is low, the clock
cannot pass through E4 to drivle the counter clock input (E7-14); it can at all other times. At the end ofa scan, E3-1 goes high and holds the counter CLEAR inputs. The START SCAN L signal (E5-11)
resets E3 to allow the count to continue.

If no signals are coming from the terminal (and this assumes that the phone jack on the board is good)check for clock signals LBA3 and LBA4. These COlne from the video processor, so if the display works
they should be present. If they are:,.check E18-1 and E18-2 (TTL.and 12 volt respectively). Also, if theterminal works otherwise, the rnicroprocessor should be regularly loading the keyboard status byte into
the UART for transmission. Check for Keyboard \~rite (KBD WR L) at E55-23 approximately every
1 ms in response to KEYBOARD TBMT (E55-22) which should go high every 1.28 ms. Make sure that
serial data comes out from pin 25.
If data is coming from the keyboard but is not g(!tting read by the microprocessor, check that datareaches the serial input pin 20., and that each received word sets KEYBOARD DATA AVAILABLE
H. Check that the KEYBOARD DATA AVAILABLE H interrupt signal reaches the Interrupt Vector
Latch E41-2 and the microprocessor through E2l-8. Finally, in response to the interrupt, the microprocessor should strobe KBD RD L at E55-4 and ··18. KBD DATA AVAILABLE should go low.

5.6.3

Troubleshooting the Power Supply

The power supply has two baskally different sections: one is low power control circuitry and the other ishighly stressed power components. The current limiting circuits ·are supposed to protect the supply wellenough to prevent fuse blowing in spite of short circuits, so if the fuse blows repeatedly there is probably a major problem.

5-77

<

The power switching transistor Q7 and its companion 019 are the usual failure, because they are subjected to the most stress in the circuit. When they fail, other components may also fail. Check D41,
R22, the input rectifier diodes, and the two theflllistors. Heavy currents could cause the thermistors to
crack. Sources of stress include connecting the supply to 230 volts when set to 115 volts, and shorting of
any transformer secondary. If the fuse blows but Q7 is okay, check C9, C14, the input rectifiers (thetwo connected to the thermistors are the ones used in liS volt operation), R19, and R20.
If Q7 repeatedly blows, the control circuit may be: driving it incorrectly. Lift one side of R22 to shut off
the power circuit and examine the control circuit. (The absence of voltage at the output causes thecontrol circuits to produce maximum pulse widths, and the 12 volt startup supply's regulator Z2 gets
hot from having to provide continuous output. But it is safe.) Look for a strong pulse on Q2's collector,a ramp on Q5's collector, a squarewave on Ql 'seollector, a negative going pulse on pin 2 of E3 and a
12-13 microseconds squarewave on pin 3. (Refer to Figure 4-9-3, Power Supply Timing Diagram, in
Chapter 4.)

The - 12 and - 23 volt supplies are individually current-limited; the -12 by its three terminal regulator's self-protection, and the - 23 by a 10 watt resistor in series. The + 5 and + 12 volt supplies shut
down the entire supply if either supply's current limiter is triggered. Check for shorts by checking thevoltages across R37, R44, and R45. If there are no shorts and the supply does not turn on, and startup
voltage (10.8 volts at the banded end of 025) is present, lift one side of 010. This diode carries the
SHUTDOWN L signal from the current limiters to pin 9 of the 3524 control chip. This isolates the
problem to the comparators (EI). Check the comparators by measuring their inputs: for the + 12 circuit, measure the input with respect to the inboard side of series resistor R37; for the + 5 circuit, measure with respect to the inboard side of R44 and R45. Pin 5 should be positive with respect to pin 6, andpin 3 should be positive with respect to pin 2.
The slow turn-on circuit might also keep the supply off. Lift D39 to disconnect it and 'use an autotransformer to bring the supply up gradually.
If there are oscillations or instability in the + 5 volt control loop, check C31 and L2, C 17, R31, andR30. If there are oscillations in the + 12 volt control loop, check C26, LI, R4, CI, R5. Excess sensitivity in the current limit circuits can a]so cause apparent output instability. There is some interactionin the operation of the supply because the + 5 volt supply must deliver at least its minimumm current
for the + 12 volt supply to be able to meet its regulation specification. Therefore the supply should not
be operated without some load.

5.6.4 Troubleshooting the CRT Monitor
Most monitor problems are due to blown horizontal output transistors and diodes. These components
are the most stressed in the circuit. Listen to the monitor when checking it: the only normal sound is aslight 15 kHz whistle.
Other problems include a dark screen (with normal sounds), a horizontal line on the screen, and sync
problems (rolling or tearing horizontally or vertically). If the screen is dark, turn up the brightness control on the monitor board, press SET-UP, and bring the intensity to maximum with the .cursor up key.
If there is a faint display or no display, check the horizontal drive operation, check the CRT voltages
and filament, and check the video output from the te~minal controller. The high voltage is probably
okay if the horizontal frequency sound from the flyback is normal. The voltages to check then are thecontrol, focus, and screen grid biases.
A horizontal line on the screen indicates a failure in the vertical oscillator.
For rolling or tearing, check the horizontal and vertical drive signals coming from the terminal controller and be sure that these signals reach the monitor board. (On the Ball monitor board the verticalhold control should be properly adjusted to ensure good lockup to the drive signal.)
5.6.5 Troubleshooting the Options
See Chapter 6.
5-78

CHAPTER 6OPTIONS

6.1 SET-UP PROCEDURES
This section chapter summariz(~s the SET-UP information for the following terminals.
VT100 - all variations, induding VTIXX-AC
VTI05

VT125 - including VTIXX-CB, -CL
VT132

This section does not provide detailed information on any SET-UP features, or explain how to change
any of the features. For detailed information, see the user guide shipped with the terminal.
6.1.1 SET-UP A
Figure 6-1 shows a typical SET.. UP A display. The same display appears in all VT100 series terminals.

-

SET"':UP A

1!

~:Q EXIT eat==:;~_

MA-2732

Figure 6-1

SET-UP A with Advanced Video Option (AVO)

6--1

6.1.2 SET-UP B
Figure 6-2 shows the SET-UP B display for the basic VT100 terminal, and Figure 6-3 the SET-UP B
display for the VT100 terminal with VTIXX-AC printer port. Note the fifth switch group in Figure 6-3.
This group appears if an option is installed in the STP connector on the terminal controller board.
Figure 6-4 shows the SET-UP B summary for the VT100-AA, -AB, -WA, and -WB terminals. Figure 65 shows the SET-UP B summary for the VT100-We and -WK word processing terminals, the VT132,
and the VT100 with VTIXX-AC printer port. Figun~ 6-6 shows the SET-UP B summary for the VTIOS.
Figure 6-7 shows the SET-UP B summary for the VTI2S.

6.1.3 SET-UP C
Figures 6-8, 6-9, and 6-10 show the three different types of SET-UP C displays. Only some word processing VT100s (VTI00-WC through VT100-WK)!. the VT100s with printer port(VTIXX-AC), andthe VT132s contain a SET-UP C. Figures 6-11 and 6-12 show the VTIXX-AC and VT132 SET-UP C
features, and the possible settings.

SET-UP
B
EXIT
Tf1

I. "IT:n
1

~

PRESS

.~:on
.:.;.z.u:~j'i!Ii'fi'
i:u:i:ij't.nSET-UP I I~

T SPEED 9600

}l"'l'.

R SPEED %OG:
MA2733Figure 6-2

VT100 SET-UP A

6-2

SET -up E~
TO EXITpRF~~"SET-Up5

VT1XX-AC ONLY

~
r~

r.

:~_~.
____~••• r:_~:.

r·-·-·-=- - a _

~ ~~-:r=:!_-__

MA·3575A

Figure 6-3VT100-WC, -WK., VT132, VTIXX-AC SET-UP B

6-3

Ie

,...--___ f#£l (SHIFTED)fo = #
L2J
l1 =£

[0 = JUMPSCROLL L1 = SMOOTH,.....-_ _ WRAP AROUND fo = OFF= ON

AUTOREPEAT [0 = OFF
= ON

l1

l1

SCREEN {O = DARK BACKGRND
i = liGHT BACKGRND

N EW LINE {O = OFFCURSOR{O = UNDERLINE
1 BLOCKINTERLACE {O = OFF
1 = ON2m
I

I

1 = ON4r.

'--_ _ _ KEYCLICK{ol1 = ON= VT52
1 = ANSI

{o =
1

9 6
T SPE:D 1 1 1 0 I 0I

R SPEED 1

916 1 0 I 0 1__ _AUTO XON XOF FlO = UHANSI/VT52m= OF"FON' - - - - - - - MARGIN BELL{O = OFF
1 = ONL

POWER10=60HZ*= 50 Hz*

l1

BITS PER CHAR. {o = 7 BITS
1 = 8 BITS'---_ _ PARITY

{o =
1

= OFF
ON

O=ODD
PARITY SENSE { 1 = EVEN

*SET TO 1 FOR VT100-WB,
SET TO 0 FOR ALL OTHERSNOTE: SETTINGS SHOWN ARE FOR
VT100-WA & -WB
MA-1988A

Figure 6-4VT100-AA, -AB, -WA, -WB SET-UP B Summary

[1J

~

I

0 = DARK BACKGROUND,-

VTl XX-AC ON LY

0 = OFF-I I I Ir INTERLACE [1 0=OFF
1 = ONUNDERLINE
I 'I r CURSOR[O=1 1 = BLOCK

2~1
0 1

{
[:

W

GROUPS FOR

3

0

0

0

~

0

AUTO XON XOFF[O = OFF
1 = ON

SET-UP B FOR:
VT100-WC THRU WK
VT100 WITH VT1XX-AC
VT132

~

II

ANS IIVT52 e= VT52

KEY~LlCK r~:~~:1"-1 =ONMARGIN BELL{O = OFF
1 = ONL O=OFF.

P=~ T=196001 R=196001

POWER [0 = 60 Hz*
1 = 50 Hz *I

II

I , PRINTER PORT [1=ON

L _L..1 _1_ J

I

I

I

r TEST MODE
JJ,l)~,_

LOCAL ECHO[ 0= OFFWPSTERMINA~l =~N
RECEIVE PARITYr

0 = IGNORE
l1 = CHECK*SET TO 1 FOR VT100-WD,-WF,-WH,--WK
SET TO 0 FOR ALL OTHERSNOTE: SETTINGS SHOWN ARE FOR
VT100-WC THRU-WK.
MA-3576D

Figure 6-5VT100-WC, -WK, VT132, VTIXX-AC SET-UP B Summary

SET-UPr T BPRESS
Tfl

FX

:i

SET-UP I I
SCROLLING MODE
AUTOMATIC REPEATBACKGROUND SHADECURSOR MODE
RIGHT MARGIN TONEKEYCLICKESCAPE SEQUENCE (0 = VT52, 1 = ANSI)
XON/XOFF
CHARACTE R CODEAUTOWRAP
LINE FEED INTERPRETATIONINTERLACING} TRANSMIT AND RECEIVE PARITYNUMBER OF BITS/CHARACTER
LINE FREQUENCY SELECTIONIt :'{$l~_ ~1"1 :3 .'iJIiXi~MJl

Figure 6-6

VT 105 SET-UP B Summary

6-6

Ie-

SCROLL

r---

I r-

I I I

1

AUTO REPEAT

o - OFF{ 1: ON'-,.un.

OI"'\\.Io'",YIl'''1J{O1:

AUTO WRAPI

KEYCLlCK{O-OFF~
1 =ON

o = VT52{ 1 = ANSI= OFF _ _ _--'
1 = ON

I'III::VV LII'IIC\"~INTERLACE<CURSOR} U=UNUcKLINc\. 1 = BLOCK.

~ g~F ~ I I I{O~~1~A~TER SET { ~ : ~:~. I
I

OFF
ON

~~c;.~<:,~~,~ I I rI - :.I~~ :~~!ll f ~ : ~~,F", ~-·- .~~~~... _-_ .... r

MARG IN BELL{ :AUTO XON XOFFISCR EEN.( :6ill {III]TTTT
ANSINT52

Ir:{~: ~~~~TH

-

.

VI"

n - neev-v. I

4

PARITY {0

II II IAUX PORT BITS{ =7 BITS
PER CHAR.
1 =8 BITS

r-)

5

~PFFD
-- - -

T=

r~ ~~
=

.. __ __

l... AU)(. '"'UK I

~)

IIII
~: ~3~N --1 I I
IIPAR lTV SENSE {.
{BITS PER CHAR.

OJ]]

I

(

\.. 1 = ON

3

RESERVED = 0

)

U I =

I.£UU

") 10 = 2400

I I I =9600

II IIII IIIIII
R=

O-OFF
1 = ON

0 = 7 BITS
1;:: 8 BITS

POWE R {0 = 60 Hz

1 = 50 Hz - - - - - - - 'MA-6652A

Figure 6-7

VT125 SET-UP B Summary

SET-UP C

TO EXIT PRESSDISPLAY"SET-UF'"(LANGUAGE)

KEYBOARD(LANGUAGE)

MA-9339

Figure 6-8VT100-\VC, -WK SET-UP C

6··8

SET-UP C
TO EX I T

~E:.I~E~~II

SET -UP I i

PRINTER PORT: P=SO

T/D:1 n.-300

MA5677

Figure 6-9

VTl XX-AC SET-UP C

6-9

SET-UP
C
E¥IT
TO

PRESS

"SET-UEt ..

MA-3574

Figure 6-10

VT132 SET-UP C

6·10

,----- I,----- '""I
RESERVED.------ I

----I

I

I

RESERVED-~ RESERVEDJRESERVEDPRINT
TERM . CHAR.

0'\
I

I

ir

PRINT
,EXTENT{a{O1 == NONE
F.F.

= SCROLL REG.'
1 = FU LL SCREEN

DI! I ! I! 1'1 PRINTER PORT: p=D T/R=O
MA-5674B

Figure 6-11

VT1XX-AC SET-UP C Summary

BOLD{O= OFF, - - - - - PROTECTED 1 = ON

EDIT MODE{O = OFF. 1 = ONEDIT KEY (0= DEFER
1 = IMMEDIATEI,

CHAR SENT{O = UNPRO•
1 = ALL
SP.COMPRES

A

0'\
I

i-.:i

rl1 =

BLINK
{O = OFFPROTECTED 1 = ONr

REVERSE0= OFFPROTECTED\.. 1 = ON

0= OFFON

B

Cl

UNDERLINE {O = OFFPROTECTED 1 = ON------.-1-.. . . . -TRANSMiTf 0= DEFER\.. 1 = IMMED.
TRANSMIT(0 = NONE

I I~}TE:~~~:~:: ~ =1

FF~ EXTENT°°°o

PARTIAL PAGE

D~PRINTrI
l'c~ EXTENTLPRINT

O=SCROLLREG.
1 = FU,LL SCREEN(0 = NONETE:OII.JlI"UI\O

1 _

r-r-

~~~~~~~r~: ~~;;O
MODE\..1 = ALL

NORMALPROTECTEDr

0= OFFl 1 = ON

1 PAGELINE
1 1 LINE

MA-3573

Figure 6-12

VT132 SET-UP C Summary

6.2 ADV ANCED VIDEO OPTION
The advanced video option (AVO) provides the extra memory required for the VT100 to display 24
132-character lines, an extra 4 bits of memory per character for character attributes, plus space forextra program ROM. Additional hardware in the AVID are the address decoders for memory expansion,and the 4-bit wide set of character-clocked latches for the attribute data. Refer to the video processor
functional diagram (Figure 4-6-3) to see how the AVO functions with the basic video circuitry.
6.2.1 Advanced Video Option Installation
Use the following procedure to install the advanced video option.
1.

Remove the terminal access cover.

2.

Remove the terminal controller board.

3.

Place the terminal controller board on a flat surface with the component side up.

4.

Locate the four mounting holes drilled in the terminal controller board; mount a standoff ineach. (Figure 6-13).

5.

Grasp the advanced video board by the edges and carefully align the connector pins with theconnector on the terrninal controller board. Gently but firmly mount the advanced video
board onto the terminal controller board.

6.

Reinstall the terminal controller board. You must install the terminal controller board in theleftmost slot in the card cage.

7.

Reinstall all cables removed.

8.

Reinstall the access cover.

6.2.2 Advanced Video Option ChE:ckout
Use the following procedure to ch(~ck out the operation of the advanced video option.

1.

Turn the terminal power on and verify that no error was detected during the power-up selftest.

2.

Press the SET-UP key. The words "SET-UP A" should blink in boldface, the words "TO
EXIT PRESS SET-UPH should be underlined, and the ruler should contain alternating normal and reverse video fields.

3.

Place the terminal in 132-column mode and then in LOCAL mode.

4.

Exit SET-UP and type the following sequence.

<ESC> < <ESC:>#U
The screen should now display 24 lines >< 132 columns.

6-13

STANDOFFCOMPONENT SIDE
OF ADVANCEDVIDEO BOAlqDCOMPONENT
SIDE OFTERMINAL
CONTROLLERTERMINAL
CONTROLLER
BOARD

J2 GRAPHICS
CONNECTOR[-----..IIIJ6

J4 EIACOMMUN ICATIONSCONNECTOR

J8 VIDEO IN
CONNECTOR
J9 VIDEO OUTCONNECTOR
J7 KEYBOARD
CONNECTOR
MA·1995

Figure 6-13

Advanced Video Option Installation

6-ll4

6.2.3 Program Memory Expansion
Basic program memory resides on the basic video board and may be patched in any or all of its 2K
segments, or it may be overlayed by one 8K X 8 ROM on the advanced video board as follows.
Patch
Address(Hex)
0000-07FF
0800-0FFF
1000-17FF
1800-1 FFFt
Overlay
Address(Hex)
0000-1 FFF

ROM
Type
ROM A
ROMB
ROMC
ROMD

Jumpers
Used
Vvl
VV2
VV3
Vv4,W8,Vvll,W14ROM
Type
ROMS A,
B,C,D

Jumpers
Used
Vvl,W2,W3
Vv4,W5,WI0,
VVI2,WI3

Patch
PROM
Lo(!
E19
E17
E13
E8

ROM
Lo(:
E8

Ie Type*Intel 2716 or 2316E
Intel 2716 or 2316E
Intel 2716 or 2316E
Intel 2716 or 2316E

Ie Type*
Signetics 2664

You can expand program memory by up to 14K bytes, using one 8K X 8 ROM and up to three 2K X 8
EPROMs, if no 2K X 8 patches were implemented. ROMs may both patch and expand; however,eachsocket may either patch the address range given above or expand in the range given below, but not
both.

Expansion
Address(Hex)
8000-87FF
8800-8FFF
9000-97FF
98FF-9FFFt
AOOO-BFFF:j:

ROM
Type
2K X 82K X 82K X 82K X 8
8K X 8Jumpers
Used

VV8, 11, 14
VV6, 10,12, 13

Expansion
Program
Memory
Loc
E19
E17
E13
E8
E8

Ie Type*Intel 2716 or 2316E
Intel 2716 or 2316E
Intel 2716 or 2316E
Intel 2716 or 2316E
Signetics 2664

Or for addressing convenience use the following range.

Expansion
Address(Hex)
8000-9FFF:j:
AOOO-A7FF
A8000-AFFF
BOOO-B7FF
B800-BFFFt

ROM
Type
8K X 82K X 82K X 82K X 82K X 8Jumpers
Used
VV7, 1O~ 12, 13

EXlpansion
Program
MemoryL04~

Ie Type*

E8
E19
E17
E13
E8

Signetics 2664
Intel 2716 or 2316E
Intel 2716 or 2316E
Intel 2716 or 2316E
Intel 2716 or 2316E*

May be used only if 8K ov(~rlay or 8K expansion has not been implemented.

t

These parts must have an acc(~ss time of 350 ns maximum.

:I:

If basic ROM has been ov(~rlayed by 8K X 8 RAM, program memory cannot be expanded byanother 8K X 8, but only by three of the 2K >( 8 patches as shown above.

6-15

You must install either W5, W6, or W7 in all configurations, if none of these junipers is required by theabove specification. Install one that enables the 8K ROM in an unused address space.
You can use jumper 15 in place of jumper 10, or jumper 16 in place of jumper 9, if a high asserted chip
select is desired on an 8K ROM.
6.2.4 Alternate Character Set
If the AVO is present and an alternate character ROM is installed on the terminal controller, you canselect an alternate character set on a character-by-character basis. The alternate character set can provide an additional 127 characters. If the AVO is installed without the alternate character ROM, any
character cell in which the alternate set is selected appears white (black if reverse video). See Appendix
A (select character sets) for selection of alternate characters.
6.2.4.1

Alternate ROM Description

1.

Size:

2048 words X 8 bits2.

Speed: 300 ns access time if 132 column operation is desired; 550 ns access time is sufficient for 80 columns only.

3.

Pin-out (Intel 2316E equivalent)
Pin
No.
1

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

22
23
24

Pin
Name
A7
A6
A5
A4
A3
A2
Al
AO

DO
Dl
D2

GND
D3

04
05

06
07
CS2
AIO
CSI
CS3
A9
A8
Vcc

Use for Alternate Character ROM
Character address 3
Character address 2
Character address 1
Character address 0
Scan address 3
Scan address 2
Scan address 1
Scan address 0
Fill bit
Rightmost character bitl character data 1
Character data 2
GroundCharacter data 3
Character data 4
Character data 5
Character data 6
Leftmost character bitl character data 7
Chip select - asserted low
Character address 6
Chip select - asserted low
Chip select- asserted low (Paragraph 6.2.4.2 below)
Character address 5
Character ad dress 4+ 5 volts

6-16

6.2.4.2

Character ROM Programming Instructions

1.

Chip selects must always be asserted low.
(To allow use of pin cOlupatible UV erasable PROMs, pin 21 may be tied to + 5 V by removing W 4 and inserting '~5" The speed restrictions listed above still apply.)2.

A high coming from a character data pin produces a dot on the screen. A high from the fill
bit causes the right space, between the character in which the bit is asserted and the following character, to be filled on the scan(s) for which the bit is asserted. One-dot-wide horizontal
spaces in a character are filled by the dot stretcher.
The following scan and character addresses are in hex.

3.

.Scan addresses
Scan
Address
F

o
1

2
3
4
5
6

7
8
9-E
4.

Character Scan Number(Figure 4-6-17)
Normally blank in VT100 main ROM
1
2
Top of normal uppercase character
3
4
5
6
7
8
Bottom of normal uppercase character
Normal descenders (underline scan)
9
Normal descenders
10
Not displayed

Character address 7FH is not displayed and should be left blank. Character addresses
20H-7EH are accessed by ASCII codes 20H-7EH respectively when the VT100 character
set is set to "alternate character ROM" (Appendix A, select character sets). Character
addresses OH-l FH are accessed by ASCII codes 5FH-7EH respectively, and character
addresses 201-1-5 EH respectively, when the VT100 character set is set to" alternate special
graphics" (Appendix A, select character s.ets).

6.2.5 AVO Technical Description
This section provides a technical. description of the advanced video option board.
6.2.5.1 Extended Character and Attribute Memory - The complete address and data buses from themicroprocessor enter the AVO through the circuit board connector. Bits AOO through A09 directly access lK of 8-bit RAM (E18 and E20) when AlO, All, and SEL 8-l2K enable the RAM chip selects.
The Select Attribute RAM (SEL ATT RAM) signaL, decoded on the basic video board, enables the 4K
X 4 memory (E2, E7, E 10, E 14) for writing and reading attributes. When read by the microprocessor,
these 4K words appear in addre:ss space 3000H to 3FFFH and the four bits of each word appear on
00-03. The attribute bits are read and written by the microprocessor through buffer Ell which is
configured to drive the four bits in one direction or the other. One half of E9 and a pull-up resistor form
an OR gate, so that data is output from the board when MEM RO and SEL ATT RAM are bothasserted. During a OMA by the: video processor, the four attribute bits are read in parallel with theseven character address bits and one attribute bit from the memory on the terminal controller. This isdone by enabling the RAM outputs to the attribute latches whenever an address in the range of 2000H
through 2FFFH is accessed during a DMA.

6-17

6.2.5.2 Character Attribute Latches - The attributes have their own set of character-clocked latches
to provide complete synchronization of attribute and character data in the video processor. At the assertion of Hold Request and DMA Enable, data passes from the attribute RAM to the input of latch E5.
As with the characters in the character latches the attributes shift through DI-4 of E5, then through E9to the attributes line buffer E4 for storage, and again through D5-8 of E5 to the attribu,te inputs to thevideo processor on the basic video board. The attributes line buffer (E4) is addressed by the same LBA
signals as the line buffer on the basic video board.
6.2.5.3 Program ROM Decoding - The AVO has sockets for four 2K or one 8K and three 2K ROMs.
You can select the address blocks that these ROMs operate in with wire jumpers (or switches in newer
models) on the AVO board. Flexible decoders can address the ROMs as extended program memory ora ROM can overlay an existing block of program. VVhen existing memory is being overlayed or memory
above 4000 H is being addressed, the Memory Disable signal is asserted to turn off memory on thebasic video board.
6.2.6 Troubleshooting the AVOThis is mostly an extension of the character latches in the video processor. You may suspect problems
in the AVO if character attributes will not work (check with the SET-UP Screen Test). Also, a portionof the screen RAM resides on the AVO. Problems are evident if the screen is full in 132 column mode.
(Type <ESC> # 8 in local mode to get the E test pattern.) Check the power connections, memory
decoders, and the memory disable control line.
Self-test tests the AVO RAM. If you suspect errors in the AVO, but it passed self-test, the problem
may be on the attribute latch (video processor) side of the A VR RAM control circuits.

6.3 20 rnA CURRENT LOOP ADAPTERThe VT100 current loop adapter converts the Electronic Industries Association (EIA) standard serial
voltage input and output from the basic video board to 20 mA current signals. You can separately
switch both receiver and transmitter to operate either passively or actively.
6.3.1 20 rnA Current Loop Option Installation
Use the following procedure to install the 20 mA Current Loop Option.
1.

Remove the terminal access cover.

2.

On the new terminal access cover with the 20 mA current loop card, set the TRANS switch
to the NORMAL position (Figure 6-14). (If the terminal must provide current on the receiver line set the switch to the ACT position.)3.

Set the REC switch to the NORMAL position (Figure 6-14). (If the terminal must provide
current on the receive line set the switch to the ACT position.)

4.

Connect P5 to J 5 on the terminal controller board (Figure 6-13).

5.

Install the terminal access cover containing the 20 mA current loop option in place of the oldaccess cover.

6.

Connect the communications line to the Mate-N-Lok connector on the bottom of the accesscover.

7.

Perform the 20 mA current loop option ,checkout.

6-18

a

. CAPTIVE
SCREWS (4). -_ _ _ ACCESS
COVER
P5

20mA
CURRENTLOOP BOARD

TRANSMITLINE
SWITCHRECEIVELINE
SWITCH

20mA
COMMUNICATIONS®

t::~~~~~~~§f.;:====~L-------CONNECTOR~
M~1~6
Figure 6-14

20 mA Current Loop Option

6.3.2 Configurations
In most current loop applications, the VT100 is connected in a passive configuration - that is, current is
supplied to the VT100. In this rnode, the transmitter and receiver are both passive, both optically isolated, and the transmitter goes to the mark state when power is turned off.
Conversion from active to passive: mode (or vice versa) for either transmit or receive side is switchselectable.
In active mode either the transmitter, or the receiver, or both may be connected/so that the VT100
sources the 20 rnA of current. In active mode, isolation is not present, and the transmitter goes to thespace state when power to the VT100 is turned off.

6-19

6.3.3 20 rnA Current Loop Option Checkout
The VT100 contains an internal test called the data loopback test. In the data loopback test the VT100transmit and receive lines are connected to each other via a special external connector. A predefined setof characters are then transmitted. The terminal receives the characters and compares them to thecharacters transmitted. If the characters do not match an error is then flagged.
Use the following procedure to check out the operation of the 20 rnA current loop option.
I.

Disconnect the terminal from the communications line.

2.

Remove the terminal access cover containing the 20 rnA current loopback board and set bothswitches to the NORMAL. Reinstall th,e access cover.

3.

Connect the 20 rnA loopback connector (PN 70-15503-00) to the Mate-N-Lok connector on
the bottom of the access cover.

4.

Place the terminal in ANSI-compatible mode (in SET-UP B, group 2 switch 3

5.

Type <ESC> [2;2y to perform the data loopback test.

1).

After the test is complete, the screen cle:ars and the message "WAIT" appears in the upperleft corner of the screen. The test takes about six seconds to run.
6.

A loopback error is shown by an 8 in the upper-left corner of the screen. If an error is detected, check the 20 rnA board connectors and switch settings and then repeat step 5.

7.

After the test is complete, return the 20 rnA current loop board switches to the original positions, remove the loop back connector, replace the access cover, and reconnect the terminal tothe communications line.
NOTE
The terminal can use either 20 rnA or EIA communications. If EIA is userll on a terminal containing
the 20 rnA option, the cable connecting the 20 rnA
option board to the terminal controller board at J5
must be disconnected.

6.3.4 Current Loop Principles
The current loop system was designed for teletypewriter communications between remotely located stations. The 20 rnA current was designed to operate the selector electromagnet that decodes data in teleprinters. All teletypewriters on a circuit were in series so that any station could signal all the otherstations simultaneously by passing and interrupting the current through all stations' selector magnets.
Today, decoding of the current signal is performe:d electronically, rather than mechanically, but thegood noise immunity of the system has kept it around as a reliable way to run lengthy in-house terminal
drops at low cost. Figure 6-15 defines the states of the interface line.
6.3.4.1 Current Loop Adapter Description - This. section describes both the transmitter and receiversides of the current loop adapter.
6.3.4.1.1 Transmitter Side - An EIA-to-TTL level converter (E3) inverts the VT100 output signal, but
a second stage reinverts it. The TTL signal switches a pair of paralleled open-collector drivers thatdrive the LED inside an opta-coupler. Resistor RII limits the LED current. The LED output controls
the conductance of the phototransistor inside the opto-coupler. The transistor's base is tied to its emitterby R 13 and its base is tied to its collector by D5 to improve its switching speed.
6.. 200- 2 rnA = OFF = SPACE = 0
18 - 50 rnA = ON MARK = 1

10 rnA

MA-4277

Figure 6-15

Interface States

When the phototransistor is conduc1ting, the base drive for Q3 is diverted and Q3 and Q4 are cut off to
put the transmitter in the space state. The only current that can flow in the space state passes through03, which is a constant current diode rated for 1 rnA. When the phototransistor is cut off, 03 provides
base drive to Q3 and forces the transmitter to the mark state. Use of the constant current diode 03
allows sufficient bas~ drive to Q3 to keep the transmitter in the mark state when the phototransistor iscut off or when power is remov(~d from the VT100. But 03 still limits the current through the transmitter in the space state to less than 2 rnA even with 50 volts across the circuit.
In passive mode the transmitter can control the flow of current from an external current source. In
active mode the transmitter is placed in series with current supplied from the + 5 volt and -12 volt
power supplies and limited by s(~ries resistance.

6.3.4.1.2 Receiver Side - Passive: The optional capacitor on the input gives line transient immunity.
The LED in opto-coupler E 1 aC1cepts current from a remote source limited by R2 and Q 1. To ensure
proper recognition of the off state, RI draws 3 rnA to bypass low level currents around the LED. If theline current rises to make the voltage drop across R2 greater than 0.6 volts, transistor Q 1 turns on toshunt excess current around the LED. Besides protecting the LED, this also improves speed by reducing saturation of the LED and transistor. 01 protects the circuit from reverse connection of the signal
line.
Active: With switch SW2 in the up position, the adapter provides power for the line: + 5 volts and - 12
volts through similar resistors R8 and R9. The remote device passively switches current to activate thecircuit.
The phototransistor in the opto-(~oupler controls the base current to Q2. R5 speeds up Q2's turn-off bypulling the base down faster. CI speeds Q2 turn-on. R3 prevents the phototransistor from saturating by
allowing the base and emitter voltages to rise until (!xcess base charge can be removed by conduction
through R4.
The output is pseudo EIA (RS-232) because it assumes that a particular receiver device is being usedwhich happens to accept a 0 as a nlark. The normal RS-232-C specification calls for + 6 = space and- 6 = mark. 04 shunts - 12 in case someone connects the EIA signal to the exposed connector while
the current loop is installed. It plrot(~cts E2 pin 3. R7 pulls up to give high drive to the 1489EIA receiver- TTL converter on the basic video board.

6-21

6.3.5 Interface Signals
The currrent loop option interfaces to external communication equipment through an 8-pin Mate-NLok connector as described below.
Pin
No.

Description
Signal Name

Passive Mode

Negative Test
VoltageV - with a serie:s resistance of 480 ohms
±S%.

2

Transmit negative(T-)

Current flows awayfrom this terminal.

Current flows into
this terminal whichis connected to V via a series
resistance Rs.

3

Receive negative(R-)

Current flows awayfrom this terminal.

Current flows into
this terminal.

4(Not used)

S

Transmit positive(T+)

Current flows into
this terminal.

Current flows awayfrom this terminal.
The equivalent
vol tage source is(V +)- Vd with aseries resistanceRs.

6(Not used)

7

Receive positive(R+)

Current flows into
this terminal.

Current flows awayfrom this terminal
which is connected
to V + via a series
resistance Rs.

8

Ground.

VV=
RS
Vd-12 Vdc ±S%+S Vdc ±S%
330 ohms ± S%
2.0 V maximum

6.3.6

Interface Specifications

Active Mode

Transmitter
Open circuit voltage
Voltage drop marking
Spacing current
Marking current

Min
S.OV
O.OV

Receiver
Voltage drop marking
Spacing current
Marking current

Min

20 rnAIS rnA
6-22

Max
·SOV
2.0V
2.0 rnA
SOmA
Max
2.3 V
3.0 rnA
SOmA

6.3.7 Troubleshooting the Curnmt Loop Adapter
Except for incorrect setting of the normal (active) and passive selection switches and connector problems, malfunction is probably due to bad semiconductors.
6.4 VTI05 GRAPHICS PROCESSORThis section describes the VT I 05 waveform generator module, M7071. The M7071 complements the
VT100 alphanumeric terminal by adding graph drawing capabilities. Together they comprise the
VT I 05 alphanumeric and graphic t,erminal. This section describes the following items.
•
•
•
•
•
•
•
•
•
•
•
•

the graph module in a block diagram format
decoding the input
establishing mode of operation
phase lock loop timing
rectangular aspect ratiio graph drawing fieldsquare aspect ratio graph drawing fieldloading the registers
loading graph memori,es
generating baselines
loading vertical and horizontal lines
generating strip charts
combining video out

6.4.1 Enabling Graphic Information
On initializing the VTI05, the tvl7071 forces the GRAPHICS FLAG low so the VT100 terminal controller module recognizes that the graphics option is installed.
To enter the graph drawing mode, an escape sequence ESC 1 is needed. The terminal remains in thismode until ESC 2 is received. In this mode, graphics data is passed to the M7071 on parallel data lines.
When data is passed, the GRAPHICS FLAG goes high and stays high until the data is stored in thestatic random access memories (RAMs). This signal is sensed by the VT100 terminal controller, anddoes not pass another character to the M7071 until this signal goes low.
The M7071 also uses the following signals from the VT100.
DO 00 H - DO 06 H - The paraillel 7-bit graphic information in the form of a character to the M7071.
DO 07 H - This signal is used by the VT105 for hard copy.
RESET H - The M7071 uses this signal on power up to initialize its registers. Pressing the RESET key
during SET-UP mode also generates this signal.
HORIZ BLK H - Defines the horizontal blank time of 11.4 J.Ls. The horizontal active time is 52.1 J.Ls;
the total period is then 63.5 J.LS.
VERT BLK L - Vertical blank tim~~ is 1.016 ms. Vertical active time is 15.24 ms for a total period of
16.256 ms.
WR GRAPHICS L - A pulse passed to the M7071 to strobe the parallel data (DO 00 H - DO 06 H)
into the input latch.
GRAPHICS 1 IN L and GRAPHICS 2 IN L - The video output from the M7071.
The following paragraphs provide a brief discussion of the waveform generator block diagram, Figure
6-16.
-

6-23

L

~~~~~~----------------------------~------~I
GRAPHICS FLAG L
f--f-oLOAD XDATAMVPREWRITE"
F/F

1-----...1

~

DATA

l-~;6ML'O

h-..J.--._-.,.......I....
r)..

'/':DB0-4~~
10
... /
LOAD

INPUT
LATCH

~

DECODER:%~~PHICS l t

Lr------.

STRIP
ENABLE

MODES

~
t/

LOAD
MODE

~

WtGRAPHO LI DUAL
STRIP

V~/ ~ B-BI~

J10\....I ,

~

DBu-

~

0-

~
/':

REGISTERCOUNTER
1.--4~

Y-ADDR

OO~

t

~

~

MODE
SELECTLOGIC

r-n/lt...

I-VT105
(l)L

~

0-4

RESET H~VERT BLK l
HORIZ BlK HBLANKING

r--'--'--_-HORIZ + VERT l~~ ~>S:l~~EGISTER~PLOHACSKE~~/~ASELINE
V -lOOP

REGISTER

r-r--l-~1I

X STOP

I

F/~F

~""C

~ COUNTER
BITt:::~ BBIT~ COM-~ PARATOR~ ~RAPHg~TA~E f,+CUR 0

~

LATCH

~
~

f,+CUR1
I---

o.....-""'"ltr-.....I~ BBIT

1:

t% ~~
~

x"

HORIZ l• .---~ COM-RAM~ VIDEO

PARATOR ~--I-I-+I-J~ DATA'/~~~~~====~Lj~B~A~SE~L~IN~E~O~_L-J r- ~ASELINE

V )c
~ >S:

I

VERT
LINE Lf-f--

MEMORYv/~,. 512 x 4

//~/

IV rD

~ISTOGRAj

r

y

~ ~

f= 512

1

WR DATA L

V/ ~

tc.

CUR 1
BBIT
lATCH
GRAPH C'11 ?AT~...

512 x
B-BIT
RAM

V;
~ ~VERTICALI
V/ X'"....
CLK
CLR LD~TIME H L'=t:/.

'-----,

III~

/

~ ~
V.X
v-:: X<~RAM DATf~ ~2 TO 1
MUX

t(:
~ t
~~
~
t:% BASELINE~COUNT II ~f-l--I .

o

GRAPH 1MEMORY~~ INITIAL , to... FINAL~ >').,.. GRAPH
V~V//
XADDR
~ XADDR ADDR0-7 t/::iYf?~ MARKER
V...I
COUNTER~ COUNTER
~/
Ii'~
0&1

v.::

t
HORIZ +VERT H

GATES

L-o.

DATA
REGISTER
BDATA

-~

..J

hY/1

5 BIT

COMPARATORGRAPHIHISTOGRAM-.J......

.-----tt--l1;~5 I-ti///////~~'/:'l///(//
v~.r
r-'

...

YO-Y7

ENABLE

I-~

~ LD
r-;;V

V, .;-~R GRAPH 1 L//::1- v.

CUR 0 ,

r-------~--~~~L---~=---_~t____~ ~~O_ _~I~

lr--. Y
--

%LOAD

FIRST
DATA
F/F

GRAPH
0

RAM

r-VA--~~::_----.
/.

~

GRAPH 0

V,

r/

Y

,

I'\.

"'r0.-r-(."rZ"'Z-'~-""MEMORY ~ BBIT
,,11
r/
512
LATCH
rr/~YO""D""A-'T""A""/,,.""'?"'\ B BIT
I t...r-\....

TEST
lOGIC

REG ISrE R I-S:::,;T:..:.:R:.:.:.IP-+-UL~""

0

f--

DB1_

LOAD
ENABLE

L--,-----WR DATA L
j---.WR HORIZ L

I-----====~--~==~-.J._J%~

I--WR GRAPH 0 L
j---.WR GRAPH 1 L
WRITE
LOGIC

HORIZ LINE 1

HORIZ!-HORIZ(l)H~

C:~ lATCH

Irq ~r-J--------------.J

lJI..

LINE

~ ~~~~MEMORY

TIME(l) H~
PARATORV/ / / ij 256x1
RAM
BASE~ B1 ASELINE
WINDOWhV
F/F:-y=<j> + I
COUNT TIME H~~·oiIT~IM~E~(11)~H__________~-=====~__~~==~~~~~========i==============t============~C5UiN-ril.lJ'..J
COUNT X 00 (1) H
D ClK

I

-

I

_
'-'"

TO VT100 VIDEO 2(GRAPHICS 2 IN Ll.. A.-,3,

VIDEO H (GRAPHICS 1 IN L)

Figure 6-16

M7071 Waveform Generator Block Diagram

6.4.1.1 Writing Data to the Waveform Generator (block diagram discussion) - Data in the form of 7bit ASCII characters is received by the data input latch. The first character must be a control character to give instructions to the waveform generator module as to where to place the next data information. Is the next data to be loaded into the registers or into the graph memories? Is it horizontal line
.data or vertical line data? The control character is loaded into a binary to decimal decoder that enables
1 of 10 load modes. (See Paragraph 6.4.1.3 to decode the input character.)
One of these modes is load enable register 0; another is load enable register 1. These two registers store
the information as to the type of graph desired (line graph, shaded graph, or strip chart) and the desired
graph features (horizontal lines, vertical lines, and graph markers). Both registers use either one or two
data characters to enable the desired graph features. The First Data flip-flop keeps track of these twodata characters. Two data characters form a data word.
The second data character following a load enable register 1 command enables the mode select logic.
Data bit 0 of this character determines the aspect rat.io of the graph to be displayed on the video screen.
When this bit is set to 1, the square aspect ratio is enabled. This aspect ratio is a new feature of the
VTI05 and uses all 240 scan lines on the terminal. When this bit is set to 0, the rectangular aspect ratio
is selected. This aspect ratio is compatible with previous DECgraphic video terminals (i.e., VT55) anduses only 230 scan lines of the tenminal for the graph display. This later aspect ratio is also enabledduring the power-up sequence of the terminal (by RESET H).
The outputs of the mode select logic go to a phase-lock-loop to establish the two timing signals necessary to set up the rectangular and square aspect ratios. These are 10.4 MHz and 12.4 MHz, respectively. The phase-lock-loop has a phase detector to monitor the horizontal blank signal from the VT100 anddivides the frequency of this signal by a set number for each aspect ratio.
Another function of the decoder is to select the mernory into which the data is to be loaded. This may
be Graph 0 memory, Graph I memory, vertical line and graph marker memory, or horizontal line memory. Data to these memories must always be in the form of two data characters (one data word). A 5-bit
data register holds the first character while waiting for the second. Then they are both parallel loaded
through a 2-line to I-line multiplexer, becoming RAM DATA to the inputs of each of the memories.
The memory enabled to "write" at this time is determined by the decoder. The load enable signal fromthe decoder is synchronized by the First Data flip-flop and the Load X-Data multivibrator. One of thefollowing signals is enabled to the memories.
WR GRAPH 0 L
WRGRAPH 1 L
WR DATA LWR HORIZ L
Data is then written into the appropriate memory, as shown in Figure 6-16.
Data for the shade lines (base lines) is loaded into Baseline 0 register and/or Baseline 1 register.
Data for the starting X-address is loaded into the initial X-address counter. The final X-address counter
is loaded to this starting X-address at the end of the current scan (by the 512-bit counter). Data forsuccessive X-address positions in memory only require one control character. The final X-address
counter increments the position in memory for placing the new data.
When a strip chart is enabled (from register 0), the clear input to the final X-address counter is disabled. This counter does not reset to zero, but rather it follows the initial X-address counter. New data
increments the X-address and is added to the end of the graph. This new data is the last data to be readfrom memory. Previous data is read one position earlier causing a shift in the video graph to the left.

6-25

6.4.1.2 Reading Data from the Waveform Generator (block diagram discussion) - As long as the terminal is in graph mode, the enabled graph data is read continuously from the waveform generator module.
The V-address down counter is initially preset to one of two values: 240 lines for the square aspect ratio,or 230 lines for the rectangular aspect ratio. The output of this counter is enabled through the 2-to-l
multiplexer, becoming RAM DATA to strobe the row address of the memories. As each scan proceeds
across each row, the X-address counter strobes the (;olumn address of the memories.
The output of each memory is strobed into a corresponding D-type data latch. This provides buffering,as well as an input source for rewriting the data back into memory so it is not lost. The data from eachmemory is sent to a respective 8-bit comparator where the data is compared to the V-address (YO-Y7).
If both inputs are high at the same time, a high output is sent to the video data latch to intensify that
position on the screen. If a histogram is enabled, all points below the graph position are also intensified.
If a cursor (graph marker) is enabled, 16 points are intensified on the screen creating a short verticalline on the graph at a specific graph point. If a shade: line (base line) is enabled at a specific V-address:(1) all X-address positions on that line are intensifit:d on the screen; and (2) all positions between thegraph data and the shade line are also intensified. If a vertical line is enabled at a specific X-address,
that X-address is intensified on each scan creating ~L vertical line on the screen.

All data is presented to the video data latch. At alternate times Histogram 0 and Histogram 1 data are
gated out. This allows two shaded graphs to be displayed on the screen and still be discernible in overlapping areas. Graph markers, horizontal lines, and vertical lines are clocked to the output every TIME
(1) H pulse. This timing comes from the phase-lock-loop previously mentioned.
The blanking gates keep track of both horizontal and vertical blank times from the VT100 .and create
the signal HORIZ + VERT H. This signal is used to clear the X-address counter and a 512-bit
counter. Every COUNT X 00 (1) H from this counter clock the window flip-flop at the proper time togate the video to the VT100 terminal controller. These signals are VIDEO H (GRAPHICS 1 IN L in
the VT100) and VIDEO 2 (GRAPHICS 2 IN L).
6.4.1.3 Decoding the Input- When the data receiv,ed is one of the control characters listed in Table 6-1,
bits 0-3 of the character are used to determine which control signal to enable. Only one set of control
characters is used for one M7071. The extended character set is primarily used for a second M7071
installed in the same terminal to enable up to four graphs or strip charts. These bits are sent to a binary todecimal decoder (Figure 6-17) that enables only one: of the outputs at a time.

Table 6-1

Control Characters
Unit 0

Char
@

A
B
C
D
H
I
J

K
L

Ext

Octal
Code

Enable Signal

Char

100
101
102
103
104
110
111
112
113
114

Load Baseline
LDENABLEOLLDGRAPHOLLDCURSOROLLD HORIZ LLDXLLDENABLE 1 L
LDGRAPH 1 L
LD CURSOR 1 L
LDVERTL

P

Q
R
S
T
X
Y

Z
[

\

6-26

Unit 1
Octal
Code
120
121
122
123
124
130
131
132
133
134

GRAPHICS FLAG L
0 ....- - - -

FROM
VT100
TBl

D007 H
01-------o[

WR GRAPHICS L">O~---I

COPY L/'"
DB6 H
LD CONTROL L

FIRST
DATA
F/F

DB5 H

~Vo~JL-D--M--O-D"""E-JH
50ns

LOAD
X-DATAMV
lOOns

r----------~-----~UNIT 1 H 0

W3LD X DATA H
TO LOAD X
ADDRESS
DATA
AND
WRITE
LOGIC

LD VERT L
LD HORIZ L
LD CUR 1 L
LD CUR 0 L
LD GRAPH 1 L
LD GRAPH 0 L

DB4 H
FROM
DATA
INPUT
LATCH

DB 2 HDB 1 HDB 0 HTO
REGISTERSLD ENABLE 1 L

D-TYPEFLlPFLOPSLD ENABLE 0 L
LD XL
NOP L

DB 3 H(LD BASELINE)
MA-4735

Figur1e 6·-17

Decoding the Control Character

6-27

The extended character set is reserved for future expansion. Current software does not support the extended character set. Discussion in this chapter is limited to unit 0 to avoid confusion.
Data bit 4 is used to load X-data and select Graph 1.
Two ASCII characters are necessary to transmit a complete data word. Data bits 5 and 6 monitor thesedata bits. The first flip-flop keeps track of the first and second data characters.
.
Data bit 7 (DO 07 H) forces the GRAPHICS FLAG high to halt further transmission from the VT100
terminal controller while the video screen is being copied by a hard copy unit. Signal COpy L is sent to
the hard copy unit on TB 1. The hard copy unit must detect and hold this signal low while it copies thescreen.
6.4.1.4 Selecting Mode of Operation - There are two formats or modes for setting up the display: rectangular format and square format. The rectangular format uses a 10.4 MHz signal to display graphic
data on the video screen in an area 230 dots high by 512 dots wide, as shown in Figure 6-18. The square
format increases the rate of transmission to 12.4 MHz. The same graphic information is displayed in amore compact area, as shown in Figure 6-19.
Rectangular Aspect Ratio - In the rectangular aspe4~t ratio graph drawing field, (Figure 6-18) space isprovided in the left margin for one character. Under the graph field, there is space for one line of characters. To set up the left margin, a delay is needed before starting the graph. Two signals (1.2 J1,s and
320 ns) are added together to create a 1.52 J1,S delay after horizontal blank time. This time allows spacefor one character in the left margin before starting the first X-address of the graph.
The horizontal line counter is initially loaded to 230 scan lines. Twenty-three lines of characters, eachhaving a 10-line scan cell, can print within the graph drawing field. A 24th character line can print
under the graph field.
Square Aspect Ratio - In the square aspect ratio graph drawing field, (Figure 6-19) additional delay
must be achieved before starting the first X-address. A 640 ns pulse clocks a counter loaded to divideby 8. A 5.12 J1,S delay occurs before starting the graph centering the graph field on the screen.
The square aspect ratio uses the full vertical screen area of 240 scan lines; 24 lines of alphanumeric
data can be placed on the graph field. Up to eight characters may be placed on the screen to the left ofthe graph field; up to seven may be placed to the riight of the graph field.
6.4.1.5 Decoding Field Selection - Selecting the field is accomplished by data bit 0 (DB 0) in thesecond data character following a Load Enable Register 1 instruction. The first flip-flop (Figure 6-20)
keeps track of the first and second data characters. The second data character enables FIRST (1) L
which clocks DB 0 into the VTI05 mode select flip-flop. If DB 0 is high, the square field is enabled. If
DB 0 is low, the rectangular field is selected.
The signal RESET H (lNIT L) from the VT100 terminal controller clears the mode select flip-flop andalso enables the rectangular field.

6-28

(XF

9

101

10.9 CM(43/B IN)

230 DOTS

14----+--------512 DOTS

A'--_--L._,A~________ 20.32 CM - - - - - - - I I o...f1~(X51110' yO)(BIN)

MA-4732

Figure 6-18

Rectangular Aspect Ratio Graph Drawing Field(X511, Y239)(XO, Y2391

1

I

I

I

T

I

240 DOTS

I
I
I

1 1.5 CM( 45/8 IN)

I

4BO DOTS

.. I
I

I

I
I

EIGHT
CHARACTERSr"

512 DOTS

I

...

I

-~

..J
I

I
(X511, YO)
I______15.2 CM

r-____
1~~~)M~(6.5INI

.. I

~~1

'---

7 CHARACTERS_ _ _ _ _ _ ..

MA-4731

Figure 6-19

Square Aspect Ratio Graph Drawing Field

6-29

FIRST (1) L

TO PHASE
LOCK LOOP,...V-T....l~O""""'5-"& Y-ADDR COUNTERCFROMLD CONTROL L [

D

DBO H

DFIRSTDATA
FLIPFLOP

MODE VT105 (1) H(SQUARE FORMAT)
FLlP-

SE~_~

ffuST

Ii

(0) H : Jr -__~CFLOP~----.

VT105 (1) L~~--(RECTANGULAR
FORMAT)

DECODER LD ENABLE 1 L
FROM
VT100
MA-4730

Figure 6-20

Selecting Mode of Operation

6.4.1.6 Phase-Lock-Loop Timing - A 10.4 MHz signal and a 12.4 MHz signal are needed to achieve
the rectangular and square aspect ratio, respectively. A phase-lock-loop (Figure 6-21) generates andmaintains these frequencies. The HORIZ BLK L signal from the VT100 terminal controller is used at
one input to a phase detector. The phase detector monitors the output of the voltage controlled oscillator (VeO) to detect any frequency drift. The output frequency is divided by the number N in acounter to approximate the HORIZ BLK L input. The value for N is 662 for the rectangular aspectratio and 800 for the square aspect ratio.
Should .the frequency drift, the difference between the leading edge of the inputs to the phase detector
is presented as a voltage change to the VCO and either raises or lowers the output frequency to compensate for the drift.

6.4.1.7 Establishing Desired Display - Selecting the desired graph, shading the graph, single or dual
strip chart operation, and adding vertical and horizontal lines is initially stored in registers, shown in
Figure 6-22. The signals LD ENABLE 0 Land LD ENABLE 1 L from the decoder enable register 0
and register 1, respectively. The first data flip-flop monitors the characters to enable the proper registerto store the type of graph desired.
Loading Register 0 - The letter A, when typed on the keyboard or coded in a program, enables register
O. One or two data characters may follow this letter. The first data character is clocked into aD-type
flip-flop to determine the graphs or histograms desired (Figure 6-23). DB 0 H must be set to display thegraphic features enabled in register 0 and register 1; if 0, the graphic display is turned off.
A second data character may be used to set up baselines (shade lines) or strip charts (Figure 6-24). The
state of the signal BASELINE CTRL determines whether Baseline 0 or Baseline 1 is to be loaded. Iflow, Baseline 0 may be loaded; if high, Baseline 1 may be loaded. See Paragraph 6.4.1.10 for moredetails on baselines.
DB 3 H enables the signal STRIP H to allow Graph 0 or Graph 1 to be a strip chart. DB 4 H enabies
STRIP H and DUAL STRIP H. Both signals are n:quired to display both Graph 0 and Graph 1 as strip
charts. Refer to Paragraph 6.4.1.15 for more information on strip charts.

6-30

HORIZ __- BlK l
VOLTAGECONTROllED
OSCillATOR

PHASE

FROM
VT100

DETECTOr~

TIME (1) H

VT105
(1) H

COUNTER

(1) l

ClK

(N=662)~~TO OUTPUT
CIRCUIT

PHASE
LOCK
LOOP

N

(N=800)VT105_____ . .-+_____________ .____________~~----------------~

r----------------L______[----------

TIME (1) l~--------~

TIME (1) H

- D
COUNT
ENABLECOUNT
TIME HFROM
HORIZ +
B lAN KI NG - VE R__T,;.....:;:l---,__- - - -.....~ CTO
X ADDRESSCOUNTERSGATES

VT1Of) (1) l
DELAY

FROM MODE:
SELECT F/F
VTl05+3V - Lr COUNTER

RECTANGULAR+1SQUARE

+8

(1) H

lD

CUP

1.2 J,LSVIDEO DELAY TIME

320 N S - - HORIZ BlK l

640 NS

IL.__--'

RECTANGULAR
MODE
1.52 J,LSSQUARE MODE-..J' J.-----_---..1'r - -r-5.12 J,LS---i
MA-4734

Figure 6-21

Phase-· Lock-Loop Timing

6-31

FIRST (1) H
LD MODE H_... LOAD·
DB 6 _ ~ONTROl
DB 5 bATES
LD CONTROL__.

REGISTER ...... CUR GRAPH 0

FIRST

1

DATA
FmST
F/F
~ (0) H...... CUR GRAPH 1...... VERTICAL LINE.~-

+HORIZ LINE
(2ND CHAR)WR GRAPHICS L

_

FROM
VT100

LOAD
MODE
MV

t-

50ns

..... HISTOGRAM 1
REGISTER r+-HISTOGRAM 0~

CLK

FROM 006
VT100 ~o~-~~----~~"
DB 6

~

OCTAL
INPUT
DATA
LATCH

~

~GRAPH1+GRAPH 0(2ND CHAR) !-t-DISPLAY (1) H

~ )1

DB 4
DB 0

STRIP
!+-DUAL STRIPANDBASELINE re-STRIP. -.....- - -......-:-... ENABLE

re-BASELINE ENA 01=~~I~TER !+-BASELINE ENA 00(3RD CHAR).. .I"'<

~

---C

~

"""--C~HEXCONTROLENABLE~ D-TYPE ~

F/F

i

~

DECODER!+-BASELINECTRL (1) H

LD ENABLE 1 L
LDENABLE 0 L

1ST__ DATAB DATA

1~"""---~~CHARACTER~Q-+4 (1) H
BUFFERr(1ST CHAR) ~TO X-ADDRESSCOUNTER,STATICa
MEMORIES,
1~~F~IR~S~T~(_OIllll)~H~---.;r~~~~~~__... AND BASELINE
2ND DATA CHARACTER DBQ-+3 H
REGISTERS
MA.4720

Figure 6-22

Loading the Registers

6-32

DB 4 HREGISTER 0

DB 3 HFIRSTDATACHARACTER

DB 2 HDB 1 HHISTOGRAM 1 (1) H
HISTOGRAM 0 (1) H
GRAPH 1 (1) H
GRAPH 0 (1) H
DISPLAY (1) H

DB 0 H
CLKFIRST (1) H
LD CONTROL L---(LD ENABLE 0 L---<MA·4728"---~

Figure 6-23

Register 0 (lst Data Character)iii'

DB 4 HDB 3 HDB 2 HDB 1 HSECONDDATACHARACTER

DB 0 HDUAL STRIP H

D-

-It-

BASELINE ENA 01 (1) H--III-

BASELINE ENA 00 (1) H-II-

BASELINE CTRL (1) H

FIRST (1) L
LD CONTROL LLD ENABLE 0 L

STRIP H

MA·4722

Figure 6-24

Register 0 (2nd Data Character)

6-33

Loading Register 1 - The letter I produces the signal LD ENABLE 1 L to enable register 1. One or two
data characters may follow this letter. The first data character enables horizontal lines, vertical lines,
and graph markers, as shown in Figure 6-25.
A second data character following the letter I enables the desired field and the interactive graphics test
(Figure 6-26). The square field is established when data bit 0 is set to 1; the rectangular field is selected
when DB 0 equals O. The rectangular field is also selected during the initial power-up sequence of theterminal by the signal RESET H (lNIT L) from the VT100 terminal controller.
The interactive test is used to check the M7071 in LOCAL mode of operation. See Paragraph 6.4.2.
6.4.1.8 Loading X-Address Information - In order to load the horizontal address of a dot or line, twodata characters must be transmitted. The first character contains the lower five bits of t4e binary Xaddress and is stored in a register while waiting for the second character with the upper bits. When bothcharacters are received, the signal LD X DATA II loads the initial X-address counter, (Figure 6-27).
When the current scan is complete, this data is loaded into the final synchronous X-address counter and·presented to the random access memories.
During a write data program, the signal LD X DATA L clocks the pre-write flip-flop which triggers thewrite monostable multivibrator. The write multivilbrator enables one of four write pulses to the RAM
memories, either WR GRAPH 0 L, WR GRAPH 1 L, WR HORIZ H, or WRITE DATA L. Thislatter pulse is the write input signal to the vertical line and graph marker static RAMs. If either of thegraph write pulses or WRITE DATA L is present., the initial X-address counter is incremented to beready for the next data point.
When the pre-write flip-flop is cleared, GRAPHICS FLAG L is sent to the VT100 terminal controller,
confirming that the data has been stored in the static RAMs, and they are ready to receive a new dataword.
6.4.1.9 Loading Graph Memories - Characters 13 and J produce signals LD GRAPH 0 Land LD
GRAPH 1 L from the decoder. When enabled by the write multivibrator, these signals become WR
GRAPH 0 Land WR GRAPH 1 L that determine into which memory to write the data.
The second and third characters of a load graph instruction form an 8-bit V-value. This data passes
through a two-line to one-line multiplexer becoming RAM DATA 0-7 (1) H, (Figure 6-28), The data isthen written into memory in the address, XADD 0-7, from the X-address counter.
Each RAM memory has 25610 X 4 bits of space available. Four of these are connected together toprovide 512 X 8 bits of memory for each graph. The signal X ADDR 8 L enables the upper memory
addresses, location 256 to 511.
The M7071 uses a down-counter for a V-address monitor. For the rectangular field, the down counter is
initially loaded with address 23010 each time the scan reaches the bottom of the screen. The scan thenstarts at the top-left corner of the screen. After each row of X-address information is processed, the Yaddress monitor is counted down one increment. (For the square field, the down counter is initiallyloaded with address 24010.)
In order to read memory, only the X-address must be available. The position of the graph data is -compared with the current V-address of the scan. If they are equal and the graph is enabled, the position on
the screen is intensified.

6·-34

REGISTER 1

DB 3 HDB 2 HCUR GRAPH 0 (1) H
CUR GRAPH 1 (1) H

FIHST
DA.TA
CHARACTER

DB 1 HDB 0 HVERTICAL LINE (1) H
HORIZ LINE (0) H

ClK
lD CONTROL L
lD ENABlE.J.J=-o
FIRST (1) H_
MA-4723

Figure 6-25

Register 1 (1 st Data Character)

VT105 (1) H(SQUARE)

DB 0 H
D-TYPEFLIP-

DB5H~
DB 6 LLD MOD E~FIRST(~)LLD CONTROJ-.L'-_---'"LD ENABLE 1 L

TOPHASE LOCK LOOPFLOP)'"""'"T'""----..I'--__
CONTROL
ENA H

DB1H-.[::>o--'-_ _----'

VT105 (1) L(RECTANGULAR)

INIT LDUALMONOSTABLE
MULTIVIBRATORTEST (1) H

NOTE:
DB 2 ~ DB 4 NOT USED
MA-4724

Figure 6-26

Register 1 (2nd Data Character)

6-35

2ND DATACHARACTER

1ST DATACHARACTER
LD XL

DB 3 Ht

INITIALX
ADDR

DB 0 HB DATA 4t
B DATA ()ADD 08t

XADD 7t
X ADD 0,

ADD 00
INCREMENT
COUNTERLDFROMDECODER LD VERT L
LD CUR 1 L
LD CUR 0

X ADDR 8 L

FINAL
X
ADDR

LOAD
DATA----SYNC
COUNTER

CUP

CLK

TO
RAM
MEMORIESLD

COUNT TIME H
COUNT UPLD X DATA H
WR
GRAPH 0ODD EVEN (1) H

L

WRITE
DATA TORAMMEMORIESX STOP (1) L
WR
GRAPH 1 L

Lj )XSTOP(l~ )WR
HORIZ HLD HDRIZ

LD X
DATA

WR
DATA L..
...

PREWRITE (1) H

LD X DATA L

PREWRITE
FLlPFLOP
GRAPH ICS FLAG L

WRITE DATA L

TO
VT100

DIS CLR + INIT L
MA-4725

Figure 6-27

Loading Address Data

6·-36

1ST DATACHARACTERB DATA 0-4 H
2ND DATACHARACTE R DB 0-2 H

WR GRAPH 0 L

•

.-

0-255

RAM DATA 0-7

A•

I 256-511
II'0 DATA 0-7

GRAPH 0MEMORYI

2-L. IN E
TO
1- L. IN E
MU X

I

A~D 8 LX
WR GRAPH 1 L

.-

~
0-255

~

,

I 256-511

I

FROM
X-ADDR
COUNTER

GRAPH 1MEMORYI,X ADD 0-7

Y1DATA
0-7

I~

A GRAPH ol--____A..;..;O;.....<~B...;;.O...
AO = BO.

YADDRCOMPAR~ BATOR
r--

AO>BO
TO OUTPUT[
CIRCUITHISTOGRAM 0 (1) HAND
BASELINE
A1 < B1 .. GENERATOR....,........ A GRAPH 1

YINITIAL
INPUT
23010
OR
24010* ..

ADDRB COMPAR---po'
ATOR
~

L----

Y
ADDR
MONITORDOWNCOUNTERLD

VERT BLANK H ,HORIZ + VERT L

A1 = B1 ....

A1 > B

YO=-(-.'...
) """"H_-...
Y....
7 ....
(1...
) ...
H_...........
--TO BAS"ELINE

CON

f

-..

COMPARATORS*SQUARE FORMAT

MA·4733

Figure 6-28

Graph Memory and V-Address Monitor

6-37

6.4.1.10 Generating Baselines (Shade Lines) (Figure 6-28) - Data bit 0 in the second data character
following a load register 0 creates a signal called BASELINE CTRL (1) H. If high, this signal loads abaseline for Graph 1; if low, it loads a baseline for Graph O. (See Paragraph 6.4.1. 7 for loading register0.)
The position of the baseline is determined by two dat.a characters following the character @ (NaP). As
the scan proceeds from top to bottom, its V-address is compared with the position of each baseline.
When they are equal, the baseline is intensified on t.he screen.

6.4.1.11 Enabling a Histogram (Shading a Graph) .- This section explains how to enable a histogram,with or without a baseline.
Without a Baseline (Shade Line) Enabled- Enabling a histogram intensifies points below a graph to thebottom of the graph drawing field. Data bits 3 or 4 in register 0 enable HISTOGRAM 0 (1) Hand
HISTOGRAM 1 (1) H, respectively. These signals, shown in Figure 6-28, enable all points below thegraph determined by the Y-address comparato~.
With a Baseline (Shade Line) Enabled- When its baseline is enabled, a graph is shaded between thegraph line and its baseline. To do this, two sets of I~omparators are used. One comparator, shown in
Figure 6-28, monitors the position of the graph with respect to the current scan. The other(Figure 6-29)
compares the position of the baseline with that of the: current scan. Together, they determine the points
to be intensified. The baseline can be moved up or down, and the intensified area changes accordingly.
Bits 3 and 4 in register 0 enable Histogram 0 and Histogram 1, respectively. These bits should not beenabled if the baseline is enabled for that particular graph. Shading the histogram to line 0 eliminates
the visual effect of shading only those areas between the graph and the movable baseline.
6.4.1.12 Loading Verticall-ines - Vertical lines are loaded with two data characters following the letter L. Bit 4 of the second data character [8 DATA 9 (1) H] with LD VERT H from the decoder provide the data input (D13) to the vertical line and graph marker memory. The other bits of the two datacharacters transmit the X-address in memory where the vertical line is to be stored. (See Figure 6-30.)
If B DATA 9 (1) H is high, the vertical line is loaded; if low, the line is erased at that address.
Memory is continuously read by the X-address counter. Data in the current address is monitored by aD-type latch and is enabled only if VERTICAL LINE (1) H is present in register 1. This causes VERTLINE L to be sent to the output circuit. Every othler point at a particular X-address is intensified tocreate a vertical line. Up to 512 vertical lines can be enabled on the graph field.
As the vertical line is read from the static RAM, its position is fed back (item C in Figure 6-30) andrewritten into the RAM so as not to lose the data.
When the strip chart feature is enabled, vertical lines follow the graph address in a wraparound fashion;that is, vertical lines move from right to left with the strip chart graph. When the current address exceeds address 51110, the vertical line data is taken again from the beginning, address 0, 1, 2 ... , etc.

6-38

DB 2

t
DBO

2ND DATACHARACTERB DATA 4

BASELINE
1
STORAGEBASE 17 III H
f
BASE 10 (1) Ht~~TA~~~~EQ"-_ _B_D_A_T_A__O...ol~ REG ISTE R
A1 <BlNOP H
BASELINE CTRL (1) H
LD XDATA Hs

SCAN<BASELINEA <B

BASELINE 1~"""""""'------' A

FROM V·ADDRESSMONITORDOWNCOUNTER>B

Al > B1 GRAPH 1> V·SCAN

vo (1) H .... V7 (1) H

AO < BO GRAPH 0 < V·SCAN

BASELINE

TO OUTPUT
CIRCUITSCAN < BASELINEA<BoBASELINE 0....----~A Y
A=B
ADDRESSCOMPAR·
ATOR

SCAN> BASELINE~.....,B_--,A >B
DB 2

GRAPH 0 > V·SCANt
2ND DATACHARACTER

1ST DATACHARACTER

DB 0
BASELINE

B DATA 4t
B DATA 0o

BASE 07 (1) Ht
BASE 00 (1) H

AO>BOSTORAGEREGISTERNOP LBASELINE CTRL (1)LD XDATA L
MA ••I1:J6

Figure 6-29

Baseline (Shade Line) Registers and Comparators

(FROM WRITE MV)
WRITE DATA l.

LO VERT H

1----iWW

BOATA9(llH

VERT DATA. H

013

r------~ 012

VERTICAL
LINE---------------~-~-~~CS
AND
X-ADDRX ADD 0-7
GRAPH MARKER
COUNTER----------~~--~MEMORY·----..011

FROM'X ADD 8

LD CUR 1 H

LDCUR 1 L

CUR 0 DATA H(FROM REGISTER 1)
VERTICAL LINE (1) H

Y01 H - - - - _HORIZ ('I) H TO--.. OUTPUT

HORIZ LINE L
FROM HORIZLINE STATIC
RAM

QUAD
D-TYPELATCH

VERT LINE L

VERT LINE (1) H

TO
OUTPUT
CIRCUIT

I~_---..I"©
CUR 1 (1) H
CURO(1)HCUR 1 ENA H
CUR GRAPH 1 (1) H
TO Y-ADDRCOMPARATORFROMREGISTER 1
CUR GRAPH 0 (1) H)CUROEN~~-MA-4718

Figure 6-30

Vertical Line and Graph Marker Memory

6-4·06.4.1.13 Adding Graph Marker - The graph mark(!:r in the VTI05 is a short vertical line that straddles
the graph. For each graph marker, 16 additional dots on the screen are enhanced above and/or below
the graph point. The number of dots above or below the graph point is hardware-dependent according to
the current graph position. If the graph is at the top of the screen, the 16 dots are all below that of thegraph point; if at the bottom, they are all above the: graph point.
Loading a graph marker is accomplished by two data characters following the letters C or K. These
letters are decoded as LD CUR 0 Hand LD CUR 1 H, shown in Figure 6-30. When bit 4 of the second
data character [B DATA 9 (1) H] is a one and WRITE DATAL is present, a graph marker is loaded in
the address formed by the two data characters. If bit 4 is a zero, the graph marker is erased.
When the graph marker is enabled and read from memory, an equal condition is forced from the lower
four bits of the V-address comparator (Figure 6-31). The upper 4-bit comparator holds this equal condition until one of its bits changes. This does not happen until the V-address has decremented 16 lines.
The graph data point may be on anyone of these- 16 lines causing the graph marker to vary in numberof dots above and below the graph point.
As the X-address is incremented, the output of the vertical line and graph marker memory is monitored
by a D-type latch. As with the vertical line data, the graph marker data is also fed back into memory(items A and B in Figure 6-30) and wraps around when in strip chart mode.
6.4.1.14 Generating Horizontal Lines - A horizontal line is loaded with the character D. The two datacharacters following the 0 represe:nt an 8-bit V-position of a horizontal line. Data bit 4 in the second
data character enables the signal DIS CLR + INIT H that allows the A inputs to the two-line to oneline multiplexer (Figure 6-32) to be gated out. The data, or address of the line, is then presented to the
256 X 1 static RAM memory. Data bit 4 [B DATA 9 (1) H] is also the data to be written into memory.
If it is a one, a horizontal line is stored; if zero, a li.ne is erased at that address.
A down-counter is used for trackiing the V-address when reading data from memory. To read frommemory, only the V-address is needed. A compleme:nt of the data in memory is the output. From register 1, HORIZ LINE (1) L enables all points at that Y-address creating a horizontal line. The signal 320 ns
allows only every other dot to be displayed to decrease its intensity.
6.4.1.15 Generating Strip Charts - Strip charts are enabled by the second data character following aload enable register 0 instruction, as shown in Figure 6-33. Data bit 3 (DB 3 H) of this register enables
the single strip chart feature; either Graph 0 or Graph 1 can be incremented from right to left acrossthe screen.
Data bit 4 (DB 4 H) of this register enables the dual strip chart feature; both Graph 0 and Graph 1 data
can be incremented from right to left across the screen. This must be done in the following sequence.
Data Entry
Enable Graph 0Enter Graph 0 data
Enable Graph 1
Enter Graph 1 data

Charader(s) Transmitted
B
Two data charactersJ
Two data characters

6-41

GRAPH 0 (1) H - - - - \ ,)CUR 0 ENA H - - - - #>.

&..-J_ _GRAPH
POSITION--YO DATAO~ 7H

A

A<B

I..-

A=B

Y4-Y7 (1) H

AO < BO _

.. B

A>B

A=B

AO= BO

AO> BOTOO UTPUT
CIRC UIT
..

=
4~

-

j

r

A<B r--. A

A= B .

VERTICAL YO-Y3 (1) H_
... B
SCAN
POSITION

\

~

)-

A>B

CUR 0 ENA H
MA-4726

Figure 6-31

Graph Marker V-Address Comparator

2ND DATA
DBO-2H
CHARACTER---------~---------.--------~~
1ST OAT A..Jl;,..;D;;,;A_T.;.,;A...o..;,O_-...
4 ...( l_)_H_._-------I~A 2 LI N E
TOCHARACTER __----~
1 LINEMUXYADDRESSLOAD TO 23010 DOWN
(OR 24010*)
COUNTERYO (1) H ~ Y7 (1) H--,;"";"O-----.......
- . ------.... B

LD'CDN.f

VERT BLANK HI

j,

DIS CLR + INT L
2:S...STOP (1) L

HORIZ + VERT LDISCLR+INTH

I

2S.-STOP(l)H)

160,....N_S_ _ _ _ _J
HORIZ LINE (1) L(FROM REGIISTER 1)

RAM DATA
0-7 (1) H(Y-ADDRESS)

256 X 1STATIC
RAM
HORIZ
HORIZ
LINE
RAM
MEMORYRAM DATA
0-7 (1) H

LINE LTOOUTPUT
CIA-CUlT

TO
GRAPH
DATA
INPUTS

320 NS* SQUARE FORMAT**LOW: OUTPUT = A; HIGH: OUTPUT = B
MA-4727

Figure 6-32

Horizontal Line Memory

6-43

DB 3 HOVERFLOW (1) H
INITIAL~
2ND DATA
DB 0 H .. X ADD
CHARACTER
INCREMENTADDR 00-:-08 (1) H
B DATA 4 (1) H COUNTERt
1ST DATACHARACTER B DATA 0 (1) H

t

FROM
DATA
REGISTER

FINAL
XADDR
COUNTER

..

...

-

-

TO GRAPH
MEMORIES

.

-

I .,

LD CUPCDNLD X H
FROM DECODER
LD X DATA H

l-------~

X ADD
0-8 H

CLR CLKLDCOUNT TIME H l)

Y

L...-_ _--.

HORIZ + VERT H r - - .....- ) +3VH
I

WR GRAPH 1 L~,_ _ _ ..

WRGRAPHOL~:~::~:;:I: ---Y,t.--_.-)o

)
I

2ND
DATA
CHARACTER-STRIP--~J----' ENA (1) L

BIT4~
,---

BIT 3

STRIP
ENA
F/F
~--e-ICLDXDATAHREGISTER-DSTRIP H

109_~START'::,....~~------ 512
BIT

-

~

X STOP (1) H
X STOP
F/F

COUNTEF:~

TIME-+ C

~

(1) H

~

DUAL STRIP H ~(,)-

HORIZ + VERT L

LD

CLK

f
COUNT TIME H
MA·4721

Figure 6-33

Gem:rating Strip Charts

6-44

Single Strip Chart Operation - Two X-address counters are used to create the strip chart motion. Without the strip chart feature e:nablc~d, the final X-addrc~ss counter is cleared to zero at horizontal blanktime (by HORIZ + VERT H). With a strip chart (mabled, this clear signal is disabled allowing thefinal X-address counter to fqIlow. thc~ initial X-address counter counting in a wraparound manner.
Data 'is loaded into the graph as usual for addresses up to 511. At address 512, an overflow occurs in theinitial X-address counter. OVERFLOW (1) H clocks the strip enable flip-flop disabling the clear signal
to the final X-address counter.
A 512-bit counter monitors the horizontal scan position and enables the load signal for the final Xaddress counter only aftercdmpleting the current line. New data increments the X-address and is
added to the end of the graph. This new data is then the last data to be read from memory. Previous
data is read one position earlier (~au:sing a shift in th(~ video graph to the left.
When the strip chart is disabled, the final X-address (~ounter is cleared at horizontal (or vertical) blanktime regardless of its current count. This causes the displayed video graph to reposition itself as thecounter is reset to zero.
Dual Strip Chart Operation -- For dual strip chart operation, data bit 4 in register 0 must be set, creating
the signal DUAL STRIP H. Data for both Graph 0 and Graph 1 must be placed at the, same X-addressand shifted simultaneously. Refer to the timing diagram (Figure 6-34) and the following sequence of
events.
1.

An instruction to load Graph 0 is received. WR GRAPH 0 L is placed on the count-up input
to the initial X-address counter. The data is written into Graph O. After 50 ns, WR GRAPH
o times out, and the counter increments one address.

2.

When the command to load Graph 1 is received, the Initial X-address counter counts down
one address.

3.

WR GRAPH 1 L is placed on the count-up input to the initial X-address counter. Data is
written into Graph I. After 50 ns, the initial X-address counter increments one address.

When the initial X-address count.er is incremented, this new address is loaded into the final X-address
counter at the end of the current graph line [as X STOP (1) H goes low]. The last data word entered ineach graph is the last X-address read.
Incrementing the initial X-address counter, by adding a new data word to each graph, causes the final
X-address counter to access that data last in both memories. This causes both graphs on the screen to
shift simultaneously one unit to the left for each new set of data words.
The 512-bit counter that monitors the graph drawing field is initially loaded to a 1 in dual strip chartmode. A count of 512 is reached one count time earlier, eliminating the last bit position on the graph.
This removes the switching motion that would be visible on the screen while alternately plotting data on
Graph 0 and Graph I.

6-45

DUAL STRIP H

J'""-"'-----"'n~

LD GRAPH 0 H'

__1L

U

WR GRAPH 0 L.U-nlo--_____LD GRAPH 1 H _ _ _ _ _ _WR GRAPH 1 L--JI--------.Uu

COUNT UP*COUNT DOWN*----------LJ

ADD 00-+08
STRIP ENA (1) L

u

u
510 I

511

510

I I

LJ
511

°

511

I I

u
U
U

°

1°1

I 2

-r----..-f- -OVERFLOW OFINITIAL X-ADDR
COUNTEFIVIDEO PICTURE
STARTS MOVINGHERE* INITIAL X-ADDR
COUNTER
MA-4729

Figure 6-34· Dual Strip Chart Timing Diagram
6.4.1.16 Combining Video Out and Timing - All data signals generated within the M7071 are combined to form one video output to the VT100 terminal controller (Figure 6-35)
The timing signals are developed by the phase lock loop· using HORIZ BLK"L from the VT100 terminal controller. (See Paragraph 6.4.1.6.)
Graph 0 and Graph 1 data, horizontal lines, vertical lines, and Graph 0 and Graph 1 markers are presented to the video output every TIME (1) H. At COUNT TIME H the 512-bit horizontal counterclocks the window flip-flop to gate the data out.
Histogram 0 or Histogram 1 data is alternately enabled to the video output with TIME (0) Hand
TIME (1) H. This allows both shaded graphs to be discernible in areas on the screen where they overlap.

6-46

TIME
(1) H

BASE LINE ONE H
WITH SHADED GRAPH~HISTOGRAM 1(IF NO BASELINES)

D2
OUAD
D-TYPE

BASE LINE ZERO H
WITH SHADED GHAPH ~HISTOGRAM 0(IF NO BASELINES)
GRAPH 0OR GRAPH 0 MAH~i

D1
FLIP-FLOPHORIZ (1) H
GRAPH 1 OR GRAPH 1 MARKER
VERT LINE l

TIME (0) H

DO
CLiK

~

TIME (1) H _ _ _ _- I

VIDEO

H
109

----

~-_J

WINDOW

512
BIT
HORIZ
DOT
COUNTERDUALSTRIP H

TO
VT100

ClK.
VIDEO
F LlP-F lOP

2

ST AJrrJ:_1'--)H-+--..,. K
CO'UNT XOO (1) H

HORIZ + VERT L
COUNT TIME H~----------------~

FROM
VT100

DELAY
COUNTEH

HORIZ~B~l~K~L-1"---' ISO UA R E
PHASE
LOCK
lOOP
fRECTANGULAR

MA-4719

Figure 6-35

Combining Video Out

6-47

6.4.2 VTI05 Graphic Test Procedure
The interactive test feature of the VTI05 is a series of displayable test patterns. These patterns verify
that all waveform generator features are operating correctly. Perform these data tests in the order indicated.
NOTE
The tests described in this procedure are run in therectangular format. The tests may also be run in thesquare format, but the test patterns are slightly different.
Do not use the SPACE BAR unless the word
<SPACE> is spelled out.
Remember to use the SHIFT key for uppercase symbols; the CAPS LOCK kf~y is only used for uppercase letters.
If at any time the wrong I~haracter is entered, initialize the registers and memories by typing the following sequence.

A<SPACE> <SPACE>I 0 I<SPACE> "Then reenter the test data.
6.4.2.1

Test Setup

1.

Place the terminal LOCAL.

2.

Turn on the auto repeat feature (in SET-UP B group 1, switch 2 = 1).

3.

Type the following sequence.
<ESC>1 I<SPACE> <SPACE> I<SPACE> "6.4.2.2
I.

Test Graph 0, Histogram 0, and Graph 0 Markers
Type the following sequence.

A#
The graph test pattern in Figure 6-36 is now on the screen.
2.

Type the following sequence.
A)

The histogram test pattern in Figure 6-37 is now on the screen.

6-48

3.

Type the following sequence.
1$

The graph marker test pattern in Figure 6-38 is now on the screen.
4.

Type the following sequence.

I<SPACE> A<:SPACE>
The graph 0, histogram 0, and graph 0 markers are now disabled.

---

MA-4741

Figure 6-36

Graph Test Pattern

6-49

MA·4742

Figure 6-37

Histogram Test Pattern

MA·4743

Figure 6-38

Graph rvIarker Test Pattern

6-:50

6.4.2.3
1.

Test Graph 1, Histogram Jl, and Graph 1 Mlarkers
Type the following sequence.

A%
The graph test pattern in Figure 6-36 is now on the screen.
2.

Type the following sequence.
At

The histogram te:st pattern in Figure 6-37 is now on the screen.
3.

Type the following sequence.
I(

The graph marker test pattern in Figure 6-38 is now on the screen.
4.

Type the following sequence.

I<SPACE> A<SPAC]8:>
The graph 1, histogram 1, and graph 1 markers are now disabled.

6.4.2.4
1.

Test the Horizontal LilIes
Type the following sequence.
A!I!
The horizontal line test pattern in Figure 6-39 is now on the screen. Note that the test pattern
appears to be a series of vertical lines. This is the correct test pattern.

2.

Type the following sequt!TIce.

I<SPACE>The horizontal line test pattern is now disabled.

6.4.2.5
1.

Test the Vertical Lines
Type the following sequence.
A!I"
The vertical line test pattern in Figure 6-40 is now. on the screen. Note that the test pattern
appears to be a series of horizontal lines. This is the correct test pattern.

2.

Type the following se:quence.

I <SPACE>
The vertical line: test pauern is now disabled.
6-51

MA-4744

Figure 6-39

Horizontal Lines Test Pattern

MA-4745

Figure 6-40

Vertical Lines Test Pattern

6-52

6.4.2.6 Test Shade Line 0 (Baselillle 0)1.

Type the following se1quemce.

A#"
The shade line test palttern in Figure 6-41 is now on the screen.
2.

Type the following sequemce.

@11 22 33445566 ·<SPACE><SPACE>
The shade line shifts upward with each pair of numbers typed.
3.

Type the following sequemce.

A<SPACE> <SPACE:>
The shade -line 0 test pattern is now disabled.

-----------------------------------------~------~-----_._-----------~------------ ---_- -_--- ---- ----.
------

MA-4746

Figure 6-41

Shade Line (Baseline) Test Pattern

6-53

6.4.2.7 Test Shade Line 1 (Baseline 1)
1.

Type the following sequence.
A%%

The shade line test pattern in Figure 6-41 is now on the screen.
2.

Type the following sequence.

@11 22 33 44 55 66 <SPACE><SPACE>
The shade line shifts upward with each pair of numbers typed.
3.

Type the following sequence.

A <SPACE> <SPACE>
The shade line 1 test pattern is now disabled.

6.4.2.8 Test Strip Chart 0
1.

Type the following sequence.

I<SPACE>"A+(The histogram test pattern shown in Figure 6-37 is now on the screen.
2.

Type the following sequence.
H??B
The strip chart test pattern shown in Figure 6-42 is now on the screen.

3.

Type any sequence of two numbers. This moves the graph to the left. The SPACE BAR enters a 0 as in Figure 6-42, 11 enters data at line 49, 22 enters data at line 82, etc. Hold down
the number key if in auto-repeat mode.

4.

Type the following sequence.

A <SPACE> <SPACE>
The strip chart test pattern is now disabled.

6-54

MA-4747

Figure 6-42

Strip Chart Test Pattern

6.4.2.9 Test Strip Chart 1
1.

Type the following sequence.

1< SPACE>"A5(
The histograrn test pattern in Figure 6-37 is now on the screen.
2.

Type the following sequence.
H??J
The strip chart test pattern in Figure 6-42 is now on the screen.

3.

Type any sequence of two numbers. This moves the graph. The SPACE BAR enters a 0 as in
Figure 6-42, 11 e'nters data at line 49, 22 enters data at line 82, etc. Hold down the number
key if in auto-repeat nrlodle.

4.

Type the following sequence.

A <SPACE> <SPACE>
The strip chart test patte:rn is now disabled.

6.4.2.10

Exit the Graphic Test Mode

1.

Type the following sequence.

IO<SPACE> A <SPACE> <SPACE> I <SPACE> <SPACE> <ESC> 2
The terminal is now in interactive mode.
6-55

6.5 VTIXX-AC PRINTER OPTION
The VTIXX-AC option provides an interface between a VT100/VTI32 terminal and a serial printer.
6.5.1 Option Installation
Use the following procedure to install the VTIXX-AC option in a VT100/VTI32 terminal.
1.

Turn terminal power off and remove the terminal access cover (Paragraph 5.4.1).

2.

Remove the terminal controller board (Paragraph 5.4.2).

3.

If installed, remove the advanced video board (AVO) from the terminal controller board(Paragraph 5.4.3).

4.

Reconfigure the VT100 terminal controu,er board. This consists of removing the ROMs 0, 1,
2, and 3 from the controller board, and replacing them with the ROMs shipped with theprinter option. Figure 5-32 shows the ROM locations on the terminal controller board. The
VT132 does not use the ROMS sent with the printer option kit. Table 5-7 lists the ROMs
used in each product.
NOTE
If the terminal controller board ever fails, remove
the printer port ROMs. Then, move the ROMs thatcome with the replacement terminal controller board
to the defective board before returning it for repair.

5.

Reconfigure the advanced 'video board (AVO). This consists of removing any ROMs
mounted on the board and replacing them with the ROMs shipped with the printer option.
Also check, and change if necessary, the jumpers or switches on the AVO board. Figures 533 and 5-34 show the new ROMs installed on the AVO board. Tables 5-8 and 5-9 show thecorrect switch positions and jumper locations for the AVO board. Table 5-7 lists the ROMs
used in each product.
NOlTE
Do not discard the ROMs removed in step 6 until after the terminal and option have been successfully
tested. If the AVO boa:rd ever fails, remove all
ROMs from the board before the board is returned
for repair.

6.

Install the AVO board on the terminal controller board (Paragraph 5.4.3).

7.

Install the printer interface option board in the STP connector, J3, of the terminal controller
board (Paragraph 5.4.5).

8.

Reinstall the terminal controller board in the terminal.

9.

If installed, remove the 20 rnA current loop option board and connector from the access cover. Reinstall the option board and connector in the new access cover shipped with the printeroption (Paragraph 5.4.8).

NOTE
Discard the old access cover after the terminal andprinter option have been successful}y tested.

6-56

10.

Attach the option designation label to the rear of the terminal. Attach the new SET-UP label
to the bottom of the keyboard. If the terminal is a VT132, transfer the SET-UP settings tothe existing label.

11.

Reconnect all cables you removed from the rear of the terminal in step 1.

12.

Perform the printer option checkout procedure,

6.5.2 Printer Port Option Checkout: Procedure
Two different test programs check out the printer interface; the power-up and the printer interface data
loopback test.
NOTE
The termimll will fail the NVR section of the powerup test (error code 2)' when first powered up after
the printer option is installed. Correct the condition
by performiing a save operation on the current contents of the NVR.
6.5.2.t•••

Power-Up Test - You can start the power-up test in any of the following ways.
Turn the terminal powe:r switch on
Reset the terminal in SET-UP mode
Type the following sequence in LOCAL.
<ESC>[2;ty

The terminal displays Wait while executing the test. When successfully completed, the screen clears.
NOTE
The continuously running test ends only if it finds anerror, olr you turn off power., The VTtXX-AC is nottested during a continuous tlest.
The error indications for this tlest are as follows.
•••

Lighted keyboard indi(;ator (other than ON LINE or LOCAL)
Character displayed on screen under the blinking cursor
Unlighted VTIXX-AC indicator (located on the printer interface board)

Table 6-2 shows the keyboard indicator error codes and their meanings.
Table 6-3 shows the error character displayed on the screen under the blinking cursor. Any errors detected by the test appear on the terminal screen as a character in the upper-left corner.
NOTE
If char:act,er 4 appears, chE~ck that the keyboard isplugged in.

6-57

Keyboard Indicator Error Codes .

Table 6-2
Error

Ll

L~!

L3

L4

ROM 0 checksum
ROM 1 checksum
ROM 2 checksum
ROM 3 checksum
Main data RAM

Off
Off
Off
Off
Off

Orf
Orf
Orf
On
On

Off
On
On
Off
Off

On
Off
On
Off
On

Table 6-3
Character

Fault Detected
NVR
AVO

Displ:ayed Error Codes

KBD

DATA

X

1
2
3
4
5
6
7
8
9

X

X
X

X
X

X
X

X
X
X
X

X
X

<

X
X

X

>

X

?

X
X

X
X
X
X

X
X
X
X
X
X
X
X

6.5.2.2 Printer Interface Data Loopback Test - Use the following procedure to perform the printerinterface data loopback test.
1.

Turn the power switch off. Install the data loopback connector (PN 12-15336) onto the printer interface connector (the upper EIA connector). The data loopback connector is also used
to perform the EIA communication int(~rface data loopback test.

2.

Turn the power switch on. The terminall performs the power-up test.

3.

Enter SET-UP B and place the terminal: in the ANSI-compatible mode (group 2 switch 3 =1). Perform a save operation.

4.

Place the terminal in printer port test nlOde (SET-UP B group 5 switch 4 = 1).

5.

Enter SET-UP C. Select the proper printer transmit/receive speed. Use either the 7 or 8
key on the main keyboard to select the speed.

6-58

6.

Place the terminal Or~-LINE and exit SET-UP mode. The screen now displays: PRINTER
PORT TEST MODE

7.

Type one of the following sequences.
(single pass test)<ESC>[2;2yor<ESC>[2;10y(continuously running test)

NOTE
The continuously running test ends only if it finds anerror, or you turn off powc~r.
Any error detected by the test appears on the terminal screen as a character in the upper-left corner.
Table 6-3 shows the possible error codes. A printer interface data loop back test error is shown by an X
in the Data column.
6.6 VTIXX-CB, -CL KITThe VTl XX-CB, -CL kit includes all the parts needed to install a VT125 Graphics Processor in a
VT100 or VTI05. This section explains the procedure.

NOTE
Befor'~ installing the graphics processor, check theROMs and the etch revision level on the terminal
controller board (step 3 of this procedure). Compare
the numbers of the ROMs on the board with the
numbE~rs in Figure 6-43. They should be equal or
larger.

Check the etch number on the solder side of theboard. Look for the number 5013008 followed by aletter. If the letter is D, E, etc., you can use theboard. If the letter is A, B, or C, you cannot use theboard. Use the EIA line filter connector (included
in kit) with a Revision F board.
If the bo:ard does not meet either of these prerequisites, ,consult your Field Service branch office.

6-59

-H::JROM3~
23-034E2

J2
GRAPHICDOPTIONCONN.

ROM223-033E2

I ~~
ROM1~

23-032~ L--J
ROM 0
23-061 E2ADVANCED
VIDEO
OPTION
CONN.

20 Ma
J5
OPTION
CONN. -I I

STP
CONNECTOR J3

I

EIA
I
CONN. J41
I

J8

J6

J9

CHARACTER
GENERATORKEYBOARD
CONN.

D
23- 061 E2

NUMBER SHOULD BE 061

OR LARGERNOTE: ROMS MAY BE
INSTALLED IN ANY
ORDER ON TERMINALCONTROLLER BOARD.
MA-4582A

Figure 6-43

6.6.1

Check ROM Numbers

Installation

You need the following tools to install the VT125 graphics processor.
••••

1/ 4-inch nutdriver
2 Phillips screwdrivers
Needlenose pliers
3/ 16-inch blade screwdriver

Use the following procedure to install the VT125 graphics processor in a VT100 or VT.I05"
1.

Turn off power and remove the access cover (Paragraph 5.4.1).

2.

Remove the top and bottom covers (Paragraphs 5.4.14 and 5.4.15).

3.

Remove the terminal controller board (Paragraph 5.4.2).

6-60

4.

For a VT100: Remove the terminal controller edge connector by performing one of the following two steps"a.

Release the two retaining rings from the edge connector with needle nose pliers.

b.

Lift the clips at the: top and bottom IOf the edge connector and discard.

For a VT105 or VT125: Disconnect the power cable from the VTI05/VT125 expansion
backplane, and remove the backplane (Paragraph 5.4.23).

5.

The new expansion 1backplane has two capacitors on it, and its terminal controller edge
connector has an alignment key in it. Remove this key with needlenose pliers unless installingthe option in a te:rminal with a Revision F or higher terminal controller board. Install the new
expansion backplane with four 12.7 mm (1/2 in) X 4-40 screws and kep nuts and four 6.4 mm(1/4 in) spacers. Install the screws at the I~onnector positions marked J 1 and J 5 on the board(Figure 6-44). The de power cable must be~ flat against the chassis or the backplane will not fit.

CHASSISTERMINAL
CONTROLLER
EDGE
CONNECTOR

DC POWER CABLE
MA-4580A

Figure 6-44

Installing Expansion Backplane

6-61

6.

Bend the dc power cable around so the opening faces the CRT. Use needlenose pliers toremove the alignment key (if installed) from the connector opening in the dc power cable.
Install the connector onto the board edge connector, passing the cable around the wire frame(if present).

7.

Install card guides into the top and bottom of the card cage at the VT125 connector position.

8.

At the fourth hole from the left on top of the chassis (over the BNC bracket), press theground clip with a wire onto the chassis (Figure 6-45).

NOTE:
INSTALL CLIP BEFOREINSTALLING SHIELD.
MA-9460A

Figure 6-45

Installing Ground Clip

6-62

9.

Install the FCC RF shidd (Paragraph 5.4.21):

10.

Put the chassis into the bottom and top covers (Paragraphs 5.4.14 and 5.4.19).

11.

Slide th~ terminal contJroller board partially into the chassis.

12.

Install the VT100 end of the 16-pin flat cable connector to the lower 16 pins of the terminal
controller board's graphics connector (marked J2 on the terminal controller board), with thecable entering from the: right (Figure 6-46) .

oI~MA-9343

Figure 6-46

16-Pin Flat Cable on Terminal Controller

6-63

13.

Install the STP paddle board in the STP (;onnector. Lift the 16-pin cable slightly if needed toclear the spacer when inserting the STP board. Attach the STP board to the terminal controller board with the supplied screw and. washer (Figure 6-47).

14.

Find the end of the 24-pin cable that has pin 1 on. the cable side. Fold the cable under itself tothe right approximately 30 mm (1 in) from the connector. Install that end into the socket on
the STPboard with the cable down (Figure 6-48).

STANDOFF

MA-9347

Figure 6-47

Insltalling STP Board

6-64

o

o oD

ODDO

MA·9342

Figure 6-48

24-Pin Flat Cable on STP Board

6-65

15.

Install the VT125 board into the chassis so that it sticks out approximately 5 cm (2 in) morethan the terminal controller board.

16.

Arrange the 16-pin graphics connector with the cable entering from above and install it into
the connector at the top edge of the VT 125 board (Figure 6-49).

GRAPHICSPROCESSOR
BOARD\

MA-9344

Figure 6-49

Graphic Cable Connections

6··66

17.

Arrange the 24-pin connector with the cablle entering from the right and install it into the 24pin socket at the right. edge of the VT125 board (Figure 6-49).

18.

Check the switches on tlhe STP board and set switches 1, 3, and 4 off, with all the otherswitches on (Figure 6--50).

19.

Connect the ground wire: from the top of the chassis to the quick-connect terminal on the
BNC connector bracket (Figure 6-51).

20.

Slide both boards into the chassis together, taking care not to stretch the cables. Seat bothboards in their sockets one at a time.

21.

If the 20 mA adapter is installed on the VT100, remove the adapter board from the VT 100
access cover and install it into the new access cover. (Refer to Paragraph 6.3.1.)

22.

Install the 20 mA connector cable (if present) to the red connector on the terminal controller
board.

23.

Adjust the cables in the access opening and install the access cover. Tighten the four screws
carefully.

24.

If using the EIA interifac1e on a Revision F etch board, make sure to install the EIA line filter
connector (Figure 6-51 i\).

25.

Attach the new SET-,UP label to the bottom of the keyboard.

6.6.2 Graphics Option Checkout Procedure
Perform the test procedures described in Paragraph 5.2.8. If you have display problems at power-up,
recheck the flat cables for correct positions. Refer to Figures 6-45, 6-47, and 6-48.
NOTE
The h~rminal will fail its power-up test with a 2 indication the first time you turn it on after installing
the Ol)tion. Check the SET-UP features and savethem by typing SHIFTjS in SET-UP.

6-67

Figure 6-50

STP Board Switch Types

6-68

GROUND WIRE
& CLIP.m.;;o:---- QUICK·CONNECTTERMINAL

111/,,-..1.1"'1'--_ BNC BRACKETON GRAPHICS
PROCESSOR
BOARD

MA·9432A

Figure 6-51

Connecting BNC Bracket Ground Wire

EIA
LINE FILTERCONNECTOR

TIGHTEN

EIA
CABLE
CONNECTOR

Figure 6-51 A

EIA Line Filter Connector

6-696.7 VT125 GRAPHICS PROCESSOR TECIINICAL DESCRIPTION
The VT125 is a graphics display terminal with me:dium resolution graphics for business and scientificapplications. The VT125 combines bit map architecture with the alphanumeric capability of the VT100
video terminal. The VT125 is a smart terminal that directly executes DIGITAL's general-purposegraphics descriptor, ReGIS (Remote Graphics Instruction Set). ReGIS lets you create and store
pictures as ASCII text and efficiently send those pictures to remote displays. The VT125 also has an
auxiliary data port for making hard copies of the dilsplay with the DECwriter IV Graphics Printer. For
users who have VTI05 programs, the VT125 includes a VTI05 emulator.
The VT125 is a VT100 video text terminal and ,a graphics processor in one package. The graphics
processor processes graphics commands from a computer to generate an image in its own memory. Thenit sends a video representation of that image to the VT 100 text terminal's internal monitor screen and toan optional external color monitor. It can also send a bit map representation of the image to a graphics
printer. If the VT125 receives data that is not graphics commands or other commands to the graphics
processor, the graphics processor sends the data to the VT100 for processing and display as text or
VT100 control functions.
The VT125 graphics processor is also available as an option that uses the VT100 chassis, power supply,and display to add graphics to a VT100.
The VT100 is described in detail in Chapter 4. This chapter is a detailed description of the graphics
processor and its interface to the VT100. This chapter has two sections: an overview description that
explains the parts of a block diagram, and a detailed description that uses detailed diagrams and theVT125 Field Maintenance print Set.
6.7.1 . Block Diagram Description
The VT125 graphics processor (Figure 6-52) is a bit map graphics display system. The system has a bit
map memory and devices for writing and reading data in memory. The system writes into the bit map
under control of the graphics descriptor ReG IS. (See the VT125 User Guide.) The system reads data outof the bit map under the timing control of the VT100 terminal, for display on the VT100 screen or an
external color monitor. The next paragraphs describe the parts of the system.
The bit map is at the center of the block diagram. The bit map memory has one data storage address foreach pixel on the display screen. The number of addresses available controls the resolution of the bit
map. A collection of addresses with one bit at each address is called a plane. The bit map in the VT125
has two bits of memory at each address, so it has two planes. This lets the VT125 display up to fourcolors or intensities at one time. See the VT125 User Guide for more details.
The 8085 m icroprocessor (lower right) controls most of the graphics processor. This microprocessor hasa read only memory (ROM) for its instructions and dynamic read-write memory for its operations. It
connects to the graphics processor and to other systems, through its input/output bus (I/O BUS).
The STP board is part of the graphics processor option, but it plugs into the STP connector on the VT100. ternlinal controller board. It connects to the graphics processor board (mono board) via a 24-wire cable.
The STP board connects the graphics processor to the serial data path between the VT100 text terminal
and the external host computer. The board also has the serial interface for the auxiliary port, often usedwith a graphics printer.
The graphics processor also connects to the VT100 terminal controller board via a 16-wire cable throughthe graphics connector. This connector brings the graphics processor's monochrome video output to theVT100 for display on the VT100's screen. The graphics connector also brings the VT100 display timing
signals to the graphics processor to synchronize the two devices so their outputs can appear on the same
screen.

6-70

rsmOMD - - - ,II

TO COLORMONITOR~I

DIGITAL T d
ANALOGCONVERTER.

BIT MAPMEMORYTO VT100DISPLAY
VT100
GRAPHICSCONNECTOR

TIMINGAND
CONTROLCOMPUTER PORTSERIAL INTERFACE
VT100 INTERNALSERIAL INTERFACE

-1f

I
I
I

WRITE
CONTROL

ADDRESSSELECTOR

r
v
~
'
'
O
[,~
R

LiENERATORMICROPROCESSOR

8085
ROM AND DRAM---------, I/O BUS
MA-8694

Figure 6-52

VT125 Graphics Processor Block Diagram

6-7]l

The output map is a small memory loaded by the rnicroprocessor. It holds four sets of values that represent colors or intensities on video monitors. Two bits for each pixel in the bit map select one of the four
sets of values at display time. ReGIS commands from the user set up the output map to correspond to
the desired appearance of the display.

The'digital to analog converter (DAC) takes a value from the output map at display time and converts
the value to three analog voltage levels that an external colqr video monitor can use. (Another value
from the output map passes unconverted to the DAC on the VT100 terminal controller for the internal
video monitor.)
The timing and control section takes signals from the VT100 and uses them to synchronize the graphics
processor's operations. This section produces many signals to control the vector generator and screen
refresh processes.
A pair of counters provide the screen refresh addressing for the display. All the bit map locations appear on the screen every 60th of a second in synchronization with the scanning beam in the video monitor cathode ray tube (CRT).
For each address produced by the refresh counters, 12 bits are read out of the bit map. The shift register moves the 12 bits out to the video monitor (through the output map) one at a time, shifting at the
pixel rate.
The vector generator computes the locations of pixels for drawing straight lines (called vectors in graphics) into the bit map much faster than the microprocessor.
The write control reads the contents of the location that the vector generator computes, and then writes
a new value into the location according to user specifications.
The address selector controls the addressing of the bit map. Display refresh happens all the time, so thevector generator must share the bit map address bus with the refresh address counters. Timing signals
switch the address selector between the two address sources.
NOTE
The following discussion is keyed to the VT125
Field Maintenance Print Set. All device numbers(for example, E45, Q6, R19) refer to components inthat print set.
6.7.2 Microprocessor and Memory
The 8085 microprocessor supervises or controls alll VT125 graphics processor activities. The microprocessor operates with firmware stored in a 24K >< 8 read only memory (ROM), and with a 16K X 8
read/write memory (RAM) that serves four functions.
••••scratch pad memory for the microprocessor computations
buffer memory for the six transmit and receive data ports
dynamically allocated macrograph storage
storage for three load able character sets

6-72

6.7.2.1

Memory, 1/0, and Bus Operation - The microprocessor has two types of data transfer
operations, memory and input/output (110). Paragraph 6.7.2 describes the use of memory.

I/O devices in the VT125 includc~ s~~rial data interfaces (UARTs), a status buffer, and data registers.
Figure 6-53 is a block diagram of the microprocessor address and data paths.
The microprocessor uses a partially multiplexed bus to transmit data and addresses. The memory andI/0 data use 8 bits. The memory address bus uses 16 address bits. The lower 8 address bits share thebus with the 8-bit data in the sys1terrt. The shared bits are also the I/O address bus (but the same I/0
address data also appears on the high 8 bits). A signal from the 8085 called address latch enable (ALE)appears briefly while an address is present on the bus. ALE strobes the low 8 address bits into a latch.
The latch supplies the memories with their low 8 address inputs while data is being transferred. Whenthe latch holds the address, the bus is cleared of address information. If the 8085 is reading, it sends aread signal (RD L), and a data byte appears on the bus from the accessed location. If the 8085 is writing into memory, it sends data and a write signal (WR L) to the RAM, which stores the data on the bus
in the accessed location. Another signal from the 8085 caned 10/M selects the I/0 or memory buses sothat the lower 8-bits of the 16-bit. memory address do not conflict with the 8-bit I/O address.
The read only memory (ROM) holds the instructions that run the microprocessor. The ROM is three
8K X 8 ICs in three of four available IC positions. Each IC has 13 address inputs, plus a chip selectline that enables the IC's outputs. A separate decoder selects one of the chip select lines according to
the decoder's higher address line inputs.
The dynamic read/write memory (DRAM) is eight 16K X 1 ICs that are all addressed and read at thesame time. Each IC holds all 16K locations for of the 8 data bits. Each DRAM needs 14 address bits toaddress all 16K bits, but the IC s,av<~s pins by dividing the 14 bits into two groups of 7 bits that it uses
sequentially (Figure 6-54). An Ie (E21) under control of the refresh controller selects between the twogroups. One row of 128 locations is addressed during the row address strobe (RAS) portion of the address cycle. Then one column is addressed during the column address strobe (CAS) portion of the cycle.
Any data in that location appears at the output during CAS. If the WRITE signal is low at any time
during CAS, the data on the inplLlt i.s stored.

6-73

?

1TOSTP BOARD

.....

Jl

D

TRANSCEIVER
E30

;=)

I/O DATA.-STATUS
SIGNALS
E35

DRIVERI/O DATAADDRESS/REFRESH
BUS
r - - - - - - - - - - I TIMING
E32
E135, 136, 137

DRIVERADDRESS/DATA~ TRA~IVER ~V

MEMORY DATA

~r------------~

E29

rrV
\
I

8OS5
E63

t -_ _ _ _ _ _ _ _ _

,8

I

E39
LATCH

I/O
ADDR
DECODE
E40. S1~""'"-_~_~_~~_H_ ~;,,..-s--~..11~~~RESS~ . 171~~

ADDRESS

I......

1..
,_--------."""-1--"-5-I--I-S.

I+-

w

REFRESH
COUNTERUMEMORY ADDRESS

r--"16"';:K:W:-:----IL...-I"""'"I ) DRAM
V

S

I+-

El,2.3.4.5.6.7.S

E21

3

0-

!

ADDRESSDECODER
E92.95,32.55

WAIT STATE
GENERATOR
E140.95.7I

CHIP
SELECTS

24K X S ROM
E22,23,24,25~-------------l"~/~____________~

MA--8760

Figure 6-53

Microprocessor Address and Data Paths

6.7.2.2 Refresh Control- The: graphics processor has only dynamic read-write memories (DRAM).
These memories store more data and use less power than the static RAMS used in the VT100. They arealso more complicated to use. A static memory circuit has a two-transistor bistable latch at each memory
location. This circuit has two states, with one or the other transistor turned on. The circuit holds either
state, without new inputs, as long as power is on.
The dynamic memory circuit has one transistor and a capacitor at each memory location. It stores data
as a charge on the capacitor. This charge leaks away over time, so the memory location must be readand rewritten before the charge becomes unmeasurable. This process is called refresh, and must happen
within 2 milliseconds of the last write.
The IC includes some of the circuitry for a refresh. 'Nhen any row of 128 columns is addressed during
the RAS portion of the address cycle, all 128 bit locations are refreshed. But the microprocessor does
not always access to all 128 rows wiithin every 2 milliseconds. A 7-bit counter is needed to address therows consistently. The clock is not on the IC because extra pins would be needed to control the refresh
process, to prevent it from interfering with accesses to the DRAM. Therefore, two external circuits
control the addressing and the timing of the refresh.
The first external refresh control circuit is the microprocessor memory control timing sequencer (Figure 6-55). This circuit (with the WAIT state generaltor) controls the timing of refresh; it also controls
reading and writing to the DRAMs. The timing se:quencer consists of a ROM (E135) and a latch(E 137). The ROM has eight address inputs. The addresses point to groups of data that, when latched,
are the control signals that drive the: refresh process. The latch is strobed by a 6 MHz clock made fromthe 3 MHz 8085 clock to provide synchronization tQi the 8085 times states. (The time relationship between the 6 MHz clock input to the 8085 and the 3 N[Hz 8085 CLK output is too loosely specified to be
useful in this circuit. Generating one signal from the other provides the tighter tolerance that isneeded.) E12 and E50 perform the doubling. The sequencer produces five signals: REF EN/CNT (Refresh Enable/Count), RO\V /COL, RAS, CAS, and WE L (Write Enable Low).

ADDRESSINPUTS

AO

-

A1

r>

A2
A3
A4

ROW
DECODER
1 OF 128..
p

MEMORY
ARRAY

....

-

.. DATAIN/OUT

I

A5

-..

I

I
j

A6

~
I

~

)

~

~

COLUMN DECODER
1 OF 128
MA-8729

Figure 6-54

DRA~vf Block Diagram

6-75

..

8085 CLOCK

3MHZ

ADDRESSLATCH
ENABLE
ALE FROM
8085)

WAIT STATE
GENERATOR(ONLY RUNSr-DURING DRAMACCESS)
E95, 140

+

-----

I

READY _(ROY TO 8085.
ROY L HALTS 8085 FOR ONE 8085
CLOCK WHILE SEQUENCER RUNS.)

101M (SELECTS MEMORY)
A15 (SELECTS ROM OR RAM)
Sl
SO

}

8085 CONTROLSTATES
01 WRITE
10 READ
11 FETCH{

CLOCK RATEDOUBLERSYNCHRONIZEDTO 8085 TIMESTATES.
E12,50
ALE HIGH
FOR ONE 3 MHZ
PERIOD. (TWO
LATCH STROBES)

6MHZ
LATCH

, STROBE
7

DO

6

01

'""'-

5

02

4

03

3

ROM
E135

04

2

05

1

06

a

07

r--

f-l>o

ROWICOL
RE!F EN/CNT

WEL
8BIT
LATCH
E136

CAS L
RAS L

---

ROM ENABLE L-

WIREO~

NOR
E137

-

' ALL a's DISABLE ROM

MA-8759

Figure 6-55

Microprocessor M,emory Control Timing Sequencer

6-76

The second external refresh control c:ircuit is the addrc;~ss multiplexer and refresh counter (E2l) (Figure6-56). When the REF EN/CNT signal from the control timing sequencer goes high, a refresh cycle
begins. Refresh counter E21 puts th(~ contents of its internal 7-bit counter on the DRAM address lines.
The RAS signal from the control tirrling sequencer strobes the 7-bit count into the DRAMs, refreshing
the addressed row of 128 data bits in each DRAM Ie.
When the REF EN/CNT signal from the control timing sequencer goes low, the refresh cycle is completed and the refresh counter increnlents by one. The new counter contents are used in the next refresh
cycle. Now the address rnultiplexer part of E21 passes rnicroprocessor address data to the DRAM if
needed. There are 14 address bits from the microprocessor to address the 16K DRAM. The
ROW ICOL signal from the contr.Ql tinling sequenc,er controls the multiplexer to select one of twogroups of 7-bits. While the ROW ICOL signal is high, the RAS signal from the control timing sequencer strobes the row address bits into the DRAM. Then ROW ICOL goes low, and CAS from the control
timing sequencer strobes the column address bits in. WE L goes low for a write memory access.
6.7.2.3 DRAM Control Timing Se«luencer Details
There are three groups of address inputs to the ROl\1.
1.

The signals on ROM inputs 3-6 come from the 8085. They indicate the type of cycle needed.
For example, inputs 3, 4, and 5 high, and 6 low indicate an opcode fetch from RAM. Thesesignals stay fixed for the ,entire cycle.

2.

The signal on ROM input 7 is ALE froml the 8085 (extended to two clock periods in the
WAIT state generator). ALE indicates the beginning of an address bus transaction. The control timing sequencer starts its outputs at this signal. ALE goes low after two clocks, but thedata is arranged in the: ROM to handle th~~ change in addresses.

3.

The signals on ROM inputs 0--2 are outputs from the ROM itself. Each ROM data location
provides a 3-bit address for the next location in the cycle. The latch holds this address (alongwith the control signal outputs) for one clock period. The data from the ROM includes another address, so at the next strobe the latch provides a new address to 0-2 on the ROM. Figure
6-57 shows the ROM outputs for the opcode fetch from DRAM cycle. Note that the octal
value of any time state"s Next Address 0-2 outputs is the same as the least significant digit of
the next time state's ROM location. The last location in a cycle has all Os in the low 3 bits.
When the Os are latched on the next clock, the wired-NOR output of E137 goes high anddisables the ROM. Disabling the ROM forces the ROM's outputs to all Is.

Address latch enable (ALE) is the signal the 8085 puts out at the beginning of every machine cycle.
ALE is always defined; it never becomes tristated or random. However, all the other inputs to the ROM
address lines may vary. A15 from the microprocessor address bus, for example, may become tristatedin the last state of a machine cych~ (according to the 8085 system timing diagrams). Therefore, theROM is disabled for the last clock of a machine cycle to prevent errors.
The ROM has all Is in all locations that can be addressed with ROM inputs 7 low and 0-2 all Is. So the
outputs do not change state until ALE goes high. Then the ROM address inputs point to a location thathas some value other than Is in the llow 3 bits. On the: next clock, the ROM address changes to the newlocation. The WAIT state circuit extends ALE to two clock cycles; ALE is the most significant bit of
the ROM address, so the first two states in the ROM[ are in the upper half of the ROM address range.
On the next clock, ALE goes low, so the ROM is addressed in the lower half of its range.

6-77

ROW/CO LUMN SE LECT(FROM TIMING SEQUENCER)

ADDRESSES 0 .. 6 (ROW)
FROM

8085

MULTIPLEXER

BUS
ADDRESSES 1 .. 13 (COLUMN)

0\
I

-.1

MULTIPLEXER

00

TO MEMORYADDRESS
LINES

7-BIT ROW
ADDRESS
COUNTERFOR REFRESHCOUNT(ADDS ONE TO COUNT)ADDRESS/REFRESH
SELECT

REFRESHENABLE/COUNT------------~--------------------~(FROM TIMING SEQUENCER)
MA-8726

Figure 6-56

Address Multiplexer and Refresh Counter6.7.2.4 The Microprocessor DRAlVI Memory Cycle
This section refers to the timing diagram for an opcode fetch from DRAM (Figure 6-57) to illustrate a
DRAM memory cycle with refresh. During opcode fetch from DRAM, the 8085 reads the DRAM at
one location. Then the refresh control refreshes the DRAM at 1 of 128 locations controlled by E21 's
internal counter.
Duri~e first clock, ALE points the ROM to a location that sets ROW ICOL high and sets REF
EN/CNT low, incrementing E2f's 7-bit counter (ROM location 277). The address multiplexer and refresh counter (E21) puts the low 7 bits of the 8085 bus address on the DRAM address lines. Next
Address 0-2 point to ROM location XXI (octal). The other inputs still point to 27X(octal). The following events occur in order on the next seven latch strobes.

•

ROM location 271 has RAS go low to strobe the ROW bits into the DRAM. Next Address
0-2 point to location XX2 .. ALE goes 10w J but the new address contains the correct data.

•

ROW /COL goes low and E2I puts the high 7 bits of the 8085 bus address on the DRAM
address lines. Next Address 0-2 point to location 073.

•

CAS goes low and the DRAMs put their data on the bus. Next Address 0-2 point to 074.

•

RAS goes high (data is still on the DRA!v1 outputs while CAS is low) and REF EN/CNT
goes high. E21 puts thl~ 7··bit count on the DRAM address bus. (ROW/COL is ignored.)•

CAS goes high and RAS goes low again and refreshes 1 of the 128 rows in the DRAMs, as
selected by the 7-bit count. Next Address 10-2 point to 076.

•

Next Address 0-2 all are Os and they disable the ROM, forcing all its outputs high~•All signals go high.

Similar ..£!:2..cesses occur in other m(~mory cycles. Th,e read from DRAM is an RAS-CAS cycle with
ROW /COL selecting the address bits. The write to DRAM is the same cycle, but with write enable(WE L) low before CAS. CAS then performs the write. This early write keeps the data outputs tristated. (Tristating would allow the input and output lines to connect. However, for bus loading reasons, adata latch isolates and buffers th(~ input and output lines.) The opcode fetch from ROM and I/O microprocessor cycles doesn't access the DRAM, so the timing sequencer adds a quick refresh by holding
Refresh Enable high, setting RAS low, then ending the cycle.

6.7.3

TimingTiming for the VTI25 comes from several circuits (Figure 6-58). The VT100 signals are Horizontal
Blank (HORIZ BLANK H), Vertic:al Blank (VERT BLANK L), and a 24 MHz clock. Two dividers
make slower clocks from the 24 MHz for the graphics processor and the microprocessor. HORIZBLANK H controls blanking in the VT100, but it is not the actual VT100 blank time. (Another signal
provides the signal's end time, in synchronization with VT100 characters.) On the graphics processor
board, HORIZ BLANK H goes through a synchronization circuit to align it with the graphics processor
clock (16 MHz). VERT BLANK L goes to the state sequencer as a control input. VERT BLANK L also
combines with HORIZ BLAN~K FI in the synchronization circuit. The output is a complete video
blanking control signal that blanks the display through the output map.
The state sequencer controls all bit map operations, both reading and writing. Different operations use
different combinations of sequencer outputs, but all operations take the same number of states. Signals
from the microprocessor J vector generator, and other sources select the sequence to use. The sequencer
counter provides the clock for the states of each sequence.

6-79

/

DATA FOR THISTIME STATE COMES~ FROM DISABLED ROM(ALL 1'S)

ROW/COLREF EN/CNT_-----I

WEL

CAS L

'.-

J

, - - - - - - - REF R ESH RAS

RAS L

t _ _ _--11_~_I..-

NEXT ADDR 2

L-----II----~NEXT ADDR 1~Il,--_----,

NEXT ADDR 0
ROM LOCATIONS

277

271

72

73

74

75

76

OPCODE FETCH FROM DRAM
MA-8727

Figure 6-57

Opcode Fetch from DRAM

The vertical and horizontal counters provide bit map read addresses for display refresh. The microprocessor can load the counters with offsets from the I/O bus. Offsets can make the image appear in adifferent place on the screen from where it was created. The horizontal counter counts only in 12-pixel
groups, so a separate, smooth offset counter lets the iinage move by 1 to 12 pixels at a time. A pause
signal from the smooth offset counter synchronizes the state sequencer at the beginning of each horizontal scan.
Several small synchronization circuits adjust microprocessor and vector generator control signals to thetiming of the state sequencer.
6.7.3.1 Clocks-The master clock for the VT125 is the 24.0734 MHz video processor clo¢k from theVT100 graphics connector. This clock keeps the graphics processor video output synchronized with theVT100 video processor output. However, the 24 MHz clock is not used directly, but divided into several
smaller clocks. It is divided by 1.5 to give a 16 MHz pixel rate clock. The 16 MHz clock is used in several
places, including inputs to other dividers for pixel-related processes. The 24 MHz clock is also divided
by 4 and 8. The 6 MHz signal is the 8085 clock souree, and the 3 MHz signal is the clock for the internal
operation of the UARTs on the STP board. The phase of the internal 8085 clock is too loosely specified
relative to the 6 MHz input for timing that must be synchronous with the 8085. A multiplier makes 6
MHz from the 8085 3 MHz clock output to drive the refresh controller.

6-80

VERTICAL BLANKHORIZONTAL BLANK
VT100
SIGNALS
24MHz
CLOCK

I
DIVIDE
BY 1.516 MHZ

CLOCK
Jo-.------,~.- B LA N K SI G NA L
1-------1_.-. SYNCHRONIZERTO OUTPUTMAPDIVIDE 6 MHz
BY 4 - TO 8085

READ ADDRESSES TO
BIT MAP ADDRESS MUXDIVERTICALCOUNTERLATCH!

CONTROL
C'I~ 1\1/\ I

SEQUENCE
SELECTIONSTATESEQUENCER

SIGN~LS

0'\

-

1

I

C'

..;)IUI"''''''~''''TO BIT MAP
AND VECTOR
GENERATOR

I

00

I

VECTOR
GENERATORCONTROL
SIGNALSYNCHRONIZERSSEQUENCER
COUNTERREAD ADDRESSES TO
BIT MAP ADDRESS MUXPAUSEHORIZONTALCOUNTERSMOOTH
OFFSET
COUNTERLATCH

I/O BUSMA-8725

Figure 6-58

VT125 Timing Block Diagram

6.7.3.2 Horizontal and Vertical Counters - The horizontal and vertical counters provide the addresses
for reading the bit map memory to the raster-refreshed screen. The vertical counter has 8 bits to counteach of the 256 scans of memory. The HORIZ PAUSE L signal is the clock for the vertical counter,because that signal occurs once each horizontal scan. Thus, the vertical counter increments once eachscan. The horizontal counter has 5 bits to count each of the 64 groups of 12 pixels in each scan. Eachtime a read from the bit map occurs, 1 bit from each of the 12 RAMs of each memory plane is loaded
into a 12-bit-Iong shift register. The first input bit appears at the shift output of each shift registerduring the load signal. When the load signal ends, the next clock moves the next bit to the output. The
shift process continues while the vector generator reads or writes to the bit map. The LD /SHIFT(Load/Shift) signal from the state sequencer controls the operation of the shift register and clocks the
H position counter.
6.7.3.3 Offsets - Assuming the default address axes, offset is the distance between the top left corner ofthe screen and the address space origin (location [O!,OD. An offset of [100,100], for example, means thatthe display location [0,0] moves to the right and down by 100 pixels each. Vertical offsets are produced
by loading some new number into the vertical offsc~t latch (LD V OFFSET). (Both latches are always
loaded with standard offset values that adjust the display relative to the blank signals.) The V STROBE
signal loads the offset value into the vertical count(~r which then counts as usual from that value. Horizontal offsets are more complicated. (See Figure 6-59.)
The horizontal counter provides addresses to groups of 12 pixels at a time. (This is because each horizontal counter address accesses 12 DRAMs in each plane at the same time. These are the 12 bits thatare shifted out.) Therefore, a horizontal offset that changes the horizontal counter output by 1 changes
the, display position by 12 pixels. To provide more control of the offset, a separate smooth offset circuit
delays the start of the count by 1 to 12 counts. The count actually begins before BLANK L ~nds, so theeffect of the delay is to move the display by 1 to 12 pixels. Larger changes, of course, are made with theoffset latch.
The HORIZ PAUSE L signal is the output of th,e smooth offset circuit. The signal loads the roughhorizontal offset value from the horizontal offset register, but it does not return to a high state until thesmooth offset counter completes its count of 1 to 12. The low state keeps the H position counter fromcounting, so the HORIZ PAUSE L signal both l.oads the rough offset and provides control of thecounter by the smooth offset circuit.
HORIZ PAUSE L also stops the state sequencer. When HORIZ PAUSE L goes high, the state sequencer starts. HORIZ PAUSE L can go high only on the rising edge of the shift clock, because of thesmooth offset circuit. Therefore, LD /SHIFT cornel) from the state sequencer, some integral number of
16 MHz clocks after HORIZ PAUSE L. LD /SHIFT is ANDed with the second half of the 8 MHz
clock to make LD /SHIFT eLK at the end of the LD /SHIFT pulse. If LD /SHIFT is delayed by one
16 MHz clock shift, the anding happens with the wrong phase of 8 MHz and LD /SHIFT eLK. Aftertwo clock shifts, the 8 MHz clock is the correct phase again. To prevent LD /SHIFT CLK ffom appearing in the wrong half of LD /SHIFT, the 8 MHz clock is inverted every other pixel offset; this gives thecorrect signal level for ANDing with LD /SHIFT. VVhen the display is scaled, the Shift Clock is 8 MHz
and each smooth offset delay is an integral number of 8 MHz clocks. So the phase of LD /SHIFT does
not change relative to the Shift Clock, and the 8 ~fHz clock is not inverted.

6-82

SYNC UP L
(E36 P9 LD) NOTE 2SYNC UP L SETS E36 LD; CARRY OUT L CLEARS E36 LD

E36 P15CARRY OUT
3 CHARACTER
DELAY E67 P13,....,....,. II\I"'T"\,.,UUI'IIr-'I\.I A n l~1100 -----~
1-----...

~-------+--~----------------------------NOTE 1
II

CI'I1-\OLC n

E50 P13
PAUSE ENABLE L E69 P12(END OF 12TIME STATES)I-- 500 MIN

1200 MAX

HORIZONTAL PAUSE L
E69 P40'\
I

00
W

CHAR CLOCK
E69 P6·unUMUMUMUnununuu//

LD/SHIFT
E65 P16 SCALE=1

500 MIN
fiio------------r____~~~12~0~0_M~A~X=1~

LD/SHIFT
E65 P16 SCALE=2
BLANK LE82 P12Unn

nnnnnnnnnnnnn~ u UU U U U U U U U U U I

Inn______________________ _______________________________nL~nl:::~S7 -I.
13 p-s - - - - - - - - - - - - - -..
·1--~ PRODUCED BY SYNCHRONIZER-COUNTER AT END OF PREVIOUS SYNC UP CYCLE.

NOTE 1: ALL TIMES IN NS EXCEPT WHERE SPECIFIED.
NOTE 2: TIMING SIGNAL FROM START OF H BLANK TIME.

Figure 6-59

MA-8730

Smooth Scroll Offset Timing

6.7.3.4 Scaling - Scaling means changing the size of an object in the display. In the VT125, the complete display changes at the same time, and there are only four size choices. The display can be times 1(X 1, default), X2 in horizontal direction, X2 in vertical direction, or X2 in both directions. The VT125
performs scaling by changing the rate that data moves from memory; this means a given pixel appears
for a longer period of time, while the video raster scanning operates without change. Vertical scaling is
simple. A signal from the 8085 adds a divide-by-2 circuit to the count input of the vertical address
counter. Then. only every second HORIZ PAUSE L increments the vertical address, so each pixel appears in two sequential scans. Scaling only affects the counter-incrementing rate, so offsets are notscaled.
Horizontal scaling is more conlplicated. It begins with a change in the pixel-shifting rate (SHIFT CLK)from 16 MHz to 8 MHz. Now each pixel appears twice as wide in the display, which is scanning without change at 15.7 kHz. If not for write circuit time limits, all of the bit map timing could be slowedfrom 16 MHz to 8 MHz. But LD /SHIFT loads the Hhift registers every 12 counts at 16 MHz, which
would load new data with only 6 of the pixels displayed. So LD /SHIFT changes to load every 24 counts
at 16 MHz. And alternate pixel offset inversion of the 8 MHz clock for LD /SHIFT is not performed.

6.7.3.5 State Sequencer - The state sequencer has three main parts: a counter, a bit map control section made of two ROMs and their latches, and a vector generator section made of one ROM and its
latch.
The counter (E62) has an 8 MHz clock input, four -count outputs, and a carry output that loads thecounter with a starting value to make the count self-repeating and equal to 12 (modulo 12). The countercounts down from 1011 (decimal 11, the starting value) and carries at 0000 (decimal 0). The counterchanges output states once each 8 MHz cycle, so the fastest state sequencer change is at a 4 MHz rate
(250 ns period). The clock comes from the smooth offset circuit that turns the clock off for a portion of
the horizontal blank period (Figure 6-59).
The bit map control ROMs and latches (E64, E65, E66, E83) provide control signals that the bit map
needs to refresh the screen continously. They also provide the control signals that the vector generator
needs to access the bit map in synchronism with the screen refresh process.
ROM E64 and its latch E65 provide the following signals.
•

SYNC to synchronize microprocessor control signals•

X SCALE to indicate horizontal scaling to other circuits•

V STROBE to load the vertical offset into the vertical refresh address counter•

LD /SHIFT to load the bit map shift registers and then shift the data to the screen•

RA and RB signals that address the register file to select the data for the vector generator insynchronism with the refresh process

ROM E66 and its latch E83 provide the following signals.
•

VG STROBE to control the vector generator read from the bit map and latch the carry bitfrom the adder•

WR/RD to switch the bit map address multiplexer between the vector generator (write) andthe refresh (read) address circuits

6-84

•

CAS to the bit map DRAMs•

RAS TIME to the RASjCAS selector for the bit map•

four RAS signals to four groups of 3 bit rnap DRAMs. All four RAS signals cycle for eachscreen refresh read, but one of the four doubles its rate when the vector generator is accessing its group (determined by the XO and Xl inputs to the ROM).

The vector generator control ROM and latch (E71, E70) only provide signals when the microprocessor
sends GO L to enable the ROM when a vector is needed. The signals are as follows.
•

ERASE L, which continuously forces the 'VRjRD signal from ROM 66 to the read state, so
the timing circuit can write the background value to every location in the screen•

SHIFT ENA, which is not used but could lock the pattern multiplier to a single bit output if
used
'

•

C In, which is a carry in to the adder to convert aI's complement number into a 2's complement number•

D LOAD, which is synchronized with VECTOR CLK in another circuit to control the error
register•

WRITE L, which writes a pixel into the bit map at the computed location•

DONE L, which signals the end of the vector after the down counter sends DCNT DONE L.
DCNT DONE L is synchronized with D LOAD to make the FINISH signal•

VECTOR CLK, which increments the position registers after new data is written in the current position•

STROBE ERROR L, which loads the adder's output into the error register

6.7.3.6 Blanking and Clock Synchronization - Tht~ VT125 gets its timing signals from the VT100.
They are the 24 MHz clock, and Horizontal Blank, and Vertical Blank. But the graphics screen area isdifferent from the text screen area, so the VT100's blanking time is not correct for the VT125. There isa 2.3 character difference between the start of the te:xt area and the start of the graphics area (more in
VT105 compatibility mode). Therefore, the VT125 creates its own blanking signal, using Horizontal
Blank from the VT100 for synchronization.
First, HORIZ BLANK H goes through a latch andl gate circuit to produce a single clock-wide pulse(SYNC UP L) at the beginning of the VT100's horizontal blank. After horizontal blank starts, the firstclock latches the high signal on pin 2 of E 120. The s'econd clock latches it on pin 19, which connects to
one input of a NAND gate. The third clock latches it on pin 16, which connects to one input of an XOR
gate. The XOR gate, with only one of its inputs high, outputs high to the other input of the NAND
gate. The NAND gate outputs SY:NC UP L. The fourth clock latches HORIZ BLANK H on pin 15,
which connects to the other input of the XOR gate. The XOR gate, with both inputs the same, outputs
low to the NAND gate. The NAN'D gate output goes high and ends SYNC UP L, which lasted one
clock time.

6-85

6.7.4 Vector Generator
The vector generator is a speciall circuit that writes straight lines (called vectors in graphics) into the bit
map much faster than the microprocessor can. A vector can be specified with three items: starting
point, direction, and length. The nlicroprocessor puts that information in a fast, dedicated circuit that
performs a process called Bresemham's algorithm to draw the vector.
6.7.4.1

Circuit - The vector generator is made of several parts (Figure 6-61).

The X and Y position counters address the bit map for most operations. The microprocessor loads the
position counters with the starting point coordinates for the vector to be drawn.
The down counter stops the vector generator when the vector is completed. The microprocessor loads
the counter with the length of the major axis of the vector to be drawn. Then, as the vector generator
computes and draws each pixeL, the counter d-ecrements by one. When the counter overflows, it outputs
the Done signal, which stops the vector generator.
The register file holds the X and Y lengths of thel end point (Figure 6-62) and the direction of thevector. (The fourth word in the fil(~ is not used.) The microprocessor loads these values before starting
the process. The vector generator's data path is 8 b~ts wide, so the longest vector that can be drawn in asingle step is 256 pixels. The rrticroprocessor has to reload the vector generator with more segments tocomplete a long vector.
The adder uses binary arithmetic methods to subtract the length of the shorter axis of the vector fromthe length of the longer axis.
The direction control ROM has 5 input bits: 3 bits of direction (the same as the 8-pixel vector directions), 1 bit that indicates whether the direction is one of the pixel vector directions or between them,and the carry output from the, adder. If the direction is between the pixel vector directions, that bit
makes the ROM accept the carry output to decide when to increment or decrement the rhirior axis. The
ROM ignores carry if the direction is one of the pixel vector directions. Then one or the other or both X
and Y counters increment(s) or decrement(s) every time. The ROM's four outputs select the direction
and specify the count of each position counter.
The error latch and multiplex<~r hold the results of the adder's operation to subtract from in the next
cycle. The multiplexer selects the input for the latch. The input comes from the adder during a vector
operation, but it comes from the nlicroprocessor during setup for the vector. The microprocessor loads a
calculated value into the latch to make vectors skip from scan to scan in an orderly manner.

6-87

TO BIT MAP
ADDRESS MUXLOAD X LO (8 BITS)----+t
LOAD X HI (4 BITS) ---~COUNT

X POSITION COUNTER
12 BITS

UP/DOWN

L -______~~------_

I/O DATA BUS
TO BIT MAP
ADDRESS MUX

COUNTLOAD Y LO (8 BITS)

UP/DOWN

LOAD Y HI (4 BITS)

DIRECTIONCONTROL ROM

DONE

CARRY '--....-~_--~_----.L.-d.....---,--, OUT
DOWN
COUNTER

t-------'ADDER

8 REGISTER FILEERRORLATCH + MUX]MAJOR AXIS~----r-MINOR AXISLOAD SIGNALFROM 8085 OR
VECTOR
GENERATOR

8

Figure 6-61

Vector Generator

6-88

RA + RIB} READ. ADDRESSESFROM TIMING(NOT USED)WRITE} ADDRESSESFROM 8085

MA-8724

DVM-----____~----.a~I"\"~.O\\i~II

D~ IS AILWAYS THE LONGER (MAJOR) AXISD~

DVM IS ALWAYS THE SHORTER (MINOR) AXISUNIT OF MEASURE = PIXELS
MA-8762

Figure 6-62

Derivation of Dp. and DVM

6.7.4.2 Vector Generator Timi;ng - The microprocessor sends an Execute signal to the vector generator after it loads parameters into the vector generator (Figure 6-63). EXEC L from the microprocessor
is synced to the state sequencer by SYNC. The result is GO L, a signal that switches the state sequencer from bit map reading only (for screen refresh) to a shared read/write cycle. The vector generator X
and Y counters share the addre:ss lines to·the bit map with the H and V counters.

Before GO L, only H and V addresses are accessed. (See RAS TIME and CAS L on Figure 6-63.)
LD/SHIFT loads twelve data bits from the bit map memories into the shift register. LD/SHIFT also
increments the H counter. Aftt:r 12 pixel clocks (6 transitions of the 4 MHz state sequencer clock, or
halfway through the sequence) another LD/SHIFT loads new data. Each H and V bit map read takes
half of the time available, and one quarter of a state sequence.
GO L is synchronized to occur while the bit map contents from an H and V read are loaded into theshift registers. After GO goes low, the bit map address multiplexer, under control of the WR/RD signal, selects the initial X and Y values (loaded by the nlicroprocessor) to address the bit map. A circuitdescribed in Paragraph 6.7.5 selects the addressed pixel bits and creates a new pair of bits to write backinto the bit map at the same location. While the circuit is preparing data for writing, the bit map address multiplexer returns to the H and V counters and writes the modified data into the bit map. To
shift out, the multiplexer switches back to the H and V counters for 12 more pixels.
At the same time, the vector generator computes the next location to draw a pixel. The computation
makes the X, Y, or both counters increment or decrement by one count. Then the X and Y countersprovide an address to read, modify, and write the next pixel in a vector.

6-89

NOTE 1

4 MHZ CLOCK

SYNC

EXEC
GO L
WR/RD

H+V BIT MAP ADDRESSING

X+Y

H+V

X+Y

n

RAI
o

RB

[-I

r-

r -_m-L

LJ

WRITE

0\
I
\0

H+V

~

________

.-

~I

n

-

-

,I

I

---~

--

-----. ___________

n

L

~I

RASTIME~-_~~=S-LJ

CASL

LD/SHIFT

n

n

n

_n

____R_H __ ~n. . .__NOTE 1 SIGNALS ARE LATCHED BY 8 MHZ. 1/2 CYCLE SHIFT NOT SHOWN.
NOTE 2 DOTTED SIGNALS SHOW ADDED BIT MAP MEMORY ACCESSES WHEN VECTOR GENERATOR IS RUNNING.
MA-8128

Figure 6-63

Vector Generator and Bit Map Address Timing

MA-8198

Figure 6-64

Basic Vectors

In this method, any vector starts at some X and Y coordinate in the bit map plane (the current value inthe position counter), and ends at another X and Y coordinate. The differences between the two XS and
two Ys are the axes of the vector. The signs of the differences determine the direction of the vector.
The direction controls increm(mting or decrementing of each position counter. The longer axis is called
the major axis and the shorter ax.is is called the minor axis. (References to D},L and DVM are from theoriginal mathematical analysis.)
The length of the major axis loads into a counter that counts down after each pixel is written. The
counter stops the vector generator when the vector is done. The length of the major axis also loads into
an arithmetic device (the adde:r) where the length IOf the minor axis is subtracted from the major. Aftereach subtraction, one pixel is: written. Then the position counter that controls the major axis is incremented or decremented. If the value remaining in the adder before the subtraction is smaller thanthe value of the minor axis, thl~ next subtraction causes the adder to carry. Then the minor axis counteris incremented or decremented and a pixel is written.
The next series of figures and tables shows the computation and writing of pixels in more detail. The
rules listed refer to the changes needed in the algorithm to correct fo: odd-Y simulation. The microprocessor computes start and (md values with 512 Y addresses, but the vector generator only has 256 Y
addresses to write in.
.
6.7.4.3 Drawing Vectors - The vector generator produces basic and arbitrary vectors. The basic vectors are shown in Figure 6-64). These are the pixel vector directions referred to in the VT 125 User
Guide. There are eight basic vector directions, 45 degrees apart. These vectors are the easiest for thevector generator to draw., FrOIn any position, a vector along one of these directions changes one or bothcoordinate values with every pixel write. For example, in the 0 direction, any vector is drawn by incrementing X, writing a dot, incrementing X, writing a dot. Once the direction is specified, the vector
generator circuit does not make any decisions about when to change a position counter's value.
For arbitrary vectors, the vector generator must decide whether to change one counter after writing apixel. For example, an approximately 15 degree angle vector increments its Y value only once for every
four X value increments. The vector generator me:thod for deciding when to increment is Bresenham'salgorithm.

6-91

Calculation 1
Error register
DVM register
Carry inError register002 83748 (1 's complenlent of 3)

001 8
377 8
No carryODD

EVEN .---+-~ODD
EVEN~~-r~~r-+-~~ODD
EVEN~~-r-+~~+-~~

Decrement

major and minor axes.
MA·9160

StrobeFigure 6-65
377 8

Error register
DJ.! register005 8

Error register

004 8
Carry

StrobeDirection - Decrement X and Y,
and do a Pixel Write.
Decrement the down counter.

5-1=4
Down counter4

Draw Vector. (Use these rules.)1.

Do not write in direction
2 from an odd line or
6 from an even line.

2.

Do not write if the directionis 5 or 7, the scan line iseven (YO), and the last
direction was 6.

3.

Do not write if the directionis 1 or 3, the scan line isodd, and the last direction
was 2.

6-92

Calculation 1

Calculation 2
Error register
DVM register
Carry inError register

004 8
374 8
001 8

EV EN 1--4--+--+--li-----+--t--1

001 8
Carry

ODD

ODD
EV EN 1---k--+-~:--I-+--t--1

EVEN

Decrement

ODD

major axis.

EVEN L-~-L-L~i-----~~~
MA-9758

Strobe ~ Set Carry flip-flop.
Figure 6-66
Error register
DIl register

001 8

005 8
006 8

Error register0018 (No Error CLK)

StrobeDirection - Decrement X
and do a Pixel Write.
Decrement down counter.

4-1=3
Draw vector.

6-93

Calculation 2

•

Nt t

Calculation 3
Error register
DVM register
Carry in

001 8

Error register3768
No carry

374 8

001 8

Decrement

ODD

Y=1

EVEN

Y=Q

ODD

Y=1

EVEN

Y=Q

ODD

Y=1

EVEN

Y=O
PI(200,200)

major and minor axes.

MA·9759

StrobeFigure 6-67
Error register3768

DJL register005 8

Error register

003 8
Carry

StrobeDirection - Decrement X
and Y. Do a Pixel Write.
Decrement down counter.

3 - 1= 2
Dra w vector.

6-94

Calculation 3

Calculation 4
Error register
DVM register
Carry in

003 8
374 8
001 8

Error register

0008
Carry

Decrement

major axis.
MA-9756

StrobeFigure 6-68
Error register
DJl register

0008
1005 8005 8Error register1000 8StrobeDirection - Decrement X
and do a Pixel Write.
Decrement down counter.

2-1=1
Draw vector.

6-95

Calculation 4

Calculation 5
Error register
DVM register
Carry inError register

0008
374 8

001 8
375 8
No carry

Decrement

major and minor axes.
MA·9757

StrobeFigure 6-69

Calculation 5375 8

Error register
D#l register005 8

Error register

002 8
Carry

StrobeDirection - Decrement X
and Y, and do a Pixel Write.
Decrement down counter.

1-1=0
Dra w vector vector is complete.
6.7.4.4 Vector Calculation Timing - Twelve time states are needed to perform a calculation (Figure 670). These 12 time states are divided into 4 groups. The 4 groups are repeated until the vector is drawn.
The four sequential groups are as follows.
1.

DVM time

2.

D#l time

3.

WOPS time4.

Direction time

The following paragraphs describe the separate fUllctions that take place in each group.

•

DVM Time - The error register is addl~d to the DVM register plus carry in. The sum isloaded into the error register by error clolek. The carry output of the adder is strobed into thecarry flip-flop. (The error register is loaded at the start of the vector with one half the major
axis value, ignoring the remainder.)•DJ.L Time - The contents of the error register are added to the D#l register. If the carry flipflop is reset, the vector ROM allows an error clock pulse that loads the result of the add into
the error register. If the carry flip-flop is set, the vector ROM does not allow an error clock
pulse to occur. This means the contents of the error register remain unchanged.

6·96I.4. 1 - - - - - - - - - - -TWELVE TIME STATES..

---------·-iI~*I I - - - - - - - - - - TWELVE TIME STATES ----------I.~I

I

I

I

OUTPUT
DVM
DIRECTION
DIRECTION
DVM
OF
FilE REGISTER --------------~------------~------------------------~~----------~------------~--------~----------------~EFFECT X ARRAY
MAJOR & MINOR AXISCALCULATION
BR+DJ.l"'ER

lD ERRORSTROBE lCARRY (1) H

u
~n~

u

CALCULATiON
ER+D.u ....... ER

EFFECT X ARRAY
MAJOR AXISu____________~I~1___________~ ==~~'...;:_------------------------------------------------.. ."

WRT l

VClK

U;

ClKS X & Y REGISTERClKS DOWNCOUNTERu:=

ClK MAJOR AXIS
MA·8331A

Figure 6-70

Arbitrary Vector Timing-•

WOPS (Write Operations) Time - The modified data bits are written into the bit map location specified by. the X and Y counters.
The direction ROM circuit produces INHIBIT WRITE L, which must be high for the write
control to write to the bit map. There are three conditions that prevent a write operation fromoccurring.

•1.

DO.not write in direction 2 from an odd line or 6 from an even line.

2.

Do not write if the direction is 5 or 7, the scan line is even (YO), and the last direction
was 6.

3.

Do not write if the direction is 1 or 3, the scan line is odd, and the last direction was 2.

Direction Time - The outputs of the dire:ction register, bits F3 - FO, are inputs to the direction ROM. An arbitrary vector is drawn in direction 3 when the input bits of the direction
ROM equal B (hex). The direction ROM input bits FO - F2 determine the direction affected.
Direction 3 is a negative direction. If the Icarry bit is ai, only the major axis count:er is decremented. If the carry bit is a 0, both the :major and minor axis counters are decremented.
The vector sequence ends when the V clock signal clocks the down counter to O. This resets
the GO flip-flop.

6.7.5 Bit Map Write Control
The vector generator computes the series of memo.ry locations that make a vector. The bit map write
data generator controls the data stored for each pixel in the vector. The appearance of a pixel is controlled by two groups of data.
.
1.

Information stored in two planes at the pixel location

2.

Information stored in four locations in the output map (section 6 ... ).

Each pixel has 2 bits of information, and those 2 bits select one of the four output map locations during
screen refresh.
A multifunction circuit under microprocessor control selects one of the four combinations of two bits towrite for each pixel. Briefly, after the vector generator computes a pixel location, the current contentsof the location are read. Depending on the user's write mode, the contents are logically combined with
one bit of a pattern and the results are written back to the current location.

6.7.5.1

Blo,ck Diagram - The bit map write control circuit has the following parts (Figure 6-71).

Two 1-of-12 selectors (one for each plane). Data always comes from each bit map plane 12 pixels at atime. When the vector generator addresses the bit :map, the bottom four bits of the address select thedesired pixel data.
Write control RAM. Eight locations hold 2 bits eaf::h. The microprocessor loads the RAM before thevector operation according to the user's write mode. The RAM addresses are 2 bits of the current 'pixel
from the bit map, and 1 bit from the pattern regis1ter. See the VT125 User Guide for a complete description of the operation of the Custom Writing Control. (The IC has 16 locations of 4 bits each. The
VT125 uses only 8 locations and stores only 2 data bits. Each data bit is in 2 bit locations so 'the IC candrive all 24 bit map ICs.)

6-98

WRITE DATA TO
PLANE 1VECTOR
GENERATORRUNNING - - - . t(SELECTS
PLANE & PATTERNINPUTS)

PLANE 2WR ITE CONTROLRAM
16 X 2E89(8 X 2 USED)I/O DATA BUS
PLANE 2WOPS BIT - - - - - - (ALWAYS 0)
PATTERNPLANE 'I

1 OF 12
SELECTOR
PLANE 1MEMORY
DAT)\

E117,
97

1 OF 12
SELECTOR
PLANE 2

E 116,
113

ADDRESSMEMORY DATAFROM. VECTOR GENERATORPATTERN SHIFTREGISTER
E28(LOADED BY 8085)

CLOCK-[J)-A-TTERN(WRITE SIGNAL
MULTIPLIERFROM VECTORCOUNTER
E87
GENERATOR)----~----~

r:ULTIPLIERtEGISTEREBBrI/O BUSDATA

Figure: 6-71 . Bit Map Write Control Block Diagram

6-99

MA-8765

Address multiplexer. When the vector generator i.s not running, the multiplexor connects the low 4
address bits of the microprocessor bus to the write control RAM. The microprocessor uses the bus addresses to load the RAM according to the user's write mode. When the vector generator is running, themultiplexor connects 2 bit map data bits and 1 paUern register bit as addresses; the mUltiplexer uses
these addresses to read data from the write control RAM to write to the bit map.
Pattern register. The microprocessor loads a pattern into an 8-bit shift register. Each pixel that thevector generator addresses uses 1 pattern register bit as part of the write control process. When the
pixel is written, the write pulse to the bit map shifts the register (or increments the multiplier counter,below). The default pattern for vectors is all Is. The output of the shift register goes to its input so a
vector longer than 8 pixels gets a wraparound version of the starting pattern. When a character isdrawn, the pattern loaded into the shift register varies according to which scan of the character isdrawn.
Pattern multiplier counter. Each bit map write pulse is a clock input for the multiplier counter. The
microprocessor loads the counter with a starting count when it loads the pattern register; the patternregister reloads itself with the starting count at the e:nd of each count. If the pattern multiplier is 1, theneach count gives an output and shifts the pattern register. Larger pattern multipliers delay shifting thepattern register until the count finishes. This makes the displayed pixel appear wider.
Multiplier register. The microprocessor loads this r1egister with the multiplier value. The register holds
the value for loading into the pattern multiplier counter after every finished count and at every patternregister load.
6.7.5.2 Character Writing - Writing a character into the bit map is like writing a vector with thepattern register and pattern multiplier. The ReGIS text command translates an ASCII character code
into a set of dot patterns. To do this, the microprocessor reads a character look-up table located inmemory. The look-up table consists of a series of character cells, one cell for each ASCII code. Eachcharacter cell contains ten 8-bit bytes of pattern data to write as vectors. These pattern vectors compose
the character in the bit map and on the screen.
Figure 6-72 shows both the vector generator and pattern register operations for a size 1 character. Eachcharacter scan is one short vector drawn with pattern data loaded from the stored information for that
scan. When a character is larger than size 1, Figure 6-73 shows the pattern multiplier action. For a size
2 character, the pattern multiplier counts twice b,~fore sending a shift clock to the pattern register.
Therefore, two sequential pixels have the same data. The vector generator draws lines that are twice aslong so all the data can be displayed. The microprocessor counts the number of scans drawn with thesame pattern data. For size 2, it loads the pattern register with the next scan of character cell data after
two identical scans. Each of these parameters (vector length, pattern multiplication, pattern repetition),plus others such as vector direction, can be controll,~d with ReGIS commands. The VT125 User Guide
has complete descriptions of the commands.
.

6-100

o 0 0 0 000 0
000 1 0 0 0 0•• •00101 000o 1 000 1 0 0;- =>11111110•••••••
10000010••
1 000 001 0
1-.-----.---1
1 0 0 0 0 0 1 0.....- - - - - 00000000
00000000•••DATA LOADEDBACKWARDSPATTERN REGISTERo 0 0 0 1 000

VECTORSTARTVECTOR MOVEMENT IS:

..
10
SCANS

WRITE

.....

o 0 0 0 0 000~O'!J- --0--~O\J~ ,.... .,....

.. "'" ..- WRITEt:.

•~O\J;... ....- ...... WRITE

O

~'C.

~".........

..........

.,,;"

~~/

~

...

........:.+ ~ I

/

-

.

..

- ---

III

WRITE ... I

SCAN 1.
SCAN 2SCAN 10
VECTOR ENDS

MOVE = LOAD X AND Y COUNTERS WITH NEW START VALUE.
MA·8761

Figure 6-72

Draw a Character

6-101

PATTERN MEMORYMULTIPLIER = 2

PATTERN STARTS HERE AT
BEGINNING OF WRITING COMMAND
OR P [].

DARK AREAS REPRESENT PIXELS THAT ARE CONTROLLED BY ONES.
LIGHT AREAS REPRESENT PIXELS THAT ARE CONTROLLED BY ZEROS.

Figure 6-73

MA-9437

Pattern l\1emory and Multiplier

6.7.6 Bit Map Memory
The bit map has the following parts (Figure 6-74)

Two planes of memory. Each plane is twelve 16K X 1 DRAMs arranged in four rows of 3 DRAMs
each. One RAS signal controls each row. For any bit map read, all 4 RAS signals go low at the sametime to access all 12 DRAMs. (One CAS signal is common to all the DRAMs.) For a bit map write,
only the RAS for the addressed row goes low. There are ,three write signals to drive three columns of
DRAMs. Only the write signal for the addressed DRAM goes low. The intersection of oneRAS signal
and one write signal is only one DRAM.

Write select/disable circuit. This is a ROM that dl~codes address inputs to select the group of DRAMs
that receive a write signal. If an address would write to a location that is not in the plane, the circuitdisables all write outputs. (Such addresses occur when the graphics processor computes a graphic object
that overlaps the margins of the display.)
Row/column address multiplexer. This multiplexer is controlled by the WR/RD signal and selects thesource of addressing for the bit map. For most write operations, the bit map addresses come from the X
and Y multiplexer, supplied by the X and Y position counters in the vector generator. For read operations, the bit map addresses come from the H and V multiplexer, supplied by the horizontal and vertical counters in the timing circuits. Each set of counters provides a total of 14 address bits. RAS TIME
high selects one group of seven address signals, while RAS TIME low selects the other group.
The address lines on the multiplexers are scrambled to guarantee refreshes often enough for all the
DRAMs. Each raster takes 16.7'ms, but refreshes must be less than 2 ms apart. Therefore" the addresslines are arranged so that sequential addresses jurrlp among all DRAMs at least eight times per raster.
Then the vector generator address lines are scrambled in the same pattern so a given address on eitherside of the multiplexer always accesses the same bit. This scrambling method means the RAMs themselves do not have to reflect the H and V orienta1tion of the counters, provided that there are enoughunique addresses to cover the screen area. So a bad memory IC does not give a simple pattern on thescreen, although a bad shift register line does.

6-102

~~TPUT{....
_r.;-:;-'-------,RAM
SHIFT REGISTER...----c~

RAS --I-~f--f
RAS GOES TO ALL DRAMSDURING READ TOSHIFT REGISTER.
RAS GOES TO 1 OF 4
GROUPS OF 3
DURINGCAS
WRITE.

16K X 12
BIT MAPPLANE 1t

PLANE 2WRITE DATA\SAME ASPf

CAS GOES TO ALL
DRAMS

WRITE

-J

7 BITS~----------.--------~

r--------------------J
READ SELECTS H+V
WRITE SELECTS X + Y

DISABLE WRITE IF
ADDRESS IS OUTSIDE:OF SCREEN AREA.
ALSO SELECT FROM
3 GROUPS OF 4 DRAMS.

(/)

(/)

!::

!::

~

-:t

H+V COUNTERS

X+Y COUNTERS

ADDRESSES

o:l

o:l

RAS TIME
SELECTS
1 GROUP OF 7

NOTE: RAS, CAS, AND WRITE SIGNALSGO TO BOTH PLANES.

MA-8695

Figure 6-74

6-103

Bit Map

Bit map output shift registers. With each bit map read cycle, each memory IC puts 1 bit on its output.
The IC outputs for each plane connect directly to the inputs of three 4-bit shift registers. When
LD/SHIFT is high, it strobes the inputs into the registers. The right bit in each register appears at theshift output while LD/SHIFT is high. LD/SHIFT is high for one pixel time; this means the first bit
appears on the screen at LOAD time, then the other 11 bits shift onto the screen with the shift clock
while LD /SHIFT is low.
.
6.7.7 Output Map
The VT125 displays color and brightness by addressing one of four preset values for each pixel on thescreen. The VT125 can display each pixel on the screen with a different hue, lightness, or saturation.
However, it can only use four different colors at one time. That is, any pixel can differ from its neighbors, but only four different colors can appear on the screen at one time. This is the tradeoff that the
VT125 makes in its memory usage: rather than displaying many different colors at one time but only
allowing changes at fixed boundaries that are larger than the pixel size (as in the VKI00, which canchange only at 12-pixel horizontal boundaries), the VT125 displays a limited set of colors at anyone
time but allows changes to occur at any boundary down to the individual pixel dimension.
The VT125 displays color and brightness with Bl bit map memory and an output map. The bit map
memory has the same number of addressable loeations in it as the writable addresses of the screen
display (768 X 256). However, for each addressable location, there are two bits of data. Think of thesepairs as existing in two separate but closely conn·ected planes of addressable locations (Figure 6-75).
The pairs of bits can be written either one at a time or together. (See Writing Controls in the VT125 User
Guide.) They represent the four numbers 0, I, 2, and 3 when their binary values are decoded.
The four numbers are the addresses offour output map locations. Each output map location is I byte of a4- byte RAM. When the graphic memory is displayed, each pixel in the bit map requests that the
information in one of the output map locations be sent to the digital to analog converters (DAC). The
DACs convert binary data into drive levels for cathode ray tube (CRT) gun drives. Each output map
byte has 2 bits for the monochrome monitor in the VT100 part of the terminal (representingfour levels ofintensity on the monitor screen: dark, dim, normal, bold). Each output map byte also has 2 bits for eachof the color guns in the external or alternate ROB color monitor. These bits represent four levels for eachof the colors, or a total of64 different values of hue, lightness, and saturation (HLS). (RGB is required
because the National Television Standards Committee (NTSC) color standard does not provide enoughbandwidth to display color changes on individual pixels.) You can set the information in each output map
by using the mapping command with either ROB, letters, or HLS specifiers. (See the Screen Output Map
Definition in the VT125 User Guide.)
6.7.8 Output Latches and DAC Converters
Each time a pixel is output from the bit map shift registers, its 2 bits (SHIFT DAT A and B) address alocation in the output RAM (E58 and E46). The next SHIFT CLK strobes the data from the addressed
location into latches E91 and E94. The data stays in the latch while the RAM is addressed by the next
pair of data bits. The latch provides a stable signal to drive the digital to analog converters (DACs).
The DACs are open collector inverters that provide paths to ground resistors in the base circuits of thevideo drive transistors.
Using the green output as an example, reducing the voltage on Q4's base causes more current to passthrough Q4 and R 77. R 77 is the output load resistor; as more current passes through R 77, the voltage
across it increases. A CRT connected to that voltage gets brighter as the voltage increases. One way to
reduce Q4's base voltage is to connect a resistor from" the base to ground. The added current throughR 75 causes a voltage drop at the base. The DAC has two different resistors connected in parallel between the base and common. These resistors are in series with switches (the inverter output transistors)
that can disconnect the resistors, or connect one or both resistors, to common. The resistors have different values, so there are four possible voltages at Q4's base. Two bits from the output RAM are inputs tothe two inverters (E 100) for each color plus the monochrome output.

6··104ADDRESS IS SAME FOR "~BOTH PLANE S
X,Y
PLANE
1
0

---r

\

P ~ANE
1(LOW BIT)

BINARYDECIMAL

X,Y+'I

LOW
BIT

0

1

1

1

X,Y

1

X,Y+:2(H IGH BIT)

X,Y+l

1

_. -

1

X,Y+:3

_.

X,Y+2

...

,!

---

0

PLANE

0

1

OR

OR

1

1

3

WHITE

GREEN

0

2

LIGHT
GREY

RED

0

1

1

DIM
GREY

BLUE

0

0

0

DARK

DARK

SET BY S(M)
DEFAULT VALUESSHOWNPLANE WRITINGCONTROL BITS

0

COLOR

0

X,Y+3

PLANE

MONO

'

0

--

OUTPUT MAP

HIGH
BIT

W
COMMAND

o

W(FO)
W(F1)
W(F2)
W(F3)

~

CONTROL
BITS
0
0

0

1

0
1

1

1

PLANES THAT CAN
BE WRITTENNONEPLANE 0PLANE 1BOTH 0 AND 1

WRITINGCONTROLS(PATTERNS, ETC)WRITINGCOMMANDS(V,C,T)
MA-9468

Figure 6-75

Bit Map Planes and the Output Map

6-105

6.7.9 STP Board
The STP board (also called paddle board) holds the serial interfaces for the terminal. The interfaces
are made of UARTs, a baud rate generator, address decoders, and EIA line drivers and receivers. A
switch pack on the board selects the connectors used for the computer port and baud clock sources for
two of the UARTs.
6.7.9.1 UARTs - UART E3 communicates between the VT100 terminal controller and the graphics
processor. The typical switch setting configuration has the clock for both receive and transmit on E3
coming from a fixed rate signal on the terminal controller (AI8-1). The same fixed rate signal returns
to the terminal controller UART on A14-2 and A15-2 to drive the internal communications lines at thesame fixed rate.
UART E8 communicates between the VT125 graphics processor and the communications port. Its
receive and transmit clocks come from the terminal controller through the STP connector (AI4-1 andAI5-1). These clocks are controlled by the bud rate generator on the terminal controller. If the STP
connector does not have a board plugged in, these clocks return to the UART on the terminal controller.
But with the STP board installed, these clocks control communications with the host computer and canbe set with the SET-UP B controls.
UART Ell communicates between the VTl25 graphics processor and the auxiliary port( also called theprinter port). This port is more flexible than a printer port because the graphics processor allows full twoway communications over it. For example a digitizing tablet can be connected to it, given host software
support; for this reason the words Auxiliary Port are used in the VTl25 documentation. A baud rate
generator provides the baud rates for UART Ell on the STP board. The baud rate generator is the same
type on the terminal controller. Switches are se:t to drive both UART clock inputs from the samegenerator output, but firmware controls the use of the dual generator. The UART speed and number ofbits are set in SET-UP B, switch group 5.
All three UARTs have their receiver ready lines ORed together, and their transmitter ready lines ORed
together. The two ORed outputs go to microprocessor interrupt inputs on the graphics processor board.
6.7.10 Firmware
The VTl25 firmware includes several sections. The next paragraph describes some of them.
6.7.10.1 Memory and I/O Addresses - The VT125 has 24K bytes of firmware in ROM in addresses
OOOOH to 5FFFH, with 8K more unused ROM space from 6000H to 7FFFH. The RAM has 16K bytes
in addresses 8000H to BFFFH.
The I/O addresses are listed in Table 6-4.
6.7.10.2 Self-Test Processes - The VT125 has verification and diagnostic tests available. ANSI control functions invoke the tests. Some of the tests are VT100 specific, and others are VT125 specific.
This section describes the actions of the tests.
VT100 Self-Tests
The VT100 performs all power-up tests (CPU, ROM, RAM, AVO) as usual when you power up or
reset (SET-.UP 0) the terminal. The VT100 power..up/reset sequence invokes the VT125 power up-test.
You cannot run the VT100 data loopback and EIA modem loopback tests unless you remove the VT125
STP board.
.
If the "infinite loop" VT100 self-test is invoked from the VT100 keyboard in local mode or if the
VT100 escape sequence is sent from a host through the VT125, only the VT100 tests are repeated.
Under these conditions, any resulting VT125 tests are meaningless.

6··106

Table 6-4

I/O Addresses and Data

CommandAddress

Load X Position Register Low Byte
Load X Position Register High Byte
Load Y Position Register Low Byte
Load Y Position Register High Byte
Load Error Register
Load Pattern Register
Load Pattern Multiplier
Clear CLOCK SHIFT Glitch Flag
Load DJ! Register
Load DVM Register
Load Direction Register
Load WOPS Register
Execute Move Operation
Write Dot
Execute Vector Write
Execute Screen Erase
Load Horizontal Minor Offset
Load Horizontal Major Offset
Load Vertical Offset
Load Output RAM (four starting at:)Load Write Control RAM (8 starting at:)Read System Status
VT100 DART Data (R/W)
VT100 DART Control (R/W)
Computer UART Data (R/W)
Computer UART Control (R/W)
Auxiliary Port UART Data (R/W)
Auxiliary Port UART Control (R/W)
Load Auxiliary Port Baud Rates

80H
90H
AOH
BOH
COH
13H
14H
15H
FOH
FIH
F2H
F3H
OOH Start Data
01H
02H
03H
10H
IIH
12H
I8H
DOH
20H
OEH
OFH
OCH
ODH
OAH
OBH
08H

=

OIH

VT125 Self-Tests
Power-Up Tests - These tests occur whenever you power up or reset the terminal. See Paragraph 6.8.2
for an explanation of error reports.
1.

CPU register test - This test verifies that the basic CPU register operations work. If this test
fails, the microproc(~ss()r tries to flash an error code on the monochrome monitor.

2.

ROM checksum test _. A checksum is stored in each 4K bytes of ROM (2 for every 8K
bytes). The checksum is computed by this procedure: Shift and XOR each byte, starting withan initial value of high ROM address byt.e + 1; the result should be zero. If this test fails, themicroprocessor tries to flash an error code on the monochrome monitor and an encoded
ROM number on the color monitor.

3.

RAM test -- This test performs a worst-case read/write check of all 16K bytes of program
RAM. If this test fails, the monochrome monitor flashes an error code and the color monitor
flashes an encoded RAM bit number.

6-107

4.

Vertical sync timeout - This, test checks that the vertical sync signal appears repeatedly within approximately 25ms. If this test fails, the monochrome monitor flashes an error code.

5.

Vector timeout -:- This test checks that none of the vectors drawn in either the bitmap RAM
test or the vector generator test take longer than 100 ms. If this test fails, the monochromemoni tor flashes an error code.

6.

Partial video bitmap RAM test - This test checks that every bit tested in both video bitmap
planes can be written to both 1 and O. This partial test only tests the first eight scan lines ofvideo bitmap RAM; you can test the entire RAM on request. If this test fails, the microprocessor tries to display the message "VT 125 BM Error".

7.

Vector generator tests - This tests the basic vector functions by drawing a test pattern into
the upper-left corner of the display, then verifying it against a predetermined pattern. If thistest fails, the microprocessor tries to display the message "VT125 VG Error".

8.

Communications test - This test verifies the VT100-to-VTI25 communications link by requesting the terminal status from the VT100. If this test fails, the microprocessor tries todisplay the message "VT125 Ie Error". If the VT100 is LOCAL, the message "VT125
Offline" appears on the display.

Requested Tests - The following tests require operator participation, and can only be invoked with the
DECTST escape sequence sent to the VT125. (See Paragraph 6.7.)

1.

Data loopback test - This test requires an external loopback connector on the host communications port. The test only verifies data leads, and only at the speed selected by the VT100.
If this test fails, the message "VT125 EC Error" appears.

2.

Printer port loopback test - This test requires an externalloopback connector on the printerEIA port. This tests data lines on the printer EIA port. If this test fails, the message "VT125SC Error" appears.

3.

Display test - This test requires operator visual verification. The test cycles through the four
intensity levels of each of the three primaries and white, thereby testing the color output
RAM.

4.

Entire video bitmap RAM test - This test checks that every bit in both video bitmap planes
can be written to both one and zero. If thiis test fails, the microprocessor tries to display themessage "VT125 BM Error".

6.7.10.3 Graphics Protocols - The VT125 has three: different graphics protocols. Control sequences inthe data select the protocol.
ReG IS (remote graphics instruction set) is a graphics descriptor that uses high-level commands to construct basic graphics objects such as lines and curves. Except for the ANSI device control string mechanism for turning graphics on and off, all ReGIS commands use printable ASCII characters and decimal numerical values for option selection and pixel location specifications.
VTI05 emulation provides most of the functions of the VTI05 graphics terminal for compatibility withexisting software. The VTI05 has a few built-in processes such as shading and strip charting. Its pixel
locations need binary specifications from software in groups of ASCII characters selected for their
combined bit patterns.

6-108

DECwriter graphics is a protocol for transmitting t.he complete contents of a bit map. It uses ASCII
characters selected for their bit patterns. In the VTll25, DECwriter is two different protocols. One protocol converts the VT125 bit map into ASCII characters for transmission to a DECwriter graphics terminal. The other protocol writes incoming DECwriter graphics data into the bit map.
6.7.10.4 Communication Protocolls -- The VT125 is a complex device that has several separate processes operating at the same tirne to provide graphiics and text over a simple terminal communication
line. Figure 6-76 shows a general block diagram of the VT125, divided into two main functional blocks:
the graphics processor and the VT100 text terminal that holds the graphics processor. The figure shows
two important facts.
I.

The keyboard communicates only with the VT100, so LOCAL operation can only cause actions in the VT100, not in the graphics processor.

2.

The graphics processor manages all communications between the computer and the VT100,
and always uses xor-.r /XOFF. (This SET-UP feature cannot be turned off.)

EXTERNAL
COL.OR
MONITOR

INTERNAL:]
MONOCHROME
MONITOR

GRAPHICS
AND
TEXT

f

\/10 EO SYNC

,
R G

B

o VIDEOVT100TEXTTERMINAL

GRAPHICSPROCESSORNLINE~
1_ ..

4--

~

CURRENTLOOPADAPTEROPTION~r----+COMPUTER_ _ _ --1I

r-·I

'--,

LOCAL Ii~I--I

l _ _ . _ _ _ .1

~TERNAL
GRAPHICSPRIINTER

MA-9436

Figure 6-76

VTI25 General Block Diagram

6-1019Figure 6-77 is a more detailed look at the communication structure in the graphics processor itself. Thisshows the buffers included for each of the three bidirectional communication ports in the graphics
processor. The dispatcher is many processes. It controls the buffers with XON/XOFF; It sets up thedata paths from each sending port to each receiving port. And it passes all communications according to
ANSI X3.64-1979. That is, it examines data from all ports for instructions to itself. It passes anythingthat does not apply to the graphics processor to the ports set to receive the data from that source. Amongthe ports controlled by the dispatcher are the seleGtion of the graphics protocol under ANSI sequencecontrol. The choices in that block of the diagram are ReGIS, VTI05 emulation, and DECwriter
graphics. The following five figures show the internal connections that are set up for different
applications.

VT

TEXT
TERMINALI

I

i~ I
64 CHARRECEIVE
BUFFER-CI PROCESSOR MONO
VIDEO 1+.

IOUTPUT

16CHAR
BUFFER

I I

--I

r--

128CHARRECEIVE
BUFFERI

I
I
14-COMPUTERDISPATCHER
128 CHARRECEIVE
BUFFER-..

XON/XOFF CONTROL

L ----

r--

16 CHAR.....-..---I....-t T RA NSM IT r---+
BUFFER

J

I

I I

COLOR
VIDEO
OUTPUT

BIT MAPMEMORYIGRAPHICS
LPROTOCOLS

i+- TRANSMIT toII_--.,

7-9 CHAR
TRANSMIT --+BUFFER..........t.........
t .........
i .,

-----

100 -', 'GRAPH iCS

16 CHAR
TRANSMITBUFFERf
128 CHARRECEIVE
BUFFER

1 EXTERNAL
GRAPHICSPRINTER

I
I___ .Jt
MA·947

Figure 6-77

VT 125 Data Paths

6-110

Figure 6-78 shows the VT 125 operating as a text-only terminal. If you send XOFF from the keyboard,either by pressing NO SCROLL Of AUTO XON/XOFF is on) or by holding down CTRL and pressing
S, the receive buffer in the VT100 fills to the 32-character mark. Then the VT100 sends XOFF to thegraphics processor. When the 16-character transmit buffer in the graphics processor fills, it sends
XOFF to the dispatcher; then the 128-character receive buffer fills to its 48-character mark. At thatpoint (80 characters later) the graphics processor sends XOFF to the computer.

VT100--. IPROCESSOR
IGRmIlCs~[
TEXT
MONO
I

1

rI

TERMINAL .........--:-__

64 CHARRECEIVE
BUFFER~

16 CHAR
TRANSMITBUFFER

COLOR
VIDEO
OUTPUTVIDEO
OUTPUTr--.l--._--

-,
I

,_'

..

----I

I.
I

128 CHARRECEIVE
BUFFER~COMPUTER
7-9 CHAR
TRANSMITBUFFER....

128 CHARRECEIVE
BUFFER

16 CHAR- - -.....-.&- -

I
I I
--I

L ------

-- -

-

-

-

ANSI PARSER

16CHAIB
TRANSMITBUFFEFt---+--_. . TRANSMIT128 CHARRECEIVE
BUFFER

BUFFERI
I- ..... ......--' ___ ...I~

EXTERNAL
GRAPHICSPRINTER
MA-9475

Figure 6-78

VT125 as a Text-Only Terminal

6-111

Figure 6-79 shows the VT125 operating as a graphics terminal. A deviCe control string is being sent to
the terminal from the computer. The terminal may be in any protocol: ReGIS, VTI05, or DECwriter
graphics. The keyboard can communicate with the computer, but any screen response to keyboard commands is under the control of the computer's programming.

- --.I-- ---VT100TEXT
TERMINALI

MONO
VIDEO
OUTPUTr

64 CHARRECEIVE
BUFFER

~

H

COLOR
VIDEO
OUTPUT~

BIT MAPMEMORY~C

16 CHAR
TRANSMIT ....
_.....-----,
BUFFERt t t ..,--

GRAPHICSPROTOCOLS

I I
TRANSMIT ~BUFFER

128CHARRECEIVE
BUFFER..
I--I'----- ~XON/XOFF CONTROL-------..

ANSI PARSER

J

I
I I

16 CHAR:3
TRANSMITBUFFERL

128 CHARRECEIVE
BUFFER

1 EXTERNAL
GRAPHICSPRINTERf+-

I

DISPATCHER~9CHAR

128 CHARRECEIVE
BUFFERI
I
I

COMPUTER

16 CHARrRANSMIT ~BUFFER

I
I___ .Jf
MA 9477

Figure 6-79

VT 125 in a Graphics Terminal

6--112<Figure 6-80 shows the VT125 operating as a graphics terminal. A device control string is being sent to
the terminal from the computer. The graphics protocol commands are being displayed on the screen at
the same time. This is a feature of VT125 ReGIS and is not available with the other protocols. The
keyboard can communicate with the computer, but any screen response to keyboard commands is under
the control of the computer's prograrn.

--......,

-,

CS '~
IFG"RAPHi'
PROCESSOR MONO
TEXT
VIDEO
TERMINALII ~ OUTPUT
---'
r' I
VT100

COLOR
VIDEO
OUTPUT

16 CHAR
TRANSMITBUFFER64 CHARRECEIVE
BUFFERI

I
I

128 CHARRECEIVE
BUFFERCOMPUTERDISPATCHER....._ _..... --_....1.
_ _ _ _ _.....

128 CHARRECEIVE
BUFFER

7-9 CHAR
TRANSMITBUFFER- - - - I....... -XON/XOFF CONTROL
16 CHAR- - -- - - - ~-_... TRANSMITANSI PARSER
BUFFER

I

I I

...J

L _--1_-

16 CHAR]
TRANSMITBUFFER

128 CHARRECEIVE
BUFFER- ....- ......

--'

I
I

___ .J

EXTERNAL
GRAPHICSPRINTER
MA-9474

Figure 6-80

VT125 in ReGIS Graphics with Commands on Screen

6-113Figure 6-81 shows the VT125 printing from the screen to the optional graphics printer in DECwriter
graphics protocol. This is the result of the screen hardcopy command in ReGIS. The keyboard cancommunicate with the computer, but the computer cannot communicate with the dispatcher until theprint operation is complete. However, if a graphics off command (string terminator: ESC \) immediately follows, the hardcopy command, the computer can communicate with the dispatcher during theprint operation.
Figure 6-82 shows the VT125 printing from the computer to the optional printer. This is the result of
the ANSI media copy command from the computer. The media copy command can turn the VT100
and auxiliary (printer) ports on and off. Therefore, the screen can display the data going to the printerif desired. To print a stored DECwriter graphics protocol file, display it on the screen and use the
ReG IS hardcopy command to print it.

---.

VT100
TEXT
TERMINAL

I
I

r;:-:--

GRAPHICSPROCESSOR

MONO~.
I _------1r-

I

II

~

,..-_~~~TCHER

f4-......-----II. .I I 1~ - I - - - - - - - t - -....
ANSI PARSER,~t
16 CHAR
TRAf\ISMITBUFFER

L......-.,...--' -,~[Figure 6-81

128 CHARRECEIVE
BUFFER

16 CHAR
TRANSMIT ~BUFFERI
I___ -I-....,t----t

EXTERNAL
GRAPHICSPRINTER------'

VTll25 Printing from Screen

6-114

COMPUTER+-IXON/XOFF CONTROL

I
I I
---I

128 CHARRECEIVE
BUFFER

I
I
I

I
128CHARRECEIVE
BUFFER-------r------'I I
7-9 CHAR
TRANSMITBUFFER

GRAPHICSPROTOCOLS[

BUFFER

COLOR
VIDEO
OUTPUTMEMORY

16 CHAR+ - TRANSMIT~BIT MAPVIDEOOUTPUT--------.
64 CHARRECEIVE
BUFFERt t t ..,-------

MA·9476

------,VT100TEXT
TERMINALIr,--.... -_._---

II"GRAPHiCs{
PROCESSOR MONO

I

~

I

_----J

16 CHAR
TRANSMITBUFFER64 CHARRECEIVE
BUFFER

COLOR
VIDEO
OUTPUT,

BIT MAPMEMORYVIDEO
OUTPUT-,
I

I
I

128 CHARRECEIVE
BUFFERt--

COMPUTERDISPATCHER

7--9 CHAR
TRANSMITBUFFER

1_ _ _I

I I_ _ --Ir: - - - - - -16CHARANSI PARSER

BUFFER..w_IXO~,,:<OFF CONTROL ....._~ TRANSMIT

16 CHAR -]TRANSMITBUFFERL-

128CHARRECEIVE
BUFFER~~---'

I
I___ ...1

I:XTERNAL
GRAPHICSPRINTER
MA·9473

Figure 6-82

VT125 Printing from Computer

6.8 VT125 TESTING AND TROUBLESHOOTINGThis section explains the VT 125 testing and troubleshooting procedures.
6.8.1 Preparing for Self-Tests
Use this procedure to prepare the terminal for all self-tests except a single power-up test.
1.

Turn the power switch off.

2.

Disconnect the communication cables from the computer and auxiliary data ports. The computer port communication cable may be ,either EIA or 20 rnA.

3.

If a cable is connected to the EIA computer port connector, install an EIA loopback connector on the EIA connector. See Figure 6-83. The EIA loop back connector part number is12-15336. One loopback connector is shipped with the terminal or upgrade kit.

4.

If a cable is connect,ed to the 20 rnA connector, the 20 rnA current loop adapter option is
installed. Install the lloopback connector (PN 70-15503-00) included with the option. Do not
use the EIA loopbaclk connector at the same time as the current loop connector ..

5.

To perform the auxiliary port tests, install an EIA loopback connector on the auxiliary port
connector. If the conlmunication port is EIA, you need a second EIA loopback connector.

6.

Turn the power switch on.

7.

Make sure the terminal is ON LINE, with the ANSI/VT52 SET-UP B feature set to ANSI(SET-UP B switch 2,·3 := 1).

6-115

TOP CONNECTORUSED ON VT125
AND VTIXX-AC

VT100} BOTTOM
VT125 CONNECTOR
VT132

CONNECTORSFROM PIN

TO PINTO PIN

2

3

15

4

5

8

20

6

22

19

12

17

E

*DATA LEADS ONLY
NOTE: ACCESS COVER
SHOWN IS VT125
MA-7868A

Figure 6-83

EIA Loopback Connector

6-1166.8.2 Error Reporting.
This section explains how the VT125 reports VT100 and VT125 errors.
6.8.2.1 VT100 Errors - VT100 (~rrors are reported in the usual VT100 manner, in the LEDs or as acharacter in the upper-left corner of the display.
6.8.2.2 VT125 Errors - The VT125 reports its self-test results with the graphics display. It reports
fatal errors by flashing the monochrome display according to a coded intensity pattern (Table 6-5). Usean oscilloscope to measure the monitor outputs.
On ROM or RAM errors, the color display provides additional information in the form of an encoded
color output. Table 6-6 shows the collor combinations for each of the possible values from 0 to 7.
You do not have to terminate the video outputs for troubleshooting. However, unless 75-ohm loads areattached, the output voltages are higher than specified. Table 6-7 shows the voltages for both the monochrome composite video output and the RGB outputs when they are not terminated.
The nonfatal errors (terminal still functions partially) try to display an error code as text. This requiresa large amount of working code and hardware, and thus may be somewhat meaningless. If, however,enough of the h.ardware is working, one of the following messages will appear in the center of the display.
VT125 xx Error
VT125 OK
VT125 Offline
xx is an error code representing one of the following error(s).
BM - Video bitmap RAM error
VO - Vector generator error
IC - Internal (VT125-to-VTlOO) communications error
SC - Serial (auxiliary) port communications error
EC - External (host) communications error
The terminal clears this status message when the next character sent from the host arrives. The VT125
is operational after self-test if no fatal errors occurred. If a nonfatal error occurred, then the VT125 will
work as well as possible considering the failure.

Table 6-5

VT125 Fatal Error Indication

Error

Monochrome Displ:ilY
Alternates Between

12o and 1o and 234o and 35

1 and 3

Color Display
Shows
ROM address
B14-12
RAM bit number

1 and 2

6-117

Explanation
CPU register error
ROM checksum error
Program RAM error
Vertical Sync
timeout
Vector timeout

Table 6-6

ROM and RAM Failure Indications

Number

G

R

B

Color

ROM

RAM

0
1
2
3
4
5

0
0
1
1
2
2
3
3

0
2
0
2
1
3
1
3

0
1
.2
3
0
1
2
3

Dark
Pink
Blue
VioletOrangeLight brown
Pale blue
White

E22
E22
E23
E23
E24
E24
E25*
E25*

E4
E3
E2
El
E8
E7
E6
E5

6
7

*E25 is not used in the VT125.

Table 6-7
Numbered
Level

Unterminated
Mono
RGB

3
2
1

2.0
1.7
1.3
0.6

o

Error Output Signal Levels

2.0
1.3
0.5

o

Note: Mono composite sync tip is at 0 volts.

6-118

'CHAPTER 7
STANDARD TERMINAL PORT

7.1 INTRODUCTION
The standard terminal port (STP) is intended to be a standard interface for terminal options. These options may include communications, graphics, a terminal processor, and mass storage devices.
The STP was originally developed as part of the VT100. Attempts have been made to ensure the generality of the STP, but some compromises toward the VT100 may have been made. Special VT100 considerations are noted in this chapter wher~: applicable.
7.2 DEFINITIONS
The following definitions apply in this discussion:
Active device - A device that either: 1) wishes to take over control of the host -communication line; 2) requires all received and transmitted data passed between the host communication line and the terminal
controller to be looped through the device; or 3) needs to communicate with the terminal controller
directly. One example of an active device is a terminal processor doing local editing, standalone computing, etc.
Host - That which connects to the slerialline connector on the outside of the terminal. Normally, this is acomputer system (via direct line or otherwise), but might in some cases be another terminal or other device.
Host link - The serial line between the option and the host. The option's line UART is on one end of thislink, and the host is on the other.
Local link - The serial line between the terminal controller and option when an option is present. The terminal controller's UART is on one c~nd of this link, and the option's local UART is on the other.
Passive device - Those devices that do not need the capabilities of an active device. A passive device normally only wants to listen to the data stream from the host and to pass data back to the host, but not tointerfere with normal terminal or comlmunications line operation. Terminal mass storage, such as a tapecartridge, would fall into this class.
Receive only device - A special case: of a passive device that never needs to transmit data to the host, but
only to listen to data from the host. Certain types of graphics options fall in this category.
Terminal controller (TC) - The processor in the basic t(!rminal that controls normal terminal operation.
This term is used to distinguish it fIrornany other proces,sor that might be packaged into a terminal.
Terminal processor (TP) - An additional processor, not necessary for basic terminal operation, but to add
other functions, such as local editing or computing.
SET-UP mode - The terminal mode that allows user to set terminal characteristics.
7-1

7.3 OVERVIEWThe STP provides a means of interfacing terminal options. Logically, this interface is similar to that of aserial line splice (Figure 7-1) which is accomplished by breaking the serial line from terminal to host andinserting the option. An internal interface connector is provided for reasons of packaging aesthetics, andadditional signals are present to reduce the interface cost. Part of the terminal controller firmware is also
dedicated to support the STP, since some information needed by the option is passed as data across theserial line, rather than assigning additional pins on the interface connector. This firmware also allows theoption to use the terminal characteristics specified by the user in SET-UP Mode. The STP provides a reasonably cost-effective interface for a large class of terrninal options, and is general enough to allow fordecoupled evolution of terminals and terminal options.

~MINAL 1. . .

1 DEVIC~......I-----I.......1 HOST I

r - - - i......

MA-4288

Figure 7-1A

Serial Line Splice Connection~~NN

TERMINAL
TC
CONTROLLER UART(TC)(+EIA)H I
HOST

MA-4289

Figure 7-1B

STP wilth No Option Present

TERMINAL
TC
CONTROLLER UART(+EIA)
(TC)

STP
CONN

•

EIA
CONN

HOST

•

EIA
CONDX

EIA
CONDX

LOCAL
UAHT

LINE
UART

OPTION
MA-4290

7-1 C

STP with Option Present .

7 ""

-~.

7.4

FUNCfIONAL SPECIFICATION

7.4.1 Interface Signal Lines
The signal lines that make up the STP are shown in Figure 7-2. The lines are accessed through a standard
20-pair shorting connector, described in Paragraph 7.6. In general, the signals are standard EIA serialline and modem controls, though sorne special signals are also present. See Paragraph 7.5 for complete
electrical specifications.

TO TERMINALCONTROLLER
TC RXD44-TC TXDSHORTINGPINSTO EIA LINE
CONNECTOR...

- - - - - . . . - - - - - - - - - - LINE RXD---~..
~ LINE TXD"I.. I
TC TCLK---'
INTERNAL TCLK .....- - - - - -:=J

TC RCLK ----<---------.+-..I
INTERNAL RCLK •___- - - - -~lOCAL ClK.. I

OPTION PRES ..
I- ~SIGNAL GROUND - - - - - - ,TC I N I T - - TC RTS--TC DTR
TC SRTS/SPDS·TC DSRTC CTSTC CD..
TC SCD/SPDI"
TC RI
..

..I
.. I -- - - - - - t i l * - - - - - - - . . ..
. LINE RTS------tl-+---------.....
LINE DTR"I- - - -..... LINE SRTS/SPDS"I-----foI
I-....- - - - - - - LINE DSR------*
J1I-- - - - - - LINE CTS

I-- - - - - LINE CD------M-------LINE SCD/SPDI
I'-----+111-------LINE RI
II+-- - - - - EXT TCLK

t---, - - - - - EXT RCLK

+5 V
+12 V
-12V - - - ,

..I

..,

..,
MA-4287

Figure 7-2 STP Signal Lines

Each pair of signals is connected together when no option is present. When an option is plugged in, eachconnection is broken, though the option nlay choose to short through any signal it does not wish to control.
Note that some signals are used between the termina[ controller and option only or between option andexternal connector only, and so are defined on only one: side of the connector. The signals and their meanings are as folllows.

7·.]Signal
TCRXD

Type
EIA

Meaning
TC received data. Serial,
asynchronous data is passed fromhost or option to the TC 01) thisline.

LINERXDEIALine received data. Serial data ispassed from host to option or TC
on this line.

TCTXD

EIA

TC transmitted data. Serial datais passed from TC to host or
option on this line.

LINETXD

EIA

Line: transmitted data. Serial datais passed to host from option orTC on this line.

TCTCLKTTL

TC transmi tter clock. This signal
from the TC bit rate generator
norrnally drives the UART thattalks to the host. Its frequency
is 16 times the bit rate.

INTERNAL TCLKTTLInternal transmitter clock. Thissignal drives the UARTassociatedwith the TC. When no option is
installed this signal is driven by
TC TCLK. With an option installed
this signal.would normally be
driven by either TC TCLK or LOCAL
CLK. (Refer to Paragraph 7.4.2.2
for further information.) The baudrate applied to this line may not
be more than 19,200 for a VT100.

TCRCLKTTL

TC receiver clock. Just like TC
TCLK.

INTERNAL RCLKTTLInternal receiver clock. Just like
INTERNAL TCLK (19,200 max. for
VT100).

LOCALCLK

TTL

Local bit rate clock. This is aclo(:k signal provided by the TC
which is 16 X, a "convenient" data
rate: for the local (TC to option)link. Normally, this bit ratewould be near the highest ratethat the TC can handle
efficiently. It need not be astandard bit rate, so this-clock
can be sourced-by some timing

7-4

SignalType

Meaningsignal that happens to beavailable in the terminal. The
equivalent X 16 baud rate suppliedby the VT100 is 15,734 baud
(251.744 kHz).

OPTION PRESENTTTL

Option present. A low on this line
means that no option is present,
and normal terminal operation isin order. It must be passively
pulled up on the TC board. A highon this line indicates thepresence of an option and informs
the TC to make appropriate changes
in its operating modes.

TC INIT

TTL

Initialize. This line notifies theoption that a power-up clear or
terminal reset has occurred. (Seeelectrical specifications in
Paragraph 7.5.)

TCRTS
TCDTR
TC SRTS/SPDS

EIATerminal controller modem control
signals. These signals are thestandard EIA modem control
signals: request to send, data
terminal ready, and secondary
request to send (or speed select).
The option may ignore them, usethem itself, or pass them throughto the corresponding "LINE"signals.

LINERTS
LINEDTRLINESRTS/SPDS

EIALine modem control signals. EIA
modem control signals that go to
the host line may be fed from
option or from the corresponding"Te" signals. In the VT 100; LINE
SRTS/SPDS is strapped to pins 11,
19, and 23 on the RS-232-C
connector mounted on the terminal.

TCDSR
TCCTS
TCCD
TCSCD/SPDI
TCRI

EIA

TC modem status signals. Theselines are the standard EIA status
signals: data set ready, clear tosend" carrier detect, secondary
carrier detect (or speed
indicator), and ring indicator.
The option may source thesesignals to the TC, or pass throughthe corresponding "LINE" signals.

7-J".

Signal
LINEDSR
LINECTS
LINECDLINESCD/SPDI
LINERITypeEIAMeaningLine modem status signals. The EIA
modem status signals received fromthe host line connector. May be
used by the option, or passed
through to the corresponding "TC"signals. In the VT 100, LINESCD /SPDI is connected to Pin 12 of
the RS-232-C connector mounted on
the terminal. This pin is used for
different functions by different
modems.

EXT TCLK

EIA

Ext~:rnal transmit clock. Thissignal is provided by a modem orother external device. This pin isconnected to pin 15 on the
RS-232-C connector mounted on thetermtinal. It is intended to be
used by an option that needs thissignal.

EXT RCLK

EIA

External receive clock. Thissignal is provided by a modem orother external device. This pin isconnected to pin 17 on theterminal's RS-232-C connector.

+5V,+12V,
-12V

Power

Interface power. (See Paragraph7.5.2 for further specifications.)

SIGNAL GROUND

GroundSignal ground.

7.4.2 Protocol Specification
Proper operation with the STP requires some firmware support in the terminal controller. This section
specifies the protocol used to communicate between option and terminal controller.
7.4.2.1 Terminal Operatioll with No Option Present - In standalone terminal operation, all signals on
the STP are passed througb by the shorting connectoJr. The terminal controller senses the absence of an
option and performs its normal function. In SET-UP mode, when the user makes changes to terminal
characteristics, these changes take effect in the normal manner. Any escape sequences from the host destined for a nonexistent device are ignored by the terminal controller.
7.4.2.2 Standard Set-Up for Local Link - When an option is present and breaks the serial line as it
passes through the STP connector, the option and terminal controller must agree on the line characteristics for the local link. To this end, the assertion of OPTION PRESENT causes the following changes:
Bits/Char

Set to 8 bits per character

Stop Bits

Set to I stop bit

7-6

Parity

Set to no parity

XOFF

Line synchronization (X ON /XOFF) must be supported in both directions on thelocal link. Note that the TC must accept XOFF as well as source it.

Normally~ it is assumed that the option will use the TC TCLK and TC RCLK signals to drive its line

UART, while using LOCAL CLK to drive INTERNAL TCLK and INTERNAL RCLK. The option
may, however, choose to source another set of clocks to drive the TC UART instead. INTERNAL
CLOCKS should not be driven at a frequency higher than 19,200 baud for the VT100. It is recommended that INTERNAL TCLK and ][NTERNAL RCLK be set to the same rate to avoid XON /XOFF timing problems.
7.4.2.3 Control Sequences for Terminal Parameters - Only two control sequences are specified for STP
operation. The first of these reports terminal parameters of interest to the option, while the latter is used
to request this information. The formats of these sequences are:
D ECREPTPARM -. Report Terminal Parameters
ESC [ <sol>;<par:>;<nbits>;< xspeed>; < rspeed>; < clkmul>;<flags> x
D ECREQTPARM -- Request Terminal Paranleters
ESC [<sol> x
The final character for both strings has been chosen as lowercase x (octal code 98, column/row specifier
7/8). This is a DEC Private sequ1ence.
DECREPTPARM is sent by the terminal controller to notify the option (or host) of the status of selected
terminal parameters. It may be s(mt when requested by the host or option, or at the terminal's discretion.
DECREPTPARM will be sent upon receipt of a DECREQTPARM, or voluntarily upon leaving SETUP mode when the terminal sees option present asserted and it has been asked to report unsolicited by aprevious host request.
The option is responsible for sensing a terminal power-up or reset, which it may note by the assertion of
TC INIT by the terminal.
The meanings of the parameters are as follows:(* indicates the assumed value if the parameter is not specified.)Parameter
<sol>

Value
Oornone:2
3

Meaning
This message is a request (DECREQTPARM) and the terminal
will be allowed to send unsolicited reports.
This message is a request, and henceforth, the terminal may only
report in response to a request.
This message is a report (DECREPTPARM) and the terminal
thinks it may report at will, although this particular report may
not be voluntary.
This message is a report, and the terminal is only reporting onrequest.

7-7

Parameter
<par>

Value
1*
2
3
4
5

Meaning
No parity set
Parity is always space (not a VT 100 state)
Parity is always mark (not a VT100 state)
Parity is set and odd
Parity is set and even<nbits>1*
2

8 bits per character7 bits per character
Because some terminals have limitations inhandling nurneric values, baud rates cannot besent as decimal strings (e.g., 2400). This
list of baud rates is basically encoded on
multiples of 8 so further speeds can be
specifiedlater and left in baud rate order.

<xspeed>,<rspeed>

Bit
Per
Sec

Rate
50
75
110
134.5
150
200
300
600
1200
1800
2000
2400
3600
4800
7200
9600
19200

o

8
16
24
32
40
48
56
64
72
80
88
96
104
108
112*
120

(not a VT100 speed)<clkmul>1*
2

The bit rate rrmltiplier is 16
The bit rate rrmltiplier is 64<flags>0-15This value cOlnmunicates 4 bits of user defined information as adecimally encoded binary number. These bits may be assigned in
an STP device dependent fashion. Bit weights are 8 4 21 from left
to right. The default value for these four bits is O. In the VT100,
these bits are switch group 5 of SET-UP B.

If any parameter (except for <sot"» is zero or not present, it should be interpreted as the default value
for this parameter. The default for each parameter i8 marked with an asterisk (*) in the above list. Any
parameter out of its defined range must be treated as an error. Additional paramet~rs (beyond these seven) must be ignored without affecting the interpretation of the other parameters. This last restriction allows for future standardization of the additional parameters.

7-8

7.4.2.4 Initialization - The option must sense the signal TC INIT from .the terminal controller andreset itself to initial state upon reception of this signal. Timing for this signal is specified in Paragraph7.5.1.2. This signal may be us(~d to reboot a terminal processor if desired. It will be generated at
terminal power-up, and in ]['espons(~ to a "reset to iniitial state" or confidence test request from the hostor operator.
7.4.2.5 BREAK - The BREAK signal will be transmitted over both the local and host links in thenormal manner. If an option which passes characters from the terminal controller to the host without
modification, the option must dl~tect the break on the local link and generate a corresponding break on
the host link.

If a terminal processor treats the terminal controller as a terminal, BREAK from the terminal controller may be used for a st.andard purpose such as I:;ausing entry into ASCII console microcode. This
may require the option to use a UART with an external "framing error" line, or to design in a
hardware break detector (counter and gate).
7.5

ELECTRICAL SPECIFICATIONS

7.5.1 Signal Lines
Specifications for 'the signal (nonpower) lines are a follows.
7.5.1.1 Signal Levels - Two cllasses of signals are present on the STP connector. The first class are
standard EIA levels, and include transmitted and r'eceived data, modem control signals, etc. The second class are TTL signals used to control interfac(~ operation, and include bit rate clocks, OPTIONPRESENT, etc.
For VT100:
All EIA outputs
Mark State -6.0 to ·-12.01 V
Space State +6.0 to 12.0 V
All EIA inputs
Mark State +0.75 to -25.0 V, -8.3 rnA max.
Space State +2.25 t.o +25.01 V, +8.3 rnA max.
All TTL inputs
VIH = 2.0 V max.
IIH = 20 p.A max. @ VI = 2.7 V
VIL = 0.8 V max.
IlL = 0.5 mA @ VI = 0.4 V
All TTL outputs
VOH = 2.7 V @ IOH = 0.1 mA
VOL = 0.5 V @ IOL = 3.2 mA
7.5.1.2 Signal Timing - The INIT H signal goes high when the VT100 starts an initialize sequence andgoes low when the VT100 is ready to operate. The: minimum high time is 100 ms.
LOCAL CLK has the following period for the VT100 as shown in Figure 7-3.

7.. 9

12TI~TIWHERE T= 1.86928 psec
MA·4298

Figure 7-3 Local Clock7.5.2 Power Supply Lines
Voltage regulation specifications and base product power requirements for the VT100 may be found in
Chapter 4. All options drawing power through the STP or 20 rnA connectors on the VT 100 terminal
controller board may draw no more than 0.5 A from anyone voltage. Options drawing power fromany connector in the VT100 must be sure that their requirements, the needs of other options, and theneeds of the base VT100 are consistent with the capability of the VT100 power supply.
7.5.3

Connector Pinout
TCTXD
TCRXD
TCRTS
TCCTS
TCDSR
TCDTR
TCCD
TCRI
TCSPDSTC SPDI-12 V
TCTCLKTCRCLK+12 V
OPTION PRESENTLOCALCLKTC IN IT
+5V

7.6

2
-4
6
8
-10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40

1 LINETXD
3 EXT TCLK
5 LINERXD
7 Ln~E RTS
9 EXT RCLK
11 LINECTS
13 LINE DSR
15 LINEDTR
17LINECD
19 LINE RI
21 LINE SPDS
23 LINESPDI
25--27 INTERNAL TCLK
29 INTERNAL RCLK
31--33 SIGNAL GROUND
35 --37 --39---

MECHANICAL SPECIFICATIONS

7.6.1 Shorting Connector
The STP connector, DEC part number 12-14829 consists of 20 pairs of shorting bifurcated contacts,
spaced on 0.125 inch centers, with 0.4 inch penetration (Figure 7-4).
7.6.2 STP Connector Card
The card that plugs into the STP connector may serve as just a paddle card with connection to a
separate module, or may actually contain circuitry such as a minimum terminal processor. The terminal provides room for a card at least as large as and with finger and connector placement similar to
those in Figure 7-5. STP interfaces to be dedicated to a particular terminal family may depart from thisspecification, but at penalty of future generality.

7-10

MA-4286

Figure 7-4 STP Connector
7.7 GUIDELINES FOR THE DESIGNER
This section is not, strictly speaking, part of the STP specification. It is meant to provide some indication of how the STP may bl~ used to implement some different terminal configurations. It is notintended to be an exhaustive study of all possible options, nor to dictate particular design decisions. It
is hoped, however, that it will b~: useful to the architect and option designer, and provide some insight
into the choices made in specifying the STP.
7~ 7.1 Use with Receive Only Dlevke
There are two basic ways to implement a receive only device on the STP. One method requires only
one UART, the other two. The first method is more limited, however, while the second is more
flexible.

7.7.1.1 Single UART Method -- In this case, the option shorts through all STP signals and does notassert OPTION PRESENT. It picks up the receive bit rate clock from the STP signal lines and uses
only the receive side of its UART to tap off the TC RXD/LINE RXD line. It also watches for TC
INIT and may, if desired, monitor the state of the modem control and status lines.
The limitations of this method are:1.

The option may not send XOFF to the host to control the received data rate.

2.

The option gets no information or parity status or sense from the terminal controller. It may
try to deduce this information from the data it sees, or specify that it may only be used incertain modes, however.

7-11

3.

The option gets no information on number of bits/char or bit rate mUltiplier from theterminal controller. Similar to parity problem.

The advantage of this method is its low cost for implementing a receive only device.

109.99 mm:r4=====~:~1...4_ 2.03 mm

r-----8-.5-1-m--m-- (._4._32_5_in_.)_-_-_-_-_-_-_-.....
4
1 1 - - - - (3.350 in.)I ..
I(.800 in.)

--r

I

I

06

I
I
I
I

I
I
I
I
I

2.94 mm

I

I

I

in.)

-e- - - --.-----------------I
I

HOLE LOCATIONS ONTERMINAL CONTHOLLER BOARD

105.66 mm{4.68 i n.)

COMPONENT SIDE--j r- .127 mm(.05 in.)

~l

rL

L

- --

CJ12mm(1.230 in.)3.51 mm(1.380 in.)mR~

f

.76 mm(.300 in.)

693 mm(2.730 m.)

I I I I I I I I I I I I I I I I -I I I I -,.... ..... ,.... ,.... ,.... .-- ..... ..... ,.... ,.... .... ...- ,.... I - - ,.... ,....
15 m{.06 in.)
MIN

~

~

I

I

I

I

I

I

I

I

I

I

I

I

I

I

I

I

,.-

I

I

,.... ,....
II

I I I I I I I I I I I I I I I I I I I I
L .127mm~m
l.20mm~ j.- .318(.05 in. )(.125 m.)
KEYSLOTTYP
19 PLACES(.080 in.) FINGERS
20 PLACES
MA-4296

Figure 7-5 STP Option Card

7.. 12

7.7.1.2 Two UART Method - [n this case, the option breaks the serial data and clock lines on the
STP, while passing through the modem control and status signals without change. It asserts OPTIONPRESENT, normally ties LOCAL eLK to INTER~~AL TCLK and INTERNAL RCLK as well as toits own local UART, and uses TC TCLK and TC RCLK to drive its own line UART.
[n this mode, the option is responsible for implementing XON/XOFF on the host link, if that featureis enabled. It may also XOFF the t(~rminal controller if the data is coming too fast, since the data rates
on the local and host links may not be the same. It must, of course, also respond to an XOFF from theterminal controller.
7.7.2 Use with Passive Device
Unlike the receive only device, the passive device option wishes to transmit data on the host link, andmust therefore break the serial lint' as it crosses the: STP connector.
The passive device connects to the STP in the same way as the two UART receive only device. It
asserts OPTION PRESENT and drives INTERNAL TCLK and INTERNAL RCLK (with either
LOCAL CLK or a clock generated by the option itself).
In this mode of operation, the option must parse all valid ANSI sequences it passes from the terminal
controller to the host. First, it must recognize DECREPTPARM in order to get the current set ofterminal characteristics. Second, it must parse all other ANSI sequences so that it never sends data to
the host in the middle of a sequence generated by the terminal controller. Sequences that must be
handled correctly are specified in ANSI X3.64-1977,. and include: escape sequences, control sequences,control strings, and single shifts.
Since a passive device doe:s not need to talk to the terminal controller, it need not parse ANSI sequences from the host before passing them on to the terminal controller. Note that the terminal
controller must accept an XOFF in the middle of a (escape or control) sequence without error. The
option need only recognize those sequences which belong to it. As long as these are valid ANSI
sequences they will be ignored by the terminal controller.
Because a single terminal may have more than one option, it is required by this specification that any
passive device must replicate the standard STP shorting connector. This shorting connector should
break the host link on the option before that link returns to the STP connector of the terminal controller (or option) that the device plugs into. (For more detail on these requirements, see Paragraph7.7.6).
7.7.3 Use with Active Device
There are at least two types of active devices: (1) the terminal processor acting as the CPU in astandalone system packaged in a terminal box, and (2) the terminal processor acting to enhance theterminal functionality, to provide local editing, fornlat and value checking, etc. In the former case, theterminal processor (the active dc~vke) views the local link and host link sides of the STP as two separate
entities and may, in fact, not even Inake use of the host link. In the latter case, by contrast, the terminal
processor (again the active device) is seen only as augmenting the basic terminal operation, and (insome abstract sense) passe:s through aU the data it handles between host and terminal controller.
7.7.3.1 Terminal Processor as Standalone CPU -- In this configuration, the terminal processor treats
the local and host links of the STP as two separate devices. It asserts OPTION PRESENT to set the
local link to a standard state. ][t retains control of the host link, though it may listen to DECREPTPARM sequences sent by the terminal controller if this is appropriate to the application. It may use
or ignore TC RCLK and TC TCLK as it wishes. If the TP needs "boot" and "console entry" signals,
these needs may be met by IN IT and local BREA1K, respectively.

7-13

7.7.3.2 Terminal Processor Augmenting Basic Terminal Operation - -In this case, the terminal processor is used to add functionality to the terminal. Logically, communication is between the host and the"terminal" (terminal controller plus terminal proce:ssor), rather than between a CPU and two devices
as in the standalone CPU case. The terminal proce:ssor may intercept the normal dara stream to andfrom the terminal controller, rather than just listening for (and interjecting) special control sequences,
as in the passive device case. One example of such an option is a printer graphics option, which would
receive graphic instructions, convert them into a bit map representation, and transmit that bit map
serially to the printer terminal controller. Another example is that of a multiplexer which might make a
CRT terminal into three logical terminals by maintaining cursors in each of three screen areas, routing
keyboard input to the proper host task, etc.

7.7.4

Use with Communications Option

This case is similar to the active device configurations discussed in Paragraph 7.7.3. In addition, theoption may use the EXT TCLK and EXT RCLK signals. Communication options would not normallyneed to replicate the STP connector, since there would be no further options between the terminal andthe communications line.

7.7.5

Use with an External Processor

As long as control sequences used by the terminal controller to pass information to the terminal
processor are present in the terminal controller firmware, there is no reason to prevent an external
processor (host) from using them. This applies when the host CPU wishes to act as an enhancement to
the terminal, (Paragraph 7.7.3.2), but does not fit into the terminal cabinet. Such a capability is also
useful in writing and debugging programs that eventually run in a terminal resident, terminal processor. To allow this operation, a small interface card plugged into the STP does the following:
1.

Asserts OPTION PRESENT.

2.

Provides a standard bit rate (known to the host) to INTERNAL RCLK and INTERNALTCLK. TC RCLK and TC TCLK would not be used directly, though DECREPTPARM
would advise the host of this information.

3.

Passes through RXD, TXD, and all modem control signals. If the host needed to sense anddrive all modem signals, a special host interface might be required.

In this way, the host CPU can do a fairly good job of emulating the terminal processor and may
replace it in some applications.

7.7.6

Use with More than One Option

While it is believed that multiple options can be supported on the STP, no detailed specifications forsuch operation are given at this time. All options which plug into the STP must, however, replicate the
STP connector on the "host" side of their interfaces, to allow for the addition of other options. The.
only exceptions to this rule are those devices which must, by their very nature, be the "last" device inthe terminal. Examples of such devices are a curre:nt loop adapter or modem.

7-14

CHAPTERS
GRAPHICS CONNECTOR

8.1 INTRODUCTION
An 18pin dual-in-line connector is provided in the VT100 for internal options that generate digital video
signals, and may additionally require 8-bit ASCI][ data forwarded by the VT100 from the communications line as specified below. An option not requiring all 18 signals may use a shorter connector
plugged into the appropriate set of holes on the graphics connector.
All signals below are identified as "to the VT100" (T) or "from the VT100" (F).
07 (F) 1
06(F) 205 (F) 3
04(F)403 (F) 5
02 (F) 6
01 (F) 7

DO (F) 8
Signal Gnd 9'

Pin Numbers
18 Signal Ground
17 (T) Graphic Video 1 L
16 (F) Vertical Blank L
15 (F) Graphic Write L
14 (F) Horizontal Blank H
13 (F) INITH
12 (T) Graphic Video 2 L
11 (T) Graphic Flag L
10 (F) 24.0734 MHz Clock

Signal07-00

Description
During the VT100 "Graphic Processor On" mode (see Appendix A for
entry and exit), all characters transmitted to the VT100 on thecommunications line are transferred to these data lines with a graphic
write strobe. The only characters n'ot transmitted are the "Graphic
Processor Off' escape sequence. (Maximum load = two 74XX loads
plus 50 pF.)

24.0734 MHz

VT100 Master Video Clock. (Maximum load = one 74SXX load.)

8-1

SignalGraphic Flag L

Description
On initialization (between the time INIT H gqes low and the firstcharacter is transmitted to the graphics connector in "Graphic
Processor On" mode) the GRAPHIC FLAG will be checked. If theflag is low, the VT:[ 00 assumes the presence of an option on thegraphics connectolr and enters "Graphic Processor On" mode normallyupon receipt of the appropriate control. If the flag is high, the VT100
assumes that no option is installed and refuses to enter "Graphic
Processor On" mode. After initialization a low on the GRAPHIC
FLAG indicates that the option is prepared to receive characters fromthe VT100. A high GRAPHIC FLAG indicates the option is busy, theVT 100 stores incOJning characters in its buffer and responds to thehost in its normal fashion if its buffer becomes full (see Appendix A
Communications Protocol). (Input load = one 74LSXX load plus
4.7K ohms to +5V.)

INITH

The VT100 asserts, this pin high whenever it begins an initialize
sequence (power-up or on command) and asserts IN IT low whenever itis ready to begin normal operation. The minimum high pulse width is
100 ms. (Maximurn load = two 74XX loads plus 50 pF.)

Horizontal Blank H

Asserted high during VT I 00 blank time. Used for horizontai sync andto indicate the start of VT100 display.
Pulse period = 63,,556 p,sPulse width = 11.465 p,s/80 column mode; 12.088 p,s/ 132 column
mode
Delay Falling Edge of HORIZONTAL BLANK H to First Dot fromVT 100 = 500 ns /80 column mode; 250 ns /132 column mode
(Maximum load =:one 74XX load plus 50 pF.)

Vertical Blank L

Asserted high only during displayed scans on the VT100. In all modes
the VT100 displays 240 complete scans/field. The VERTICALBLANK signal transitions between 1.2 p,s and 1.5 p,s after the risingedge of HORIZ01\lTAL BLANK H. (Maximum load = one 74XX
load plus 50 pF.)

Graphic Video I Land 2 L

A truth table for the intensity of the display for different values ofthese inputs is shown below. The table applies only to areas of thescreen that are otherwise black. When graphic data overlaps otherdata in the VT100" the display is as bright or brighter than the values inthe table.

GVl
H
L
H
L

C;V2
H
H
L
L

Intensity
Black
Dim
NormalBright(Input load = one 74XX load plus4.7Kohm to +5 V.)

8··2

SignalGraphic Write L

D(!scription
This pin is pulsed low by the VT100 during valid data on D7-DO. Data
(DO-DO) is stable 25 ns before the falling edge of GRAPHIC WRITE
and remains stable for 25 ns after the rising edge of GRAPHICWRITE. The pulse width low of GRAPHIC WRITE is 350ns ± 50
ns. (Maximum load = two 74XX loads plus 50 pF.)

8.2 HARDCOPY ENABLE
Provision has been made in the VT100 for the future addition of an external hardcopy option to record thescreen. Such a device is assumed to Inonitor the graphics connector to receive the "copy" command andto obtain its picture information lfrOln the composite video output. Upon receipt of the escape sequence
DECHCP (see Appendix), the VT100 will stop updating the screen but will not cease blinking operations. Following the freeze, the VT100 will write an 8-bit character of all ones (FFH) to the graphics
port. The GRAPHIC FLAG shoUlld go high when this character is transmitted; and the VT100 will maintain the screen frozen until the flag is seen to be low, at which time the VT100 will resume normal operation.

8-3

APPENDIX APROGRAMMING INFORMATIONThis appendix summarizes the VT100 series video terminal transmitted characters and received character processing. The VT100 te:rminal normally performs a two-part function. It is an input device to acomputer - information entered through the keyboard is sent to the computer. It is simultaneously an
output device for the computer; that is, data comiing in from the computer is displayed on the video
screen. Figure A-I shows the data flow.
This appendix discusses data flow between the VT100 and the host. Included are the codes generated
by the keyboard; the transmiss.ion protocol followed by the terminal; and the actions and reactions of
the terminal to control codes and escape sequences, in both ANSI and VT52 modes of operation.
The VT100 is an upward and d()wnward software compatible terminal; that is, previous DIGITAL video
terminals have DEC private standards for escape sequences. The American Standards Institute(ANSI) has since standardized. e'scape sequences in terminals. ANSI standards allow the manufacturer
in implementing each function., Th.is appendix describes how the VT100 responds to the implemented
ANSI control functions.

VT100r-----·----,
I
I

I

I
I
I
I
I

ry-

~ER
I

COMPUTER(HOST)I

I

i
I

TRANSMITTER

I

--•
I

L-t-------J'-y-----'COMMUNICATION
LINES

Figure A-I

T(:rminal Data Flow

A-l

MA-1994

The VT100 is compatible with both the previous I)EC standard and ANSI standards. CU$tomers may
use existing DIGITAL software designed around the VT52 or new VT100 software. The VT100 has a
VT52 compatible mode in which the VT100 responds to escape sequences like a VT52. In this mode,
most of the new VT100 features cannot be used.
Throughout this discussion references are made to VT52 mode or ANSI mode. These two terms indicate the VT100's software compatibility. All new software should be designed around the VT100ANSI mode. Future OIGITAL video terminals will not necessarily be committed to VT52 compatibility.
VT100 KEYBOARD
The VT100 keyboard (Figure A-2) has a key arrangement similar to an ordinary office typewriter. In
addition to the standard typewriter keys the VT100 has keys and indicators that generate escape andcontrol sequences, cursor control commands, and 8how the current terminal status.
You use the keyboard to transmit codes to the host. Some keys transmit one or more codes to the host
immediately when typed. Other keys such as CTRlL and SHIFf do not transmit codes when typed, but
modify the codes transmitted by other keys. Wh,en you press a code-transmitting key, the terminal
makes a clicking sound to verify it processed the keystroke. If you press two code-transmitting keys
together, two codes are transmitted in the order typed. The terminal does not wait for the keys to belifted, but transmits both codes as soon as possible after the keys are typed. If you press three such keys
together, the codes for the first two keys are transmitted immediately; the code for the third is transmitted when one of the first two keys is lifted.
LED Indicators
The keyboard has seven light emitting diodes (LEOs); two are committed to the complementary ONLINE/LOCAL function. The power-on condition is implicitly shown by one of the two LEDs being on;that is, if the keyboard is connected and power is on, one of these LEOs is on.
A third LED indicates a "keyboard-locked" condition. In this condition the keyboard has been turned
off automatically by the terminal due to a full buffer, or by the host through the transmission of an
XOFF to the terminal.
You can program the four remaining LEOs and assign any meaning for specific applications. The code
sequences t? turn these LEOs on or off are discussed later.
SET-UP Key
The SET-UP key is at the upper-left corner of the main key array. Operations performed in SET-UP
mode can be stored in nonvolatile memory (NVR) so that turning terminal power off does not, by itself,
alter the terminal configuration.
The procedures to change the SET-UP features are provided in the operator's information section ofthis manual. SET-UP features that may be modifh~d by the host are listed in Table A-I and describedin detail under the escape sequences.
.
Alphabetic and Nonalphabetic Keys
The VT 100 transmits lowercase code unless either or both SHIFf keys are down, or unless the CAPSLOCK key is down. Pressing CAPS LOCK locks only the 26 alphabetic keys in the shifted (uppercase)mode. Figure A-3 shows the codes generated by the alphabetic keys.
Each nonalphabetic key can generate two different codes. One code is generated if neither SHIFT key
is pressed. The other code is generated if either or both SHIFf keys are down. Unlike the shift lock keyof a typewriter, CAPS LOCK does not affect these keys; it affects only the alphabetic keys.

A-2

.I

i

III

SET-UPII"ON LINE

LOCAL KBDLOCKED Llu0
CLEAR ALL
L1NEI

0
SETUP

LOCAL

AlB

seTI
CLEAR-TAB - TABS

L2

L3

Ir----,II + II t II ~ 1\ ~ \Ir-lr-----lr----1

L4

0
0 0
0801132
TOGGLE TRANSMIT RECEIVE

I

II

I

11l1l1l1l1
II II 1\ \I II
PFl

PF2

PF3

PF4

GDJLIJ[X]wrnwrnwrnrn6mo ::;~, B 0000
110

SPEED

SPEED

COLUMNSRESET IL-...J~L--..J'-----li""'---l

L--...J L..--.J L--....I L.....-.-.....I~~I~I SHI~ 100~0000CJD[I]G~"" [tjolj
0000
I0I;l~nI

I
Figure A-2

VT100 Keyboard

MA-1e98

Table A-l
SET-UP Featureor Machine StateSET-UP FI~atures and Machine States

Changeablefrom Host
Computer*

Saved in NVR
and Changeable
inSET-UP

Yes(DECKPAMjDECKPNM)

Alternate keypad mode
ANSIjVT52
Auto repeat
Auto XON XOFF
Bits per character
Characters per line
Cursor
Cursor key mode
Graphics mode
Interlace
New Line
Keyclick
Margin bell
Origin mode
ParityParity sensePower
Receive speed
ScreenScrollTabs
Transmit speed
WraparoundY es(D ECARN.£)
No
No
Yes(DECCOLM)
No
Yes(DECCKN.[)
Yes(DECG01\r jDECGOFF)
Yes(DECINLrvt)
Yes(LNM)No
No
Yes(DECOM)
No
No
No
No
Yes(DECSCNM)
Yes(DECSCLlv1)
Y es(HTS jTBC)
No
Yes(DECAWl\1)

No
Yes
Yes
Yes
Yes
Yes
Yes
No
No
Yes
Yes
Yes
Yes
No
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes

f#£l
~ (shifted)

Yes

Yes

Yes(DECAN~1)*The appropriate control or escape sequence mnemonic is indicated in parentheses.

DDDD
D
0 ~4,' I ~~ I ~4: I ~4: I ~'; I ~3: I[~': I ~5~ I °i? I 00')' II'~ I !'~ I ~7~ IDD
DI :~: I :f; I :~: I ::: 1l!J1 :;: I :~: I :i: I :~; I ::: I :':h 042I :~~ ID
OCTAL CODES GENERATED BY KEYBOARD(SHIFTED CODES SHOWN ABOVE KEYCAP LEGENDSUNSHIFTED CODES SHOWN BELOW KEYCAP LEGENDS)

1 061

062

063

064

065

066

067

070

071

060

055

075

1~I'g71['~01r71f1J3l~1[J fCAPsll'~'Jr'PlI'g'~~~
ljgJl!llJlliJ ~~211
141

DI

SHIFT

144

IQJ
I
32
Z
172

o:J30
DJ03
X
C
170
143

147

150

073

047

~26
[!02]DJI6[]J15c;:]74
V
B
N
M
< ~76
> [:]77
/?
166

142

156

155

054

5;~~E

056

057

140

1

I'lfl
LEU

B§
SHIFT

LIN

FEED

I
MA-7418C

Figure A-3

Standard Key Codes

1\-4

Table A-2

Key

Octal Valueof Code Sent
or Receiv,edby VT100

RETURN*
LINE FEEDBACKSPACETABSPACE BAR
ESC

015
012
010
011
040
033

DELETE

177

Function Key Codes

Action T.~rminal Would
Take if Host Sent That
Code
Carriage return function
Line feed
Backspace function
Tab functioll'
Deposit a space on the screen erasing what was there before
The initial delimiter of an escape sequence - interpret thefollowing character string from the host as a command, rather
than displaying it·
Ignored by the VT 100*You can use the new line SET-UP feature to redefine the RETURN key so that it issues 0158 0128
(carriage return - line feed).

Function Keys
Several keys on the keyboard transmit control codes. Control codes do not produce displayable characters but are codes for functions. If these codes are received by the terminal, the VT100 performs theassociated function described in Table A-2.
NO SCROLL - Pressing NO SCROLL generates a single XOFF code and inhibits further scrolling.
When pressed again the same key generates XON·. In practice, if the software recognizes XOFF, thehost stops transmitting until you press NO SCROLL again to allow scrolling. If the XOFF /XON feature is disabled (SET~UP fun(;tion), NO SCROLl. causes no action.
BREAK - Pressing BREAK forces the transmission line to its space state for 0.2333 seconds ± 10 percent. If either SHIFT key is down, the time increases to 3.5 seconds ± 10 percent.
Pressing SHIFT and BREAK together provide the long-break-disconnect function. Used with properly
configured modems with RS232-C levels, it dis(;onnects both the local and remote data sets. For
modems connected via the 20 mA loop, issuing the long space may disconnect the remote data set only.
Pressing CTRL and BREAK together transmits the answerback message.
BREAK does not function whlen the VT100 is in LOCAL.

A-5

CTRL (Control) - Figure A-4 shows the keys that generate control characters. You can generate control characters in two ways.
1.

Hold down CfRL, and press any of the unshaded keys in Figure A-4.

2.

Press any of the shaded keys in Figure A-4 without using CTRL. The shaded keys are dedicated keys that generate control charactelrs without using CTRL.
NOTEYou can change the RETURN key character codewith the linefeed/new line feature. When off, thisfeature causes RETURN to generate a single control character (CR). When on, this feature causes
RETURN to generate two characters (CR, LF).
Also, depending on the auxiliary keypad mode selected, RETURN and ENTER may generate thesame control codes.

Auto-Repeating
All keys auto-repeat except: SET-UP, ESC, NO SCROLL, TAB, RETURN, and any key pressed with
CTRL. Auto-repeating may be disabled (SET-UP function). Auto-repeating works as follows: when youpress a key, its code(s) is sent once, immediately. If you hold down the key for more than one-halfsecond, the code(s) is sent repeatedly at a rate of approximately 30 Hz (less if low transmit baud rates
are used) until you release the key.
Cursor Control Keys
The keyboard contains four keys labeled with arrows in each of four directions. These keys transmit
escape sequences. If the host echoes these escape sequences back to the terminal, the cursor moves one
character up, down, right, or left. Table A-3 desclribes the escape sequences generated by each key.

D

MNEMONICS SHOWN ABOVE KEYCAP LEGENDSOCTAL CODES SHOWN BELOW KEYCAP LEGENDS

DDDD

DDDDDD[JDDDDD~

I[ I II·1 021 027
E:V E~Q
D~211 D~
I~I N~K I~ml D~E 033
ElSie 1!TIl
005
022
024 ~ 025 UllJUDlJ 020
~
S

XgN

r=lll~~fE¥lfA¥l~re~mmmDD

EJ~~LlliJ~l2kJ~~~~~~[]I[XJ[ZJ[ZJ~[ZJ[;[J[!]DD[J!]D0,' o~o 0:;3 0~6 0~';/6 0~5T

MA·7419C

Figure A-4

Function Key Control Codes

A.-6

Table A-3

Cursor Control Key Codes

Cursor
Key

VT52
Mode

ANSI Mode and Cursor
KI~y Mode ResetANSI Mode and Cursor
Key Mode Set

Up

ESC A
ESCB
ESCC
ESCD

ESC[A
ESC [ B
ESC[C
ESC[D

ESCOA
ESCOB
ESCOC
ESCOD

Down
Right
Left

AUXILIARY KEYPAD
The keys on the auxiliary keypad normally transmit codes for the numerals, decimal point, minus sign,and comma. ENTER transmits the same code as RETURN. The host cannot tell if these keys werepressed on the auxiliary keypad or on the main keyboard. Therefore, software that requires considerable numeric data entry need not be rewritten to use the keypad.
However, if software must distinguish between pressing a key on the auxiliary keypad and pressing thecorresponding key on the main keyboard, the host can give the terminal a command to place it in keypad application mode. In keypad application mode all keys on the auxiliary keypad are defined to give
escape sequences that may be used by the host as user-defined functions.
The codes sent by the auxiliary keypad for the four combinations of the VT52/ ANSI mode and numeric keypad/application mode is listed in Table A-4. None of the keys are affected by pressing SHIFT,CAPS LOCK, or CfRL.
NOTEIn ANSI mode, if the codes are echoed back to theVT100, or if the terminal is in LOCAL, the last
chara.cter of the sequence is displayed on the screen;for example, PF1 displays a "P."SPECIAL GRAPHICS CHARACTERS
If you select the special graphics set, the graphics for ASCII codes 1378 through 1768 are replaced
according to Table A-5. (See the SCS escape sequence.)
NOTE
Codes 1528-1568, 1618 a.nd 1648-1708 are used to
draw rec:tangular grids. Each piece of this line drawing slet ns contiguous witih others so that the lines
form4~d are unbroken.
Codes 1:578-1638 give better vertical resolution thandash,~s ~lDd underlines when drawing graphs. Using
these seJ~ments 120 X 13:l resolution may be obtained in 132 column mode with the advanced video option i,nstalled.

A-7

Table A-4 Auxiliary Keypad Codes
VT52 ModeANSI Mode

Key
0

Numeric
KeypadMode

Alternate
KeypadMode

0ESC, ?
077
033

160

060

ESC
?
033 . 077

161

r
162:

2
062

ESC
033

077

r
162

ESC 0
033 117

s
163

3

063

ESC
033

077

4
064

ESC 0
033 117

t
164

4
064

ESC
033

077

5

ESC 0
033 117

u
165

5

ESC
033

077

ESC 0
033 117

v

6

v

066

ESC
033

?

166

077

166

ESC 0
033 117

w

7

w

067

ESC
033

?

167

077

167

ESC 0
033 117

x
170

8

ESC
033

?

077

x
170

ESC 0
033 117

Y

9

071

171

071

ESC
033

077

171

t (minus)
055

ESC 0
033 117m
155- (ri1inus)*
055

ESC
033

?

077

m
155*

, (comma)
054

ESC 0
033 1171, (comma)*
054

ESC
033

?

1

154

077

054t

. (period)
056

ESC 0
033 117n156. (period)
056

ESC
033

?

077

n
156

Numeric
KeypadMode

Alternate
Keypad
Mode

0

ESC 0
033 117

p
160

ESC 0
033 117

q

1

061

161

2
062

ESC 0
033 117

3

063

060
1

2
3

4
5

1

065
6

6

066
7

7

067
8

8

070
9

t

9

.A.-8

060

065

070

?

?

?

?

?

P
q

s
163
t
164
u
165

Y

Table A-4

Auxiliary Keypad Codes (Cont)
VT52 ModeANSI Mode

Key

Alternate
KeypadMode

Numeric
KeypadMode

Numeric
KeypadMode

ENTERtCR or CR
015
015

LF
012

ESC
033

0
117

M
115

CRor CR
015
015

PFt

ESC
033

0
117

P
120

ESC
033

0
117

P
120

ESC
033

PF2

ESC
033

0
117

Q
121

ESC
033

0
117

Q
121

ESC
033

0
117

R
122

ESC
033

0
117

ESC
033

0
117

S
123

ESC
033

0
117

PF3
PF4

Alternate
Keypad
Mode
ESC
033

?
077

M
115

P
120

ESC
033

?
077

P
120

ESC
033

Q
121

ESC
033

?
077

Q
121

122

ESC
033

R
122

ESC
033

?
077

R
122

S
123

ESC
033

S*
123

ESC
033

?
077

S*
123

R

LF
012

*These sequences were not available in the VT52 . Do not use the PF4, "-" (minus), or "," (comma)
keys with VT52 with VT52 software.
tWhen numeric keypad mode. is selected (alternate keypad mode off), the ENTER character code canbe changed by the line feed/n(~w line feature. \¥hen off, this feature causes ENTER to generate asingle control character (CR, octal 015). When on, this feature causes ENTER to generate two characters (CR, octal 015 and LF, octal 012).

A-9

Table A-5
Octal
Code
137
140
141
142
143
144
145
146
147
150
151
152
153
154
155
156 _
157
160
161
162
163
164
165
166
167
170
171
172
173
174
175
176

US or
UK Set

a
b
c
d
e
f
g
h

Special Graphics Set

•D
~
~
R
~

±

t
~

j

k

1

m

L

n

t

r

0

p

q
r

s
t
u
v
w

Special Graphics Characters

r
i

.L

T

x

I

y
z
{

~
1I

I

~

}

~

i

Blank
Diamond
Checkerboard (error indicator)
HT (horizontal tab)
FF (form feed)
CR (carriage return)
LF (line feed)
Degree symbol
Plus/minus ±NL (new line)
VT -( vertical tab)Lower-right comer
Upper-right comer
Upper-left comer
Lower-left comer
Crossing lines
Horizontal line - scan 1
Horizontal line - scan 3
Horizontal line - scan 5
Horizontal line - scan 7
Horizontal line - scan 9
Left T
Right T
Bottom T
TopT
Vertical barLess than or equal to
Greater than or equal to
Pi (mathematical)
Not equal to
UK pound sign
Centered dot

A-10

COMMUNICATION PROTOCOlS

Full-Duplex
The terminal can operate at transmission speeds up Ito 19,200 baud. However, the terminal may not beable to keep up with incoming data. The terminal stores incoming characters in a 64-character buffer(128 characters in later model terminals) and processes them on a first-in/first-out basis. When thecontent of the buffer reaches 48 characters, the terminal transmits 0238 (XOFF or DC3). On this signal
the host should suspend its transmission to the terminal. Eventually, if the host stops transmitting, theterminal depletes the buffer. "'hen 16 characters remain in the buffer the terminal transmits 0218
(XON or DC 1) to signal the host that it may resume transmission.
If the host fails to respond to an XOFF from the terminal in a timely manner, the buffer continues tofill. When the 64-character capacity of the buffer is exceeded, a condition occurs called buffer overflow. To determine if the buffer will overflow use the following formulas.
No. of chars to overflow =: 16 - [3 X (receiver speed/transmit speed)]Time to respond to XOFF := No. of chars to overflow X (bits/char + parity bit + 2)/receiver speed
ExampleThe VT100 is transmitting 8-bit characters with nOi parity at 1200 baud and receiving at 1200 baud.
The terminal has just sent an XOFF which the host must respond to within 0.1083 second to avoid abuffer overflow.

No. of chars to overflow == 16 -[(3 X 1200/1200)] = 13 chars

Time to respond to XOFF = 13 >< (8+0+2)/1200 = 0.1083 sec
ExampleThe VT 100 is transmitting 7-bit characters with parity at 300 baud and receiving at 1200 baud. The
terminal has just sent an XOFF which the host must respond to within 0.0333 second to avoid a buffer
overflow.

No. of chars to overflow == 16 -[(3 X 1200/300)] = 4 chars

Time to respond to XOFF = 4 X (7 + 1 + 2)/1200 = 0.0333 sec

If the buffer overflows, the VT100 begins to discard incoming characters and the error character isdisplayed.
Software that does not support receipt of XOFF /XON signals from the terminal can still use theVT100 provided the software n(:ver sends the ESC c,ode to the terminal, the baud rate is limited to 4800
or less, and the software does not use smooth scrolling or split screen features.
Two of the terminal functions, Reset and Self-Test, reinitialize the terminal and erase the buffer. Thus
if characters are received after the commands to perform these two functions and the characters areplaced in the buffer, the characters are destroyed without being processed.

A-Ill

To compensate for this, the host may act in one of two ways.
1.

Immediately after sending the terminal the commands to perform either the Reset or SelfTest functions, the host may act as if it had received XOFF from the terminal, thus sending
n.o more characters until it receives XO:N. The terminal transmits XON only after it completes the specified operation and the XOFF /XON feature is en'abled.

2.

When the first method cannot be implemented, a delay of no less than 10 seconds may be
used to allow the terminal time to complete the invoked function. This method, however, does
not guarantee against the loss of data wh,en an invoked function has detected an error. And
while this delay is currently adequate, future options may require a change in the time delay.

The XOFF /XON synchronization scheme has an advantage over requiring the host to insert delays or
filler characters in its data stream. Requiring a minimum of software support, XON /XOFF ensuresthat every character or command sent to the VT100 is processed in correct order. It frees interface
programs from all timing considerations and results in more reliable operation.
In addition to the buffer-filling condition, there are two other means of transmitting XOFF and XON:
the NO SCROLL key, and CTRL-S/CTRL-Q. If XOFF mode is enabled, the VT100 coordinates thesethree sources of XOFF and XON so that the desir4~d effect occurs. For example, if the buffer-filling
condition causes an XOFF to be sent and then you press NO SCROLL, a second XOFF is not sent.
Instead of sending an XON when the buffer empties, the VT100 waits until you press NO SCROLL
again before sending XON.
Also, entering SET-UP mode causes the VT100 to temporarily stop taking characters from the buffer.
An XOFF is sent if the buffer becomes nearly full.
CTRL-S and CTRL-Q are also synchronized with NO SCROLL.
If the XOFF feature is disabled, the buffer-filling condition does not send an XOFF, NO SCROLL isdisabled, and CTRL-S and CTRL-Q are transmitted as typed.

The VT100 also recognizes received XOFF and XON. Receipt of XOFF inhibits the VT100 fromtransmitting any codes except XOFF and XON. From three to seven keystrokes on the keyboard arestored in a keyboard buffer (some keys transmit two or three codes, e.g., cursor controls). If the keyboard buffer overflows, keyclicks stop and the KBD LOCKED LED lights. Transmission resumes uponreceipt of XON.
If the user transmits an XOFF to the host (by CTR1l.-S or NO SCROLL), the host should not echo any
further type-in until the user types XON. This plac:es the burden of not overloading the host's output
buffer on the user.
Entering and exiting SET-UP clears the transmit and keyboard locked modes.
TERMINAL CONTROL COMMANDSThe VT 100 has many control commands that cause it to take action other than displaying a characteron the screen. In this way, the host commands the terminal to move the cursor, change modes, ring thebell, etc. The following paragraphs discuss terminal control commands.
Control Characters
Control characters have values of 0008-0378, and 1778. The control characters recognized by the
VT 100 are listed in Table A-6. All other control codes have no effect.
Escape Sequences
Table A-7 summarizes the VT 100 escape sequences.

A-12

Table A-6

Control Characters

Octal
Char

Code

Action Taken

NUL

000

Ignored on input (not stored in input buffer; see full duplex protocol).

ENQ

005

Transmit answerback message.

BEL

007

Sound bell tone from keyboard.

BS

010

Move cursor left one character position, unless it is at left margin in which c:ase no action occurs.

HT

011

Move cursor to next tab stop, or to right margin if no further tab
stops are present on line.

LF

012

Causes line feed lOr new line operation. (See new line mode.)

VT

013

Interpreted as LF.

FF

014

Interpreted as LF.

CR

015

Move cursor t.o left margin on current line.

SO

016

Select G 1 character set, as selected by ESC} sequence.

SI

017

Select GO character set, as selected by E~( sequence.

XON

021

Causes terminal to resume transmission.

XOFF

023

Causes terminal to stop transmitting all codes except XOFF and
XON.

CAN

030

If sent during an escape or control sequence, the sequence is immediately terminated and not executed. It also causes the error
character to be displayed.

SUB

032

Interpreted as CAN.

ESC

033

Introduces an escape sequence.

DEL

177

Ignored on input (not stored in input buffer).

A-13

Table A-7

VT100 Escape Sequences Summary

FeatureVT52 Compatible Mode.

Cursor up
Cursor down
Cursor right
Cursor left
Select special graphics character set
Select ASCII character set
Cursor to home
Reverse line feed
Erase to end of screen
Erase to end of line
Direct cursor address
Identify
Enter alternate keypad mode
Exit alternate keypad mode
Graphics processor on
Graphics processor off
Enter ANSI mode

ESC A
ESCB
ESCC
ESCD
ESCF
ESCG
ESCH
ESC I
ESC}
ESCK
ESC Ylc*

Esczt
ESC =
ESC>
ESC 1+
ESC 2+ESC <* Line and column numbers for direct cursor addn~ss are single character codes whose values are thedesired number plus 378. Line and column numbers start at 1.
.

t Response to ESC Z is ESC / Z.
+Ignored except in VTI05.
ANSI Compatible Mode
Cursor Movement Commands
Cursor up
Cursor down
Cursor forward (right)
Cursor backward (left)
Direct cursor addressing

ESC [Pn A
ESC [Pn B
ESC [Pn C
ESC [Pn!}
ESC [ PI; Pc H * or
ESC [ PI; Pc f *
ESCD
ESCM
ESC 7
ESC 8

Index
Reverse index
Save cursor and attributes
Restore cursor and attributes*PI = line number; Pc = column number.

NOTE
Pn refers to a decimal ))arameter expressed as astring 'of ASCII digits. Multiple parameters are separated by the semicolon ~!haracter (0738)' If a parameter is omitted or spE!cified to be 0 the default
parameter value is used. For the cursor movement
commands, the default parameter value is 1.

A-·14

Line Size (Double-height and Double.. width) Commands
Change this line to double-height top half
Change this line to double-height bottom half
Change this line to single-width single-height
Change this line to double-width single-height

ESC#3
ESC#4
ESC#5
ESC#6

Character Attributes
ESC [ Ps;Ps;Ps; .... ;Ps m
Ps refers to a selective parameter. Multiple parameters are separated by the semicolon character(0738)' The parameters are: exe(;ut<~d in order and have the following meanings.

o or none
1
4
5
7

All attributes off
Bold on
Underscore on
Blink onReverse video on

Any other parameter values are ignored.
Erasing
From cursor to end of line
From beginning of line to cursor
Entire line containing cursor
From cursor to end of screen
From beginning of screen to cursor
Entire screen

ESC [ K or ESC [ 0 K
ESC [ 1 K
ESC [2 K
ESC [ J or ESC [ 0 J
ESC [ 1 J
ESC [2 J

Programmable LEDs
ESC [ Ps; Ps; ... Ps q
Ps are selective parameters separated by semicolons (0738) and executed in order, as follows.

o or none
1

2
3
4

All LEDs off
LED 1 onLED 2 onLED 3 onLED 4 onAny other parameter values are ignored.
Character Sets (GO and G 1. Designators)
The GO and G 1 character sets are designated as folllows.
Character Set
United Kingdom (UK)
United States (USASCII)
Special graphics charactersand line drawing set
Alternate character ROM
Alternate character ROM
special graphics characters

GO
ESC(A
ESC(B
ESC(O

Gl

ESC ( 1ESC ( 2

ESC) 1
ESC) 2A-I5ESC)AESC) B
ESC)OScrolling Region
ESC [ Pt ; Pb r
Pt is the number of the top line of the scrolling region. Pb is the number of the bottom line of thescrolling region and must be greater than Pc.
Tab Stops
Set tab at current column
Clear tab at current column
Clear all tabs

ESCH
ESC [g or ESC [0 g
ESC[3gModes
Mode NameLine feed/new line
Cursor key mode
ANSI/VT52
Column mode
Scrolling mode
Screen mode
Origin mode
Wraparound
Auto repeat
Interlace
Graphics processor
optionKeypad mode

To SetMode
New line
Application
ANSI
132 column
SmoothReverseRelative
On
On
On
On

Sequence
ESC [20h
ESC [?lh
N/A
ESC [?3h
ESC [?4h
ESC [?5h
ESC [?6h
ESC [?7h
ESC [?8h
ESC [?9h
ESC 1

To Reset
ModeLine feed
CursorVT52
80 column
Jump
NormalAbsolute
Off
Off
Off
Off

Sequence
ESC [201
ESC [?ll
ESC [?21
ESC [?31
ESC [?41
ESC [?51
ESC [?61
ESC [?71
ESC [?81
ESC [?91
ESC2

Application

ESC =Numeric

ESC>

Reports
Cursor Position Report
ESC [6 n
ESC [ PI ; Pc R (PI = line number and
Pc = column number)

Invoked by
Response isStatus Report

ESC [5 n
ESC [ 0 n (terminal ok)
ESC [ 3 n (terminal not ok)

Invoked by
Response is
What Are You~

Invoked by

ESC [cor
ESC [0 c

Response is

ESC [? 1 ; Ps c

A-16

Ps is the "option present" parameter with the following meaning.
Ps

o
1
2

3
4

5
6

7

Meaning
Base VT100, no options
Processor option (STP)
Advanced video option (AVO)
AVOandSTP
Graphics processor option (GO)GO and STP
GO and AVO
GO, STP, andl AVO

Alternately invoked by ESC Z (not recommended). Response is the same.
Reset
Reset executes the power-up reset rout.ine.
ESC c
Confidence Tests
Fill screen with "Es"
Invoke testes)

ESC # 8ESC [2; Ps Y

Ps is the parameter indicating the: test to be done and is a decimal number computed by taking the"weight" indicated for each desired test and adding them together.
Test
Power-up self-test(ROM checksum, RAM, NYR, keyboard
and A YO if installed)

WeightData loopback

2 (Loopback connector required)Repeat selected tests(s)indefinitely (until failure or
power off)

8

1

Valid ANSI Mode Escape SeqUleO(:es (Detailed)Definitions - The following listing defines the basic elements of the ANSI mode escape sequences. (SeeAppendix 0 for a detailed explanation.)Control Sequence Introducer (CSI) - An escape sequence that provides supplementary controls and isitself a prefix affecting the inte:rpretation of a limited number of contiguous characters. In the YTIOO
the CSI is ESC [.
Parameter - (1) A string of one or more decimal characters that represent a single value; (2) The value
so represented.
Numeric Parameter - A string of characters that represent a number, designated by Pn. Pn has a rangeof 0 to 9 (608 to 718).

A-17

Selective Parameter - A string of characters that selects a subfunction from a specified list of subfunctions, designated by Ps. In general, a control sequence with more than one selective parameter
causes the same effect as several control sequences, each with one selective parameter; for example,
CSI Psa; Psb; Psc F is identical to CSI Psa F CSI Psb F CSI Psc F.
Ps is a string of zero or more characters with a range ofter separated from the other by a ; (semicolon, 738).

°

to 9 (608 to 718) with each selective parame-

Default - A function-dependent value assumed when no explicit value, or a value of 0, is specified.
Final Character - A character whose bit combination terminates an escape or control sequence.
Escape sequences - All of the following escape and control sequences are transmitted from the hostcomputer to the VT100 unless otherwise noted. All of the escape sequences are a subset of thosespecified in ANSI X3.64-1977 and ANSI X3.41-1974.
CPR

Cursor Position Report - VT100 to Host

Format: ESC [ Pn; Pn R

default values: 1

The CPR sequence reports the active position by using the parameters. This sequence has two parameter values, the first specifying the line and the second specifying the column. The default condition withno parameters present, or parameters of 0, is equivalent to a cursor at home position.
Numbering of lines depends on the state of the Origin mode (DECOM).
This control sequence is solicited by a device status report (DSR) sent from the host.
CUB

Cursor Backward - Host to VT100 and VT100 to Host

Editor Function; format: ESC [ Pn D

default value: 1°

The CUB sequence moves the active position to tbe left. The distance moved is determined by the parameter. If the parameter value is or I, the active position moves one position to the left. If the parameter value is n, the active position moves n positions to the left. If an attempt is made to move thecursor to the left of the left margin, the cursor stops at the left margin.
CUD

Cursor Down - Host to VT100 and VT100 to Hostdefault value: 1

Editor Function; format: ESC [ Pn B''#

The CUD sequence moves the active position downward without altering the column position. The
number of lines moved is determined by the parameter. If the parameter value is or 1, the active
position moves one line downward. If the parameter value is n, the active position moves n lines downward. If an attempt is made to move the cursor below the bottom margin, the cursor stops at the bottom
margin.

°CUF

Cursor Forward - Host to VT100 and VT100 to Hostdefault value: 1

Editor Function; format: ESC [ Pn C°

The CUF sequence moves the active position to the right. The distance moved is determined by theparameter. A parameter value of or 1 moves the active position one position to the right. A parametervalue of n nloves the active position n positions to the right. If an attempt is made to move the cursor to
the right of the right margin, the cursor stops at the right margin.

A-·18

CUP

Cursor Position
default value: 1

Editor Function; format: ESC [ Pn; Pn H

The CUP seque,nce moves the active position to the position specified by the parameters. This sequence
has two parameter values, the first specifying the line position and the second specifying the column
position. A parameter value of 0 or 1 for the first or second parameter moves the active position to thefirst line or column in the display, respectively. The default condition with no parameters present isequivalent to a cursor to home action. In the VT100, this control behaves identically with its format
effector counterpart, HVP.
The numbering of lines depends on the state of the Origin mode (DECOM).
CUU

Cursor Up - Host to VT][OO and VT100 to Host

Editor Function; format: ESC [ Pn A

default value: 1

This sequence moves the active position upward without altering the column position. The number oflines moved is determined by the parameter. A pararrlCter value of 0 or 1 moves the active position one
line upward. A parameter value of n moves the active: position n lines upward. If an attempt is made tomove the cursor above the top rnargin, the cursor stops at the top margin.
DA

Device Attributes
default value: 0

Format: ESC [ Pn c
1.

The host requests the VT 100 to send a device attributes (DA) control sequence to identify
itself by sending the DA control sequence with either no parameter or a parameter of O.

2.

Response to the request described above (VT100 to host) is generated by the VT100 as a DA
control sequence with the numeric parameters as follows:
Sequence Sent
ESC [?I;Oc
ESC [?I;lc
ESC [?1;2c
ESC [?1;3c
ESC [?1;4c
ESC [?1;5c
ESC [?1;6c
ESC [?1;7c

Option Present
No options
Processor option (STP)
Advanced video option (AVO)
AVO and STP
Graphics option (GO)GO and STP
GO and AVO
GO, STP, and AVO
DECALN
Format:Screen Alignment Diisplay (DEC Private]l
ESC #8This command fills the entire screen area with uppercase Es for screen focus and' alignment. This command is used by DIGITAL manufacturing and Field Service personnel.
DECANM

ANSljVT52 Mode (DEC Private)This is a private parameter applicable to set mode (SM) and reset mode (RM) control sequences. The
reset state causes only VT52 cOITlpatible escape sequences to be interpreted and executed. The set state
causes only ANSI "compatible" escape and control sequences to be interpreted and executed.

A-19

DECARM

Auto Repeat Mode (DEC Private)This is a private parameter applicable to set mode (SM) and reset mode (RM) control sequences. The
reset state causes no keyboard keys to autorepeat. The set state causes certain keyboard keys to autorepeat.
DECA WM

Autowrap Mode (DEC Private)This is a private parameter applicable to set mode (SM) and reset mode (RM) control sequences. The
reset state causes any displayable characters received when the cursor is at the right margin to replace
any previous characters there. The set state causes these characters to advance to the start of the nextline, doing a scroll up if required and permitted.
DECCOLM

Column Mode (DEC Private)This is a private parameter applicable to set mode (SM) and reset mode (RM) control seq~ences. The
reset state causes a maximum of 80 columns on the screen. The set state causes a maximum of 132
columns on the screen.
DECCKM

Cursor Keys Mode (DEC Private)This is a private parameter applicable to set mode (SM) and reset mode (RM) control seq\lences. Thismode is only effective when the terminal is in k'eypad application mode (see DECKPAM) and the
ANSI/VT52 mode (DECANM) is set (see DECA]'lM). Under these conditions, if the cursqr key modeis reset, the four cursor function keys send ANSI cursor control commands. If cursor key mode is set,
the four cursor function keys send application functions.
DECDHL

Double-Height: Line (DEC Private)

Format:Top Half: ESC #3, Bottom Half: ESC #4

These sequences cause the line containing the active position to become the top or bottom half of adouble-height double-width line. The sequences must be used in pairs on adjacent lines and the samecharacter output must be sent to both lines to form full double-height characters. If the line was singlewidth single-height, all characters to the right of the center of the screen are lost. The cursor remains
over the same character position unless it would be to the right of the right margin, in which case it is
moved to the right margin.
DECDWL
Format:Double-Width Line (DEC Private)

ESC #6This sequence causes the line that contains the active position to become double-width, single-height. If
the line was single-width, single-height, all characters to the right of screen center are lost. The cursor
remains over the same character position unless it would be to the right of the right margin, in whichcase, it is moved to the right margin.
DECGOFF
Format:Graphics Processor OFF (DEC Private)

ESC 2

Turn off the VTI05 graphics processor.

A··20

NOTE
DIGITAL hardcopy terminals interpret thisprivate escape sequence as CLEAR TABS.

Som(~

Graphics Processor On (DEC Private)

DECGON
Format:

ESC 1

All subsequent characters are interpreted as commands or data to the VTl 05 graphics processor option.
The terminal remains in this mode until the graphics processor off command is received. This commandis ignored if no graphics proc(~ssor option is installed.
NOTE
DIGITAL hardcopy terminals interpret thisprivate lescape sequence 3lS SET TAB.

Somt~

DECHCP
Format:Hard Copy (DEC Private)
ESC #7This sequence causes the screen to cease updating and freeze while the hardcopy output is enabled. The
screen resumes normal operatilon when the hardcopy has been completed. This command is ignored if
no hardcopy option is installed.
DECID

Identify Terminal (DEC Private)

Format:

ESC Z

This sequence causes the samle response as the ANSI device attributes (DA). DEClO will not be supported in future DIGITAL terminals, therefore, DA should be used by any new software.
DECINLMInterlace Mode {DEC Private)This is a private parameter applicable to set mode: (SM) and reset mode (RM) control sequences. The
reset state (noninterlace) causes the video processor to display 240 scan lines per frame. The set state(interlace) causes the video processor to display 480 scan lines per frame. There is no increase in character resolution.
DECKPAM
Format:Keypad Application Mode (DEC Private)

ESC =Auxiliary keypad keys and cursor control keys transmit escape sequences.
DECKPNM
Format:Keypad Numerilc Mode (DEC Private)

ESC >Auxiliary keypad keys send ASCII codes corresponding to the characters on the keys. Cursor control
keys send cursor controls.

A·-21

DECLL

Load LEOs (DEC Private)

Format: ESC [ Ps q

default value: 0

Load the four programmable LEOs on the keyboard according to the parameter(s).

Parameter

Meaningo

Clear LEOs 1 through 4
Light LED 1
Light LED 2
Light LED 3
Light LED 4

1
2

3
4

LED numbers are indicated on the keyboard.

DECOM

Origin Mode (DEC Private)This is a private parameter applicable to set mode (SM) and reset mode (RM) control sequences. The
reset state causes the origin to be at the upper-left character position on the screen. Line numbers are
therefore independent of current margin settings. The cursor may be positioned outside the margins
with a cursor position (CUP) or horizontal and vertical position (HVP) control.
The set state causes the origin to be at the upper-left character position within the margins. Line numbers are therefore relative to the current margin s(:ttings. The cursor cannot be positioned outside themargins.
The cursor moves to the new home position when t.his mode is set or reset.
Lines and columns are numbered consecutively, with the origin being line 1, column 1.

DECRC

Restore Cursor (DEC Private)

Format:

ESC 8This sequence causes the previously saved cursor position, graphic rendition, and character set to berestored.

DECREPTPARM
Format:Report Terminal Parameters

ESC [ <sol>; <par>; <nbits>; <xspeed>; <rspeed>; <clkmul>; <flags>x

These sequence parameters are explained below in the OECREQTPARM sequence.

DECREQTPARM
Format:Request Terminal Parameters

ESC [ <sol>xThis sequence is sent by the terminal controller to notify the host of the status of selected terminal
parameters. The status sequence may be sent when requested by the host or at the terminal's discretion.
DECREPTPARM is sent upon receipt of a DECREQTPARM.

A-22

The meanings of the sequence parameters are:Parameter
<sol>

Value

o or none

Meaning
This message is a request (DECREQTPARM). The terminal isallowed to send unsolicited reports.
This message is a request. From now on the terminal may only
report in response to a request.

<par>

2

This message is a report (DECREPTPARM).

3This message is a report and the terminal is only reporting onrequest.

1

No parity set
Parity is set and odd
Parity is set and even4
5
1

<nbits><xspeed><rspeed>2

8 bits per character7 bits per character

o

50

8
16

75

24

134.5
150
200

Bits per second

32

40
48
56
64
72
80
88

96
104
112

120

300

600
1200
1800
2000
2400
3600

4800
9600
19,200The bit rate multiplier is 16.

<clkmul>

0-15<flags>

110

DECSC

Save Cursor (DEC Jl>rhate)

Format:

ESC 7

This value communicates the four switch values in block 5 of
SET UP B, which are only visible to the user when an STP option
is installed. These bits may be assigned for an STP device. The
four bits are a decimal-encoded binary number.

This sequence causes the cursor position, graphic rendition, and character set to be saved. (SeeDECRC.)A-23

DECSCLl\1

Scrolling Mode (DEC Private)This is a private parameter applicable to set mode (SM) and reset mode (RM) control sequences. The
reset state causes scrolls to "jump" immediately. The set state causes scrolls to be "smooth" at a maximum rate of six lines per second.
DECSCNM

Screen Mode (DEC Private)This is a private parameter applicable to set mode (SM) and reset mode (RM) control sequences. The
reset state causes the screen to be black with white characters. The set state causes the screen to bewhite with black characters.
DECSTBMSet Top and Bottom Margins (DEC Private)

Format: ESC [Pn; Pn r

default values: (see below)

This sequence sets the top and bottom margins to define the scrolling region. The first parameter is theline nu-mber of the first line in the scrolling region. The second parameter is the line number of thebottom line in the scrolling region. Default is the e:ntire screen (no margins). The minimum size of thescrolling region allowed is two lines, that is, the top margin must be less than the bottom margin.
DECSWL
Format:Single-Width Line (DEC Private)
ESC #5This causes the line that contains the active position to become single-width, single-height. The cursor
remains on the same character position. This is thl;! default condition for all new lines on the screen.
DECTST

Invoke Confidence Test

Format:

ESC [ 2 ; Ps y

Ps is the parameter indicating the test to be done. Ps is computed by taking the weight indicated foreach desired test and adding them together. If Ps is 0, no test is performed but the VT100 is reset.
Test
Power up self-test (ROM checksum,
RAM, NVR keyboard and AVO if
installed)

Weight1

Data Loopback

2 (loopback connector required)Repeat selected test(s)indefinitely (until failure or
power off)

8

A·-24

DSR

Device Status Report
default value: 0

Format: ESC [Ps r

Requests and reports the general status of the VT 100 according to the following parameter(s).
ParameteroMeaning
Response from VT100 - ready, no malfunctions detected (default)

3

Response from VT100 - malfunction - retry

5

Command from host - please report status (using a DSR control sequence)

6

Command from host - please report active position (using a CPR control sequence)

DSR with a parameter value of 0 or 3 is always sent as a response to a requesting DSR with a parameter value of 5.
ED

Erase In Display

Editor Function; format: ESC [ Ps J

default value: 0This sequence erases some or all characters in the display according to the parameter. Any completeline erased by this sequence re:turns that line to single-width mode.
ParameteroMeaning
Erase from the active position to the end of the screen, inclusive (default).
Erase from start of the screen to the active position, inclusive.

2
EL

Erase al:l of the display - all lines are erased, changed to single-width, and the cursor
does not move.
Erase In Linedefault value: 0

Editor Function; format: ESC [ Ps K

Erases some or all characters iln the active line according to the parameter.
ParameteroMeaning.
.
Erase from the active position to the end of the line, inclusive (default).
Erase from the start of the screen to the active position, inclusive.

2
HTS

Erase aU of the line, inclusive.
Horizontal Tabulation Set

Format Effector; format: ESC H
Set one horizontal stop at the active position.

A-25

HVP

Horizontal and Vertical Position

Format Effector, format: ESC [Pn; Pn f

default value: 1

Moves the active position to the position specified by the parameters. This sequence has two parametervalues; the'first specifies the line position, the second specifies the column. A parameter value of either
zero or one causes the active position to move to the first line or column in the display, respectively. The
default condition with no parameters present moves the active position to the home position. In the
VT100, this control behaves identically with its editor function counterpart, CUP. Numbering lines andcolumns depends on the reset or set state of the orilgin mode (DECOM).
IN))

Index

Format Effector; format: ESC D
This sequence causes the active position to move downward one line without changing column position.
If the active position is at the bottom margin, a scroll up is performed.
LNM

Line Feed/New Line Mode

This is a parameter applicable to set mode (SM) and reset mode (RM) control sequences. The reset
state causes the interpretation of the line feed (LF), defined in ANSI Standard X3.4-1977, to imply
only vertical movement of the active position and causes the return key (CR) to send the single code
CR. The set state causes the LF to imply movement to the first position of the following line and causes
the return key to send the two codes (CR, LF). ThIs is the new line (NL) option~
This mode does not affect the index (lND), or next line (NEL) format effectors.
NEL

Next Line

Format Effector; format: ESC E
This sequence causes the active position to move to the first position on the next line downward. If theactive position is at the bottom margin, a scroll up is performed.
RI

Reverse Index

Format Effector; format: ESC M
Moves the active position to the same horizontal position on the preceding line. If the active position isat the top margin, a scroll down is performed.
RIS

Reset to Initial State

Format:ESC c

Resets the VT100 to its initial state, i.e., the state it has after it is powered on. This also causes theexecution of the power-up self test and signal INIT H to be asserted briefly.
RM

Reset Modedefault value: none

Format: ESC [ Ps ;Ps ; ... ; Ps I

Resets one or more VT100 modes as specified by each selective parameter in the parameter string.
Each mode to be reset is specified by a separate parameter. (See modes and set mode (SM) following
this section.)

A-26

SCS

Select Character Set

The appropriate GO and G 1 character sets are selected from the five possible character sets. GO and G 1
are selected by codes SI and SO (shift in and shift out) respectively.
GO Sets
Sequence
ESC (A
ESC( B
ESC (0ESC ( 1Gl Sets
Sequence
ESC) A
ESC) B
ESC) 0ESC) 1ESC (2

ESC) 2Meaning
United Kingdom set
ASCII setSpecial graphics
Alternate character ROM
Standard character set
Alternate character ROM
Special graphics

The United Kingdom and ASCII sets conform to the "ISO international register of character sets to be
used with escape sequences." The other sets are private character sets. Special graphics means that thegraphic characters for the codes 1378 to 1768 are replaced with other characters. The specified character set will be used until another SCS is received.
SGR

Select Graphic Rendition

Format Effector; format: ESC [ Ps; ... ; Ps mdefault value: 0

Invoke the graphic rendition specified by the parameter(s). All following characters transmitted to theVT100 are rendered according to the parameter(s) until the next occurrence of SGR.
Parameter

o
1
4
5
7

Meaning
Attributes off
Bold or increased intensity
Underscore
Blink
Negative (reverse) image

All other parameter values are ignored.
Without the advanced video option only one character attribute is possible as determined by the cursor
selection. In that case specifying ,either the underscore or the reverse attribute activates the currently
selected attribute.
SM

Set Modedefault value: none

Format: ESC [ Ps; ... ; Ps h

Causes one or more mode:s to be set within the VT100 as specified by each selective parameter in theparameter string. Each mode t.o be set is specified by a separate parameter. A mode is considered set
until it is reset by a reset mode (RM), control sequence.

A-27

THC

Tabulation Clear

Format Effector; format: ESC [ Ps g

default value: 0oParameter

Meaning
Clear the horizontal tab stop at the active position (the default case).

3

Clear all horizontal tab stops.

Any other parameter values are ignored.
MODES
You can change the following VT100 modes with set mode (SM) and reset mode (RM) controls.
ANSI Specified Modes

ParameterMode
Mnemonic

20

LNM

o

FunctionError (ignored)Line feed/new line mode

DEC Private Modes

If the first character in the parameter string is ? (778), the parameters are interpreted as DEC private
parameters according to the following modes.
ParameterMode
Mnemonic

1
2
3
4
5
6
7
8
9

DECCKM
DECANM
DECCOLMDECSCLMDECSCNMDECOMDECAWM
DECARM
DECINLMoFunctionError (ignored)
Cursor key
ANSI/VT52
ColumnScrolling
ScreenOriginAuto-wrap
Auto-repeat
Interlace

Any other parameter values are ignored.
The following modes, specified in ANSI X3.64-1977 standard, may be considered to be permanently
set, permanently reset, or not applicable, as noted. Refer to that standard for further information concerning these modes.

A-28

Mnemonic
CRM
EBM
ERM
FEAM
FETM
GATM
HEM
IRM
KAM
MATM
PUM
SATM
SRTM
TSM
TTM
VEM

State
Reset
Reset
Set
Reset·
Reset

FunctionControl representation
Editing boundary
ErasureFormat effec1tor action
Format effector transfer
Guarded area transfer
Horizontal editing
Insertion-replacement
Keyboard action
Multiple area transfer
Positioning unit
Selected area transfer
Status reporting transfer
Tabulation stop
Transfer termination
Vertical editing

NA
NAResetReset

NA
Reset·

NA
Reset
Reset

'NA
NA

Valid VT52 Mode Escape Sequences (detailed)
Graphics Processor On
Format:

ESC 1

All subsequent characters are interpreted as commands to the graphics option until the graphics processor off command is received. This sequence is ignored if no graphics processor is installed.
Graphics Processor Off
Format:

ESC 2

Turn off the graphics processor.
Cursor Up
Format:ESC A

Move the active position upward one position without altering the horizontal position. If an attempt ismade to move the cursor above the top margin, the cursor stops at the top margin.
Cursor Down
Format:

ESC B

Move the active position downward one position without altering the horizontal position. If an attempt
is made to move the cursor below the bottom margin, the cursor stops at the bottom margin.
Cursor Right
Format:ESC C

Move the active position to the right. If an attempt is made to move the cursor to the right of the rightmargin, the cursor stops at thl~ right margin.

A-29

Cursor Left
Format:ESC D

Move the active position one position to the left. If an attempt is made to move the cursor to the left ofthe left margin, the cursor stops at the left margin.
Enter Graphics Mode
Format:

ESC F

Selects the special graphics character set.
NOTE
The special graphics characters in the VT100 are
different from those in tbe VTS2. (See Table A-S.)
Exit Graphics Mode
Format:

ESC G

Selects the standard ASCII character set.
Cursor to Home
Format:ESC H

Move the cursor to the home position.
Reverse Line Feed
Format:ESC I

Move the active position upward one position without altering the column position. If the active positionis at the top margin, a scroll down is performed.
Erase to End of Screen
Format:ESC J

Erase all characters from the active position to the end of the screen. The active position is not changed.
Erase to End of Line
Format:ESC K

Erase all characters from the active position to thl~ end of the current line. The active position is notchanged.

A··30

Table A-8

Special Character and Line Drawing Set and Graphics Mode Comparison

Octal
Code

US/UK
Set

Special Character andLine I)rawing Set

VfS2 In
Graphics Mode*

137
140
141
142
143
144
145
146
147
150
151
152
153
154
155
156
157
160
161
162
163
164
165
166
167
170
171
172
173
174
175
176

,

Blank
I)iarnond
g Checkerboard (error indicator)~ ll[orizontal tab~ Forrn feed
~ Caniage returnf Line feed
:Degree symbol± Plus/minus
NL:t'rew line
~ Vertical tab
J Lower-right comerlTpper-right comerr lTpper-left comer
L
Lower-left comert Crossing lines- f[ori[zontal line - scan 1- f[ori[zontal line - scan 3- f[orizontal line - scan 5- f[orizontal line - scan 7- f[orizontal line - scan 9~ Left T
i Right T
J. Bottom T
T TopT
I Vertical barl.:.
Less than or equal tol G-reater than or equal ton Pi~ :Not equal to£ 11K pound sign
Centered dot

Blank
Reserved
Solid rectangle
1/
3/
5/
7/
DegreesPlus or minus
Right arrow
Ellipsis (dots)
Divide by
Down arrow
Bar at scan 0
Bar at scan 1
Bar at scan 2
Bar at scan 3
Bar at scan 4
Bar at scan 5
Bar at scan 6
Bar at scan 7
Subscript 0
Subscript 1
Subscript 2
Subscript 3
Subscript 4
Subscript 5
Subscript 6
Subscript 7
Subscript 8
Subscript 9Paragraph

a
b
c
d
e
f
g
h
j

k
m
n
0

p
q
r
s
t
u
v
w
x

y
z
{

I
}

•

.

*Not available in VT125

A-31l.

Direct Cursor Address
Format:ESC Y line column

Move the cursor to the specified line and column. The line and column numbers are sent as ASCII
codes whose values are the number plus 0378. For ,example, 0408 refers to the first line or column, 0508
refers to the eighth line or column, etc.
Identify
Format:

ESC Z

Causes the terminal to send its identifier escape s(!quence to the host. The sequence is: ESC / Z.
NOTEInformation regarding o~ltions must be obtained in
ANSI mode, using the device attributes (DA) control
sequence.
Enter Alternate Keypad Mode
Format:ESC =Auxiliary keypad keys send unique identifiable escape sequences for use by applications programs.
Exit Alternate Keypad Mode
Format:ESC >Auxiliary keypad keys send ASCII codes for functions or characters on the key.
Enter ANSI Mode
Format:ESC <All subsequent escape sequences will be interpreted according to ANSI Standards X3.64-1977 andX3.41-1974. The VT52 escape sequence in this section will not be recognized.

A-32

VT125 PROGRAMMING SEQUENCES
This section repeats the information on the VT125 Programming ReferenteCard (EK-VT125-RC).

CONTROL CHABACTERS RECEIVED

Name

Character
Mnemonic

Octal
Code

Null

NUL

000

Ignored when received andused as a fill character.

Enquire

ENQ

005

Transmits the answerback
message.

Bell

BEL

007

Generates a bell tone.

BackspaceBS

010

Moves the cursor to the left
one character position.

Horizontal
Tab

HT

011

Moves the cursor to thenext tab stop.

u:

012

Causes a line feed or a newline operation. (Refer toLinefeed/ New Line mode.)

Vertical
Tab

VT

013·

Processed as LF.

Form Feed

FF

014

Processed as LF.

Carriage
ReturnCR

015

Moves the cursor to left
margin on the current line.

Shift alit

so

016

Selects the G1 characterset. as designated by a
Select Character Set
sequence.

Shift InSI

017

Selects the GO characterset. as designated by a
Select Character Set
sequence.

DeviceControl 1

DC1

021

Processed as XON. Causes
the terminal to continuetransmitting characters.

Line Feed

A-33

Function

Character
Mnemonic

Octal
Gode

DeviceControl 3

DC3

023

Processed as XOFF. Causes
terminal to stop trarsmitting all characters except
XOFF and XON.

CancelCAN

030

If received during anescape or control sequence, the sequence iscancelled and substitution
character (~l is displayed.

Substitute

SUB

032

Processed as CAN.

EscapeESC

0.33

Processed as a sequence
introducer.

Delete

DEL

177

Ignored when received.

Name

Function

ANSI COMPATIBLE SEQUENCES
Set ModeName

Mnemonic

Mode

Sequenceline feed/new line
Cursor key
ANSI/VT52
ColumnScrolling
ScreenOriginAuto wrap
Auto repeat

LMN
DECCKM
DECANM
DECCOLMDECSCUvl
DECSCNMDECOMDECAWM
DECARM

New line
Application
ANSI
132 column
SmoothReverseRelative
On
On

ESC [ 20 h
ESC [ ? 1 h
N/A
ESC [ ? 3 h
ESC [ ? 4 h
ESC[ ?5 h
ESC [ ? 6 h
ESC [ ? 7 h
ESC [ ? 8 hName

Mnemonic

Mode

Sequence·line feed/new line
Cursor key
ANSI/VT52
ColumnScrolling
ScreenOriginAuto wrap
Auto repeat

LMN
DECCKM
DECANM
DECCOLMDECSCLMDECSCNNIDECOMDECAWM
DECARMline feed
Cursor

ESC [ 20 I
ESC [ ? 1 I
ESC [ ? 2 I
ESC [ ? 3 I
ESC [ ? 4 I
ESC ( ? 5 I"
ESC ( ? 6 I
ESC ( ? 7 I
ESC [ ? 8 I

Reset ModeVT52
80 column
Jump
NormalAbsolute
Off
Off• The last character of each sequence is lowercase L (154 8 )A-34

Cursor Key Codes Generated

Cursor Key(Arrow)

Heset(Cursor)

Up
Down
Right
Left

ESC [A
ESC [ B
ESC [ CESC [ 0ANSI Codes
Set(Application)
ESC 0 A
ESC 0 B
ESC 0 CESC 00VT52 Codes

ESC A
ESC B
ESC C
ESC 0

Keypad Character SelectionName

Mnemonic

Sequence

Alternate
Numeric

DECKPAMDECKPNM

ESC =
ESC>

Keypad Codes; Gonerated
ANSI Mode
Alternate
Numeric
KeypadKeypadMode
Modle

VT52 Mode
Numeric
Alternate
KeypadKeypad
Mode
Mode

0
1
2
3
4
5

0
1
2:

0

6
7
8
9

6
B
B

- (minus), (comma). (period)
ENTER:j:
PF1
PF2
PF3
PF4

-- (minus), (comma). (period)
CR or CRLF
ESC 0 P
ESC 0 0.
ESC 0 R
ESC 0 S

Key

*
t
:j:

...l''
4t::'

...1

7

ESC 0 p
ESC 0 q
ESC 0 r
ESC 0 s
ESC 0 t
ESC 0 uESC 0 v
ESC 0 w
ESC 0 x
ESC 0 yESC 0 m
ESC 0 1*
ESC 0 nESC 0 M
ESC 0 P
ESC 0 0.
ESC 0 R
ESC 0 S

1

2

3
4
5

6
7
8
9
- (minus)t, (comma)t. (period)
CR or CRLF
ESC P
ESC Q
ESC R
ESC St

ESC? p
ESC? q
ESC? r
ESC? s
ESC? t
ESC? U
ESC? v
ESC? w
ESC? x
ESC? y
ESC? mt
ESC? 1* t
ESC? n
ESC? M
ESC? P
ESC? Q
ESC? R
ESC? StThe last character of the sequence is lowercase L (154 8 )These seq uences were not available in the VT52. Do not use thePF4, "-" (minus), or"," (comma) keys with VT52 software.
Line feed/new Ii ne off causes ENTER to generate CR (015 8 ), On
causes ENTER to generate CRLF (015 8 012 8 ),A-35

Select Character Sets SCS
Character Set

GO Designator

G1 Designator

United Kingdom (UK)
United States (USASCII)
Special charactersand line drawing set
Alternate character ROM
Alternate character ROM special characters

ESC (A
ESC ( B
ESC (0ESC) A
ESC) B
ESC) 0ESC ( 1ESC ( 2

ESC) 1
ESC) 2Name

Mnemonic

Sequence

Single Shift 2
Single character shift
to G2 (ASCII)
Single Shift 3
Single character shift
to G3 (ASCII)

SS2

ESC N

SS3

ESC 0

NOTE: The VT125 generates the following control charactersdifferently from previous DIGITAL terminals.
Code

VT125 Keys

Previous Terminal Keys

NUL
RS
US

CTRL - Space bar
CTRL - ,...,CTRL - ?

CTRL- @CTRL- A
CTRL- _

Character AttributesName

Mnemonic

Select Graphic Rendition
No attributes
No attributes
Select bold attribute
Select underline attribute
Select blink attribute
Select reverse video
attribute

SGR

Sequence

ESC [m
ESC [0 m
ESC [ 1 m
ESC [4 m
ESC [ 5 m
ESC [ 7 m

NOTE: Without advance video option fA VO), only underline or reverse
attribute is available.

A.-36

US/UK Character Set :

86

85

BITS

B~ 83 818' 'ROw
o 0 0 0

0

o 0

I

0

I

0

0

1

(I

1

0

I

2

--..-----+-----1

7
6:1,-:-:-+__4~+-.....:5_r_-+__:-=-r__+-..:....._I

~

SP

;~

0- :@':p

:

~£~~:

!

;;

1

140
96
60

:~

'~~

A

1

11

;i- ~C 3

'1
13

... /

fXOHI

19

/-

3

43

£

.......---+--+-----t-':...+--..---~I--~

11

41

~I

61

P

... q

a

-~ r---....g.. - - ~ ---.- - _2'... ---+-4,-,-1+-----.~.-'-:
~~";!
2
~
B
':
R
I

I

I

~~--=,--- "~f-- .~-- -~ ---~I-- - -

I

o 0

0

l :
N1i

r---- -1---o 0It---c;lU"';-- '----_--"- - - - - - - - - - r-"---

111
10
'61

91

III

Y

"

"1
98
61
143

3--1;;6~1+-C=-t-;;·O~3I--S-::--+.~--t-;~--+~
161

J!J

,*."

99

rH-1--- .f--R-- -:-0- ,~ T
d~'* "--t
o
S
4
~7
..
~---+-+---+...;:-+--.----~ 1-'"% ~ 5 -is- --E" ~ I J t,* I---•.. --l."'::':+---+-:::'
U
Eua
1

0

II

10

4

114

16

68

B4

100

69

8!1

10'

':

101

14

'6~

21
o I 0 I ~r---.+--+-.-r-::--+-----~ 1_.

o I

I

(I

~

6

!tJ

.11

'"
f-~ _---'-t--c:-+_-+--'5=-~+_-_+_~---+_'_'_I

~

"&;:

6~

~

6

.......---+--+-----t--;;-+--..---cT,- ----;-- 4,-"7'
0

I

I

BIEl

I

13

J(I

.......---+--+-----t-:-:--+--"---,..g.. ___ .l.L ,........_.
I

--

o 0

II

8

BS

CAN

'0

~

(

~

8

_ _ .--I---+_"~~:"-+-____ ~ f---. ~ f---...
HT ~I'
~~)
5'
9
I
o 0
-----+--+--f-"~--+-S=-··U'--B-%I-* ~:I

01

(I

10

IF

VT

o I

~-

ESc~l-+ ~---:-- f-*

K

59

18

o (I

17

I

I

0

I

13

II

,.

FF

:;

CR

15

11

'1
I)

SO

B8

13

Y

14

Z

III
1~
48

tOJ

68

I~;

4C

5C

1~~

93

10

= >

(

__ --'.!., __1£

DEPENDS ON nit! CHAFIACTEA seJ SElECTED. US·. U I( -1

KEY
ASCII CHAFIACTE R~:JJDl OCTALDECIMAL

18

HEx

A-37

JF

~~

N

116

0

';~

J£

!: --1 -ti'~
l'

21

I

____"

4E

."_.~

-"A

SA

91

I;: \

~~

110

18

Y

:;:

106

~B

lC

f-~

I~

119

"

61

I

~--M
_"_

16

W

58

k

S~
1~

'04

90

1C

:

h

III

:: <

::

118

,~~ --~i~ -~ --z-f-;f~

~

L

'01

89

~:

~

9

M

IC

I----+-+----+--:::~~+-.. _-- JI ~- I
SI
-NOTE

-,~

71

I
J

47

87

~

!,6

oiI3'

--

II

141

"W

_*- __H ___
X
"

I~

'46

46

-7,- -.---- i~ .

r-_ _-+--+_ _t---'Ilc-+-__.___ --':!-f-_">~_.

I

V

66

G

58

16

10
11

~
~~

'~

F

'1::

~E

'~;
SF

{

113
113

:;:

:~

Ie

m

log

}

~~

60

~

"_6E.

-DEL -":;;

6F

IF~--,;-~
0116
1£

Special Characters and Line Drawing Set- .. - . -- f - - ..

o
NUL! ~

° °°

0

o 0 0

I

0

,

0

DC1

o 0

I

I

')J'

',',

1-

o

,

"

.~

"

1

DC3

11

IlIOHI19. -_ _+--+--___+-:-+- __

",.'

____
.2~
~,
.,
~'! ~

11.....

J5~ sp l~_~' __ .&~~--r';l'-+I',1 -I.O~.----+--+.-- - ~~I

"

3

2

-ii- -% -- ~I

p

',o,~

A

7

6

Q

>

B

I

41

R

I"'.

C

~t~-l-~ .'__I-: . :.;_~__-'~I --Sl'J

D--+-=,::::J_I-

'1)

"J

In

'19

~T:-_t-;:;:'3+_-+-::,:,-+-SC-,AN:-9-j:'"":'=;;1° ' 0 • ENQ ,I~% I"~~. I ~"
E '~ U'~
1 :~!
I :~~
~--,f-+--+:~----...'.':.. .-.- ~ __I-i' ~:':'~+-----+-:'::"I---+-.:"-f---+---+-~-+-,/'4'
<'6
&
;:
e, "
__ .~+-_-+7-~_+.':::-6+ __~2"____
BEL
'
~~'
~
7 I ~~o~--'f-+-B-S-l-='=-0+-C-A'N7
~--~

~

F

)b

I

I

I

8

~

:

~~

f-_ _ .~+-._-+.c:A-+=-=--:::-l_:::+.__"_ !!_ ___

3A

tOO 0

e

I

14

:

f---·f-+--H-T-+-=-,I,-+_-+ ;~

'"
..

G

"

H

,:~

V

'=

:~~

""

fi6

I.

H8

lOA

110

J.

II.

'~;
T
X_+:-,:~-=-'+---c--t--,~-~+-:-'I1""'OW

17.~ -.-- -- 7, f---- .. ~ ----t-:,~~:-I,r--+-:-";:,;:~+---:_+",,,'I7i
I 0 0 I
9
9
1!J
4'
9
';,1
I
':~ y
89
t~
1]1
~__ +--+-_-+...:.'-+=-=+.~~_. __ .!9____ ._~ ____ . ~~_.
,.
69
19
1

0

t

~
I

0

I

1

0

I

10

11

LF
VT

:~

SUB

::

ESC

~

;~

*

:~

+!~

J

:~
'.

~~

K

~~
6'

'~r
--~ ----~ -M"
J. 93 L'---I--+--S-O-+...:=,~-+---If---"~+----~ -.-~~
,° "
,.
46:>
6,
)Q

i----+--+-S-,-+-;,E'::-,+---+--~ -- _2!....>I~

I

,

::

?

/I

6:1

ETIJ
ESC

3

OC'A<

11

DECIMAL

'I

HrX

':~

i~~
'6

'~~

__

A-38

'0'

:;~
IA

'f1'J

~'!.,I-- __-t._6S+--_-+-:-:-:-I

.,-.

'01

:;:

6e

'e

'09

".

lin

'16

111

I'll

6F

"

----+I ~ -A'.tT --t--~ --- '*
N
0

18

""

i~

,~:,

19 18lAN,,1

9f)

~,

Jf

KEY
ASCII tH . . ~e'E'

Z-'!; --J-:~"':t--=---t-:'::-:+-~r--c:+--__+--+_-+...::8-+__-iI--::=;'.+ ____ -~ --.- .~ ---.
FF:;~:: < ~ LI 0 011~--+--+--C-=R-+"':=~.-+----~.
Il
19

';;

,:', DEL "'SCAN 1

Scrolling Hegion
Name

Mnemonic

Sequence

Set top and bottom margins

DECSTBM

ESC [ Pt ; Pb r

Name

Mnemonic

Sequence

Cursor up
Cursor down
Cursor forward (right)
Cursor backward (left)
Cursor position
Cursor position (home)
Horizontal and vertical position
Horizontal and vertical position(home)
Index
Reverse index
Next line
Save cursor (and attributes)
Restore cursor (and attributes)

CUU
CUD
CUF
CUB
CUP
CUP
HVP
HVP

ESC [ Pn A
ESC [ Pn B
ESC [ Pn C
ESC [ Pn D
ESC [ PI; Pc H
ESC [ H
ESC [ PI; Pc f
ESC [ f

IND
RI
NEL
DECSC
DECRC

ESC D
ESC M
ESC E
ESC 7
ESC 8

Name

Mnemonic

Sequence

Horizontal tab set(at current column)
Tabulation clear(at current column)
Tabulation clear(at current column)
Tabulation clear (all tabs)

HTS

ESC H

TBC

ESC [ gTBC

ESC [ 0 g

TBC

ESC [ 3 gName

Mnemonic

Sequence

Double- height top half
Double- height bottom half
Single-width single- height
Double-width single- height

DECDHL
DECDHLDECSWL
DECDWL

ESC #
ESC #
ESC #
ESC #

Cursor MClvernent Commands

Tab StopsLine Attributes

A-39

3
4
5
6

Erasing
Name

Mnemonic

Erase in line
Cursor to end of tine
Cursor to end of line
Beginning of line to cursor
Entire line containing cursor

EL

Erase in display
Cursor to end of screen
Cursor to end of screen
Beginning of screen to cursor
Entire screen

ED

Sequence

ESC [ K
ESC [ 0 K
ESC [ 1 K
ESC [ 2 K-

ESC [J
ESC [ 0 J
ESC [ 1 J
ESC [ 2 J

Communication and Graphics Protocol Commands
Name

Mnemonic

Device control string
Enter ReGIS at previous
command level
Enter ReGIS at highest
command level
Enter ReGIS at previous
command level withcommands to screen
Enter ReGIS at highest
command level withcommands to screen
Enter DECwriter graphics
Enter VTl 05 emulator

DCS

String terminator
Exit graphics

ST

Media copy
Turn off computer to auxiliary
portTurn on computer to auxiliary
portTurn off computer to screen
Turn on computer to screen
Select auxiliary port for
ReGIS hardcopy output
Select computer port for
ReGIS hardcopy output

MC-

ESC [4 i-

ESC [ 5 i

Sequence

ESC P pESC P 1 p
ESC P 2 p

ESC P 3 p

ESC P qESC P t

ESC \

A-40

ESC [ 6 i
ESC [ 7 i
ESC [ ? 0 i
ESC [ ? 2 i

Reports
Name

Mnemonic

Sequence

Device status re~port(request status of VT125)
Response:
Terminal OK
Terminal not OK

DSR

ESC [ 5 n

IDSR
IDSR

ESC [ On
ESC [ 3 n

Device status report(request cursor position)
Cursor position report

DSR

ESC [ 6 n

CPR

ESC [ PI; Pc R

Device attributes (what are you)
Device attributes (what are you)
Identify terminal (what are you)

DA
DA
DEClO

ESC [ cESC [ 0 c
ESC Z

NOTE:

ESC Z is not recommended.

Device attributes
response: VTl 2~)

See Note.

DA

NOTE: Formc.,t is ESC [ ? 12 ; <vt100> ; <vtl 25> ; <version> c
5 = no AVO, 7 = AVO
1
printer, 0
no printerGraphics firmware<vt100><vt125><version:>

=

=

Reset
Name

Mnemonic

Sequence

Reset to initial state

RIS

ESC c

A-41

VT100 Tests and Adjustments
NOTE: Do not use VT100 loopback tt?sts with the graphics processor
installed. Loopback tests require test connector. Continuous tests end
at failure or power-off

Name

Mnemonic

Screen alignment display
Fill screen with" Es"

DECALN

Invoke confidence test
Power-up test

DECTST

Sequence

ESC # 8

Data loopback test
Power-up and data loopback
tests
EIA modem control loopback
testPower-up and EIA loopback
tests
Data loopback and EIA
loopback tests
Power-up. data loopback.
and EIA loopback tests
Repeat power-up test
continuously
Repeat data loopback test
continuously
Repeat power-up and data
loopback tests continuously
Repeat EIA test continuously
Repeat power-up and EIA
tests continuously
Repeat data loopback and EIA loopback tests continuously
Repeat power-up. data
loopback. and EIA loopback
tests continuously

A-42

ESC [ 2 ; 1 y
ESC [ 2 ; 2 y
ESC [ 2 ; 3 y
ESC [ 2 ; 4 y
ESC [ 2 ; 5 y
ESC [ 2 ; 6 y
ESC [ 2 ; 7 y
ESC [ 2 ; 9 y
ESC [ 2 ; 10 y
ESC [ 2 ; 11 y
ESC [ 2 ; 12 y
ESC [ 2 ; 13 y
ESC [ 2 ; 14 y
ESC [ 2 ; 15 yVT125 Tests and Adjustments
NOTE: All tests mquire loopback connector. Always include power-up
test for correct display of error indications.
Name

Mnemonic

Invoke confidence test
DECTST
VT125 power-up test
VT1 25 computer port
data loopback test
VT125 auxilialry port
data loopback test
VT1 25 display test
VT125 video bit map
memory test
Repeat any selected
tests continuously until
power-off or failure

Sequence
ESC [ 4 ; 1 ; Ps . . . ; Ps y
Ps = 1
Ps= 2
Ps= 3
Ps= 4
Ps = 5
Ps = 9Keyboard I ndicClltors
Name

MnElmOnic

Load LEOs
All off
L1 on
L2 on
L3 on
L4 on

DECLL

Sequence

ESC [ q
ESC [ 1 q
ESC [ 2 q
ESC [ 3 q
ESC [ 4 q

VT52 COMPATIBL.E MODE
Mode

SequenceEnter ANSI modle

ESC <Keypad Character Selection
Name

SequenceEnter alternate Ikeypad mode
Exit alternate keypad mode
(numeric keypad mode)

ESC=
ESC>

NOTE: VT52 alwrnc'/te keypad and numeric keypad modes are different
from ANSI.

A-43

Character Sets
Name

Sequence

Special graphics character set
Select US/UK character set(as determined by the US/UK
character SET- U P feature)

ESC F·ESC G•

Same as special character and line drawing set in ANSI mode.

Cursor Position
Name

Sequence

Cursor up·
Cursor down·
Cursor right·
Cursor left·
Cursor to home
Direct cursor address
Reverse line feed

ESC A
ESC B
ESC C
ESC 0
ESC H
ESC Y PI Pct
ESC it•Same when sent from the terminal.

tLine and column numbers for direct cursor address are single
character codes whose values are the desired number plus 3'10'
Line and column numbers start at one.
The last character of the sequence is an uppercase i ("'8)'

Erasing
Name

Sequence

Erase to end of line
Erase to end of screen

ESC K
ESC J

Reports
Name

Sequence

Identify (what are you)
Response: VT52

ESC Z
ESC / Z

A-44

ReGIS COMMAND SUMMARY
Position Command Summary
Function

CommandP

Reset pattern memory.

[][<position>]<pixel vector> lOr < pv>

Move to < position>.
Move < multiplier> pixels in<pv> direction.

(B)
(5)

Save current location.
Save dummy location.

(E)(W «temp. writing controls»)

Move to last saved location.
P (VV (M<multiplier»).

Vector Command Summary
CommandFunctionv []Draw dot at current position.
Draw vector to <position>.

[<position>]<pixel vector> or« pv>

Draw <multiplier> pixels in< pv> direction.
(8)(5)

Save current position.
Save dummy position.

(E)

Draw to last saved position.

(W «temp. writin~1 controls»)

Curve Command Summary
CommandFunctionC

Circle with center at current[<position>]

position. circumference at<position> .

(C) [<position>]

Circle with center at<position>. circumference atcurrent position.

(A<degrees» [<position>]

Arc with center at current
position. starting at <position>(A<degrees> C) [< position>]

Arc with center at < position>.
starting at current position forfor <degrees>.

<degrees>.
(B) [<pos.>] ... [<pos.>] (E)Bounded (closed) curve(5) [ ] [<pos.>] ... [<pos.>] [ ] (E)Unbounded (open) curve(W«temp. writing controls»)

A-45

Text Command Summary
CommandT(5 <size number»(H <height»

I<spacing> J(5 I<width in pixelS>.<height in pixelS>])(M I<width pixel multiplier>.<height pix"el multiplier>])(0 <direction angle»(0 <string tilt> 5 <size> 0 <char tilt»(T <italic degrees»(A <pattern set number»(( B) <temporary attributes block:> (E))(W«temp. writing controls»)
Writing Controls Summary
CommandFunction

W (C)Complement
Erase
Replace
Overlay
0= no planes
1plane 12 = plane 2planes 1 and 2
3

(E)
(R)

(V)
(F <foreground planes»==

Foreground intensity:
(I

0
1
2
3

Dark
or Dark
Dim greyRed
Light grey
Green
White
Blue
Cyan
Yellow
MagentaWhiteor (D)
(R)
(G)
(B)

(C)
(Y)
(M)

(W)
or
(I (H <hue angle>
L <lightness percent>5 <saturation percent»)(M <multiplier»
(N 1)
(N 0)
(S 1)
(S 0)
(S [, shading reference])(S . shading character)(P <binary pattern»(P <pattern number»(P (M <pattern multiplier»)(W<i>(P<j>,N<k>))A-46

Pixels per < pv>
Negative on
Negative off
Shading on
Shading off

Enter pattern.
Use VT1 25 pattern.
Custom writing control

Screen Controls Summary
CommandFunction

S

Scroll.

<pixel vector>[<position> I(A [<position> J [<position>])(E)(H [<position>] [<position>](H( P[<position>]))

(I

a

or

1
2
3

Display addressing.
Erase screen.
Hardcopy (corner positions
optional)
Set hardcopy offset.
Background intensity:
Dark
or Dark
Dim greyRed
Light grey
Green
White
Blue
Cyan
Yellow
Magenta
White

(D)

(R)
(G)
(B)

(C)
(Y)
(M)
(W)
or
(I (H <hue angle>
L <lightness percent>S <saturation percent»)

S(M<n>«nnono HLS>)(A<color HLS») Output mapping(S <scal'e»(S (X<scale>Y<scale»(T <ticks»

Time delay

MacrographCommandFunction@

Clear all macrographs.
Define macrograph.
Invoke macrograph.

:keyletter character_string @;keyletter
Character Cell Control Summary

Summary

Command
L(A<inte~ler»(A"<name>").. <ASCII char>" <hex pair> ...
<hex pair>;

A-47

Select for loading.
Give name to set.
Load cell.

Report Command Summary
CommandFunctionR

Set selected for loading.
Contents of macrograph.
Use of storage.
Reply to use.
Cursor position.

(L)(M «keyletter»)(M(=))"<free> .<total>"
(P)

A.-48

APPENDIX B
RECC-MMENDED SPARES LIST (RSL)

Table B-1 lists the recommended spares for the basic VT 100 and all variations.

Table B-1

VT100 Recommended Spares
V
T
1
0
0

V
T
1
0
0
W
A

\
Qty

B-1

V
T
1

X
X

w \

C

\

V
T
1
0

V
T
1
2

5

5

V
T
1
3
2

A

c

B

K

x
x
x
x
x
x

x
x
x
x
x
x

x
x
x
x

x
x

x
x

x
x

x
x

x
x

x
x

x

x

x

x

x

x

x
x
x
x
x
x
x
x
x
x
x
x
x
x
x

x
x
x
x
x
x

x
x
x
x
x
x

x
x

x

x
x
x

Part Number jDescription

30-14590-02 Monitor PCB (Ball)
30-14590-01 Flyback transformer (Ball)
70-17362-00 Monitor PCB (Elston)70-17363-00 Flyback assembly (Elston)70-17364-00 CRT and yoke assembly
54-13009-00 T9rminal controller PCB(not FCC-complying)
54-13009-03 Terminal controller PCB( FCC-complying)
54-13097-00 Advanced video PCB
70-15273 20 rnA adapter assembly
70-15506-013 20 rnA internal cable
BC05 F-15 20 rnA cable (15 ft)
BC05D-I0 EIA cable (M-F) (110 ft)
BC03M-IO EIA cable (null modem)
70-15765-00 LK keyboard
70-14652 Cable assembly, keyboard
12-15050 Speaker
12-14333-72 LK07 keycap set
12-14333-91 LK08 keycap set
74-1 6355 Keyca p removal tool70-14979 Power supply assembly
12-15232 Power switch
12-16901-00 Voltage select switch

V
T
1
0
0

x
x
x
x
x
x
x
x

x
x
x
x

x
x

x

x

x

x
x
x
x

x
x
x
x
x

x
x
x
x

x
x
x
x

x

x

x
x

x
x

x

x

x

x
x

x
x

x

x

x
x

x
x

x

x

Table 8-1

VT100 Recommended Spares (Cont)

V
T
1
0
0

Qty

Part Number/Description

10
1
1
1
1
2
5
5
5
15
15
5
15
15
5
15
5
5
1
5
5
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

90-07217 Fuse 3 Amp
17-0083-09 Line cord, 115 V
17-0083-10 Line cord, 230 V
70-14978-01 DC power dist. cable
70-14978-03 DC power dist. cable12-12405-00 Card guide90-10007 Retainer ring*
90-09747-01 Support*, chassis90-10016-00 Cable c1amp*
90-09964 Plunger*, chassis mounting
90-09966-01 Grommet *, chassis12-14811 Captive screw*
12-14740-00 Plunger*, base mounting
90-09965-00 Plunger*, base mounting
90-09747-03 Standoff*, AVO
90-09966-02 Grommet*, base12-14817 Mounting screw*
90-09624-00 Feet*
12-12893 Fuse holder*90-09680-04 Screw*, tap 6 X 1/2 hex
90-09701-00 Screw*, 6-32 X 5/16
94-03220-03 CRT mask, alignment
94-03270-03 CRT mask, char. alignment
29-23189-00 Shaft extender29-23190-00 Alignment tool, monitor
29-23187 Kit, carrying case99-05812 IC container
12-15336 Loopback connector, RS232C
70-15503-00 Loopback connector, 20 rnA
70-15765t- Word processor keyboard
54-14260-00 STP board
M7071 Waveform generator module
70-08612-0F Cable
54-14277 Mono graphics board
54-14275 STP paddle board
70-16165-1 E 24-pin flat cable
70-18396-Y A 16-pin flat cable
12-14333-U3 Keycap, DELETE
12-14333-U4 Keycap, INSERT LINE/PFI
12-14333-U5 Keycap, DELETE LINE/PF2
12-14333-U6 Keycap, CHAR INSERT /PF3

B-2

x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x

V
T
1
0
0
W
A

C

\

\

V
T
1
0
0

w

B

K

x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x

x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x

V

T
1
X
X

V
T
1
0

V
T
1
2

5

5

x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x

x
x
x

V
T
1
3
2

\
A
C

x
x

x
x
x
x·
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x

x
x
x
x
x
x
x
x
x
x
x
x
x
x

x
x
x
x
x
x
x
x
x
x
x
x
x

x
x

x
x
x
·x
x
x
x
x

x
x
x

Table 8-1

VT100 Recommended Spares (Cont)
V
T

Qty

Part Number/Description

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
2
10

12-14333-WK Keycap, CLEAR/HOME
12-14333-U8 Keycap, BACK TAB/,
12-14333-U9 Keycap, DELETE CHAR/.
12-14333-WO Keycap, PRINT/ENTER
12-14333-Wl Keycap, (EDIT)/PF4
12-14333-UO Keycap, PRI1'JT /ENTER
23-061 E2-00 ROM, basic vide·o23-032E2-00 ROM, basic video
23-033E2-00 ROM, basic video
23-034E2-00 ROM, basic video
23-069E2-00 ROM, AVO
23-180E2 ROM, basic vide:o23-181 E2 ROM, basic vide:o23-182E2 ROM, basic vide:o23-183E2 ROM, basic vide:o. 23-236E2 ROM, advanced video
23-237E2 ROM, advanced video
23-238E2 ROM, advanced video
23-239E2 ROM, advanced video
23-095E2 ROM, basic video
23-096E2 ROM, basic video
23-139E2 ROM, basic video
23-140E2 ROM, basic video
23-186E2 ROM, advanced video
23-187E2 ROM, advancedl video
23-152E2 ROM, advanced video
23-094E2 ROM, character ge:nerator (E9)90-09306-00 Fiber spacer*90-09185-00 Jumpers*

V
T

V
T

V
T

V
T

1

1

1

1

1

0
0

0
0
W

0
0

X
X

0
5

A

C

A

\

\

C

B

w

V
T
1
3
2

\

K
x
x
x
x
x
x

x
x
x
x

x

x
x
x
x

x
x
x

x
x
x
x

x
x
x
x
x
x
x

x
x
x
x
x
x

x
x
x

x
x

*These items are expendable.
tUse the following chart to determine the correct laslt two digits of the part number.
Terminal

Language

Part Number

VT100WA/WB
VT100WC/WD
VT100WE/WF
VT100WG/WH
VT100WJ/WK

Word Proce:ssing
French CanadianFrenchDutch
German70-15765-03
70-15765-05
70-15765-06
70-15765-07
70-15765-08

B-3

V
T
t
2
5

x

APPENDIX CGLOSSARY OF TERMS AND ABBREVIATIONS

20 rnA - Value of current used for current loop communications option; also, the name of the option.

75 ohm - Source and terminating impedance for video inputs and outputs.
7FH - Hexadecimal value representing 0111 1111 in binary; the terminator at the end of each line ofcharacters; also, the last keyboard address, always returned at the end of a scan.
8080 - The microprocessor device.

8224 - The clock generator device.
8228 - The system controller and bus driver device.
8251 - The PUSART.

AO,A 1,... ,Ax - Address bus.
Active - For the current loop option, the interface supplies switched current to transmit, and to receive,
detects changes as the remote sender switches the current supplied by the active device. For the STP,
the STP device intercepts the interface signals, acts IOn them, and then can either withhold them or passthem on to the terminal controller or the host.
Active Position - The active column and active line position in which the next displayable character will
be placed. The active line is th(~ line in which the cursor is presently located. The active column is the
cursor location on the active line.
ADDR - Address
ADDR CNT - Address count. Signal that drives the address counters in the video processor.
ADDR CNT ON - Address count on. Signal inside the DC011' that controls the output of AddressCount signals.
ADDR LD - Address load. Signal that loads the address bytes from the end of a line into the presettable address counters; also stores line attributes.

Advanced video option - Optional circuit board that contains extra screen RAM, extra attribute RAM,and program ROM sockets and decoders.
ALT CHAR SET - Alternate character set. If the AVO is present, a ROM with a different character'set can be installed in a socket on the terminal controller, and selected with a control function.

C-l

ANSI - American National Standards InstituteANSI mode - A mode in which the terminal recognizes and responds only to control functions whose
syntax and meaning follow ANSI specifications.
ASCII - American Standards Committee for Information Interchange
Asynchronous - For serial data transmission; method allows sender and receiver to operate with nonidentical clocks.
Attribute - A display feature such as blinking characters, double width lines, or reverse screen.
AVO - Advanced Video Option
Base attribute - The one attribute that characters on the screen can have when the AVO is not present.
Selectable at SET-UP to be either reverse or unde:rline.
Baud rate - Rate of data exchange on a serial interface.
Bipolar - A kind of transistor construction used in TTL and high speed LSI.
Bit map - A large memory with as many addresses as the display has cartesian coordinates. There is a
one-to-one correspondence between pixels on the sereen and addresses in the memory.
Blink - An attribute that makes a character blink.
Bold - An attribute that makes a character brighter.
Bottom half - In a double height line, this is asserted for the bottom half of the line.
Bus - A group of wires carrying several separate but related signals.
Byte - Eight bits treated as a' unit.

C/D - Command/Data. Control line to the PUSART.
Caps lock - A key that forces alphabetics to uppercase without affecting numeric and symbolic keys.
Cathode - The element that is driven to control intensity of the electron beam in the CRT.
CHAR CLK - Character Clock. A clock in the vid~:o processor with a period equal to the time between
characters on the display. Varies according to 80 or 132 column mode.
Character - A pattern of dots on the CRT screen representing an ASCII character; a pattern which
represents an element of written language or mathe:matics; a group of 7 or 8 bits representing a control
or graphic entity. In serial-by-bit transmission, a character is transferred from low-order bit to highorder bit.
.
Character generator - A ROM that translates character codes into patterns for display.
Character position - That portion of a display that is displaying or is capable of displaying a graphic
symbol.
Checksum - A number created specifically to detect errors in 'stored or exchanged data.

C-2

Column mode - The number of characters positions provided on a line - 80 or 132.

COMP SYNC - Composite Sync signal
Composite sync - The signal that coordinates the motion of the electron beam in a video monitor that isexternal to the VT100.
Control - The term "control" refers to a "control function." A control function is implemented throughthe use of a control character, escape sequence, control sequence, or control string.
Control (key) - Produces control characters when pressed with other keys.
Control chip - The DCO 12
Control character - A single character whose occurrence in a particular context initiates, modifies, or
stops a control function. The value of a control character is in the range 0 through 1FH and 7FH in a 7bit environment.
Control function - A special actiion the terminal can perform to affect recording, processing, transmitting, or interpreting data. Also, the sequence of characters that cause the action.
Control Q - An ASCII control character meaning XON.
Control S - An ASCII control character meaning XOFF.
Control sequence - A sequence of characters used for control purposes to perform a control function. A
control sequence is a string of characters that begins with the control sequence introducer (CSI) andends with the first occurrence of a final character (40H -7EH). A control sequence may contain 0 or
more parameter characters (30H- 3FH) and/or intermediate characters (20H-2FH).
Control sequence introducer - A prefix to a control sequence that provides supplementary control functions. The CSI for the VT100 series is ESC [(lBH SBH).
Control string - A string of characters used to perform a control function and delimited by an opening
and closing delimiter character.

CPU - Central processing unit. Generally means host.
CRT - Cathode ray tube., The display device in a monitor.

CSI - Control sequence introducer
Current loop - The 20 rnA interface option.
Cursor - A blinking underline or blinking reverse field indicating the active position.
DO,DI, ... ,Dx. - Individual lines on the data bus.
DB bus - The bidirectionally buffered data bus.
DCOII - Timing chip for the video processor. Produces timing signals, clocks, and line buffer addressing.
DCOl2 - Control chip for the vidleo processor. Controls DMAs and generation of character video.

C-3

DCA - Direct cursor addressing
DEC - Prefix for DEC private control functions.
Default - Parameters provided when no choice is made by the user.
Demultiplexer - Routes a signal to one of several outputs according to control signals.
DH - Double height
Direct drive - Controls movement of electron beam in the CRT with separate horizontal and verticalsignals rather than combining the control signals into the single composite video signal.
Direct memory access - An action by which the video processor can read data directly from the microprocessor's memory.
DMA - Direct memory access

DMA ENABLE - A signal allowing a DMA to occur.
DO bus - The buffered write-only (output-only) data bus.
Dot - The smallest displayable unit of information on the screen.
DOT CLK - The fastest clock in the video processor; clocks the video shift register. Varies with 80 or
132 column mode.
Dot stretcher - I n the DCO 12, adds one dot to each row of contiguous dots. Ensures that bandwidth
requirement of CRT is met.
Double height - Makes each line display in 20 scans instead of the regular 10.
Double width - Makes each character display in 20 dots instead of the regular 10.
DSR - Data Set Ready
DTR - Data Terminal Ready
DW - Double Width
E4 -. Normal character set ROM
E9 - Alternate character ·set ROM

Ell - Line buffer D4-D7

E15 - Character latch buffer
E16 - Character generator latch
E17 - Line buffer 00-03
E20 - Screen RAM character latch

C-4

E21 - Address counter A8-AII
E25 - Address counter A4-A 7. E30 - Address counter AO-A3
E60 - Programmable baud rate generator
EAROM - Electrically alterable read-only memory - the NVR.
EIA - Electronic Industries Association; used to refer to the EIA standard voltage I/O interface, RS232-C.
ER 1400 - Nonvolatile RAM
ESC - Escape character (ASCII I BH)
Escape character (ESC) - A control character that provides code extension and that is itself a prefix
affecting the interpretation IOf a limited number of contiguous characters.
Escape sequence - A sequence of characters used for control purposes to perform a control function.
The sequence begins with an (l BH) control character and ends with the first occurrence of a final character (30H-7EH). An escape sequence may have 0 or more intermediate characters (20H-2FH) preceding the final char'acter.
Exclusive-OR - A logical function that provides an output only when one or the other input signal ispresent but not when both or neithe:r are present.
EXT - External

Field - That part of a video image displayed during lOne vertical sweep of the CRT beam from the topof the screen to the bottom.
Fill line - A terminator and a pair of address bytes. Synchronizes the DMA process in the video processor without requiring a full line of memory.

Firmware - The microprocessor program.
Flag - An internal signal to the microprocessor.
Flyback transformer - Generate:s high voltages in the CRT monitor.
Frame - A complete video image.
Graphics - A kind of display showing lines and shapes rather than alphanumerics.
Halt - A condition in the microprocessor when no instructions are performed.
\

Hard copy - Computer output that can be carried away from the output device in human-readable
form.
Hardware - The electrical and mechanical structure of a device.
HOLD REQ - Hold request. A signal asking the microprocessor to give up use of the address, data, andcontrol buses to the video processor.
C-5

HORIZ BLANK - Horizontal blank. Signal that turns the electron beam off during the horizontal retrace interval.
HORIZ DRIVE - Horizontal drive. Direct drive signal from the video processor that synchronizes horizontal deflection in the internal monitor.
HORIZONTAL TIME - Gating signal inside the DCO 12.
Host - The computer that the VT100 communicates with.
Hysteresis - A characteristic of detection circuits that makes the threshold of detection different fordifferent directions of change of the input signal.

Ie - Integrated circuit.
Idle - On a communication line, a state when no information is being exchanged.
INIT - Initialize. Signal that informs options and internal devices that the·VTI00 has performed a reset
operation.
INTA - Interrupt acknowledge. Signal the 8080 produces to indicate it is ready for a RST instruction
containing an interrupt vector. The signal enables the outputs on the interrupt vector buffer.
Interlace - A kind of video display where the information from two fields is displayed by offsetting thevertical position of one field slightly from the other so lthe scans of one field appear between the scans of
the other.
Interrupt - A signal to the microprocessor to get it to set aside its current work to take care of a highpriority task. Such tasks include getting data from a communication line before it disappears.
I/O RD - Input/output read. A microprocessor control bus signal.
I/O WR - Input/output write. A microprocessor control bus signal.
I/O - Input/output. A general word that refers to data transfers between the microprocessor and devices under microprocessor control, like sensors and indicators.
ISO - International Standards Organization
Jump - In firmware, a movement to a nonsequential instruction. In a display, a form of scrolling wherelines of characters on the screen move up or down by the height of a character line in one operation(compare to smooth scrolling).
KEY DOWN - Signal in the keyboard that causes the transmission of a key address to the terminal.
Keypad - Generally refers to the cluster of 18 numeric and special function keys on the right side of the
keyboard.
Latch -- A device that can store "data.
LATOFS - Line address offset table. Used by the firmware to determine the display order of the lines.
LBA - Line buffer address. Output from the DCOII to address character location in the video processor's line memory.

C-6

LC - Inductor-capacitor
LED - Light emitting diode. A light source (usually red). There are seven at the top of the keyboard.
Line - A line of either 80 or 132 characters. Characters do not have to be present for the line to exist inmemory.
Line attribute - An attribute that affects the entire line, such as double width.
Line buffer - Memory that stores the current line for display during the nine non-DMA scans.
Local - A condition in which the output from the ke:yboard goes directly to the screen without going to
the host.
LSI - Large scale integration. Very complex circuitry packed into small packages. The DCa 11,
DCa 12, and 8080 are examples..
Mark - One state of a communication line. Generally defined as a low signal level or the presence of
current flow. See also Space.
Mask-programmed -Programmed as part of the manufacturing process and not changeable.
Matrix - An arrangement that allows addressing of many individual points with few address lines. Usedin the keyboard switch array.
MEM DISABLE - Memory disable. Signal used by the AVO to disable main memory outputs whenother mcmory is being addressed.
MEM RD - Memory read. A microprocessor control bus signal.
MEM WR - Memory write. A miicroprocessor control bus signal.
Microprocessor - The 8080 and associated devices . Controls VT 100 operation.
MNOS - Metal nitride oxide semiconductor. The semiconductor technology used in the nonvolatile
RAM.
Mode instruction - Command to the PUSART that sets up the basic operating protocol.
Modem - A device that converts the VT100's EIA output to audio tones that can pass over telephonelines.
Modulus - The largest unique value in a counter. If incremented beyond its modulus, a counter returns
to a and counts up again.
MOS - Mctal oxide semiconductor. A class of devices distinct from bipolar.
ms - Millisecond
Multiplexer - A device that selects from several inputs to give one output.
MUX - Multiplexer

C-l'New scroll zone - A signal inside the DCO 12 that indicates the beginning of a scroll zone and commands a new D MA.
NMOS - N-channel metal oxide semiconductor. Class of device used in the 8080 and 8251 and 2114
(memory chip).
NO SCROLL - A key that stops new data from entering the screen.
Nonvolatile RAM - Writable memory that does not lose its data when power is off.
NTSC - National Television Standards Committee
NVR - Nonvolatile RAM
Offset -The number of scans a line is moved from the normal display position in a given frame during asmooth scroll. Also, the rearrangement of line displ.ay order according to LATOFS.
On line - A condition in which all keyboard information passes to the host computer and the screen
receives its data from the host.
Overrun error - Occurs in the PUSART if the microprocessor did not read a character before the next
one arrived on top of it.
Parallel - Data path where all bits travel simultaneously on separate wires.
Parity - An error detection system based on the number of bits set in each data byte.
Parity error - An error condition indicating that at least one of the bits in a byte changed.
Parser - A process that separates a sequence into its component parts.
Passive - For the current loop option, the interface accepts current from outside and passes it or blocks
it to transmit; to receive, it detects changes in the iincoming current. For the STP, the option plugged
into the STP examines the data on the interface and can add messages of its own, but cannot change thedata passing between the terminal controller and the host.
Pn - Parameter
Pop - The microprocessor retrieves data from the stack.
Port - A place where data can enter or exit a device.
Pulse width modulation - Encoding of data by varying the duty cycle of a continuous clock.
PUSART - Programmable universal synchronous/asynchronous receiver/transmitter. The communication device in the VT100.
Push - The microprocessor puts data in the stack.
PWM - Pulse width modulation
RAM - Random access memory (also known as read/write memory).

C-8

Raster - On a CRT screen, the effect of continuous vertical and horizontal deflections of the electron
beam covering the full height and width of the screen. If the beam is turned off, the raster is not visible.
RC - Resistor-capacitor
RCLK - Receive clock
Ready - A control line that forces a wait state in the 8080. Not used in the VT100.
Recall - A routine that sets SET-UP data from the NVR.
Refresh - The process of repeatedly rewriting the screen with data so it appears to to be constantly lit.
Reset - Setting a device to a starting condition, often for clearing errors.
Restart - Instruction the 8080 perfornls when interrupted.
Retrace - Rapid movement of the turned-off CRT beam from the end of one pass to the beginning ofanother.
Reverse video - A character attribute: characters are seen as dark areas in fields of light.
Reverse screen - A screen attribute: the entire screen is normally rendered as black characters on awhite background.
RO - Receive-only
Rollover - Ability to accept more than one key pressed at the same time.
ROM - Read only memory
Routine - Set of instructions to the microprocessor that makes it perform a particular function.
RS-170 - An EIA standard that dictates television signal characteristics.
RS-232-C - An EIA standard that dictates data interface characteristics.
RSL - Recommended spares list
RST - Restart instruction
RTS - Request to send - modem control signal.
RxD - Receive data - PlJSARTRxRDY - Receiver ready - PUSART
Save - Process of storing SET··UP data in the NVR.
Scan - One horizontal pass of th(! CRT beam; also, the character information displayed in that pass.
Scan count - The video processor keeps count to help decide when to initiate a DMA and to provide
addresses for the character generator ROM.

C-9

seD - Secondary carrier detect. A modem control signal.
Schmidt trigger - A device that accepts a slowly varying signal to an input with hysteresis in its threshold of detection. It output.s clean transitions when the input passes the threshold of detection in either
direction.

Scratch RAM - That portion of RAM used for microprocessor operations.
Screen - Face of CRT on which data are displayed.
Screen attribute - Applies to the entire display area: reverse screen, smooth scrolling.
Screen RAM - That portion of RAM used for dis,play storage.
Scroll - Upward or downward movement of data on the screen.
SEL 8-121( - Select memory in the range 2000H to 2FFFH.
SEL ATT RAM - Select attribute RAM. Signal for reading and writing data in the attribute RAM on
the A YO under microprocessor control.

Serial - Transmission of data bit-by-bit over a single data line.
SET-UP - Special mode of terminal operation for entering operating parameters from the keyboard.
SET-UP specifications - Those terminal operating parameters entered from the keyboard or changeable from the host.

SHUFAD .- Shuffle address. The pointer address location that changes during "a shuffle.
SHUFDT - Shuffle data. The pointer address stored in SHUFAD during a shuffle.
Shuffle - The process of quickly rearranging pointer addresses when a line scrolls off or on the screen.
SILIN - The address where the next character enters the SILO.
SILO - A Scratch RAM area where data coming from the communication port is buffered on a firstin/first-out basis.

SILOUT - The address where the next character exits the SILO.
Smooth scroll - Scrolling in which the data on th{: screen moves only one scan per frame.
Soft copy - Computer output that only exists as light on a screen.
Space - One state of a communication line. Generally defined as a high signal level or the absence of
current. (See also Mark.)

SPDI - Speed indicator. A modem control signal.
SPDS - Speed select. A modem control signal.
Split screen - Display operation where one part of the screen can scroll while another part remains
stationary.

C-IOSR - Shift register. The devict~ that performs parallel to serial conversion of data from the character
generator ROM to the CRT. Also, the parallel-to-serial (or s-to-p converter) in UARTs and PUSARTs.
SRTS - Secondary request to send. A modem control signal.
Stack - Area of scratch RAM where the microprocessor places its current status while processing aninterrupt or subroutine call.
Start bit - The first bit in a serial, asynchronous byte transmission, always a space.
Status byte - A byte of information about the operation of the 8080 that it outputs during the firstmachine cycle of an instruction. The byte is latched and decoded into control signals by the 8228 system controller.
Stop bit - The last bit in a serial, asynchronous byte transmission, always a mark.
STP - Standard terminal port
Strobe - A signal (usually brief) that commands a device to perform a function.
STSTB - Status strobe. Signal output by the 8080 to latch the status byte into the 8228.
Sync - Any signal that allows one device to operate precisely in step with another. Particularly applies
to synchronization of the electron beam in a monitor to the video data that modulates the beam.
Synchronous - Processes that occur in synchronism.
TBMT - Transmit buffer empty. A signal from the keyboard UART.
TC - Terminal controller. The main VT100 circuit board.
TCLK - Transmit clock
Terminator - A character mixed in with screen data that signals the end of a line and causes the video
processor to advance to the ne:xt line.
Threshold of detection - That vallue of input that causes a detector's output to ~hange state.
Timing chip - The DCO 11
Toggle - To alternate the state of a device between two values.
Top half - In a double height line, this is asserted for the top half of the line.
TP - Terminal processor. A hypothetical nonvideo processor built into the VT100 cabinet.
Tristate - A device output that Ican sink current, source current, or become high impedance and notaffect the circuits connected t.o it.
Tx ENable - Transmitter enable. A bit in the PUSART command instruction.
TxD - Transmitter data. PUSART serial data output.
TxEmpty - Transmitter lempty. PUSART control output.

C-l1

TxRDY - Transmitter ready. PUSART control output.
UART - Universal asynchronous receiver-transmitter. Wire-programmed device used in the keyboard
interface.
Underline - A character attribute that forces scan 9 to show during a character.
J.LS -- Microsecond

Vector - The address of the first instruction for an interrupt handling routine.
VERT BLANK - Vertical blank. Signal that turns off the CRT beam during the vertical interval.
VERT DRIVE - Vertical drive. Direct drive signal from the video processor that synchronizes verticaldeflection in the monitor.
VERT RESET - Signal that occurs at the bottom of the screen to start the video processor at the top.
Vertical interval - The portion of a raster when the: beam is turned off and returning to the top of thescreen.
VID WR 1 - Video Write 1. Signal to load control data into the DCOI!.
VID WR 2 - yideo Write 2. Signal to load control data into the DCOI2.
Video processor - The circuitry that converts character codes stored in RAM into video signals that
display as graphic characters on the screen.
VID IN - Video input (to the DCOI2).
VID OUT - Video output (two outputs from the DC012).
VSR LD - Video shift register load. A signal that determines whether the video shift register performs
a parallel load or a shift when clocked.
VT52 - The DIG ITAL video terminal that preceded the VT100. It responded to escape sequences conforming to an internal DIGITAL standard.
Wait - Displayed message for operator during NVR operations. Also, an indefinite state in the 8080
controlled by Ready (and not used in the VT100).
Wire-ANDed - TTL devices with open-collector outputs can be tied together to form a logical AND
gate at the outputs.
WRITE LB - Write line buffer. Signal that writes a character into the line buffer.
XMIT flag - Transmit flag. Signal to microprocessor from TxRDY at PUSART.
XOFF - Control character that asks the sender to stop sending.
XON - Control character that asks the sender to resume sending.

C-12

APPENDIX DANSI CODE EXTENSION TECHNIQUES

GENERAL
This appendix describes the ANSI code extension techniques as defined in ANSI standards X3.411974 and X3.64-1979 (ISO 2022 and 6429). (Refer to Chapter 1 for ANSI standards ordering information.) The description is based on the functions used in the VT100 and LA120 families of terminals.
There are many special cases and details in the specifications that are not described here.
CLASSES OF CHARACTERS
The ANSI system is based on the use of classes of characters for specific purposes. The classes are
determined by the character position in the ASCII table (Figure D-l). This table and the ANSI system
can work for either a 7-bit: or an g--bit character environment. Current terminals support only 7-bit characters.
CONTROL FUNCTIONSControl functions are all control characters and groups of characters (strings) that control terminal operation but are not displayed on the screen. Not all control functions perform an action in every device
that understands ANSI, but each device can understand all control functions and discard any that do
not apply to it. Therefore, each device is said to perform a subset of the ANSI functions.
ANSI COMPLIANCE
Different devices use different subsets. Therefore, compliance with ANSI does not mean compatibility
bctwcen devices. Compliance only means that a given action, if defined in the ANSI standard, iscaused by the same control function in all devices. If an ANSI device does not perform an action thathas a control function defined in the ANSI standard, it cannot use that control function for any otherpurpose.
For example, ESC c is the Reset sequence for devices meeting ANSI and having a remote reset function. If a device does not have this function, it may not use ESC c for any other purpose. ESC 7 (Save
Cursor Position), however, is a private sequence and may be used for other purposes by devices fromother manufacturers. But within DIGITAL each private sequence is registered in an internal standard
so that all DIGITAL products use each sequence for only one purpose.
CONTROL CHARACTERS
A control character is a single character which (when received by the terminal) starts, modifies, or
stops a control function. The value of a control character is in the octal range of 0 through 37 and 177.
Appendix A of this document explains the control characters understood by the terminal. All othercontrol character codes are ignored.
This terminal can perform some actions usually caused by control character codes from the 8-bit ASCII environment, which this terminal does not understand. It does this by understanding certain combinations of 7-bit codes, which other sections of this appendix will explain.

D-1

85

BITS

---

o 0

o 0

1

1

0

L

0

1

1

1

1

o 0
0

1

0

1

1 0

1

1

(\

o 0

0

1

0

1

0
1

0

1

2

2

NUL

0
0
0

OLE

20
16

SOH

1
1
1

DC1
(XON)

21

STX

2

ETX

_SP

-- r - - - - - - - -

17

!

11

DC2

2
2

DC3

3

22
18
12

----

"
#

24
20
14

$

(XOFF)

4
4
4

DC4

ENQ

5
5

NAK

25
21
15

%

ACK

6

SYN

26
22

&

16

BEL

ETB

27
23
17

,

7

7
7
7

8

BS

10
8
8

CAN

30
24
18

(

11
9
9

EM

31
25
19

)

4

5

EOT

6

9

HT

6
6

0

@

100

41
33
21

1

61
49
_31

A

101
65
41

Q

42
34
22

2

62
50
32

B

102
66
42

R

43
35

-- -

1

64
40

103

P

120
80
50

q

161
113
71

122
82

b

142

r

162

143
99
63

5

163
115
73

t

164

52
123
' 83

104
68
44

T

124
84
54

d

144

5

65
53
35

E

105
69
45

U

125
85
55

e

145
101
65

U

165
117
75

6

66
54
36

F

106

V

126
86
56

f

146
102
66

V

166
118
76

7

67
55
37

G

107
71
47

W

127

9

147

W

167
119

50
40
28

8

70
56
38

H

110

X

130
88
58

h

150
104
68

X

170
120
78

51
41
29

9

71
57
39

I

111
73
49

Y

131
89
59

i

151
105
69

:

72

J

112
74
4A

Z

132

j

[

133

37
25
46
38
26
47
39
27

70
46

72
48

87
57

11

VT

13
11
8

ESC

33
27
18

+

53
43
28

73
59
38

K

113

o 1 1

;

1

1

1

0

()

12

FF

14
12
C

FS

34
28
lC

,

54
44
2C

<

74
60
3C

L

114
76
4C

\

134
92
5C

1

1

0

1

13

CR

15
13
0

GS

35
29

=

75
61
3D

M

115
77
40

]

10

55
45
20

135
93
50

RS

36
30
IE

56
46
2E

>

76
62
3E

N

116
78
4E

A

136
94
5E

US

37
31
IF

57
47

?

77

0

117
79
4F

-

137
95
5F

SO

1

1

1

1

15

SI

17
15
F

/

72

0

58
3A

63
3F

2F

75
48

C

53

*

14

114

64
52
34

S

52
42
2A

0

98
62

4

44
36

67
43

32
26
lA

1

160
112
70

141
97
61

SUB

1

P

a

12
10
A

1

140
96
60

121
81
51

LF

16
14
E

7

6

C

3

23

.--

-

,

63
51
33

24
---45

-.-

5

4
60
48
30

-- -.--

23
19
13

3
3

3

40
32
20

10

1

1
0

1

0

1 0

1

1

0
0

3

10

5

o 1 1

1

1

1
0

1

0

f----

o 0

1

1
1

0

COLUMNr---

84 83 82 81 ROW

0

0

0

0

86

o 000

0

0

0

87

90
5A
91
58

100
64

103
67

152
106
6A

116
74

77

Y
Z

171
121
79
172
122
7A

k

153
107
68

{

173
123
78

1

154

I

174
124
7C

155
109
60

}

175
125
70

156
110
6E

"'"

176
126
7E

157
111
6F

DEL

177
127
7F

m

n
0

108
6C

KEY
ASCII CHARACTER

ESC

33

OCTAL

27

DECIMAL

18

HEX
MA-7246

Figure D-l

ASCII Table

~I

D- J"

ESCAPE SEQUENCES
The Escape or ESC character (.0338) is a control character that causes the terminal to wait for morecharacters that are not in the control character numerical range. This character is defined by ANSI
standard X3.4-1977 as Introducer. If the terminal rleceives this character, it waits for more characters
to follow within certain numerical ranges to form an escape sequence as defined in ANSI X3.41-1974
and ANSI X3.64-1979.
The format of an escape sequence is:

ESC
033
Escapesequence
introducer

I. •.I
040-057
Intermediatecharacters(Any number ofcodes - 0 or more)

F060-176
Final
character(One code)

If following characters are in the range 040 - 057(8) (column 2), they are called intermediate characters. The device accepts and stores them.
If a following character is in the range 060 - 176(8) (columns 3 to 7), it is a final character. The final
character signals the end of an 'escape sequence which the device then analyzes. Final characters fromcolumn 3 are for private control. functions for use in a specific device. Final characters from columns 4- 7 are for ANSI standardized control functions.
Some two-character escape sequences perform the same actions as some 8-bit single-character control
functions. The VT 100 family supports six of these. (Refer to Appendix A.)
1.

2.
3.
4.
5.
6.

ESC [ is CSI
ESC D is IND
ESC E is NEL
ESC M is RI
ESC N is SS2
ESC 0 is SS3

The VT125 also supports ESC P, which is DCS and ESC \, which is ST. (Refer to Communication andGraphic Protocol Controls in the JVT125 User Guide.)
The intermediate and final characters are taken together to define the function of the sequence. Thenthe device performs the action and accepts more data. If the action defined by the escape sequence
does not apply to the device, the device ignores the complete sequence and accepts more data.

D-3

Escape sequence examples (all examples have added spaces between characters to make them easier toread).
ESC H
ESC( B
ESC #6
ESC (0

Set tab at active position
Designate GO character set as ASCII
Double width line (VTI00)(6 = DIGITAL private)
Designate GO character set as DIGITAL private
special graphics character set (0 = private)

Example sequence: Designate GO character set as ASCII
Select Character Set (SCS) = ESC ( B
Sequence

ESC

Octal representationof sequence
(

B

I

I
EscapecharacterFinalcharacter

033

050

I

EscapecharacterIntermediatecharacter

102

Final
characterIntermediatecharacter

CONTROL SEQUENCES
The string ESC [ is a two-character escape sequence and represents the 8-bit control character Control
Sequence Introducer (CSI). CSI precedes all control sequences in the same way that the ESC introducer precedes all escape sequences. ESC [ allows the extended functions of the 8-bit control sequence environment to work in the 7-bit environment of current termin"als. The control sequence is defined in ANSI X3.64-1979.
The format of a control sequence is as follows.

CSI
033 133
Controlsequence
introducer

P... P
060-077
Column 3
parameter(0 or morecodes)

1•.. 1040-057
Column 2
intermediate(0 or morecodes)

F
100-176
Column 4-7
final(One code)

A device parses this sequence without considering its meaning. That is, characters are stored in classes
only according to their range of values. Then, the device interprets these characters by value according
to their classes. The intermediate and final characters are taken together to define the function of thesequence. In the range of final characters, 100 - 157 (columns 4 - 6) are reserved for standardization
by ANSI, while 160 - 176 (column 7) are reserved for private use.
'

D-4

Parameters
Parameters modify the action or interpretation of the function. The parameters are from column 3 andmay be any combination of the characters 0 - 9 (060 -- 071) with each parameter separated from theothers by ; (073). (The other characters in column 3 are: (072) which is reserved, and < = >? (074 077) which are assigned for private use and mean that the following parameters have a private interpretation.) Any leading zero in a parameter is ignore:d; this also applies to the parameter value o. Therefore, a sequence with no param(~ter is the same as a sequence with a parameter of 0 and both are understood as having the default value for that paramete:r in the sequence.
A single parameter that modifies the action of a control function is called a numeric parameter and has
the abbreviation Pn. (Example:: Cursor Up, ESC [ Pn A, where Pn is number of lines.) A parameterthat defines the action of a control function by selec;ting from a list of possible actions is called a selective parameter and has the abbreviation Ps. (Example: Set Mode, ESC [ Ps h, where Ps selects themode to be set.) Control functions that have selective parameters can accept multiple parameters toallow several actions to be commanded with a single control function.
A sequence with multiple parameters has several Ps separated by ; characters (Ps;Ps;Ps). This is calleda parameter string. If the parantleters apply to the screen image, their abbreviations indicate this: Pt~Pb
for top and bottom, and PI;Pc for line and column.
Character 077 (?) at the beginning of a parameter string means that the parameters are private parameters. That means the control sequence is standardized but the function that it controls is private, forexample, set and reset mode control functions. Some control functions are defined to have a default
value for a parameter. The default value is assumed when no parameter character is included in a sequence.
Examples with Octal Equivalents
ESC [033 133

3
063

g

147

The above sequence clears all tabs.

ESC [033 133g
147

The above sequence clears all tabs at active position (default value = 0).

ESC [033 133

1
061

6
066

073

3
063

2

u

062

165

The above sequence sets tabs at columns 16, 32 (LA 120) (u = private).

0-5ESC [
033 133

?
077

2
062

3
073

063

h
150

The above sequence sets modes 2 and 3 (? = private).

ESC [033 133

2

0

062

060

h
150

The above sequence sets line feed/new line mode: (parameter = 20).

ESC [033 133

2
062

073

1
061

Y
171

The above sequence runs power-up self-test (VT 100) (y = private).

NOTE
There are no examples nf control sequences with intermediate characters b~~cause current terminals do
not have any control functions in that format. However, new software written to understand the ANSI
syntax should be able to parse sequences with intermediate characters. Future DIGITAL terminal
products may use intermediate characters.
Example Sequence: Control sequence to set modes for 132 column mode, smooth scrolling, and reverse
screenESC[? 3;4;5h

Indicates private
parameter

ESC [

y

CSI

?

(

3

L_

Delimiters

4

Parameters

5

h

Final
character~----,- Parameter string

1:)-6

Indicates private
parameter

033

133

077

I

~oelimiters

063

073, 064073

065

l_parameters - - - - I

CSI

150

Final
character~-- Parametler string _ _- - I

Alternate sequences that will do the same thing:
ESC[?3hESC[?4hESC[?5h

Parameters can be split into separate control sequences.

ESC[?03;004;5h

Leading zeroes are ignored.

ERROR RECOVERYThe ANSI standards do not define error recovery techniques for incorrect control functions. These errors include out of range param(~ters, invalid control functions, and control characters embedded incontrol functions. The VT100 family recovers from errors with as much correct function as possible
rather than discard any error. For example, if the VT100 receives a sequence asking it to move thecursor beyond the right margin, it moves the cursor to the right margin. In the LA 120, a command tomove beyond the right margin is ignored and the active position stays unchanged.

,

If a control character appears within a sequence, the VT 100 performs the function of the control character (for example, a carriage return) as if it had been received before the beginning of the sequence.
However, CAN and SUB appearing in a sequence stop the processing of the sequence at that point. The
terminal returns to regular character processing and displays any characters remaining in the sequence.
An unrecognizable control function is ignored. Unsupported control functions (any apparently valid sequences that are not listed in this document) are generally ignored but may produce unpredictable responses.
NOTE
Somle programmers hav(~ used error condition actions in a given terminal to get the actions theywanted. This is not a safe practice in the ANSI environmenlt because there is no guarantee that different
ANSI-complying terminals will handle an error thesam(~ way. Using error conditions would limit thetransportability of code.

D-7

CHARACTER SETS AND SELECTION
GO, G 1, CO, C 1 Character Sets
The ANSI and ISO standards provide extensions to the range of graphic and control character sets in aterminal, in addition to the extension of control functions described in the preceding section.
A typical tcrminal transmits and receives thc 7-bit ASCII character set. This character set has aneight-column chart, and in it, columns 0 and 1 are Gontrol characters, while the rest of the set is graphics (except SP and DEL). SP (space) and DEL (delete) are always the_same control characters with thesame codes, regardless of character set and so they are independent of character set selection.
The ANSI standards provide a system to allow the use of larger character sets in any terminal, without
increasing the number of bits that the terminal must use to describe each unique character. Refer toFigure D-2. The left side of the figure represents the familiar 7-bit ASCII character set. GO and G 1 a'relabels attached to character sets to indicate how the sets can be substituted. The ANSI word for this isdesignate. There are escape, sequences that designate character sets as either GO or G 1. The control
characters shift out (SO (016» and shift in (SI (017», when included with 7-bit ASCII data, switch thedisplay of a terminal from one character set to the other. The ANSI word for this is invo~e.
I n the VT 100, any character set whose display patterns are stored in the terminal can become either GO
or G I. SO always invokes the G 1 set and SI invokes the GO set. Sets can be invoked or designated at
any time and in any order. Some character sets have been internationally registered, while others are
private for use in a given terminal.
In the VT 100, the CO control character set is normally available. There are escape sequences that cause
the actions of single control functions of the C 1 set on a one time basis. The ESC character followed bya final character from columns 4 or 5 causes the action of a control function that is also caused by asingle 8-bit character in the C 1 set. Figure D-2 shows how ESC [ causes the CSI function and ESC D
causes the IND function from the CI set. The other Cl characters that are supported in the VT100
family of terminals are also shown.
Figure D-3 shows a schematic representation of the Shift Out and Shift In concept. This figure shows
how GO and G 1 character sets are designated by escape sequences and invoked by the SO and SI characters.

6

'7

10 11

IT

12

13 14 15 16 17

DCS
C1
SET

G1
SET

D f-(--~) IND
E
NEL

CO
SET

[

f---

CSI
ST

\
RI

M
N

io~SS2DELSS30

CO, C1 = CONTF:OL CHARACTER SETS
GO, G1 = GRAPHIC CHARACTER SETS
DCS, ST = VT125, VK100 ONLY
'MA·6660

Figure D-2

0- -

/
SI

L

7·BIT
DATA

SO

-

-

-

8-Bit ASCI I Chart

ESC (1\ - --- . GOSET

1 (UK)~--ESC(B ----+GO

SET 2(ASCII)

0 - - - ESC (0 - - - - . GO

SET 3

(SPECIAL GRAPHICS)

0----------..,. GO SET 4
0------------ ..... GO SET n
SET

(UK)

ESC)B - - - ...... G1

SET 2(ASCII)- - . 0 - - - - ESC)() - - - - + G1

SET 3

(SPECIAL GRAPHICS)

0 - - - - - - - - - - - + G1

SET 4o-----ESC)A--- .... G10-- -Cl-------------... G1 SET n
Figure D-3

Shift Out and Shift In

0-9

MA·6659