<<==========================================================>> <<04893>>00010000
<<==========================================================>> <<04893>>00012000
<<=====                                                =====>> <<04893>>00014000
<<=====                  INCLRIT                       =====>> <<04893>>00016000
<<=====                                                =====>> <<04893>>00018000
<<==========================================================>> <<04893>>00020000
<<==========================================================>> <<04893>>00022000
<<                                                          >> <<04893>>00024000
<< This is the include file for the Reply Information Table.>> <<04893>>00026000
<< The RIT is used to store information about processes that>> <<04893>>00028000
<< that are waiting for a reply from the console operator.  >> <<04893>>00030000
<< The information is stored in the following manner:       >> <<04893>>00032000
<<                                                          >> <<04893>>00034000
<< Table Header:                                            >> <<04893>>00036000
<< Consists of 57 words.                                    >> <<04893>>00038000
<< 0) contains the number of entries in the RIT.            >> <<04893>>00040000
<< 1) Contains the maximum number of entries allowed.       >> <<04893>>00042000
<< 2) Points to first open entry space                      >> <<04893>>00044000
<< 3) Number of impeded processes                           >> <<04893>>00046000
<< 4-56) PIN# of queued processes                           >> <<04893>>00048000
<<                                                          >> <<04893>>00050000
<< Entry Format:                                            >> <<04893>>00052000
<< Consists of 51 words.                                    >> <<04893>>00054000
<< 0) Process Identification Number (PIN).                  >> <<04893>>00056000
<< 1) Data Segment Table number (DST #).                    >> <<04893>>00058000
<< 2) Buffer address (DST relative).                        >> <<04893>>00060000
<< 3) First byte - Max. length of string.                   >> <<04893>>00062000
<< 3) Second byte - Reply type expected.                    >> <<04893>>00064000
<< 4) Not used.                                             >> <<04893>>00066000
<< 5) Not used.                                             >> <<04893>>00068000
<< 6) Not used.                                             >> <<04893>>00070000
<< 7) Number of bytes in message.                           >> <<04893>>00072000
<< (8 - 50) Message in ASCII.                               >> <<04893>>00074000
<<                                                          >> <<04893>>00076000
<<                                                          >> <<04893>>00078000
<< The modules which use the RIT and are affected by this   >> <<04893>>00080000
<< include file are PROGEN (09), MESSAGE (59), and          >> <<04893>>00082000
<< OPCOMMAND (85).  INITIAL (00) builds the RIT but does not>> <<04893>>00084000
<< use this include file.  Therefore any changes that affect>> <<04893>>00086000
<< the structure of the table must be changed in this file  >> <<04893>>00088000
<< and also in INITIAL.                                     >> <<04893>>00090000
                                                               <<04893>>00092000
DEFINE                                                         <<04893>>00094000
                                                               <<04893>>00096000
<< Header Format >>                                            <<04893>>00098000
  RIT'HEAD'ENT = 0#,     << Current num. of entries in use. >> <<04893>>00100000
  RIT'HEAD'MAXENT = 1#,  << Max. number of entries in table.>> <<04893>>00102000
  FIQ=4#,                << Contains ptr. to first in queue  >><<04893>>00104000
  LIQ=2#,                << Contains ptr. to last in queue   >><<04893>>00106000
  QUEUED'ENTRIES=3#,     << Current num. of queued entries   >><<04893>>00108000
                                                               <<04893>>00110000
<< Entry Format >>                                             <<04893>>00112000
  RIT'PINNUM = 0#,       << PIN # waiting for reply.        >> <<04893>>00114000
  RIT'DSTOFFSET = 2#,    << Offset in DST for reply.        >> <<04893>>00116000
  RIT'REPLYLEN = 3).(0:8#,  << Reply length expected.       >> <<04893>>00118000
  RIT'REPLYTYPE = 3).(8:8#, << Reply type expected.         >> <<04893>>00120000
  RIT'MSGLEN = 7#,       << Offset in entry to msg. length. >> <<04893>>00122000
  RIT'MSGBASE = 8#,      << Offset in entry to msg. area.   >> <<04893>>00124000
                                                               <<04893>>00126000
<< Overhead >>                                                 <<04893>>00128000
  RIT'SIZE = 51#,        << Size of RIT entry.              >> <<04893>>00130000
  RIT'HEADSIZE =57#,     << Length of RIT header.           >> <<04893>>00132000
  RIT'REPLYPIN =1#,      << PIN of process waiting for reply>> <<04893>>00134000
  RIT'SIR =21#,                                                <<04893>>00136000
  RIT'DST = 28#,                                               <<04893>>00138000
  RIT'MSGSIZE=(RIT'SIZE -RIT'MSGBASE)*2#,<< MSG.SIZE IN BYTES>><<04893>>00140000
  FIRSTENTRY = 5#,       << FIRST POSITION FOR ENTRY        >> <<04893>>00142000
  LASTENTRY = 57#,        << LAST POSITION FOR ENTRY         >><<04893>>00144000
  MAX'QUEUED'ENTRIES=52#, << Size of header alloted to queue >><<04893>>00146000
                                                               <<04893>>00148000
<< Possible Reply Type Values >>                               <<04893>>00150000
  REPLYTYPE'NUMBER = 0#, << Reply to be a number.           >> <<04893>>00152000
  REPLYTYPE'YN = 1#,     << Reply to be either YES or NO.   >> <<04893>>00154000
  REPLYTYPE'STRINGS = 2#,<< Reply to be 1 or 2 strings.     >> <<04893>>00156000
  REPLYTYPE'YN'NUM = 3#, << Reply to be a YES or NO or num. >> <<04893>>00158000
  REPLYTYPE'ONESTRING=4#;<< Reply to be 1 string.           >> <<04893>>00160000
                                                               <<04893>>00162000
<<==========================================================>> <<04893>>00164000
<<==========================================================>> <<04893>>00166000
<<=====                                                =====>> <<04893>>00168000
<<=====               END OF INCLRIT                   =====>> <<04893>>00170000
<<=====                                                =====>> <<04893>>00172000
<<==========================================================>> <<04893>>00174000
<<==========================================================>> <<04893>>00176000
