TTY operation (TTYOP)

TTYOP controls the TTY chat mode interface to the host computer. The command can simulate the typing of characters on the RVP10 setup TTY.

Characters entered in this manner are indistinguishable from those typed on the TTY. Whatever you can do in the TTY, you can also do with this command.

RVP10 sends all TTY output to whichever stream (TTY, or host computer) provided the most recent input character. This command is also used to monitor the graphical data from the special scope plotting modes.

 15  14  13  12  11  10   9   8   7   6   5   4   3   2   1   0
 ---------------------------------------------------------------
|   |   |   |   |   |   |   |   |    |   |   |   |   |   |   |    |
|                               | Operation  | 1   0   0   1   1  |  Command 
|---------------|---|---|---|---|------------|--------------------|  

The operation codes are as follows:

0
Sends the ASCII character in the upper byte of the word to the RVP10 as if it had been typed on the setup TTY keyboard.
1
Allow scope plotting data to be output when a plot is being drawn. All relevant status and data words are output once upon each receipt of this command. Subsequently, status and data is output only when a change has taken place.
2
Disable the scope plotting output data.

Any of the following types of data may be output by RVP10 while the TTY monitor is running. The order of arrival of each data type is indeterminate, but all multi-word sequences are always be output as contiguous words.

Individual TTY characters generated by RVP10 are output in the low byte of the word, with the upper byte set to zeros.

 15  14  13  12  11  10   9   8   7   6   5   4   3   2   1   0
 ---------------------------------------------------------------
|   |   |   |   |   |   |   |   |    |   |   |   |   |   |   |   |
| 0   0   0   0   0   0   0   0 |         ASCII Character        |  TTY Char 
|-------------------------------|--------------------------------|  

The status of the plotting modes is given in the following word.

 15  14  13  12  11  10   9   8   7   6   5   4   3   2   1   0
 ---------------------------------------------------------------
|   |   |   |   |   |   |   |   |    |   |   |   |   |   |   |   |
| 1   0   0   0 |                                            |PLT|  Status 
|---------------|----------------|-------------------------------|  

PLT Indicates that a scope plot is being drawn now.

The 2-bit intensities of each of 16 possible strokes of data is given in the following 4-word sequence. An intensity of 0 represents OFF; 1, 2, and 3 are successively brighter.

 15  14  13  12  11  10   9   8   7   6   5   4   3   2   1   0
 ---------------------------------------------------------------
|   |   |   |   |   |   |   |   |    |   |   |   |   |   |   |   |
| 1   0   0   1 | 0   0   0   0 | Int 3  | Int 2 | Int 1 | Int 0 |  
|---------------|---------------|--------|-------|-------|-------| 
 15  14  13  12  11  10   9   8   7   6   5   4   3   2   1   0
 ---------------------------------------------------------------
|   |   |   |   |   |   |   |   |    |   |   |   |   |   |   |   |
| 1   0   0   1 | 0   0   0   1 | Int 7  | Int 6 | Int 5 | Int 4 |  
|---------------|---------------|--------|-------|-------|-------|  
 15  14  13  12  11  10   9   8   7   6   5   4   3   2   1   0
 ---------------------------------------------------------------
|   |   |   |   |   |   |   |   |    |   |   |   |   |   |   |   |
| 1   0   0   1 | 0   0   1   0 | Int 11 | Int 10| Int 9 | Int 8 |  
|---------------|---------------|--------|-------|-------|-------|  
 15  14  13  12  11  10   9   8   7   6   5   4   3   2   1   0
 ---------------------------------------------------------------
|   |   |   |   |   |   |   |   |    |   |   |   |   |   |   |   |
| 1   0   0   1 | 0   0   1   1 | Int 15 | Int 14| Int 13| Int 12|  
|---------------|---------------|--------|-------|-------|-------|   

The data for each stroke of the plot is given by the following sequence of 501 words.

 15  14  13  12  11  10   9   8   7   6   5   4   3   2   1   0
 ---------------------------------------------------------------
|   |   |   |   |   |   |   |   |    |   |   |   |   |   |   |   |
| 1   0   1   0 |                                | Stroke Number |  Plot Data 
|---------------|------------------------------------------------| 
 15  14  13  12  11  10   9   8   7   6   5   4   3   2   1   0
 ---------------------------------------------------------------
|   |   |   |   |   |   |   |   |    |   |   |   |   |   |   |   |
| 1   0   1   1 |          Value to Plot (0 – 4095)              |  Word #1
|---------------|------------------------------------------------|  

15  14  13  12  11  10   9   8   7   6   5   4   3   2   1   0
 ---------------------------------------------------------------
|   |   |   |   |   |   |   |   |    |   |   |   |   |   |   |   |
| 1   0   1   1 |            Value to Plot (0 – 4095)            |  Word #500
|---------------|---------------|--------|-------|-------|-------|