20 - direct access current line status.

Usage:

mme     gerout
vfd     6/TYPE,12/0,o6/20,h12/TERMID
zero    STATPTR,COURTESY

Where:

TYPE
is the type of the terminal. This should be initialized to zero; it will be filled in by MME GEROUT. Possible types are listed in "expl mme gerout 06".
TERMID
is the terminal ID name for the terminal whose status you want to determine.
STATPTR
points to a word where status information can be written.
COURTESY
gives the courtesy call address. This is not used by this version of MME GEROUT.

Description:

This version of MME GEROUT determines the status of a DAC line. The type of the terminal attached to the line is filled into TYPE. MME GEROUT also records the following information in the word indicated by STATPTR.

Bits 0-28:  always zero
       29:  if on, line connected to another slave program
       30:  if on, line waiting to connect to another slave
            program
       31:  if on, line idle
       32:  if on, line busy
       33:  always zero
       34:  if on, line disconnected
       35:  if on, BREAK received

Copyright © 2000, Thinkage Ltd.