Section 3 Processor Module
The Processor is a minicomputer (Figure 1) that accepts ASCII encoded commands and generates outputs to control the writing of information by the display module. The Processor performs the functions of storing information, data and instructions and regulating the flow of information between the terminal's Keyboard, Modems, Display Module, and Program Loading Device (Figure 2).
In a typical operation, the processor calls up input commands from the modem and the keyboard and generates instructions to the display module driver circuitry to produce the required characters, vectors, or editing programs.
Instructions and data are stored in 16 bit words. Arithmetic functions are performed in 2's complement form. The basic machine cycle time is 1.6 microseconds.
The major functional units of the processor are: (Figures 3 & 4)
-
Memory
-
Memory Address Register
-
Program Counter
-
Instruction Register
-
Accumulator
-
Instruction Processing Synchronizer
-
Terminal I/O Circuitry
These units are briefly described next.
Memory
An operational memory of 2048 - 16 bit words plus bootstrap memory of 64-16 bit words are provided. The 2038 word memory is a Random Address Memory (RAM) and is used to store the character generator, the vector generator, and the editing programs needed to provide the specific operational requirements of the terminal. Using the RAM type memory provides the flexibility
[Figure 3 Processor Data Flow*]
[Figure 4 Instruction Processor Synchronizer*]
to alter instruction routines and to tailor the terminal for the application. Since the terminal uses RAM, an operational program loading device (a magnetic tape cassette read/write recorder) is proposed so that the operational program can be loaded when the terminal is turned on.
The RAM size is sufficient to permit storage of 128 characters, a vector generation routine and an instruction set.
The bootstrap memory is provided for storing a terminal start up program that puts the terminal in a state for reading instruction data into its operational memory from external sources. Read Only Memory (ROM) devices are used for the bootstrap memory. Both the RAM and the ROM memories are made up entirely of MOS.
Memory Address Register
The Memory Address Register (MA) is a twelve bit register that can be loaded with the program counter or the address portion of the memory data.
Program Counter
The Program Counter (PC) is a 12 bit counter-register that can be loaded with the address portion of the instruction register.
Instruction Register
The Instruction Register (IR) is a 16 bit register of which 4 bits contain the instruction and 12 bits the data associated with the instruction. This can be loaded with a 16 bit memory word.
Accumulator (AC)
The Accumulator (AC) is a 16 bit shift register that can be loaded with the contents of the program counter, the data inputs, or the arithmetic unit.
Instruction Processing Synchronizer (IPS)
The Instruction Processing Synchronizer controls the timing and data flow in the processor. Clocked by its own oscillator, the IPS calls up instructions from the memory, which then dictates the sequence to be followed.
Terminal I/O Circuitry
The processor communicates with the other elements of the terminal either directly on the I/O bus or via one of three device controllers. The controllers are required to make the I/O devices compatible with the processor. Separate controllers are provided for Keyboard, Display Module, and Serial I/O devices.
The I/O Bus includes:
-
16 Parallel Input Data Lines
-
16 Parallel Output Data Lines
-
4 lines for selecting the I/O device to communicate with the processor
-
4 Lines for specifying the function to be performed
-
16 sense lines for monitoring the status of each I/O device
-
2 strobe lines to initiate the transfer of data to and from the I/O devices
-
1 system clock line
Each of these lines are available at the I/O Bus Connector. The lines required by each controller varies with the function performed by the controller (Figure 4). Three ports are provided with the Serial I/O Channel Controller, two asynchronous and one synchronous. The latter is for use with an optional cassette tape recorder that can be either supplied as an option with the terminal or purchased at a later date. The two asynchronous ports are for interface with a teletypewriter modem (not supplied) and a telephone modem that is supplied with the terminal. Direct connection with a data processing machine ca be accomplished at the I/O bus connector.
The processor provides a single level interrupt that causes the processor to transfer control to a designated sub-program while automatically storing the contents of all appropriate registers and the return linkage. The mask and unmask instructions cause the interrupt line to be gated according to the state of an inhibit flip-flop. The last instruction (Interrupt Return) restores the program counter, accumulator, and overflow indicator to the condition existing at the time of interrupting.