mme gerout vfd 18/BUFPTR,o6/03,h12/TERMID zero STATPTR,COURTESY
This version of MME GEROUT writes to one or more terminals. The format of the buffer indicated by BUFPTR depends on the nature of the terminal.
G-115 Terminal:
Word 0, upper: number (N) of additional words in buffer.
Word 0, lower: media code.
Words 1-N: one print line, BCD characters, octal 77
indicates end of line, next char is slew
Teletype or CRT:
Word 0, upper: number (N) of additional words in buffer.
Word 1, upper: number of characters to be output.
Words 2-N: one print line, ASCII characters, right-
justified in bytes, left-justified in
words
When MME GEROUT returns, a status will be filled into the word indicated by STATPTR. Below we discuss the meaning of each bit in this status word.
Bits 0-17: Not used
18-23: VIP terminal status
18-21: 0
22 = 1 PRINT key pressed to initiate
transmission
23 = 1 Transmission failed after 16 attempts
24-26: Not used
27: Abort (in general status mode, Break/Disconnect
waiting)
28: Not used
29: Connected to another slave program
30: Waiting to connect to slave program
31: Terminal idle
32: If on, communication modules in the central
system cannot acknowledge I/O request because
terminal is busy with I/O
33: If on, output transmission complete
34: If on, terminal has not called in and
connected, or has disconnected
35: If on, operator sent BREAK which terminated
operation
Copyright © 2000, Thinkage Ltd.