Google
 

Trailing-Edge - PDP-10 Archives - BB-H311D-RM - documentation/monitor-tables.mem
There are 5 other files named monitor-tables.mem in the archive. Click here to see a list.



                                 ALOC1

Allocation 1 Table.  This non-resident table, the size of the  OFN  area
in SPT, is used to help enforce disk quotas for each active directory.

Defined in:  STG

Reference by:  PAGEM
                        
Index:  ALOCX portion of an OFN entry in the SPT

                                Format

        +-------------------------------------------------------+ / \
ALOC1:  |  ADIRN                    |  ODIRC                    |  |
ALCWD   |       Directory No.       |    Directory OFN Count    |  |
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           | NOFN
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \  |
        +-------------------------------------------------------+ \ /

The right half of each slot in this table contains a count of  all  OFNs
for files from that directory.
MONITOR TABLES                                                    Page 2
ALOC2


                                 ALOC2

Allocation 2 Table.  This non-resident table, the size of the  OFN  area
is SPT, is used in disk quota enforcement for each active directory.

Defined in:  STG

Referenced by:  DISC, PAGEM

Index:  ALOCX portion of an OFN entry in the SPT


                                Format

        +-------------------------------------------------------+ / \
        |  PGLFT                                                |  |
ALOC2:  |        Count of Pages Left for This Directory         |  |
        |                 (may be negative)                     |  |
        |-------------------------------------------------------|  |
        |                           .                           | NOFN
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                    Page 3
BAT


                                  BAT

Bad Allocation Table.  The BAT  Block  is  one  sector  in  length  (128
words).   It  consists  of  4 words of header, followed by data;  each 2
word data entry indicates the bad spots on the disk.

Defined in:  PROLOG

Referenced by:  DSKALC, DISC, DEVICE, PHYH2

                                Format

        +-------------------------------------------------------+  --
BATNAM  |                      SIXBIT/BAT/                      |   |
  =0    |-------------------------------------------------------|   |
BATFRE  |  BATFR                    |                           |   |
  =1    |     Free blocks left      |                           |   |
        |-------------------------------------------------------|   |
        |             |9  BTHCT   17|                           |
        |             | # of pairs  |                           | Header
        |             |  added by   |                           |
        |             |   mapper    |                           |   |
        |-------------------------------------------------------|   |
        |  BTMCT                                                |   |
        |              # of pairs added by monitor              |  --
        |-------------------------------------------------------|  --
        |                 Bad Block information                 | * |
        |-------------------------------------------------------| Data
        |             |9  ADD27                               35| Pair
        |             |       Address of starting sector        | * |
        |-------------------------------------------------------|  --
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        \                           .                           \
        |-------------------------------------------------------|  --
        |                                                       |   |
        |-------------------------------------------------------| Data
        |                                                       | Pair
        |-------------------------------------------------------|  --
BATCOD  |                 Unlikely code 606060                  |
  =176  |-------------------------------------------------------|
BATBLK  |            Sector number of the BAT block             |
  =177  +-------------------------------------------------------+
MONITOR TABLES                                                    Page 4
BAT


Data Pair 0         8          18       20  21  22           35
        +-------------------------------------------------------+
word 1  |   BATNB    |        | BTKNM     |    |      APRNM     |
        |Bad Blks Cnt|        |Controller#|Type|   Apr Serial # |
        +-------------------------------------------------------+


                Bits       Pointer          Content

                0-8        BATNB            Count of Bad Blks in Pair
               18-20       BTKNB            Massbus Controller #
                 21        BADT             Type field in BAT Pair
               23-35       APRNM            APR Serial #


     word 2
                Bits     

               18-35       ADD18            Old style disk address of
                                             starting sector
                9-35       ADD27            New style address of
                                              starting sector
MONITOR TABLES                                                    Page 5
BTB


                                  BTB

Bit Table for Disk.  This table has mapped into it pointers to the  file
STRNAM:<ROOT-DIRECTORY>   DSKBTTBL,   when   pages   are   allocated  or
deallocated from the disk unit(s) belonging to structure,  STRNAM.   The
bit  table  file as shown below indicates which pages are assigned (bits
off) and which are available (bits on).

It consists of two parts;  the top half  contains  the  number  of  free
pages  for each cylinder in the structure and the bottom half contains a
bit map (1 bit  per  page)  for  all  pages  of  each  cylinder  in  the
structure.

At initialization time, all of this structure's pages belonging  to  the
Home  blocks,  swapping  space  and  pointed  to  by  the BAT blocks are
assigned in the Bit Table file.

Defined in:    STG

Referenced by:    DSKALC

                                 Format

        +-------------------------------------------------------+
        |               Free Pages on Cylinder 0                |
        |-------------------------------------------------------|
        |               Free Pages on Cylinder 1                |
        |-------------------------------------------------------|
        |                           .                           |
        |                           .                           |
        \                           .                           \
        |-------------------------------------------------------|
        |               Free Pages on Cylinder n                |
        |-------------------------------------------------------|
        |                                                       |  \
        |                                                       | Cylinder 0
        \                                                       \  /
        |-------------------------------------------------------|
        |                                                       |  \
        |                                                       | Cylinder 1
        \                                                       \  /
        |-------------------------------------------------------|
        |                           .                           |
        |                           .                           |
        \                           .                           \
        |-------------------------------------------------------|
        |                                                       |  \
        |                                                       | Cylinder n
        \                                                       \  /
        +-------------------------------------------------------+
MONITOR TABLES                                                    Page 6
BTB







                                  NOTE

               In the bit map each cylinder starts  on  a
               word  boundary  and  contains as many full
               words as are needed for all of its pages.
               For Systems which have sectioning, the BTB
               table  does not hold the maps for the disk
               bit table file.  Rather, the monitor  maps
               the  disk  bit  table file for a structure
               into section 4 of  the  monitor's  address
               space   when   it  needs  to  allocate  or
               deallocate disk pages.  That is, the index
               block  of  this  file  is  the  page table
               pointed  to  by  the   monitor's   section
               pointer for section 4.
MONITOR TABLES                                                    Page 7
BUG-HLT/CHK/INF-STORAGE-AREA


                      BUG-HLT/CHK/INF-STORAGE-AREA

BUGHLT, BUGCHK, and BUGINF Storage Area.  This resident storage is  used
to  hold  such  information  as the push down list, PC, ACs and dispatch
address when a BUGHLT/BUGCHK/BUGINF occurs.  BUGSEB holds the pointer to
the last queued up SYSERR block.  (See SYSERR-STORAGE-AREA)

Defined in:  STG

Referenced by:  APRSRV, CDRSRV,  DEVICE,  DIAG,  DIRECT,  DISC,  DSKALC,
                DTESRV,  ENQ, FESRV, FILINI, FIMLSC, FORK, FREE, FUTILI,
                GTJFN, IMPPHY, IMPDV, IO,  IPCF,  JSYSA,  JSYSF,  LINPR,
                LOGNAM,  LOOKUP,  MAGTAP,  MEXEC,  MSTR, NETWRK, NSPSRV,
                PAGEM, PHYH11, PHYH2, PHYM2, PHYP4, PHYSIO, SCHED,  STG,
                SWPALC, SYSERR, TAPE TTYSRV

                                Format

        +-------------------------------------------------------+
BUGHLT: |                           0 (PC Stored here on BUGHLT)|
        |-------------------------------------------------------|
        |           JRST BUGHO the BUGHLT was issued            |
        |-------------------------------------------------------|
SVVEXM: |             Save Valid Examine in BUGTYO              |
        |-------------------------------------------------------|
BUGLCK: |                Lock on BUGxxx Routines                |
        |-------------------------------------------------------|
BUGCHK: |                           0 (PC Stored here on BUGCHK)|
        |-------------------------------------------------------|
        |                      JRST BUGCO                       |
        |-------------------------------------------------------|
BUGINF: |                           0 (PC Stored here on BUGINF)|
        |-------------------------------------------------------|
        |                      JRST BUGIO                       |
        |-------------------------------------------------------|  / \
BUGACS: |                                                       |   |
        \                 ACs Saved on a BUGHLT                 \  # of
        \          (Contents of ACs at time of BUGHLT)          \  ACS
        |-------------------------------------------------------|  \ /
BUGPDL: |                    Push Down List                     |  / \
        \                                                       \ BUGPLN
        \                                                       \  (12)
        |-------------------------------------------------------|  \ /
BUGCNT: |          Count of BUG Blocks in SYSERR Queue          |
        |                 (Maximum of BUGMAX=5)                 | 
        |-------------------------------------------------------| 
BUGNUM: |        Number of BUGHLT/CHK/INFs since STARTUP        |
        |-------------------------------------------------------|
BUGSEB: |          Ptr to last queued up SYSERR Block           |
        |                due to a BUGHLT/CHK/INF                |
        |-------------------------------------------------------|
BUGP:   |        Place to Store P During BUG HLT/CHK/INF        |
        |-------------------------------------------------------|
MONITOR TABLES                                                    Page 8
BUG-HLT/CHK/INF-STORAGE-AREA


BUGP1:  |            Temp Storage for BUGSTO Routine            |
        |-------------------------------------------------------|
BUGP2:  |            Temp Storage for BUGSTO Routine            |
        |-------------------------------------------------------|
BUGP3:  |            Temp Storage for BUGSTO Routine            |
        |-------------------------------------------------------|
BUGTMS: |               Time to Store Next BUGTIM               |
        |         (Length of Interval Is BUGINT = 5 min)        |
        |-------------------------------------------------------|
BUGTIM: |          ASCII Time & Data Stored for BUGHLT          |
        +-------------------------------------------------------+
MONITOR TABLES                                                    Page 9
CDB


                                  CDB

Channel Data Block.  This  table,  one  per  channel,  contains  channel
dependent  instructions  and  data,  pointers  to the units (i.e.  UDBs)
belonging to the channel and  information  about  the  currently  active
unit.    When   the  channel  interrupts,  control  passes  (via  a  JSP
instruction) to CDBINT.  The CDB address is stored in AC,  P1,  and  the
principal analysis routine, PHYINT, is called.

Defined in:  PHYPAR

Referenced by:  PHYSIO, PHYH2, PHYM2, PHYP4

                                 Format

        +-------------------------------------------------------+
CDBINT  |                       0(2-word PC stored on interrupt)|
        |-------------------------------------------------------|
    -5  |                       0                               |
        |-------------------------------------------------------|
    -4  |               (Flags) 0                               |
        |-------------------------------------------------------|
    -3  |                       0,, .+1                         |
        |-------------------------------------------------------|
    -2  |                 MOVEM P1, .+2+CDBSVQ                  |
        |-------------------------------------------------------|
    -1  |                   JSP P1, PHYINT                      |
        |-------------------------------------------------------|
CDBSTS=0|         Status and Configuration Information          |
        |-------------------------------------------------------|
CDBMBW=1|        Memory Bandwidth Scheduling Information        |
        |-------------------------------------------------------|
CDBODT  |        Overdue Timer when Data Transfer Active        |
        |-------------------------------------------------------|
CDBICP  |           EXEC Virtual Adrs (EPT Adrs) of             |
        |          Interrupt Vector,, Data Logout Area          |
        |-------------------------------------------------------|
CDBIUN  |          Initial AOBJN Pointer to  UDB Table          |
        |-------------------------------------------------------|
CDBCUN  |          Current AOBJN Pointer to UDB Table           |
        |-------------------------------------------------------|
CDBDSP  |  Unit Utilities Dispatch  |    Main Entry Dispatch    |
        |                           |  (Channel Dispatch Table) |
        |-------------------------------------------------------|
CDBFCT  |              Fairness Count for Latency               |
        |-------------------------------------------------------|
CDBPAR  |             Channel Memory Parity Errors              |
        |-------------------------------------------------------|
CDBNXM  |                     Channel NXMs                      |
        |-------------------------------------------------------|
CDBXFR  |              Currently Transferring UDB               |
        |-------------------------------------------------------|
CDBCCL  \            Channel Command List (3 words)             \
        |-------------------------------------------------------|
        |                                                       |
CDBUDB  |                  UDB Table (8 words)                  |
MONITOR TABLES                                                   Page 10
CDB


        \                                                       \
        |-------------------------------------------------------|
CDBSVQ  |        P1 Saved Here on Vector Interrupt Entry        |
        |-------------------------------------------------------|
CDBJEN  |                    BLT 17, 17   (Interrupt Dismiss)   |
        |-------------------------------------------------------|
        |                  DATA0 RH, CDBRST                     |
        |-------------------------------------------------------|
        |                   XJEN CDBINT(P1)                     |
        |-------------------------------------------------------|
CDBRST  |                Location Used by CDBJEN                |
        |-------------------------------------------------------|
CDBCNI  |          Channel CONI at Start of Interrupt           |
        |-------------------------------------------------------|
CDBONR  |          Fork Who Has Channel in Maint. Mode          |
        |-------------------------------------------------------|
CDBADR  |         Number of This Channel (CHNTAB index)         |
        |-------------------------------------------------------|
CDBCS0  |               Channel Status 0 at Error               |
        |-------------------------------------------------------|
CDBCS1  |                   Channel Status 1                    |
        |-------------------------------------------------------|
CDBCS2  |                   Channel Status 2                    |
        |-------------------------------------------------------|
CDBCC1  |                       First CCW                       |
        |-------------------------------------------------------|
CDBCC2  |                      Second CCW                       |
        |-------------------------------------------------------|
CDBOVR  |                  Number of Overruns                   |
        |-------------------------------------------------------|
CDBICR  |           Initial STCR When Device Started            |
        |-------------------------------------------------------|
CDBCL2  \             Alternate CCW List (3 words)              \
        |-------------------------------------------------------|
CDBDDP  \             CDB Device Dependent Block                \
        \                                                       \
        \                                                       \
        |                                                       |
        |                                                       |
        |                                                       |
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 11
CDB






         0 1 2 3 4 5 6 7 8                  25 26 28 9 0 31    35
        +-------------------------------------------------------+
 CDBSTS | | | | | | | | | |                   | PIA |   | TYPE  |
        +-------------------------------------------------------+


Symbol     Bits         Content

CS.OFL       0          Offline
CS.AC1       1          Primary command active
CS.AC2       2          Secondary command active
CS.MAI       3          Channel is in maint. mode
CS.MRQ       4          Maint. mode requested for a unit
CS.ERC       5          Error recovery in progress
CS.STK       6          Channel Support Command Stacking
CS.ACL       7          Alternate CCW List is Current
CS.CWP       8          Channel write parity error detected on
                        this channel
           26-28        PIA field
           31-35        Channel type field


CDBDSP
    See Tables, UDS and CDS


CDBDDP
    CDB Device Dependent Block for the RH20 Controller


CDBDDP= +-------------------------------------------------------+
RH2CNI  |                     CONI RH2, T1                      |
        |-------------------------------------------------------|
        |                     CONO RH2, T2                      |
        |-------------------------------------------------------|
        |                     DATAI RH2, T1                     |
        |-------------------------------------------------------|
        |                     DATAO RH2, T2                     |
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 12
CDB


    CDB Device Dependent Block for the RH11 Controller

CDBDDP= +-------------------------------------------------------+
RC1CS1  |                   Control Status 1                    |
        |-------------------------------------------------------|
RC1DS   |                 Drive Status Register                 |
        |-------------------------------------------------------|
RC1ER1  |                   Error Register 1                    |
        |-------------------------------------------------------|
RC1MR   |                 Maintenance Register                  |
        |-------------------------------------------------------|
RC1AS   |              Attention Summary Register               |
        |-------------------------------------------------------|
RC1DA   |               Desired Address Register                |
        |-------------------------------------------------------|
RC1DT   |                 Driver Type Register                  |
        |-------------------------------------------------------|
RC1LA   |                  Look Ahead Register                  |
        |-------------------------------------------------------|
RC1SN   |                Serial Number Register                 |
        |-------------------------------------------------------|
RC1OF   |                    Offset Register                    |
        |-------------------------------------------------------|
RC1DC   |               Desired Cylinder Register               |
        |-------------------------------------------------------|
RC1CA   |               Current Cylinder Register               |
        |-------------------------------------------------------|
RC1ER2  |                   Error Register 2                    |
        |-------------------------------------------------------|
RC1ER3  |                   Error Register 3                    |
        |-------------------------------------------------------|
RC1EC1  |                    ECC Register 1                     |
        |-------------------------------------------------------|
RC1EC2  |                    ECC Register 2                     |
        |-------------------------------------------------------|
RC1WC   |                  Word Count Register                  |
        |-------------------------------------------------------|
RC1BA   |               Current Address Register                |
        |-------------------------------------------------------|
RC1CS2  |             Control and Status Register 2             |
        |-------------------------------------------------------|
UBADSW  |            Unibus Status Register Address             |
        |-------------------------------------------------------|
UBBASA  |            Unibus Bus Address Base Address            |
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 13
CDR-STORAGE-AREA


                            CDR-STORAGE-AREA

Card Readers (Physical) Storage Area.  Most entries are CDRN words  long
where CDRN equals the number of card readers on the system.

Defined in:  STG

Referenced by:  CDRSRV

                                Format
                                                                  
        +-------------------------------------------------------+  /\
CDRCT1: |                     Buffer Count                      | CDRN
        \                                                       \  \/
        |-------------------------------------------------------|  /\
CDRCKT: |                Word for Scheduler Test                | CDRN
        \                                                       \  \/
        |-------------------------------------------------------|  /\
CDRSTS: |                      Status Word                      | CDRN
        \                                                       \  \/
        |-------------------------------------------------------|  /\
CDRST1: |                  Second Status Word                   | CDRN
        \                                                       \  \/
        |-------------------------------------------------------|  /\
CDRST2: |                   Third Status Word                   | CDRN
        \                                                       \  \/
        |-------------------------------------------------------|  /\
CARDCT: |                  Count of Cards Read                  | CDRN
        \                                                       \  \/
        |-------------------------------------------------------|  /\
CARDER: |              Number of "Hardware" Errors              | CDRN
        \                                                       \  \/
        |-------------------------------------------------------|
CDRLCK: |                     CDR Lock Word                     |
        |-------------------------------------------------------|
CDRCNT: |                 Count of CDRs Opened                  |
        |-------------------------------------------------------|  /\ ---
CDUBAD: |                 Address of UBA Window                 | CDRN  |
        \                                                       \  \/   |
        |-------------------------------------------------------|  /\   |
CD11A:  |               Address of UBA-11 Address               | CDRN
        \                                                       \  \/  KS10
        |-------------------------------------------------------|  /\  only
CDERBF: |              Error Status for Cardreader              | CDRN
        |                                                       |  *16  |
        \                                                       \  \/   |
        |-------------------------------------------------------|  /\   |
CDUNIT: |               Unit Number of Cardreader               | CDRN  |
        \                                                       \  \/   |
        +-------------------------------------------------------+     ---
MONITOR TABLES                                                   Page 14
CDR-STORAGE-AREA


        The Non-resident area contains:

        +-------------------------------------------------------+ / \
CDRBUF: |                                                       |  |
        |                  Card Reader Buffer                   | 1 page
        \                                                       \  |
        +-------------------------------------------------------+ \ /



         0                       17 8 9 20                    35
        +-------------------------------------------------------+
CDRSTS  | CDFRK                    | | |  CDERR                 |
entry   |         Owning Fork      | | |    Last Error Condition|
        +-------------------------------------------------------+

                Bits        Pointer     Content

                 0-17       CDFRK       Owning fork
                  18        CDOL        If one, cards in reader
                  19        CDBLK       Waiting for a card
                20-35       CDERR       Last error condition


         0 1 2 3 4 5    11 2 3 4 5 6 17 18                    35
CDRSTS  +-------------------------------------------------------+
entry   | | | | | |       | | | | | | |CDWRD                    |
        +-------------------------------------------------------+

                Bits        Pointer     Content

                  0         CDAII       CDR opened in ASCII
                  1         CDATN       CDR needs attention
                  2         CDMSG       Suppress system messages
                  3         CDOPN       CDR is open
                  4         CDER        Error in this CDR
                 12         CDCNT       Count of bytes now in buffer
                 13         CDEOF       EOF button was pushed
                 14         CDBUF       Buffer for process level
                 15         CDPIR       Process needs interrupt
                 16         CDBFI       Buffer for PI level
                 17         CDDON       If one, doing a buffer by process
               18-35        CDWRD       Current internal storage word
MONITOR TABLES                                                   Page 15
CDR-STORAGE-AREA


         0 1 2 3 4 5 6 7   11 12     17 8 9 20                35
CDRST2  +-------------------------------------------------------+
entry   | | | | | |   |      |  CDPSI  |   |CDSST               |
        +-------------------------------------------------------+

Symbol          Bits        Pointer     Content

CD%SHA            0         CDSHA       "Status has arrived" flag
                  1         CDMWS       MTOPR is waiting for status to
                                         arrive
CD%RLD            2         CDRLD       Front end has reloaded
                  3         CDOFI       Offline interrupt is pending
                  4         CDEFI       End of file interrupt 
                                        already given
                 5-6        CDRTYP      Type of card reader
                  7         CDEXST      Existance of reader
                12-17       CDPSI       PSI chan. no. for on-line
                                         transitions
                20-35       CDSST       Software status word


                                        Symbol  Bits   Content


                                        .DVFFE   28    Device has a
                                                        fatal, unre-
                                                        coverable error
                                        .DVFLG   29    Error logging
                                                        info. follows
                                        .DVFEF   30    EOF
                                        .DVFIP   31    I/O in progress
                                        .DVFSE   32    Software cond.
                                        .DVFHE   33    Hardware error
                                        .DVFOL   34    Offline
                                        .DVFNX   35    Nonexistent device
MONITOR TABLES                                                   Page 16
CDS


                                  CDS

Channel Dispatch Service Routine Table.  This  table  contains  vectored
addresses   to   channel  dependent  functions,  and  is  given  in  its
generalized form.  The channel dispatch table  for  the  RH20  and  RH11
begins  at  RH2DSP.   See  PHYPAR for definitions of arguments given and
returned on calls to these channel routines.

Defined in:  PHYPAR

Referenced by:  PHYH2, PHYM2, PHYP4, PHYSIO, STG

                                Format

         +-------------------------------------------------------+
CDSINI=0 |          Initialize and Build Data Structure          |
         |-------------------------------------------------------|
CDSSTK=1 |Stack Second Channel Command, Skip if OK(fails if RH11)|
         |-------------------------------------------------------|
CDSSIO=2 |       Start I/O on IORB (skip if started O.K.)        |
         |-------------------------------------------------------|
CDSPOS=3 |     Do Positioning to Idle Unit (skips if O.K.)       |
         |-------------------------------------------------------|
CDSLTM=4 |      Return Latency and Best Request (i.e. best IORB) |
         |-------------------------------------------------------|
CDSINT=5 |                    Interrupt Entry                    |
         |-------------------------------------------------------|
CDSCCW=6 |               Generate Single CCW Entry               |
         |-------------------------------------------------------|
CDSHNG=7 |                      Hung Reset                       |
         |-------------------------------------------------------|
CDSRST=10|       On Restart, Reset Channel and All Devices       |
         |-------------------------------------------------------|
CDSCHK=11|            Periodic Check Entry, PIA, etc.            |
         |-------------------------------------------------------|
CDSEXT=12|      Check legality of a unit (skip if existant)      |
         |-------------------------------------------------------|
CDSSCA=13|            Extract address from CCW entry             |
         +-------------------------------------------------------+
MONITOR TABLES                                                   Page 17
CHNTAB


                                 CHNTAB

Channel Table contains channel data block (CDB) pointers.

Defined in:  STG

Referenced by:  DIAG, DSKALC, PHYH11, PHYH2, PHYSIO

Index:  Channel Number

                                Format

        +-------------------------------------------------------+  / \
CHNTAB: |                      CDB Pointer                      |   |
        |-------------------------------------------------------|   |
        |                           .                           |
        |                           .                           |  CHNN
        |                           .                           |
        |                           .                           |   |
        \                           .                           \   |
        +-------------------------------------------------------+  \ /
MONITOR TABLES                                                   Page 18
CLASS-SCHEDULER-STORAGE


                        CLASS-SCHEDULER-STORAGE

This storage is used by the class scheduling algorithms.

Defined in:  STG

Referenced by:  SCHED

Index:  A number of the sections are indexed by either  class  (sections
        of length MAXCLS) or by job number (sections of length NJOBS).

                                 Format

        +-------------------------------------------------------+
MJBUSE: |                  Highest job in use                   |
        +-------------------------------------------------------+
RDRTIM: |                Time to do next reorder                |
        +-------------------------------------------------------+
UTLTIM: |              Time to compute utilization              |
        +-------------------------------------------------------+
UTLINT: |         Interval to compute next utilization          |
        +-------------------------------------------------------+
OLDSLD: |                  Previous sold time                   |
        +-------------------------------------------------------+
OLDIDL: |                  Previous idle time                   |
        +-------------------------------------------------------+
CLASSF: |         If non-zero, doing classy scheduling          |
        +-------------------------------------------------------+
CLSCTL: |                  Class control word                   | *
        +-------------------------------------------------------+
CLSUTL: |                                                       | /\
        |                   Class utilization                   | MAXCLS
        \                           .                           \ \/
        +-------------------------------------------------------+
JOBCLS: |                                                       | /\
        |                     Class per job                     | NJOBS
        \                           .                           \ \/
        +-------------------------------------------------------+
JOBUTL: |                                                       | /\
        |                    Job utilization                    | NJOBS
        \                           .                           \ \/
        +-------------------------------------------------------+
JOBIRT: |                                                       | /\
        |                Job incremental runtime                | NJOBS
        \                           .                           \ \/
        +-------------------------------------------------------+
JOBDST: |                                                       | /\
        |                     Job distance                      | NJOBS
        \                                                       \ \/
        +-------------------------------------------------------+
CLSSHR: |                                                       | /\
        |                      Class share                      | MAXCLS
        \                           .                           \ \/
MONITOR TABLES                                                   Page 19
CLASS-SCHEDULER-STORAGE


        +-------------------------------------------------------+
WA:     |                                                       | /\
        |              Windfall allocation (or -1)              | MAXCLS
        \                           .                           \ \/
        +-------------------------------------------------------+
CLSSHI: |                                                       | /\
        |                   Share per member                    | MAXCLS
        \                           .                           \ \/
        +-------------------------------------------------------+
CLSCNT: | CLGLC                     |                           | / \
        |    Count of processes     |                           | MAXCLS
        |    on GOLST per class     |                           |  |
        \                           .                           \ \ /
        +-------------------------------------------------------+
CLSDST: |                                                       | /\
        |                    Class distance                     | MAXCLS
        \                           .                           \ \/
        +-------------------------------------------------------+
CLSSUM: |                                                       | /\
        |             Integral of NRUN for classes              | MAXCLS
        \                           .                           \ \/
        +-------------------------------------------------------+
CLSIRT: |                                                       | /\
        |               Class incremental runtime               | MAXCLS
        \                           .                           \ \/
        +-------------------------------------------------------+


         0 1          9 10         18 19 20     25 26         36
        +-------------------------------------------------------+
CLSCTL  | |   CLSDF    |    CLSBT    |  |  CLSKV  |             |
entry   +-------------------------------------------------------+

                  Bits      Pointer     Content

                   0        CLSBD       BATCH jobs to dregs queue
                  1-9       CLSDF       Default class
                 10-18      CLSBT       Batch class
                  19        CLSAC       If on, class by accounts
                 20-25      CLSKV       Current knob value
MONITOR TABLES                                                   Page 20
CST0


                                  CST0

Core Status Table 0 (sometimes referred to as CST).  Each entry in  this
table  is  principally defined by the pager.  If the page is in use, the
entry contains the age stamp for the page;  if the page is not  in  use,
the age stamp field is used to show the page's state.

Defined in:  STG

Referenced by:  APRSRV, DIAG, DSKALC, PAGEM

Index:  Physical page number

                                Format

        +-------------------------------------------------------+
        |  CSTAGE     | XGAGE  |  CFXRD                    |  | | * / \
CST0:   | Page State  |        |          Fork #           |  | |    |
        |   or Age    |        |                           |  | |    |
        |-------------------------------------------------------|    |
        |                           .                           |    |
        |                           .                           |
        |                           .                           | MAXCOR
        |                           .                           |  
        |                           .                           |    |
        |                           .                           |    |
        |                           .                           |    |
        |                           .                           |    |
        \                           .                           \   \ /
        +-------------------------------------------------------+


       Symbol     Bits     Pointer      Content

       AGEMSK     0-8      CSTAGE       If page in use, contents of 
                                         pager age register ( >= 100 )
                                         at last age register reload
                                        If page not in use, this field 
                                         indicates (right-justified) the
                                         page state as follows:
                                        PSRPQ = 0  On replaceable queue
                                        PSDEL = 1  To be put on replaceable
                                                    queue
                                        PSRDN = 2  Read completed
                                        PSWIP = 4  Write in progress
                                        PSRIP = 6  Read in progress
                                        PSSPQ = 7  Page on special memory 
                                                    queue
MONITOR TABLES                                                   Page 21
CST0


                                        PSASN = 10 Page assign to process 
                                                    if age field >=PSASN.
                                                    (The age field should 
                                                    always be strictly
                                                    greater than 10 as
                                                    it is initialized to
                                                    100 and increases in
                                                    value as process runs.)
                  9-14     XGAGE        Age at last XGC (low bits only)
                 15-32     CFXRD        Number of fork which initiated
                                        read if page not in use
                                        (i.e. age field < 10).
    PSTFLD       33-34     CSTPST       Special page state
                                        PSTAVL=.MCPSA=0  Available for
                                                          RPLQ when freed
                                        PSTSPM=.MCPSS=1  Place on SPMQ
                                                          when freed
                                        PSTOFL=.MCPSO=2  Offline-action
                                                          as PSTSPM
                                        PSTERR=.MCPSE=3  Offline due to
                                                          error action as
                                                          PSTSPM
       CORMB       35                   This is the "modified" bit which 
                                        is set by the pager on any write
                                        reference. This bit will be 1 if
                                        the page has been written since
                                        the last operation.
MONITOR TABLES                                                   Page 22
CST1


                                  CST1

Core Status Table 1.  This table is referenced only by the software  and
is  parallel  to  CST0.   It contains the lock count which indicates the
number of system events requiring the page be locked in core (i.e., page
table  contains other core addresses) and the backup address (next level
of storage) for each page in core (1000000 if unassigned).

Defined in:  STG

Referenced by:  PAGEM, PHYSIO, SCHED

Index:  Physical page number

                                Format

         0             11 12 13 14                            35
        +-------------------------------------------------------+
CST1:   |     PLKMSK     |     |                                |  / \
        |   Lock count   |     |       Backup Address           |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | MAXCOR
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+


   Symbol       Bits      Pointer     Content

                0-11      PLKMSK      Lock count field-if non-zero,
                                      the page will not be 
                                      considered for swapping
    PLKV         11                   Page lock value in CST1
               14-35                  Backup address
MONITOR TABLES                                                   Page 23
CST2


                                  CST2

Core Status Table 2 (Home Map Location).  This table is referenced  only
by  the  software  and  is  parallel  to CST0.  It contains the home map
location for the page (i.e., the page  table  which  contains  the  core
address pointing to the page).

If the left half is 0, the home map  is  the  SPT  and  the  right  half
contains  the  SPT  index.  If the left half is not 0, the home map is a
page table or index block, where PTN is the SPT index of that map and PN
is the page number within that map.

(See the SPT and SPTH table descriptions.)

Defined in:  STG

Referenced in:  PAGEM, PHYSIO

Index:  Physical page number

                                Format

        +-------------------------------------------------------+
CST2:   |            PTN            |            PN             |  / \
        |-------------------------------------------------------|   |
        |                          or                           |   |
        |-------------------------------------------------------|   |
        |             0             |           SPTN            |   |
        |-------------------------------------------------------|   |
        |                          or                           |   |
        |-------------------------------------------------------|
        |             zero if page not assigned                 | MAXCOR
        |-------------------------------------------------------|  
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 24
CST2







                                  NOTE

               The SPTN/PTN value (both SPT  indexes)  is
               used   to   specify   the   kind  of  page
               represented  in  the  CST2   table.    For
               example,  if the SPTN in the second format
               above is greater than  or  equal  to  NOFN
               (length  of  the  OFN  area), the process'
               page is a file page pointed to by a shared
               pointer  or fork overhead page.  Otherwise
               (i.e., SPTN<NOFN),  it's  an  index  block
               page.*  Likewise,  if the PTN value in the
               first format  above  is  greater  than  or
               equal  to  NOFN,  the  page  is  a private
               process page (i.e., pointed to by a direct
               pointer from the process' map).  Otherwise
               (i.e., PTN<NOFN), it is  a  process'  file
               page  pointed  to  by  an indirect pointer
               through the file's  own  page  table,  the
               index block.*

               * In both of these  cases  when  an  index
               block  is involved (i.e., SPTN/PTN< NOFN),
               it  is  common  to  find  in  the  monitor
               listings   the   symbolic  notation,  OFN,
               replacing SPTN/PTN.
MONITOR TABLES                                                   Page 25
CST3


                                  CST3

Core Status Table 3.  This table is referenced only by the software  and
is  parallel  to  CST0.  An entry in this table is used for a variety of
purposes, generally as a list pointer for groups  of  pages  on  various
queues.

For example, when on the replaceable queue, the left half and right half
contain  backward  and  forward  list pointers, respectively.  When on a
swapping device queue, the right half contains a  forward  list  pointer
and B0 is 1 if write and 0 if read.

Other queues threaded throughout this table are the deletion and special
memory queues.

When the page is in use (not linked on one of the queues),  it  contains
the local disk address for PHYSIO and the fork   assigned to the page.

Defined in:  STG

Referenced by:  PAGEM, PHYSIO, SCHED

Index:  Physical page number

                                Format

        +-------------------------------------------------------+
   CST3:|   Backward List Pointer   |   Forward List Pointer    |   / \
        |-------------------------------------------------------|    |
        |                          or                           |    |
        |-------------------------------------------------------|    |
        | |                         |   Forward List Pointer    |    |
        |-------------------------------------------------------|    |
        |                          or                           |    |
        |-------------------------------------------------------|    |
        |      |  CSTOFK      |  CSTLDA                         |*   |
        |Flags |    Fork #    |       Local Disk Address        |
        |-------------------------------------------------------| MAXCOR
        |                           .                           |  
        |                           .                           |    |
        |                           .                           |    |
        |                           .                           |    |
        |                           .                           |    |
        |                           .                           |    |
        |                           .                           |    |
        \                           .                           \   \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 26
CST3


         0 1 2 3              14 15                           35
        +-------------------------------------------------------+
        | | | |  CSTOFK         |  CSTLDA                       |
        | | | |     Fork #      |       Local Disk Address      |
        +-------------------------------------------------------+


                Symbol    Bits    Pointer   Content

                DWRBIT     0                Set if write in progress.
                                            The bit is cleared by the
                                            swapper when the write
                                            completes.

                SWPERR     1                Set if an unrecoverable
                                            error occurred when this
                                            page read in from disk/drum

                DSKSWB     2                Swap to disk requested by 
                                            DDMP (periodic routine that
                                            trickles file pages to the
                                            disk) or by monitor when
                                            certain monitor calls are
                                            issued, e.g., CLOSF

                         3-14    CSTOFK     Process to which this page
                                            is assigned (7777 is not
                                            assigned).

                        15-35    CSTLDA     Local disk address for
                                            PHYSIO
MONITOR TABLES                                                   Page 27
CST5


                                  CST5

Core Status Table 5.  This table is referenced only by the software  and
is  parallel to CST0.  It is a table of short IORBs.  See the IORB table
for a description of the IRBSTS entry which describes the short (1 word)
IORB.

Defined in:  STG

Referenced by:  PHYH2J, PHYSIO

Index:  Physical page number

                                Format

        +-------------------------------------------------------+
CST5:   |           Flags           | Next Disk IORB(short/long)|  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | MAXCOR
        |                           .                           | 
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 28
DEV`DTB


                                DEV`DTB

Device Dispatch Table.  Each device has  its  own  dispatch  table  that
conforms  to  the  format  described  below.   An  error return dispatch
address is placed in those words  which  have  no  corresponding  device
function.   The  naming  convention  for these tables is the device name
concatenated with DTB (i.e.  MTADTB, DSKDTB, TTYDTB, etc.)

Defined in:  PROLOG

Referenced by:  

                                Format

         +-------------------------------------------------------+
DLUKD=0  |                    Directory Setup                    |
         |-------------------------------------------------------|
NLUKD=1  |                      Name Lookup                      |
         |-------------------------------------------------------|
ELUKD=2  |                   Extension Lookup                    |
         |-------------------------------------------------------|
VLUKD=3  |                    Version Lookup                     |
         |-------------------------------------------------------|
PLUKD=4  |                 Protection Insertion                  |
         |-------------------------------------------------------|
ALUKD=5  |                   Account Insertion                   |
         |-------------------------------------------------------|
SLUKD=6  |                 Status Modification                   |
         |-------------------------------------------------------|
OPEND=7  |                       Open File                       |
         |-------------------------------------------------------|
BIND=10  |                 Sequential Byte Input                 |
         |-------------------------------------------------------|
BOUTD=11 |                Sequential Byte Output                 |
         |-------------------------------------------------------|
CLOSD=12 |                      Close File                       |
         |-------------------------------------------------------|
REND=13  |                    Rename File                        |
         |-------------------------------------------------------|
DELD=14  |                      Delete File                      |
         |-------------------------------------------------------|
DMPID=15 |                    Dump Mode Input                    |
         |-------------------------------------------------------|
DMPOD=16 |                   Dump Mode Output                    |
         |-------------------------------------------------------|
MNTD=17  |                         Mount                         |
         |-------------------------------------------------------|
DSMD=20  |                       Dismount                        |
         |-------------------------------------------------------|
INDD=21  |                Initialize a Directory                 |
         |-------------------------------------------------------|
MTPD=22  |                   MTOPR Operations                    |
         |-------------------------------------------------------|
GDSTD=23 |                   Get Device Status                   |
         |-------------------------------------------------------|
SDSTD=24 |                   Set Device Status                   |
MONITOR TABLES                                                   Page 29
DEV`DTB


         |-------------------------------------------------------|
RECOUT=25|               Force Record Out (SOUTR)                |
         |-------------------------------------------------------|
RFTADD=26|                Read File Time and Date                |
         |-------------------------------------------------------|
SFTADD=27|                Set File Time and Date                 |
         |-------------------------------------------------------|
JFNID=30 |                 Set JFN for Input                     |
         |-------------------------------------------------------|
JFNOD=31 |                Set JFN for Output                     |
         |-------------------------------------------------------|
ATRD=32  |                  Check Attribute                      |
         +-------------------------------------------------------+
MONITOR TABLES                                                   Page 30
DEVCH1


                                 DEVCH1

Device  Characteristics  Table  1.   This  table  contains  a  word   of
information about each device unit in the system and is initialized from
the INIDVT table at system start up time.

Defined in:  STG, MONSYM

Referenced by:  DEVICE, DSKALC, FILINI,  FUTILI,  GTJFN,  JSYSA,  JSYSF,
                MEXEC, MSTR

                                Format

        +-------------------------------------------------------+
DEVCH1: |            Device Characteristics (word 2)            | / \
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |
        |                           .                           | NDEV
        |                           .                           |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \ \ /
        +-------------------------------------------------------+ 


                Symbol          Bit             Content

                D1%%SPL          0              Device is spooled
                D1%%ALC          1              Device is under control
                                                 of allocator
                D1%%VVL          2              Volume valid
                D1%%NIU          3              Device slot not is use
                D1%%INI          4              Device is being initialized
                                                 currently for structures
                                                 only)
MONITOR TABLES                                                   Page 31
DEVCH2


                                 DEVCH2

Device Characteristcs Table 2.   This  table  contains  spool  directory
information and is parallel to the DEVCH1 table.        

Defined in:  STG

Referenced by:  DISC, JSYSA

                                Format

        +-------------------------------------------------------+
DEVCH2: |          Directory Number of Spool Directory          | / \
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |
        |                           .                           | NDEV
        |                           .                           |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \ \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 32
DEVCHR


                                 DEVCHR

Device Characteristics Table.  This table contains  indexed  information
about  each  device  unit  and  is  initialized from the INIDVT table at
system startup time.  See INIDVT table for bit definitions.

Defined in:  STG

Referenced by:  DEVICE, DISC, FILMSC, GTJFN, JSYSA, JSYSF, MEXEC, TTYSRV

                                Format

         0          8  9          17 18                       35
        +-------------------------------------------------------+
DEVCHR: |   CHAR1*   |    TYPE      |           MODES           |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NDEV
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+


        *CHAR1
            Bit 5 can take on another meaning (i.e., DV%OPN=1B5;
            File Open on Device) than the one described in INIDVT.


                                  NOTE

               A resident word, DEVLCK (Free is  -1),  is
               used  to  lock the data base in the DEVXXX
               Tables when they are being manipulated.
MONITOR TABLES                                                   Page 33
DEVDSP


                                 DEVDSP

Device  Dispatch  Table  Addresses.   This  table  contains  the  device
dispatch  table  for each device unit and is initialized from the INIDVT
table at system startup time.

Defined in:  STG

Referenced by:  DEVICE, JSYSA, JSYSF

                                Format

        +-------------------------------------------------------+
DEVDSP: |  Device Type Index        |  Dispatch Table Address   |  / \
        |   (Not Referenced)        |                           |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NDEV
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 34
DEVNAM


                                 DEVNAM

Device Name Table.  This table contains the SIXBIT device name for  each
device  unit.  The generic device name is obtained from INIDVT, modified
to include unit number (if device has units) and stored in this table at
system start up time.

Defined in:  STG

Referenced by:  DEVICE, FILINI, GTJFN, IPCF, JSYSA, MEXEC, MSTR

                                Format

        +-------------------------------------------------------+
DEVNAM: |                    SIXBIT / Name /                    |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NDEV
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 35
DEVUNT


                                 DEVUNT

Device Unit Table.   This  table  contains  information  about  the  job
associated with a unit, where the unit information in DEVUNT is built at
system startup utilizing data from the INIDVT table.

Defined in:  STG

Referenced by:  DEVICE, DSKALC,  FILINI,  FILMSC,  JSYSA,  JSYSF  MEXEC,
                MSTR, TAPE, TTYSRV

                                Format

        +-------------------------------------------------------+
DEVUNT: |Assigner's Job#/Dev Free(-1)|Unit # or No Unit Dev(-1) | / \
        |                            | or being controlled by   |  |
        |                            | the allocator (-2)       |  |
        |-------------------------------------------------------|  |
        |                            .                          |  |
        |                            .                          |  |
        |                            .                          |  |
        |                            .                          |  |
        |                            .                          |  |
        |                            .                          |
        |                            .                          | NDEV
        |                            .                          |
        |                            .                          |  |
        |                            .                          |  |
        |                            .                          |  |
        |                            .                          |  |
        |                            .                          |  |
        |                            .                          |  |
        |                            .                          |  |
        \                            .                          \ \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 36
DIRECTORY


                               DIRECTORY

Directory Format.  The following illustrations  show  the  format  of  a
TOPS-20 directory.

Defined:  PROLOG

Referenced by:  DIRECT, DISC
        
                        Overview of a Directory

        +-------------------------------------------------------+
        |                                                       |
        |                        Page 0                         |
        |                                                       |
        |-------------------------------------------------------|
        |                                                       |
        |                        Page 1                         |
        |                                                       |
        |-------------------------------------------------------|
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |-------------------------------------------------------|
        |                                                       |
        |                        Page n                         |
        |                                                       |
        |-------------------------------------------------------|
        |                                                       |
        |                                                       |
        |                     Symbol Table                      |
        |                                                       |
        |                                                       |
        |-------------------------------------------------------|
        |                                                       |
        |                                                       |
        |           Reserved for Directory Expansion            |
        |                                                       |
        |                                                       |
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 37
DIRECTORY



                        First Page of a Directory
        

         0                        17 18    23 24
        +-------------------------------------------------------+
        |  DRTYP                    | DRVER  |  DRHLN           |
        | Block Type TYDIR (400300) | Ver. # | Length of Header |
        |-------------------------------------------------------|
        |  DRRPN                    |  DRNUM                    |
        |  Relative Page # in DIR   |     Directory Number      |
        |-------------------------------------------------------|
        |  DRFFB                                                |
.DRFFB=2|              Pointer to First Free Block              |
        |-------------------------------------------------------|
        |  DRSBT                                                |
        |           Address of start of Symbol Table            |
        |-------------------------------------------------------|
        |  DRSTP                                                |
        |            Address of end of Symbol Table             |
        |-------------------------------------------------------|
        |  DRFTP                                                |
        |   Address of Last Used Word+1 for Strings and FDBs    |
        |-------------------------------------------------------|
        |  DRFBT                                                |
        |               Pointer to Free Bit Table               |
        |-------------------------------------------------------|
        |  DRDPW                                                |
        |                Default File Protection                |
        |-------------------------------------------------------|
        |  DRPRT                                                |*
        |             Default Directory Protection              |
        |-------------------------------------------------------|
        |  DRDBK                                                |
        |                 Backup Specification                  |
        |-------------------------------------------------------|
        |  DRLIQ                                                |
        |                    Logged In Quota                    |
        |-------------------------------------------------------|
        |  DRLOQ                                                |
        |                   Logged Out Quota                    |
        |-------------------------------------------------------|
        |  DRDCA                                                |
        |             Current Directory Allocation              |
        |-------------------------------------------------------|
        |  DRNAM                                                |
        |           Pointer to Directory Name String            |
        |-------------------------------------------------------|
        |  DRPSW                                                |
        |              Pointer to Password String               |
        |-------------------------------------------------------|
        |  DRPRV                                                |
        |                    Privilege Bits                     |
        |-------------------------------------------------------|
        |  DRMOD                                                |
        |                       Mode Bits                       |
MONITOR TABLES                                                   Page 38
DIRECTORY


        |-------------------------------------------------------|
        |  DRDAT                                                |
        |              Date and Time of Last LOGIN              |
        |-------------------------------------------------------|
        |  DRUGP                                                |
        |              Pointer to User Group List               |
        |-------------------------------------------------------|
        |  DRDGP                                                |
        |            Pointer to Directory Group List            |
        |-------------------------------------------------------|
        |  DRUDT                                                |
        |       Date and Time of Last Update to Directory       |
        |-------------------------------------------------------|
        |  DRSDM                   |  DRSDC                     |
        |  Max # of Subdirectories |  Count of Subdirectories   |
        |-------------------------------------------------------|
        |  DRCUG                                                |
        |      CRDIR allowed specifying these User Groups       |
        |-------------------------------------------------------|
        |  DRACT                                                |
        |            Pointer to Dir. Default Account            |
        |-------------------------------------------------------|
        |  DRDNE                                                |
        |         Default online expiration date/interval       |
        |-------------------------------------------------------|
        |  DRDFE                                                |
        |        Default offline expiration date/interval       |
        |-------------------------------------------------------|
        |                                                       |
        |                    Spare Words                        |
        |                                                       |
        |                                                       |
        \                                                       \
        |-------------------------------------------------------|
        |                                                       |
        |            Free Space for Strings and FDBs            |
        |                                                       |
        \                                                       \
        +-------------------------------------------------------+


                                      18      23 24     29 30     35
        +-----------------------------------------------------------+
 DRPRT  |                            |   DRPOW  |  DRPGP  |  DRPWL  | 
        +-----------------------------------------------------------+


               Bits       Pointer      Content

              18-23       DRPOW        Owner field
              24-29       DRPGP        Group field
              30-35       DRPWL        World field
MONITOR TABLES                                                   Page 39
DIRECTORY


                     General format for all blocks

       0                        17 18       23 24              35
      +----------------------------------------------------------+
      | BLKTYP                    | BLKVER    | BLKLEN           |
      |    Type code              |   Ver. #  |   Length         |
      +----------------------------------------------------------+

               Possible type codes are:

                     Code      Value      Type

                    .TYNAM     400001     Name Block
                    .TYEXT     400002     Extension Block
                    .TYACT     400003     Account Block
                    .TYUNS     400004     User Name Block
                    .TYFDB     400100     File Descriptor Block
                    .TYLAC     400200     Legal Account List
                    .TYDIR     400300     Directory
                    .TYSYM     400400     Symbol Table
                    .TYFRE     400500     Free Block
                    .TYFBT     400600     Free Storage Bittable
                    .TYGDB     400700     Group Descriptor Block


                        Subsequent Directory Pages

        +-------------------------------------------------------+
        |  DRTYP                    | DRVER  |  DRHLN           |
        |    .TYDIR (400300)        | Ver. # | Length of Header |
        |-------------------------------------------------------|
        |  DRRPN                    |  DRNUM                    |
        |  Relative Page # in DIR   |     Directory Number      |
        |-------------------------------------------------------|
        |  DRFFB                                                |
        |              Pointer to First Free Block              |
        |-------------------------------------------------------|
        |                                                       |
        |                                                       |
        |            Free Space for Strings and FDBs            |
        |                                                       |
        |                                                       |
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 40
DIRECTORY


                              Symbol Table
                
        |-------------------------------------------------------|
        |  SYMTY                    |        |  SYMDN           |
        |     .TYSYM (400400)       |        |Dir. # of Sym.Tbl.|
        |-------------------------------------------------------|
        |                          -1                           |
        |-------------------------------------------------------|
        |SYMET|  SYMAD                                          | * \
        |Type |                 Address of FDB                  |    \
        |-------------------------------------------------------|     >
        |  SYMVL                                                |    /
        |         First 5 Characters of Name, Account or User   |   /
        |         Name for last writer/author in ASCII          |
        |-------------------------------------------------------|
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |-------------------------------------------------------|   \
        |                                                       |    \
        |-------------------------------------------------------|     >
        |                                                       |    /
        +-------------------------------------------------------+   /


         0 1 2 3                                              35
        +-------------------------------------------------------+
        |Type |                 Address of FDB                  |
        +-------------------------------------------------------+


                Bits    Pointer         Content

                0-2     SYMET           Entry Type
                                             0 = .ETNAM     Name
                                             2 = .ETUNS     User Name
                                             4 = .ETACT     Account
                3-35    SYMAD           Address of FDB
MONITOR TABLES                                                   Page 41
DIRECTORY


        User Name String

       +-------------------------------------------------------+
       | UNTYP                    |        |  UNLEN            |
       |    .TYUNS (400004)       | Ver. # |  Length           |
       |-------------------------------------------------------|
       | UNSHR                    |                            |
       |            Share Count of User Name String            |
       |-------------------------------------------------------|
       | UNVAL                                                 |
       |                 ASCIZ User Name String                |
       +-------------------------------------------------------+


        Name String

        +-------------------------------------------------------+
        | NMTYP                     |       | NMLEN             |
        |    .TYNAM (400001)        | Ver. #| Length            |
        |-------------------------------------------------------|
        | NMVAL                                                 |
        |                   ASCIZ Name String                   |
        |                                                       |
        +-------------------------------------------------------+


        Extension String
                
        +-------------------------------------------------------+
        | EXTYPE                    |        |EXLEN             |
        |    .TYEXT (400002)        | Ver.#  |Length            |
        |-------------------------------------------------------|
        |                                                       |
        |                ASCIZ Extension String                 |
        |                                                       |
        +-------------------------------------------------------+


        Account String
                
        +-------------------------------------------------------+
        | ACTYP                     |        |ALLEN             |
        |    .TYACT (400003)        | Ver. # | Length           |
        |-------------------------------------------------------|
        | ACSHR                                                 |
        |                      Share Count                      |
        |-------------------------------------------------------|
        | ACVAL                                                 |
        |                 ASCIZ Account String                  |
        |                                                       |
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 42
DIRECTORY


        File Descriptor Block (FDB)

        +-------------------------------------------------------+
        | FBTYP                     | FBVER  | FBLEN            |
        |    .TYFDB (400100)        | Ver. # |       Length     |
        |-------------------------------------------------------|
        |                                                       |
        |                                                       |
        \       See FDB Table for Details of this Block         \
        \                                                       \
        |                                                       |
        |                                                       |
        +-------------------------------------------------------+


        Free Space
                
        +-------------------------------------------------------+
        | FRTYP                     | FRVER  | FRLEN            |
        |    .TYFRE (400500)        | Ver. # |      Length      |
        |-------------------------------------------------------|
        | FRNFB                                                 |
        |     Pointer to Next Free Block or 0 if at end         |
        |-------------------------------------------------------|
        |                                                       |
        |                                                       |
        \                Remainder of Free Block                \
        \                                                       \
        |                                                       |
        |                                                       |
        +-------------------------------------------------------+


        Free Storage Bit Table
                
        +-------------------------------------------------------+
        |                           |       |                   |
        |    .TYFBT (400600)        | Ver. #|  Length           |
        |-------------------------------------------------------|
        |                                                       |
        \     Bit Table Containing 1 Bit per Directory Page     \
        \                                                       \
        |                0 = No Room on the Page                |
        |             1 = There is Room on the Page             |
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 43
DIRECTORY


        Group List
                
        +-------------------------------------------------------+
        |                           |        |                  |
        |    .TYGDB (400700)        | Ver. # | Length           |
        |-------------------------------------------------------|
        |         Group #           |          Group #          |
        |-------------------------------------------------------|
        |          Group #          |             0             |
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 44
DIRECTORY CACHE


                            DIRECTORY CACHE

This resident table contains the directory cache  and  a  lock  for  the
cache.  Every 5 words (excluding the lock) describes an entry.

Defined in:  STG

Reference by:  DIRECT

                                Format

        +-------------------------------------------------------+
DIRCLK: |                 Directory cache lock                  |
        |-------------------------------------------------------|
DIRCSH: |                                                       |     / \
DCDIRN=0|            Directory number of this entry             |---   |
        |-------------------------------------------------------|  |   |
DCSTRN=1|   Structure information   |     Structure number      |  |   |
        | (l.half of SDBFLK in SDB) |                           |  |   |
        |-------------------------------------------------------|      |
DCSHRC=2|               Share count of the entry                |normal|
        |-------------------------------------------------------|entry |
DCSOFN=3|                OFN for this directory                 |      |
        |-------------------------------------------------------|  |   |
DCSTIM=4|     Time at which this entry was last referenced      |  |   |
        |-------------------------------------------------------|---
        |                           .                           |  DIRSCZ
        |                           .                           |  (^D25)
        |                           .                           |    *5
        \                                                       \
        +-------------------------------------------------------+     \ /
MONITOR TABLES                                                   Page 45
DRMBBT


                                 DRMBBT

Drum Bit Table.  This bit table indicates which pages  are  in  use  and
which pages are available in the swapping area.

Defined in:  STG

Referenced by:  SWPALC

                                Format

        +-------------------------------------------------------+           / \
DRMBBT: \                                                       \  \         |
        \                                                       \Cylinder 0  |
        |                                                       |  /         |
        |-------------------------------------------------------|            |
        \                                                       \  \         |
        \                                                       \Cylinder 1  |
        |                                                       |  /         |
        |-------------------------------------------------------|            |
        |                           .                           |            |
        |                           .                           |            
        |                           .                           |          DRMMXB
        |                           .                           |            *
        |                           .                           |          DRMBSE
        |                           .                           |
        |                           .                           |            |
        |                           .                           |            |
        |                           .                           |            |
        |                           .                           |            |
        |                           .                           |            |
        |                           .                           |            |
        |-------------------------------------------------------|            |
        \                                                       \  \         |
        \                                                       \Cylinder n  |
        |                                                       |  /         |
        +-------------------------------------------------------+           \ /



                                  NOTE

               The bit map for each cylinder starts on  a
               word  boundary  and  contains as many full
               words as are needed for all of its pages.
MONITOR TABLES                                                   Page 46
DRMCNT


                                 DRMCNT

Drum Count Table.  This resident table, indexed by cylinder, records the
free  page  count  for the drum (logical swapping area).  The total free
page count for all the cylinders is kept in the storage word, DRMFRE.

Defined in:  STG

Referenced by:  SWPALC

                                 Format

        +-------------------------------------------------------+ / \
DRMCNT: |           Drum Free Page Count - Cylinder 0           |  |
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |
        |                           .                           |DRMMXB 
        |                           .                           |
        |                           .                           |  |
        \                           .                           \  |
        |-------------------------------------------------------|  |
        |           Drum Free Page Count - Cylinder n           |  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                   Page 47
DSKSIZ


                                 DSKSIZ

Disk Size Pointer Table.  This table contains pointers to the disk  size
data  tables.  DSKSIZ is parallel to DSKUTP which contains codes for the
known disk types.  When an entry is added  to  DSKUPT,  a  corresponding
entry must be added to DSKSIZ to point to the correct size data for that
type of disk.

Defined in:  PHYSIO

Referenced by:  DSKALC

                                Format


        +-------------------------------------------------------+
DSKSIZ: |             Pointer to RP04 Table (DSKSZ0)            |
        |-------------------------------------------------------|
        |             Pointer to RP05 Table (DSKSZ0)            |
        |-------------------------------------------------------|
        |             Pointer to RP06 Table (DSKSZ1)            |
        |-------------------------------------------------------|
        |             Pointer to RP07 Table (DSKSZ2)            |
        |-------------------------------------------------------|
        |             Pointer to RM03 Table (DSKSZ3)            |
        |-------------------------------------------------------|
        |             Pointer to RP20 Table (DSKSZ4)            |
        |-------------------------------------------------------|
        |             Pointer to RA80 Table (DSKSZ5)            |
        |-------------------------------------------------------|
        |             Pointer to RA81 Table (DSKSZ6)            |
        |-------------------------------------------------------|
        |             Pointer to RA60 Table (DSKSZ7)            |
        |-------------------------------------------------------|
        |             Pointer to RA82 Table (DSKSZ8)            |
        |-------------------------------------------------------|
        |             Pointer to RA62 Table (DSKSZ9)            |
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 48
DSKSZ`n


                                DSKSZ`n

Disk Size Table (for type n).  The resident  table  contains  size  data
(for disks) based on type.

        n = 0   for RP04 and RP05
        n = 1   for RP06
        n = 2   for RP07
        n = 3   for RM03
        n = 4   for RP20
        n = 5   for RA80
        n = 6   for RA81
        n = 7   for RA60

Defined in:  STG

Referenced by:  DSKALC, PHYSIO

                               Format

DSKSZ`n: +-------------------------------------------------+
SEGPAG=0 |                Sectors per Page                 |
         |-------------------------------------------------|
SECCYL=1 |              Sectors per Cylinder               |    
         |-------------------------------------------------|
PAGCYL=2 |               Pages per Cylinder                |    
         |-------------------------------------------------|
CYLUNT=3 |               Cylinders per Unit                |
         |-------------------------------------------------|
SECUNT=4 |                Sectors per Unit                 |
         |-------------------------------------------------|
BTWCYL=5 |   No. of Bit Words in Bit Table per Cylinder    |
         |-------------------------------------------------|
MINFPG=6 |  Minimum Free Pages for Free Choice Allocation  |
         |-------------------------------------------------|
MAXFPU=7 |    Pages per Unit for DSKASN turning point      |
         |-------------------------------------------------|
LPPCYL=10|            Lost Sectors per Surface             |
         |-------------------------------------------------|
SECSRF=11|               Sectors per Surface               |
         |-------------------------------------------------|
USSECU=12|       Microseconds per LATOPT sector unit       |
         +-------------------------------------------------+
MONITOR TABLES                                                   Page 49
DSKUTP


                                 DSKUTP

Disk Unit Type.  This table contains the unit types  used  by  the  file
system.                         

Defined in:  PHYSIO

Referenced by:  DSKALC, MSTR, PHYP4

                                Format

        +-------------------------------------------------------+ / \
DSKUTP: |           RP04 Disk Unit Code (.UTRP4 = 1)            |  |
        |-------------------------------------------------------|  |
        |           RP05 Disk Unit Code (.UTRP5 = 5)            |  |
        |-------------------------------------------------------|  |
        |           RP06 Disk Unit Code (.UTRP6 = 6)            |
        |-------------------------------------------------------| NDSKUT
        |           RP07 Disk Unit Code (.UTRP7 = 7)            |
        |-------------------------------------------------------|  |
        |           RM03 Disk Unit Code (.UTRM3 = 11)           |  |
        |-------------------------------------------------------|  |
        |           RP20 Disk Unit Code (.UTP20 = 24)           |  |
        |-------------------------------------------------------|  |
        |           RA80 Disk Unit Code (.UTR80 = 27)           |  |
        |-------------------------------------------------------|  |
        |           RA81 Disk Unit Code (.UTR81 = 30)           |  |
        |-------------------------------------------------------|  |
        |           RA60 Disk Unit Code (.UTR60 = 31)           |  |
        |-------------------------------------------------------|  |
        |           RA82 Disk Unit Code (.UTR82 = 32)           |  |
        |-------------------------------------------------------|  |
        |           RA62 Disk Unit Code (.UTR62 = 33)           |  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                   Page 50
DST


                                  DST

Drum Status Table.  This table is indexed as  a  function  of  the  drum
(swapping  space)  address.   The  routine GDSTX converts a drum address
into a DST index.  The DST holds the address of the next lower level  of
storage (usually disk) for the page stored at that address on the drum.

BWRBIT (bit 11) indicates if the page has been changed since being  read
from  the  lower level storage.  The page will only be copied back on to
the lower level storage if BWRBIT is set (i.e., page modified) when  the
page is no longer in use.  A slot no longer in use contains a -1.

Defined in:  STG, PROLOG

Referenced by:  PAGEM

Index:  Drum page number

                                Format

                         11   14                              35
        +-------------------------------------------------------+  / \
DST:    |                ||  |         Storage Address          |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NDST
        |                           .                           | 
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \   |
        +-------------------------------------------------------+  \ /
MONITOR TABLES                                                   Page 51
DTE-STORAGE-AREA


                            DTE-STORAGE-AREA

DTE Storage Area.  This storage area contains storage for each DTE.   It
contains the Communication Area for each processor in COMBAS, the linked
output packet queues (pointed to by DTEQS), the DTE input  buffers,  and
local  storage  (i.e.,  ACs,  PC,  &  PDL) for the DTE Protocol Handler,
DTESRV.

A packet in the COMQ area must be reformatted  to  RSX20F  protocol  and
stored  in  PKTADR before being sent over the DTE.  The before and after
packet formats are described below.

Two single packets, SNGPK1  and  SNGPK2  (already  formatted  as  direct
packets  to  RSX20F protocol  -  See below) are set aside for the DTSNGL
routine.  This routine is responsible for activating lines  and  sending
single  characters  over  the  DTE  if  the  output  buffer has only one
character.

Normally output buffer characters are sent via indirect packets over the
DTE,  where  the  indirect packet (after being reformatted and stored in
PKTADR) is sent first followed by the line's output buffer characters.

Defined in:  STG

Referenced by:  DTESRV, MEXEC, SCHED

                                 Format

        +-------------------------------------------------------+
UPFLAG: |          Word to Generate Continued Message           |
        |-------------------------------------------------------|
LOAD11: |              Says if -11 Needs to Reload              |
        |-------------------------------------------------------|
LODFRK: |        Handle of Monitor Fork Doing -11 Reboot        |
        |-------------------------------------------------------|
DTEDTE: |                 The Interrupting DTE                  |
        |-------------------------------------------------------|
CTYUNT: |              FE Physical Unit for TS TTY              |
        |-------------------------------------------------------| / \
DTEQS:  |             Drive Queue Header for DTE 1              |  |
        |          (Ptr. to 1st Queued Packet in COMQ)          |  
        \                           .                           \ DTEN
        |                           .                           |  
        |             Driver Queue Header for DTE n             |  |
        |-------------------------------------------------------| \ /
COMQ:   |                                                       |*/ \
        |                                                       |  |
        |                Area for Queue Packets                 |  |
        |                 (=Packet Size * ^D20)                 |
        \                                                       \ QPKT1
        |                                                       |  
        |                                                       |  |
        |                                                       |  |
MONITOR TABLES                                                   Page 52
DTE-STORAGE-AREA


        |-------------------------------------------------------| \ /
COMH:   |   Queue Header (Points to 1st Free Packet in COMQ)    |
        |-------------------------------------------------------| / \
DTESTS: |                   DTE 1 Status Word                   |* |
        |                           .                           |
        \                           .                           \ DTEN
        |                   DTE n Status Word                   |  |
        |-------------------------------------------------------| \ /
DTEST1: |              DTE 1 Secondary Status Word              |*/ \
        |                           .                           |  |
        \                           .                           \ DTEN
        |              DTE n Secondary Status Word              |  |
        |-------------------------------------------------------| \ /
DTBFWD: |                Hdr. Word for DTE 1 Buf                | 
        |   (Ptr. to 2nd Input Buf,, Ptr. to 1st Input Buf)     |
        \                           .                           \
        |                           .                           |
        |             Header Word for DTE n Buffer              |
        |-------------------------------------------------------|
DTETRA: |             Interrupt Return PC for DTE 1             |
        |                           .                           |
        |-------------------------------------------------------|
        |                           .                           |
        |             Interrupt Return PC for DTE 2             |
        |-------------------------------------------------------| / \
DTESKP: |                                                       |  |
        |                                                       | 
        \                    Local PDL Stack                    \ DTESZ
        |                                                       |
        |                                                       |  |
        |-------------------------------------------------------| \ /
DTEACB: |                                                       | / \
        \                   Block to Save ACs                   \  |
        |                                                       | 16
        |-------------------------------------------------------| \ /
DTEIND: |        Storage for Indirect Function for DTE 1        |*/ \
        |                           .                           |  |
        \                           .                           \ DTEN
        |        Storage for Indirect Function for DTE n        |  |
        |-------------------------------------------------------| \ /
PKTADR: |               Storage for Queue Packets               |*/ \
        |        (One 3-Word Packet/RSX20F Protocol DTE)        |  |
        \                                                       \ PKTSZ1
        |                                                       |  |
        |-------------------------------------------------------| \ /
COMBUF: | Processor #  |    Index into COMBAS to get to this    | / \--  --
        |            4 |         Processor's Comm Area          |  |  |   |
        |-------------------------------------------------------|  |  |   |
        |            3 |                  ''                    |DTEN+1   |
        |-------------------------------------------------------|  |      |
        |            2 |                  ''                    |  |Header|
        |-------------------------------------------------------|  |Area  |
        |            1 |                  ''                    |  |  |   |
        |-------------------------------------------------------|  |  |   |
        |            0 |                  ''                    |  |  |   |
MONITOR TABLES                                                   Page 53
DTE-STORAGE-AREA


        |-------------------------------------------------------| \ / --  |
COMBAS: |                   KL10 "Owned" Area                   |--*      |
        |-------------------------------------------------------| |       |
        |                    "To" DTE1 Area                     | |       |
        |-------------------------------------------------------| |       |
        |                    "To" DTE2 Area                     |  Master |
        |-------------------------------------------------------| Process |
        |                           .                           |   Comm  |
        |                           .                           |   Area  |
        |                           .                           | |
        |-------------------------------------------------------| |  Communi-
        |                    "To" DTEn Area                     | |    cation
        |-------------------------------------------------------|--    Region
        |                                                       |--
        |                   DTE1 "Owned" Area                   |  DTE1   |
        |                                                       |  Comm   |
        |-------------------------------------------------------|  Area   |
        |                    "To" KL10 Area                     | |       |
        |-------------------------------------------------------| |       |
        |                           .                           | |       |
        |                           .                           | |       |
        |                           .                           | |       |
        |-------------------------------------------------------|--       |
        |                                                       |--       |
        |                   DTEn "Owned" Area                   | | DTEn  |
        |                                                       | | Comm  |
        |-------------------------------------------------------| | Area  |
        |                    "To" KL10 Area                     |--      --
        |-------------------------------------------------------| / \
TAD11:  \                 Time Packet from -11                  \  3
        |-------------------------------------------------------| \ /
        \                                                       \ / \
TO11TM: \                  Time Packet to -11                   \  3
        |-------------------------------------------------------| \ /
        \                                                       \ / \
KLIDTA: \                    KLINIK Data Base                   \ KLISIZ
        |-------------------------------------------------------| \ /
SNGPK1: |              Single-Packet-1 Header Word              |
        |-------------------------------------------------------| / \
        \                Packet Data (5 Words)                  \  5
        |                                                       | \ /
        |-------------------------------------------------------|
SNGPK2: |              Single-Packet-2 Header Word              | *
        |-------------------------------------------------------| / \
        \                Packet Data (5 Words)                  \  5
        |                                                       |  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                   Page 54
DTE-STORAGE-AREA


COMQ area for queue packets where a packet (5 words in length)  has  the
form:

         0                        17 18                       35
        +-------------------------------------------------------+
        | QINT                      | QLINK                     |
        | Int loc for this function |    Link to next packet    |
        |-------------------------------------------------------|
QNSPH   | QFNC                      | QDEV                      |
        |     Function work for     |      DTE device code      |
        |       this request        |     for this request      |
        |-------------------------------------------------------|
        |0 QLIN                   17| QMODE  |19 QCNT         35|
        |    Device unit number     |  Data  |  Byte count or   |
        |                           |must be |       byte       |
        |                           |  byte  |       or 0       |
        |                           |  mode  |                  |
        |-------------------------------------------------------|
        | QPNTR                                                 |
        |        Byte pointer for indirect operation  or        |
        |             Local 8-bit datum if QCNT = 0             |
        |-------------------------------------------------------|
        | QCOD                                                  |
        |   Unique code returned to interrupt routine, TTYINT   |
        +-------------------------------------------------------+

      COMQ area is currently assembled for room of ^D20 packets.


         0 1 2 3 4 5 6          17 18          29 30          35
        +-------------------------------------------------------+
DTESTS  | | | | | | |    DTEB1    |     DTEBC    |     DTEST    |
entry   +-------------------------------------------------------+


        Bits         Pointer              Content 

         0           DTERL           If set, DTE exists
         1           DTEBF           Says which buffer is in use for
                                      RSX20 protocol
         2           DTBLK           For MCB, to -10 is blocked on
                                      free space
         3           DTRLD           If set, -11 is being reloaded
         4           DTKAC           If set, -11 is ill
         5           DTSTI           Status packet is split
        6-17         DTEB1           Byte count of list transfer
       18-29         DTEBC           Byte count remaining for
                                      subsequent transfer
       30-35         DTEST           DTE status
                                      DTET10=1--KL10 is receiving
                                       last fragment of message
                                      DTE11=2--11 is receiving bytes
                                      DTE11I=4--11 is receiving an 
                                       indirect queue entry
                                      DTE1F=10--KL10 is receiving 1st 
                                       fragment of a message
MONITOR TABLES                                                   Page 55
DTE-STORAGE-AREA


DTEST1 is parallel to DTESTS and contains  current  operation  data  and
special request bits for "To" -11 conditions.

         0                15 16                   31 32 33 34 35
        +-------------------------------------------------------+
DTEST1  |DT1FC              |DT1DV                  |  |  |     |
entry   +-------------------------------------------------------+

        Bits         Pointer         Contents

        0-15         DT1FC        Current function code
       16-31         DT1DV        Current device code
        32           DT1TM        -11 wants time of day
        33           DT1ID        Waiting for indirect setup


Storage for indirect packets:

         0        7 8        15 16 17                          35
        +--------------------------------------------------------+
DTEIND  |  INUNT   |   INCNT   |  |                              |
entry   +--------------------------------------------------------+

        Bits        Pointer         Contents

        0-7         INUNT           Unit
        8-15        INCNT           Count
        16          INVLD           If set, says unit field is invalid


PKTADR is storage for currently  activated  DTE  packets  for  each  DTE
(packet  taken  from the linked list of packets on the queue in COMQ and
placed here).  The packet has the following form:

         0                    15 16                   31 32   35
        +-------------------------------------------------------+
        | HDCNT                 | HDFNC                 |       |
        |         Count         |       Function        |       |
        |-------------------------------------------------------|
        | HDDEV                 | HDSPR                 |       |
        |      Device code      |         Spare         |       |
        |-------------------------------------------------------|
        |          7|8          | HDDT1                 |       |
        | HDLIN     | HDDAT     |  Datum for a single   |       |
        |  Line #   |  Datum *  |     datum packet      |       |
        +-------------------------------------------------------+

   * Datum could be a character (direct packet case) or
     Max # of characters to be sent (indirect packet case)
MONITOR TABLES                                                   Page 56
DTE-STORAGE-AREA


COMBAS  "Owned" Area Block Format

        +-------------------------------------------------------+
        |                         Flags                         | *
        |-------------------------------------------------------|
        | CMLNK                                                 |
        |               Pointer to next processor               |
        |-------------------------------------------------------|
        |                                                       |
        \                                                       \
        |                                                       |
        |-------------------------------------------------------|
KPALIV  | CMKAC                                                 |
   =5   |              Processor Keep Alive Count               |
        |-------------------------------------------------------|
CMPCW=6 |                        PC word                        |
        |-------------------------------------------------------|
CMPIWD  |                     CONI PI, word                     |
   =7   |-------------------------------------------------------|
CMPGWD  |                    CONI PAG, word                     |
   =10  |-------------------------------------------------------|
CMPDWD  |                    DATAI PAG, word                    |
   =11  |-------------------------------------------------------|
CMAPRW  |                    CONI APR, word                     |
   =12  |-------------------------------------------------------|
CMDAPR  |                    DATAI APR, word                    |
   =13  |-------------------------------------------------------|
        |                                                       |
        \                                                       \
        |                                                       |
        +-------------------------------------------------------+


         0 1   3 4 5 6    11 12   16 17  19 20                35
Word 0  +-------------------------------------------------------+
        | |     |   | CPVER | CMNPR |      |CMNAM               |
        +-------------------------------------------------------+

        Bits       Pointer          Contents

         0         CMTEN        Set if area belongs to KL10
        1-3        CMVER        Communication area version number
        6-11       CPVER        Protocol version number
       12-16       CMNPR        Number of processors represented
                                 in this area (including owner)
       17-19       CMSIZ        Size of area in 8-word blocks
       20-35       CMNAM        Processor name (= serial number)
MONITOR TABLES                                                   Page 57
DTE-STORAGE-AREA


"To" Area Block Format

        +-------------------------------------------------------+
        |                         Flags                         | *
        |-------------------------------------------------------|
        | CMPPT                                                 |
        | Pointer to "To" processor's owned communication area  |
        |-------------------------------------------------------|
        |                         Flags                         | *
        |-------------------------------------------------------|
        |0    3|4                    19|20                    35|
        |CMTMD | CMPCT                 | CMQCT                  |
        | Mode | Piecemeal Ctr. (Bits  |   Count of words in    |
        |  of  |0-19 used by prot. ver.|     current queue      |
        | xfer |     VNMCB only)       |                        |
        |-------------------------------------------------------|
        | CMRLF                                                 |
        |          Reload parameter for "To" processor          |
        |-------------------------------------------------------|
        | CMKAK                                                 |
        |Owning processor's copy of "To" processor's Keep Alive |
        +-------------------------------------------------------+


         0 1 2 3 4    10 11     16 17  19 20                  35
        +-------------------------------------------------------+
Word 0  | | |   |       |         |      |        CNPNM         |
        +-------------------------------------------------------+

          Bits        Pointer      Contents

           0          CMPRO      If set, it implies connected to
                                  a KL10
           1          CMDTE      If set, there is a DTE connecting
                                  this processor and owning
                                  processor
          2-3         CMDTN      If CMDTE is set, this is the number
                                  of that connecting DTE
         11-16        CMVRR      Protocol in use by the 2 processors
         17-19        CMSIZ      Size of "to" area in 8-word blocks
         20-35        CMPNM      "To" processor number
MONITOR TABLES                                                   Page 58
DTE-STORAGE-AREA


         0 1 2 3 4     12 13 14  16 17 18 19 20     27 28     35
        +-------------------------------------------------------+
Word 2  | | | | |        |  |      |  |  |  |  CMOIC  |  CM1IC  |
        +-------------------------------------------------------+

Symbol      Bits          Pointer      Contents

              0           CMPWF        Power fail indicator -11
              1           CML11        Wants reload (set by -11)
              2           CMINI        Initialization bit for MCB
                                        protocol only
              3           CMTST        Valid examine if set
                                        (should always be set)
             13           CMQP         Set if using queued protocol
             17           CMFND        -11 doing full word transfer
                                        (set by -11)
CMIP         18                        -11 doing indirect transfer
CMTOT        19                        "Toit" bit. Set to 1 by KL10
                                        in -11's section of -10's
                                        Comm area after -11 sets
                                        QMode bit or increments
                                        Q-count, and after -10
                                        processes the doorbell.  
                                       Cleared by KL10 after
                                         receiving T010DN.  Assures
                                         -11 that the KL10 has not
                                         lost a T010DN interrupt
           20-27          CMOIC        -11s wrap around count of
                                        direct Q transfer
           28-35          CM1IC        KL10's wrap around count of
                                        direct Q transfers.


         0         7 8        16 17        24 25       31 32  35
SNGPK1  +-------------------------------------------------------+
    /2  |         Flags         |  Link to next packet   |      | *
        |-------------------------------------------------------|
        |   Packed byte count   |       Function         |      |
        |-------------------------------------------------------|
        |        Device         |         Spare          |      |
        |-------------------------------------------------------|
        |  Line #   |   Datum   |   Line #   |   Datum   |      |
        |-------------------------------------------------------|
        |  Line #   |   Datum   |   Line #   |   Datum   |      |
        |-------------------------------------------------------|
        |  Line #   |   Datum   |   Line #   |   Datum   |      |
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 59
DTE-STORAGE-AREA


         0 1 2 3              16 17                    31 32  35
        +-------------------------------------------------------+
Header  | | | |                 |                        |      |
Word    +-------------------------------------------------------+


     Symbol           Bits             Contents

     SNGONQ            0             On the DTE packet queue pointed
                                      to by DTEQS
     SNGAVL            1             Packet has space available
     SNGACT            2             Packet active
                                      (i.e. DTE processing it)
                     16-31           Link to next packet
MONITOR TABLES                                                   Page 60
DTEDTV


                                 DTEDTV

DTE Protocol Device Dispatch  Table.   The  entries  with  the  dispatch
address, TTYDTV are for the CTY, DL11, DH11 and DLS devices.

Defined in:  STG

Referenced by:  DTESRV

                                Format

        +-------------------------------------------------------+
DTEDTV: |              Reserved for Unknown Device              |
        |-------------------------------------------------------|
        |                        TTYDTV                         |
        |-------------------------------------------------------|
        |                        TTYDTV                         |
        |-------------------------------------------------------|
        |                        TTYDTV                         |
        |-------------------------------------------------------|
        |                        TTYDTV                         |
        |-------------------------------------------------------|
        |                        LPTDTV                         |
        |-------------------------------------------------------|
        |                        CDRDTV                         |
        |-------------------------------------------------------|
        |                  0 (Unknown Device)                   |
        |-------------------------------------------------------|
        |                        FEDTV                          |
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 61
ENQ/DEQ - STORAGE AREA


                         ENQ/DEQ - STORAGE AREA

Enqueue/Dequeue Storage Area.   The  non-resident  local  area  for  the
ENQ/DEQ  Facilty  is  illustrated  first  followed  by  the resident bit
tables, ENFKTB and LCKDBT.  A bit is set in the ENFKTB bit table if  the
fork  should  be  woken  up or interrupted because it owns a lock.  (The
Scheduler's wake-up test routine address is ENQTST.)

Defined in:  STG

Referenced by:  ENQ, IPCF, DIRECT

                                  Format

        +-------------------------------------------------------+ / \
HSHTBL: |                                                       |* |
        |                    Hash table for                     |
        |                       ENQ locks                       | HSHLEN
        |             (name/number of locks hashed)             |
        \                                                       \  |
        |-------------------------------------------------------| \ /
ENQLOK: |            Data base lock for ENQ and DEQ             |
        |                     (-1 if free)                      |
        |-------------------------------------------------------|
ENQSPC: |                  Count of free space                  |
        |                  available for ENQ's                  |
        |-------------------------------------------------------|
ENQLTL: |                List of long term locks                |
        |-------------------------------------------------------|
ENQLST: |            Time of next garbage collection            |
        +-------------------------------------------------------+

Resident storage

        +-------------------------------------------------------+
ENFKTB: |             Wake-up table  (1 bit / fork)             |
        |                           .                           |
        \                           .                           \
        |-------------------------------------------------------|
LCKDBT: |    Bit table for DIR lock ENQ/DEQ  (1 bit / fork)     |
        |                           .                           |
        \                           .                           \
        +-------------------------------------------------------+


*  The name (or identifying number) of a lock block is hashed to provide
a  number;  This number, modulo the size of the hash table is used as an
index into HSHTBL.  If the hashing algorithm yields the same  index  for
more  than one lock block name, the lock blocks will be linked together;
the HSHTBL entry will be the linked list header.
MONITOR TABLES                                                   Page 62
ENQ-LOCK-BLOCK


                             ENQ-LOCK-BLOCK

Enqueue Lock Block.  Each resource is described in a  lock  block.   The
lock block is created at the time of the first request.

Defined in:  ENQ

Referenced by:  ENQ

                                  Format

         +-------------------------------------------------------+
         |  ENQLHC                   |  ENQNHC                   |
      0  |   Back Pointer to Last    |      Pointer to Next      |
         | Lock-Block on Hash Chain  | Lock-Block on Hash Chain  |
         |-------------------------------------------------------|
         |  ENQLLQ                   |  ENQNLQ                   |
      1  |      Back Pointer to      |    Forward Pointer to     |
         |   Last Q-Block on Queue   |  First Q-Block on Queue   |
         |-------------------------------------------------------|
         |  ENQFLG         |         |  ENQLVL                   |
      2  |      Flags      |         |       Level Number        |
         |                 |         |       of this Lock        |
         |-------------------------------------------------------|
         |  ENQTR                    |  ENQRR                    |
      3  |   Total # of Resources    |    Remaining Number of    |
         |       in this Pool        |  Resources in this Pool   |
         |-------------------------------------------------------|
         |  ENQTS                                                |
      4  |                      Time Stamp                       |
         |              Time of Last Request Locked              |
         |-------------------------------------------------------|
         |  ENQFBP                   |  ENQLT                    |
.ENQLT=5 |    Free Block Pointer     |    Long Term Lock List    |
         |      to Free Q-Block      |       for this Job        |
         |-------------------------------------------------------|
         |  ENQOFN                   |  ENQLEN                   |
      6  |    OFN, or -2, or -3,     |      Length of this       |
         |  or 400000 + Job Number   |        Lock-Block         |
         |-------------------------------------------------------|
         |  ENQNMS                   |                           |
      7  |    Number of Words in     |                           |
         |      the Mask Block       |                           |
         |-------------------------------------------------------|
         |  ENQTXT             ASCIZ String                      |
.ENTXT=10|                          or                           |
         |                  500000 + User Code                   |
         +-------------------------------------------------------+
MONITOR TABLES                                                   Page 63
ENQ-LOCK-BLOCK


          0           11 12        17 18                       35
         +-------------------------------------------------------+
 Word 0  | ENQFLG       |            | ENQLVL                    |
         |   Flags      |            |   Level # of this Lock    |
         +-------------------------------------------------------+

          Symbol     Bits    Pointer       Meaning

        EN.LTL=40      6                   Long Term Block
        EN.INV=20      7                   This Q-Block is invisible
        EN.LOK=10      8                   The Q-Block has the Lock
                                            Locked.
        EN.TXT=4       9                   This Block has a Text
                                            String Identity.
        EN.EXC=2      10                   Request is Exclusive
        EN.LB=1       11                   This is the Lock-Block
                     13-17   ENQCHN        PSI Channel (-1 means job
                                            Blocked)
                     18-35   ENQLVL        Level # of this lock.
MONITOR TABLES                                                   Page 64
EPT


                                  EPT

Executive Process Table.  This memory resident table pointed to  by  the
Executive  Base Register (EBR), contains the vectored dispatch addresses
for system events.  All device interrupts pass  control  to  a  specific
offset position in this table.

This table also includes the executive section map table,  the  time  of
day  clock  and  arithmetic  trap  instructions  which are executed when
arithmetic conditions occur in executive mode.

Defined In:  STG

Referenced by:  APRSRV, DTESRV, MEXEC, PHYH11, PHYH2

                              Format

                +-------------------------------------+
         KIEPT: |     Eight Channel Logout Areas      |
                |                                     |
                |Each: 0 Initial Channel Command      |
                |      1 Gets Channel Status Word     |
                |      2 Gets Last Updated Command    |
                |      3 Reserved for Channel's       |
                |        Vectored Interrupt Location  |
        KIEPT+37\                                     \
                |-------------------------------------|
              40|                                     |
              41|              Reserved               |
                |-------------------------------------|
              42|                                     |
                |Standard Priority Interrupt Instruc. |
              57\                                     \
                |-------------------------------------|
              60|                                     |
                |  Four Channel Block Fill Words      |
              63|                                     |
                |-------------------------------------|
              64|                                     |
                |              Reserved               |
               .|                                     |
              77\                                     \
                |-------------------------------------|
SMTEPT=KIEPT+100|    Pointer to SM10 Vector Table     |
                |          (if 2020 System)           |
                |-------------------------------------|
             101|                                     |
                |                                     |
                |              Reserved               |
             137\                                     \
                |-------------------------------------|
                |  Four 8-word DTE20 Control Blocks   |
DTEEBP=KIEPT+140|  Each: 0 To -11 Byte Pointer        |
DTETBP=KIEPT+141|        1 To -10 Byte Pointer        |
DTEINT=KIEPT+142|        2 Interrupt Location         |
             143|        3 Reserved                   |
MONITOR TABLES                                                   Page 65
EPT


DTEEPW=KIEPT+144|        4 Examine Protection Word    |
DTEERW=KIEPT+145|        5 Examine Relocation Word    |
DTEDPW=KIEPT+146|        6 Deposit Protection Word    |
DTEDRW=KIEPT+147|        7 Deposit Relocation Word    |
                |-------------------------------------|
                |                                     |
                |         DTE1 Control Block          |
                \                                     \
                |-------------------------------------|
                |                                     |
                |         DTE2 Control Block          |
                \                                     \
                |-------------------------------------|
                |                                     |
                |         DTE3 Control Block          |
             177\                                     \
                |-------------------------------------|
EPTMHI=KIEPT+200|                                     |
                |                                     |
                |        Available to Software        |
                |                                     |
             417\                                     \
                |-------------------------------------|
EPTPTI=KIEPT+420|      LUUO from Executive Mode       |
                |              (.LUTRP)*              |
                |-------------------------------------|
             421| Executive Arithmetic Overflow Trap  |
                |         Instruction (JFCL)*         |
                |-------------------------------------|
             422|    Executive Stack Overflow trap    |
                |        Instruction (.PDOVT)*        |
                |-------------------------------------|
             423|  Executive Trap 3 Trap Instruction  |
                |               (JFCL)*               |
                |-------------------------------------|
             424|                                     |
                |              Reserved               |
             437\                                     \
                |-------------------------------------|
             440|                                     |
                |        Reserved for Software        |
             443\                                     \
                |-------------------------------------|
DTEFLG=KIEPT+444|       Operation Complete Flag       |
                |-------------------------------------|
DTECFK=KIEPT+445|        Clock Interrupt Flag         |
                |-------------------------------------|
DTECKI=KIEPT+446|     Clock Interrupt Instruction     |
                |-------------------------------------|
DTET11=KIEPT+447|          "To" 11 Argument           |
                |-------------------------------------|
DTEF11=KIEPT+450|         "From" 11 Argument          |
                |-------------------------------------|
DTECMD=KIEPT+451|            Command Word             |
                |-------------------------------------|
DTESEQ=KIEPT+452|   DTE20 Operation Sequence Number   |
MONITOR TABLES                                                   Page 66
EPT


                |-------------------------------------|
DTEOPR=KIEPT+453|     Operation in Progress Flag      |
                |-------------------------------------|
DTECHR=KIEPT+454|        Last Typed Character         |
                |-------------------------------------|
DTETMD=KIEPT+455|  Monitor TTY Output Complete Flag   |
                |-------------------------------------|
DTEMTI=KIEPT+456|       Monitor TTY Input Flag        |
                |-------------------------------------|
DTESWR=KIEPT+457|       Console Switch Register       |
                |-------------------------------------|
             460|                                     |
                |        Reserved for Software        |
             477\                                     \
                |-------------------------------------|
             500|                                     |
                |              Reserved               |
             507\                                     \
                |-------------------------------------|
TIMBAS=KIEPT+510|                                     |
                |              Time Base              |
             511|                                     |
                |-------------------------------------|
             512|                                     |
                |     Performance Analysis Count      |
             513|                                     |
                |-------------------------------------|
TIMVIL=KIEPT+514| Internal Counter Interrupt Instruc. |
                |-------------------------------------|
MSECTB=KIEPT+540|           EXEC SECTION 0            |
                |                                     |
                |                                     |
                |                                     |
             577\           EXEC SECTION 37           \
                |-------------------------------------|
EPTMLO=KIEPT+600|                                     |
                |                                     |
             700|-------------------------------------|
                |     OWGBP Microcode Table Storage   |
             722|-------------------------------------|
                |                                     |
                |                                     |
             777\        Available to Software        \
                +-------------------------------------+


    *  These values are placed into the table when the EPT is
       initialized at system startup.
MONITOR TABLES                                                   Page 67
EXEC-PG-MAP-TBL


                            EXEC-PG-MAP-TBL

Executive Page Map Table.  This 512-word memory resident table holds  or
points  to  other tables that hold all of the mapping information needed
by the firmware to translate executive (monitor) virtual addresses in  a
given  section  into  physical memory addresses.  It is pointed to by an
entry in the monitor's section table  in  the  Executive  Process  Table
(EPT).

The four possible formats for an entry in this table  (i.e.,  Immediate,
shared,  indirect  or null pointers) are illustrated below.  The details
of these four possible pointer words as well as  the  mechanics  of  the
virtual  to physical translation process for a monitor page is identical
to that described for the User-Page Map Table (See User-Pg-Map-Tbl)

Defined in:  STG

Referenced by:  All Monitor Modules

                              Format

        +-------------------------------------------------------+
MMAP: * |                   Immediate Pointer                   |  / \
        |-------------------------------------------------------|   |
        |0    2|3      8|     |12                             35|   |
        | Op   |Access  |     |    STGADR                       |   |
        |Code 1|  Bits  |     |  Storage Address                |   |
        |-------------------------------------------------------|   |
        |                  or Shared Pointer                    |   |
        |-------------------------------------------------------|   |
        |0    2|3      8|          |18                        35|   |
        | Op   |Access  |          | SPTX                       |   |
        | Code |  Bits  |          |  SPT. index                |   |
        |  2   |        |          |  (Holds Pg's Stor Adr.)    |
        |-------------------------------------------------------| Virtual
        |                 or Indirect Pointer                   |  Pg #
        |-------------------------------------------------------| 0-777
        |0    2|3      8|9       17|18                       35 |
        | Op   |Access  | IPPGN    | SPTX                       |   |
        | Code |  Bits  |     PN   | SPT index                  |   |
        |  3   |        |          | (Holds Pg Tb's Stor. Adr)  |   |
        |-------------------------------------------------------|   |
        |                   or Null Pointer                     |   |
        |-------------------------------------------------------|   |
        |0    2|3      8|                                       |   |
        | Op   |Access  |           0 (Nonexistent Pg)          |   |
        |Code 0|  Bits  |                                       |   |
        |-------------------------------------------------------|   |
        \                           .                           \  \ /
        +-------------------------------------------------------+

* Currently MMAP is the monitor's page  map  table  for  section  0  and
section  1.   The  layout  of  the  monitor's  virtual address space for
section 0 is described in Appendix B of the Monitor Structures Book.
MONITOR TABLES                                                   Page 68
FDB


                                  FDB

File Description Block.  All attributes of a  file  are  stored  in  its
description  block  (FDB) maintained in the file's directory.  An FDB is
built in the directory's free space area when a file is  created.   This
table is referenced by the DIR table.

Defined in:  PROLOG, MONSYM

Referenced by:  DISC,  DIRECT,  DSKALC,  GTJEN,  JSYSA,  JSYSF,  FILINI,
                LINEPR, IO, SYSERR, DTESRV

                                 Format

        +-------------------------------------------------------+
.FBHDR  |0                        17|18    23|24              35|
   =0   |  FBTYP                    |  FBVER |  FBLEN           |
        |      .TYFDB (400100)      | Ver. # |      Length      |
        |-------------------------------------------------------|
.FBCTL  |0                                                    35|
   =1   | FBFLG                                                 | *
        |                         Flags                         |
        |-------------------------------------------------------|
.FBEXL  |  2|3  FBEXL                                           |
   =2   |   |              Link to FDB of Next Extension        |
        |-------------------------------------------------------|
.FBADR  |  FBADR                                                |
   =3   |          Disk Address of File's Index Block           |
        |-------------------------------------------------------|
.FBPRT  |  FBPRT                                                |
   =4   |                 Protection of the file                |
        |          500000           |     File Access Bits      |
        |-------------------------------------------------------|
.FBCRE  |  FBCRE                                                |
   =5   |          Date and Time of Last Write to File          |
        |-------------------------------------------------------|
.FBAUT  |  FBAUT                                                |
   =6   |               Pointer to Author String                |
        |-------------------------------------------------------|
.FBGEN  |  FBGEN                    |FBDRN                      | *
   =7   |     Generation Number     | Dir.# (if it's a Dir File)|
        |-------------------------------------------------------|
.FBACT  |  FBACT                                                |
   =10  |              500000,,0 + Account Number               |
        |                          or                           |
        |               Pointer to Account String               |
        |-------------------------------------------------------|
.FBBYV  |0      5|6     11|  |14  17|18                       35| *
   =11  | FBGNR  | FBBSZ  |  |FBMOD |  FBNPG                    |
        |# Gens. |Byte Sz |  | Mode |  # of Pages in File       |
        |-------------------------------------------------------|
.FBSIZ  |  FBSIZ                                                |
   =12  |                  # of Bytes in File                   |
        |-------------------------------------------------------|
MONITOR TABLES                                                   Page 69
FDB


.FBCRV  |  FBCRV                                                |
   =13  |               Date and Time of Creation               |
        |-------------------------------------------------------|
.FBWRT  |  FBWRT                                                |
   =14  |           Date and Time of Last User Write            |
        |-------------------------------------------------------|
.FBREF  |  FBREF                                                |
   =15  |         Date and Time of Last Nonwrite Access         |
        |-------------------------------------------------------|
.FBCNT  |  FBNWR                    |  FBNRF                    |
   =16  |        # of Writes        |      # of References      |
        |-------------------------------------------------------|
.FBBK0  |  FBBK0                                                |
   =17  |                    Backup Word #1                     |
        |-------------------------------------------------------|
.FBBK1  |  FBBK1                                                |
   =20  |                    Backup Word #2                     |
        |-------------------------------------------------------|
.FBBK2  |  FBBK2                                                |
   =21  |                    Backup Word #3                     |
        |-------------------------------------------------------|
.FBBBT  |  FBBBT                                                | *
   =22  |                 Tape system flag bits                 |
        |-------------------------------------------------------|
.FBNET  |  FBNET                                                |
   =23  |          Date and time of online expiration           |
        |-------------------------------------------------------|
.FBUSW  |  FBUSW                                                |
   =24  |                  User Settable Word                   |
        |-------------------------------------------------------|
.FBGNL  |  2|3  FBGNL                                           | 
   =25  |   |          Link to FDB of Next Generation           |
        |-------------------------------------------------------|
.FBNAM  |  FBNAM                                                |
   =26  |              Pointer to File Name Block               |
        |-------------------------------------------------------|
.FBEXT  |  FBEXT                                                |
   =27  |              Pointer to Extension Block               |
        |-------------------------------------------------------|
.FBLWR  |                                                       |
   =30  |             Pointer to Last Writer String             |
        |-------------------------------------------------------|
.FBTDT  |  FBTDT                                                |
   =31  |    Date and time of archive/collection tape write     |
        |-------------------------------------------------------|
.FBFET  |  FBFET                                                |
   =32  |         Date and time of off-line expiration          |
        |-------------------------------------------------------|
.FBTP1  |  ARTP1                                                |
   =33  |       Tape ID for first archive/collection run        |
        |-------------------------------------------------------|
.FBSS1  |  TSN1                     |  TFN1                     |
   =34  |  Saveset # for 1st tape   |  Tape file # in saveset   |
        |-------------------------------------------------------|
MONITOR TABLES                                                   Page 70
FDB


.FBTP2  |  ARTP2                                                |
   =35  |       Tape ID for second archive/collection run       |
        |-------------------------------------------------------|
.FBSS2  |  TSN2                     |  TFN2                     |
   =36  |  Saveset # for 2nd tape   |  Tape file # in saveset   |
        +-------------------------------------------------------+


         0 1 2 3 4 5 6 7 8 9 0 1 2 3 14 17 18                 35
        +-------------------------------------------------------+
.FBCTL  | | | | | | | | | | | | | | |     |  |                  |
        +-------------------------------------------------------+


        Symbol     Bits     DEFSTR      Content

        FB%TMP       0      FBTMP       File is temporary
        FB%PRM       1      FBPRM       File is permanent
        FB%NEX       2      FBNEX       No extension for this file 
                                         yet; file doesn't really exist.
        FB%DEL       3      FBDEL       File is deleted
        FB%NXF       4      FBNXF       File doesn't exist (first 
                                        write not complete)
        FB%LNG       5      FBLNG       Long file
        FB%SHT       6      FBSHT       Reserved for DEC
        FB%DIR       7      FBDIR       File is a directory
        FB%NOD       8      FBNOD       File is not saved by backup
                                         system
        FB%BAT       9                  File may have bad pages
        FB%SDR      10                  This directory has subdirects.
        FB%ARC      11      FBARC       File has archive status
        FB%INV      12      FBINV       File is invisible
        FB%OFF      13      FBOFF       File is off-line
        FB%FCF     14-17                File class field
                                           0 = .FBNRM   Not an
                                                         RMS file
                                           1 = .FBRMS   RMS file
        FB%NDL      18                  File is not deletetable


         0                        17 18                       35
        +-------------------------------------------------------+
.FBGEN  |          FBGEN            |            FBDRN          |
        +-------------------------------------------------------+


        Symbol     Bits     DEFSTR      Content

        FB%GEN     0-17     FBGEN       Generation number
        FB%DRN     18-35    FBDRN       Directory number
MONITOR TABLES                                                   Page 71
FDB


         0    5 6    11 2 3 14    17 18                       35
        +-------------------------------------------------------+
.FBBYV  |      |       |   |        |                           |
        +-------------------------------------------------------+


        Symbol     Bits     DEFSTR      Content

        FB%RET     0-5      FBGNR       Generation retention count
        FB%BSZ     6-11     FBBSZ       Byte size
        FB%MOD     14-17    FBMOD       Last OPENF mode
        FB%PGC     18-38    FBNPG       Page count


         0 1 2 3 4 5 6 7 8    15  17 18                      35
        +------------------------------------------------------+
.FBBBT  | | | | | | | | | |  |      |                          |
        +------------------------------------------------------+


        Symbol     Bits     DEFSTR      Content

        AR%RAR      1       K0RAR       Request for file to be archived
        AR%RIV      2       K0RIV       System request for migration
        AR%NDL      3       K0NDL       Do not delete disk contents 
                                         after archiving
        AR%NAR      4       K0NAR       Resist migration
        AR%EXM      5       K0EXM       File is exempt from migration
        AR%1ST      6       K01ST       First pass is in progress
        AR%RFL      7       K0RFL       Restore failed
        AR%WRN      8                   User warned of file expiration
        AR%RSM    15-17     K0RSN       Reason file pushed off-line:
                                         1 = .AREXP  File expired
                                         2 = .ARARR  Archive requested
                                         3 = .ARRIR  Migration requested
        AR%PSZ    18-35     ARPSZ       # of pages in file when removed 
                                         from disk


FBBK0 is used by DUMPER as follows:

         0 1                     17 18                        35
        +-------------------------------------------------------+
.FBBK0  | |                        |                            |
        +-------------------------------------------------------+


        Bits         Contents

         0           Indicator for interrupted incremental save
        1-17         Count of incremental saves since last time
                      write count changed
        18-35        Write count at last incremental save
MONITOR TABLES                                                   Page 72
FDB


                                  NOTE

               For additional information on the FDB  see
               the Monitor Call's Reference Manual.
MONITOR TABLES                                                   Page 73
FE-STORAGE-AREA


                            FE-STORAGE-AREA

Front End Storage Area.  Each  entry  is  FEN  words  long  (except  the
lock--FELOCK), where FEN equals the number of front end devices.

Defined in:  STG

Referenced by:  FESRV

                                  Format

        +-------------------------------------------------------+  / \
FEUDB0: |         | FEFEM           |  FEFRK                    | * |
        \  Flags  |     FE Alloc    |    Fork # Owning Device   \  FEN
        +-------------------------------------------------------+  \ /
FEUDB1: |  FEICT          |                  |  FEFEI           |  / \
        |  Current Input  |      unused      | Bytes Now in FE  |  FEN
        \   Byte Count    |                  |                  \  \ /
        |-------------------------------------------------------|  / \
FEUDB5: |                                                       | * |
        \                   Byte information                    \  FEN
        |-------------------------------------------------------|  \ /
FEUDB6: |                                                       |  / \
        \                 Output output pointer                 \  FEN
        |-------------------------------------------------------|  \ /
FEUDB7: |0              11|12              23|24              35|  / \
        | FEIE1           | FEOEB            | FEIEB            |  FEN
        |Bytes remain. for|Bytes remain. for |Bytes remain. for |   |
        \   input level   |output int. level | input int. level \  \ /
        |-------------------------------------------------------|  / \
FEUDB3: |  FEIBF                    |  FEOBF                    |  FEN
        \   Input Buffer Address    |   Output Buffer Address   \  \ /
        |-------------------------------------------------------|  / \
FEUDB4: |                                                       |  FEN
        \                  Input Input Pointer                  \  \ /
        |-------------------------------------------------------|
FELOCK: |             Front end storage area lock               |
        +-------------------------------------------------------+


         0 1 2 3 4 5 6            17 18                       35
        +-------------------------------------------------------+
FEUDB0  | |   | | | |     FEFEM     |           FEFRK           |
entry   +-------------------------------------------------------+


        Bit(s)     Pointer     Content

          0        FEACT       Output active bit
         1-2       FEDTE       DTE owning this device
          3        FEBLK       Unit is blocked
          4        FEEOF       Input EOF declared by FE
          5        FEVDT       FE assignment is valid
         6-17      FEFEM       FE Allocation
        18-35      FEFRK       Fork # owning device
MONITOR TABLES                                                   Page 74
FE-STORAGE-AREA


         0 1            11 12              23 24              35
        +-------------------------------------------------------+
FEUDB5  | |     FEPRO     |      FEIBC       |      FEOE1       |
entry   +-------------------------------------------------------+

        Bit(s)     Pointer     Content

          0        FEHNG       Hung bit
         1-11      FEPRO       Count of input since last ack
        12-23      FEIBC       Count of bytes in interrupt buffer
        24-35      FEOE1       Bytes remaining for output level
MONITOR TABLES                                                   Page 75
FKBSPW


                                 FKBSPW

This resident table contains pointers that comprise a linked list of the
current balance set members.  The initial pointer to this list is BSLST.
The list is used by AJBALS  to  determine  the  status  of  the  current
members  of  the balance set.  Note that an entry may contain a non-zero
value without being  a  balance  set  member.   Only  entries  found  by
following  the  BSLST  link  are considered.  If a fork is placed on the
balance set without hold time, it will not appear on this list.

Defined in:  STG

Referenced by:  SCHED

Index:  Fork number

                                 Format

        +-------------------------------------------------------+
FKBSPW: |          Not used         | Balance set list pointer  | / \
        +-------------------------------------------------------+  |
        |                           .                           |  |
        |                           .                           | NFKS
        \                           .                           \  |
        |                           .                           |  |
        |                           .                           | \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 76
FKCNO


                                 FKCNO

Fork Core Number Table.  The left half of this table is used to hold the
SPT  index  for  the  second  page of each fork's PSB table.  (see FKPGS
table for SPT index for first page of each fork's PSB).

Defined in:  STG, PROLOG

Referenced by:  PAGEM, SCHED

Index:  Fork number

                                Format

        +-------------------------------------------------------+
FKCNO:  |  FSSPTN/HWPTN             |     currently not used    |  / \
        | SPTn for 2nd pg of PSB    |                           |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 77
FKINT


                                 FKINT

Fork  Interrupt  Table.   This  table  contains   the   pseudo-interrupt
communication  register  for  each  fork.   The  left half of each entry
contains bits recording the type of  request.   The  symbols  for  these
requests  have  right  half  bit  assignments (i.e.  bits 20-35) but are
tested against the left half of the table.

Defined in:  STG

Referenced by:  FORK, MEXEC, NETWRK, PAGEM, SCHED, TTYSRV

Index:  Fork number

                                Format

         0                         18 19         26 27        35
        +-------------------------------------------------------+
FKINT:  |           Bits             |   Unused    |   TRMCOD   |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+


Symbol       Bit   Pointer        Content

FKPSI0         0                  Interrupt Request(s) pending
FKPSI1         1                  Fork not interruptable
NEWFKF         2                  Initiate new fork
NEWJBF         3                  Initiate new job
PSIIF          4                  Channel interrupt requested in FKINTB
PSIT1F         5                  Terminal code Interrupt, Phase 1
PSIT2F         6                  Terminal code Interrupt, Phase 2
SUSFKR         7                  Suspend fork request
PSIWTF         8                  Job was in wait state
PSILOB         9                  Logout job request
FRZB1         10                  Direct freeze has been done
FRZB2         11                  Indirect freeze has been done
PSICOB        12                  Carrier off action request
PSITLE        13                  Time Limit Exceeded interrupt
PSIJTR        14                  JSYS trap request
JTFRZB        15                  JSYS trap freeze
ADRBKF        16                  Address Break Request
ABFRZB        17                  Address Break Freeze
PSIPRI        18                  Priority Word Set
UNUSED       19-26                Unused
             27-35  TRMCOD        Field for terminal
MONITOR TABLES                                                   Page 78
FKINTB


                                 FKINTB

Fork Interrupt Buffer Table.  This table contains  the  buffer  for  the
pseudo-interrupt channel requests pending for each fork since the fork's
last PSI interrupt.

Defined in:  STG

Referenced by:  FORK, SCHED

Index:  Fork number

                                Format

        +-------------------------------------------------------+
FKINTB: |           Interrupt Channel Request(s)  Pending       |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 79
FKJOB


                                 FKJOB

Fork Job Table.  This table holds each fork's job number and JSB address
(SPT index).

Defined in:  STG

Referenced by:  APRSRV, CDRSRV, DIAG, DTESRV, ENQ, FILMSC,  FORK,  IPCF,
                LINEPR, MEXEC, NSPSRV, PAGEM, PHYSIO, SCHED

Index:  Fork number

                                Format

        +-------------------------------------------------------+
        |  FKJOBN                   |  FKJSB                    |  / \
FKJOB:  |        Job Number         |      JSB (SPT Index)      |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 80
FKJTQ


                                 FKJTQ

Fork JSYS Trap Queue.  This doubly linked list is a JSYS Traps Queue  of
forks  waiting  to  program software interrupt (PSI) the monitor.  JTLST
points to the top fork on the linked JSYS traps queue in FKJTQ.

When a fork tries JTLOCK (in the JSB) and some other fork has the  lock,
the  fork  is added to FKJTQ and blocked.  When the lock is cleared, the
queue is scanned for the first fork (if any) waiting on the lock.   That
fork is removed from the queue and allowed to run.

Defined in:  STG
 
Referenced by:  SCHED

                                 Format

        +-------------------------------------------------------+
FKJTQ:  |  Ptr. to Previous Entry   |    Ptr. to Next Entry     |  / \
        |-------------------------------------------------------|   |
        |                                                       |   |
        |                                                       |   |
        |                                                       |
        |                                                       | NFKS
        |                                                       |
        |                                                       |   |
        \                                                       \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 81
FKNBW


                                 FKNBW

This resident table saves the time of start of a balance set wait  of  a
fork.

Defined in:  STG

Referenced by:  SCHED

Index:  Fork number

                                 Format

        +-------------------------------------------------------+
FKNBW:  |             Time of start of BALSET wait              | / \
        +-------------------------------------------------------+  |
        |                           .                           |  |
        |                           .                           | NFKS
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \ \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 82
FKNR


                                  FKNR

Fork Number of Reserve Pages Table.  This table contains  in  the  right
half  the  current  reserve  working  set  size for each fork.  Also, it
contains the age stamp value at the last time local  garbage  collection
(removal of less frequently used pages) took place for the fork.

Defined in:  STG

Referenced by:  PAGEM, SCHED

Index:  Fork number

                                Format

         0           8 9          17 18                       35
        +-------------------------------------------------------+
        |  FKXAGE     |  FKAGE *    |  FKWSS                    |  / \
FKNR:   |Age -Last XGC| Current Age | Reserve Working Set Size  |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+


* FKAGE was used prior to Release 4.  It is currently set to 100 (octal)
and not changed.
MONITOR TABLES                                                   Page 83
FKPGS


                                 FKPGS

Fork Page and Process Storage Table.  This table contains the page table
and PSB locations (SPT indexes) for each fork.

Defined in:  STG

Referenced by:  DIAG, FORK, JSYSA, PAGEM, SCHED

Index:  Fork number

                                Format

        +-------------------------------------------------------+
        |  FKUPT                    |  FKPSB                    |  / \
FKPGS:  |  Page Table (SPT Index)   |      PSB (SPT Index) *    |   |
        |                           |   for 1st page of PSB     |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+


* See FKCNO table description for SPT index for second page of PSB.
MONITOR TABLES                                                   Page 84
FKPGST


                                 FKPGST

Fork BALSET Wait Satisfied Test Table.  This table  holds  test  routine
information  for  forks  in  a balance set wait state.  The test routine
checks if wait satisfied has occurred.

For forks on a wait list (and therefore not in the  balance  set),  this
table contains the time of day the fork entered the list.

Defined in:  STG

Referenced by:  SCHED

Index:  Fork number

                                Format

        +-------------------------------------------------------+  / \
        |                           |     Test Routine for      |   |
FKPGST: |         Test Data         |   BALSET Wait Satisfied   |   |
        |-------------------------------------------------------|   |
        |                          or                           |   |
        |-------------------------------------------------------|   |
        |            Time of Day Entered a Wait List            |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 85
FKPT


                                  FKPT

Fork List Pointer Table.  This table gives the chain of forks  for  each
list of forks in the system.  That is, it holds the linked list of forks
on TTILST, CLKLST,  GOLST,  etc.   A  fork  is  either  on  one  of  the
wait-lists  or the go-list.  The right half contains the list pointer to
the next fork on the same list.  The left half contains the  runtime  at
which  the  process  associated with the particular fork will run out of
balance set hold time.

Defined in:  STG

Referenced by:  APRSRV, FORK, MEXEC, PAGEM, SCHED

Index:  Fork number

                                Format

        +-------------------------------------------------------+
        | FKBET                     |                           |  / \
FKPT:   |   Time balance set hold   |       List Pointer        |   |
        |          elapses          |                           |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+

Unused slots in this table are linked in a free  list.   Location  FREFK
contains a pointer to the first slot in the free list.
MONITOR TABLES                                                   Page 86
FKQ1


                                  FKQ1

Fork Run Queue Table 1.  This table contains each fork's  remaining  run
quantum.   When  this quantum expires, the process will be requeued to a
lower run position and given the the quantum associated  with  that  run
queue.

Defined in:  STG

Referenced by:  SCHED

Index:  Fork number

                                Format

        +-------------------------------------------------------+
FKQ1:   |  FKQTM                                                |  / \
        |             Fork's Remaining Run Quantum              |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 87
FKQ2


                                  FKQ2

Fork Run Queue Table 2.  This table contains the queue level number  and
fork location [i.e., list address (TTILST, GOLST, etc.) for each fork.

Defined in:  STG

Referenced by:  FORK, NSPSRV, SCHED

Index:  Fork number

                                Format

         0 1 2   5 6    11 12     17 18                       35
        +-------------------------------------------------------+  / \
  FKQ2: | | |     |       |         |                           |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+


               Bits      Pointer    Content

                0        FKNTC      Network topology change 
                                     interrupt enabled
                1        PIBMP      PI boost flag
               2-5       FKFLG      Fork flags
               6-11      FKMXQ      Max Q for fork
              12-17      FKQN       Queue level number
              18-35      FKWTL      Wait list address for blocked fork
MONITOR TABLES                                                   Page 88
FKSTAT


                                 FKSTAT

Fork Status Table.  This table has useful information when a fork blocks
and leaves the GOLST (i.e., LH (FKPT) contains the list address, WTLST).

The blocked fork's entry in this table will contain the address  of  the
test  routine  which,  when  called,  determines  if  wait satisfied has
occurred for the fork.

Defined in:  STG

Referenced by:  DIRECT, FORK, SCHED

Index:  Fork number

                                Format

        +-------------------------------------------------------+
FKSTAT: |         Test Data         |   Test Routine Address    |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 89
FKSWP


                                 FKSWP

This resident table contains fork information that is used primarily  by
the working set manager in its decisions.

Defined in:  STG, PROLOG

Referenced by:  FORK, PAGEM, SCHED

Index:  Fork number

                                 Format

        +-------------------------------------------------------+
FKSWP:  |   flags   |    FKGOLN     |           FKHST           | / \
        +-------------------------------------------------------+  |
        |                           .                           |  |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \ \ /
        +-------------------------------------------------------+


         0 1 2 3 4 5 6 7 8        17 18                       35
        +-------------------------------------------------------+
        | | | | | | | | |  FKGOLN   |           FKHST           |
        +-------------------------------------------------------+

                  Bits      Pointer     Content

                   0        FKWSL       Working set loaded
                   1        FKBLK       Fork blocked off if on GOLST
                   2        FKIBS       Fork in balance set
                   3        BSWTB       Fork in balance set wait
                   4        BSNSK       NOSKED--on if fork is NOSKED
                                        and not running
                   5        BSCRSK      CRSKED--on if fork is CRSKED
                                        and not running
                   6        FKIBH       In balance set hold--on if fork
                                        entered balance set since last
                                        update to history
                   7        FKBSHF      In balance set hold in AJBALS
                                        algorithm
                  8-17      FKGOLN      GOLIST position
                 18-35      FKHST       Fork history
MONITOR TABLES                                                   Page 90
FKTIME


                                 FKTIME

Fork Time Table.  This table gives the time of  day  (TODCLK)  at  which
each fork was put on its current run queue.

Defined in:  STG

Referenced by:  SCHED

Index:  Fork number

                                Format

        +-------------------------------------------------------+
FKTIME: |            Time When Fork Put on Run Queue            |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 91
FKWSP


                                 FKWSP

Fork Working Set (In-Memory Size) Table.  This  table  contains  in  the
right half the number of physical pages currently assigned to each fork.
The left half is used to hold the preload size as  determined  by  LDJOB
when a fork enters the balance set.

Defined In:  STG

Referenced by:  PAGEM, SCHED

Index:  Fork number

                                Format

        +-------------------------------------------------------+
        | FKNWCE                    |  FKCSIZ                   |  / \
FKWSP:  |  # of pages to be loaded  |       Current Size        |   |
        | (either # of pages of the |                           |   |
        | working set currently not |                           |   |
        | loaded  or  # of overhead |                           |   |
        |  pages if not preloading  |                           |   |
        |        (NFKSPP=4)         |                           |   |
        |-------------------------------------------------------|   |
        |                           .                           |
        |                           .                           | NFKS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 92
GTOKPR


                                 GTOKPR

This table is used by the access control code.  It  contains  one  entry
for each legal GETOK/GIVOK function.

Defined in:  STG

Referenced by:  ENQ, FORK,  JSYSA,  JSYSF,  MEXEC,  MSTR,  SCHED,  TAPE,
                TTYSRV

                                 Format

        +-------------------------------------------------------+
GTOKPR: |                DGOUSR -- User requests                | / \
        |-------------------------------------------------------|  |
        |                DGOASD -- Assign device                |  |
        |-------------------------------------------------------|  |
        |         DGOCAP -- Enable/disable capabilities         |  |
        |-------------------------------------------------------|  |
        |                 DGOCJB -- Create job                  |  |
        |-------------------------------------------------------|  |
        |                    DGOLOG -- Login                    |  |
        |-------------------------------------------------------|  |
        |                 DGOCFK -- Create fork                 |  |
        |-------------------------------------------------------|  |
        |           DGOTBR -- Set terminal baud rate            |  |
        |-------------------------------------------------------|  |
        |                   DGOLGO -- Logout                    |  |
        |-------------------------------------------------------|
        |              DGOENQ -- ENQ quota setting              | MXGOKF
        |-------------------------------------------------------|
        |           DGOCRD -- Create/modify directory           |  |
        |-------------------------------------------------------|  |
        |               DGOSMT -- Structure mount               |  |
        |-------------------------------------------------------|  |
        |                 DGOMDD -- Enter MDDT                  |  |
        |-------------------------------------------------------|  |
        |              DGOCLS -- Set class for job              |  |
        |-------------------------------------------------------|  |
        |             DGOCL0 -- Set class at login              |  |
        |-------------------------------------------------------|  |
        |                  DGOMTA -- MT access                  |  |
        |-------------------------------------------------------|  |
        |                 DGOACC -- ACESS JSYS                  |  |
        |-------------------------------------------------------|  |
        |           DGOOAD -- Assign device via OPENF           |  |
        |-------------------------------------------------------|  |
        |                DGODNA -- DECnet access                |  |
        |-------------------------------------------------------|  |
        |               DGOANA -- ARPAnet access                |  |
        |-------------------------------------------------------|  |
        |                 DGOATJ -- Attach job                  | \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 93
HOM


                                  HOM

Home Block.  Block on each disk unit  which  contains  vital  statistics
that  cannot  be  built  in  when  a  monitor  is  generated.  These are
primarily parameters of the unit and the STR to which it belongs.

Defined in:  DSKALC

Referenced in:  DSKALC, PHYSIO, JSYSA

                                   Format

          +-------------------------------------------------------+
HOMNAM=0  |                      SIXBIT/HOM/                      |
          |-------------------------------------------------------|
HOMID=1   |                    SIXBIT/Unit ID/                    |
          |-------------------------------------------------------|
          |   Physical Disk Address   |   Physical Disk Address   |
HOMPHY=2  |    of This Home Block     |    of Other Home Block    |
          |-------------------------------------------------------|
HOMSNM=3  |                SIXBIT/Structure Name/                 |
          |-------------------------------------------------------|
HOMLUN=4  |     # of Packs in STR     | Logical Pack # Within STR |
          |-------------------------------------------------------|
          |        Block # of         |        Block # of         |
HOMHOM=5  |      This Home Block      |     Other Home Block      |
          |-------------------------------------------------------|
HOMP4S=6  |       # of Pages for Swapping on This Structure       |
          |-------------------------------------------------------|
HOMFST=7  |             First Swapping Track on Unit              |
          |-------------------------------------------------------|
HOMRXB=10 |       Address of Index Block of ROOT-DIRECTORY        |
          |-------------------------------------------------------|
          |               Address of Index Block of               |
HOMBXB=11 |             BACKUP-COPY-OF-ROOT-DIRECTORY             |
          |-------------------------------------------------------|
HOMFLG=12 |                         Flags                         |
          |-------------------------------------------------------|
HOMSIZ=13 |            Number of Sectors in This Unit             |
          |-------------------------------------------------------|
HOMBTB=14 |             Number of Tracks in Structure             |
          |-------------------------------------------------------|
HOMMID=15 |                   Pack Unique Code                    |
          |-------------------------------------------------------|
          |                                                       |
          \                    Reserved for Expansion             \
          |                                                       |
          |                                                       |
          |-------------------------------------------------------|
HOMFE0=61 |           Front End File System (sector #)            |
          |-------------------------------------------------------|
HOMFE1=62 |         Front End File System (# of sectors)          |
          |-------------------------------------------------------|
MONITOR TABLES                                                   Page 94
HOM


          |                                                       |
          |                                                       |
          \                Reserved for the Front End             \
          |                                                       |
          |                                                       |
          |-------------------------------------------------------|
HOMFE2=101|        BOOTSTRAP.BIN Word One (Sector #)              |
          |-------------------------------------------------------|
HOMFE3=102|        BOOTSTRAP.BIN Word Two (# of Sectors)          |
          |-------------------------------------------------------|
          |                                                       |
          \                Reserved for Expansion                 \
          |                                                       |
          |                                                       |
          |-------------------------------------------------------|
HOMSER=164|    APR Serial # of CPU booked from this structure     |
          |-------------------------------------------------------|
HOMUID=165\    12 Character Unit I.D. (PDP-11 Format) (3 words)   \
          |-------------------------------------------------------|
HOMOID=170\    12 Character Owner I.D. (PDP-11 Format) (3 words)  \
          |-------------------------------------------------------|
HOMFSN=173\ 12 Character File System Name (PDP-11 Format)(3 words)\
          |-------------------------------------------------------|
HOMCOD=176|             0             |      CODHOM  (707070)     |
          |-------------------------------------------------------|
HOMSLF=177|             0             |       This Block #        |
          +-------------------------------------------------------+
MONITOR TABLES                                                   Page 95
HOME


                                  HOME

Home Table.  This table contains the disk pages for  the  HOME  and  BAT
blocks and the 11 Bootstrap program.

Defined in:  STG

Referenced by:  DSKALC

                                Format

        +-------------------------------------------------------+ / \
HOME:   |                    0 (11 Bootstrap)                   |  |
        |-------------------------------------------------------|  |
        |                    1 (Home Block )                    |  |
        |-------------------------------------------------------|  |
        |                    2 ( BAT Block )                    |  |
        |-------------------------------------------------------|  |
        |                    3  Reserved                        |  |
        |-------------------------------------------------------|  |
        |                    4      .                           |  |
        |-------------------------------------------------------|  |
        |                    5      .                           | 
        |-------------------------------------------------------| NHOME
        |                    6      .                           |
        |-------------------------------------------------------|  |
        |                    7      .                           |  |
        |-------------------------------------------------------|  |
        |                   10      .                           |  |
        |-------------------------------------------------------|  |
        |                   11      .                           |  |
        |-------------------------------------------------------|  |
        |                   12 (Secondary Home Block)           |  |
        |-------------------------------------------------------|  |
        |                   13 (Secondary Bat Block)            |  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                   Page 96
HOMTAB


                                 HOMTAB

This table contains the logical to physical mapping (channel  and  unit)
per logical unit, and its length equals the maximum number of packs in a
structure.

Defined in:  STG

Referenced by:  DSKALC

                                 Format

        +--------------------------------------------------------+
HOMTAB: |    Physical Channel       |        Physical Unit       |  / \
        |--------------------------------------------------------|   |
        |                           .                            |   |
        |                           .                            |   |
        |                           .                            |   |
        |                           .                            |
        |                           .                            |  HOMTBL
        |                           .                            |
        |                           .                            |   |
        |                           .                            |   |
        |                           .                            |   |
        |                           .                            |   |
        \                           .                            \   |
        +--------------------------------------------------------+  \ /
MONITOR TABLES                                                   Page 97
IDXFIL


                                 IDXFIL

The Index Table File of the structure currently mapped  for  a  process.
Each  structure  has  an  index  table  file.  The file is indexed by 2*
directory number as each entry is two words long.  For each directory on
the  structure,  an  entry  will  contain the address of the FDB for the
directory and the disk address of the index block for the directory.

The table, IDXFIL, in the PSB, is mapped from the  index  block  of  the
file,  STRNAM:<ROOT-DIRECTORY>INDEX-TABLE.BIN.   The  file pointed to by
the IDXFIL map has the format shown below.

When a structure is mounted (physically) the system gets an OFN for this
file  and  stores  it  in  entry,  STRIDX,  in  the  SDB  table for that
structure.  The table entries are created at this time (mount-time).

Defined in:  PROLOG

Referenced in:  FILINI, DIRECT

                                  Format

        +-------------------------------------------------------+
        |                                                       | / \
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \
        |-------------------------------------------------------| Dir. #
        |IDXSD                      |IDXFDB                     |    *2
        |    Superior directory     |    Address of FDB for     |
        |                           |      this directory       |  |
        |-------------------------------------------------------|  |
        | IDXFG | IDXIB                                         |  |
        | flags |   Disk address of index block of directory    |  |
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \ \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                   Page 98
IDXFIL


         0    4 5 6                                           35
Word 2  +-------------------------------------------------------+
of pair |      | |                    IDXIB                     |
        +-------------------------------------------------------+


          Symbol       Bits    Pointer      Meaning

          IDX%IV        5                 If set, indicates that this
                                           IDX entry is invalid. 
                                           (IDX%IV is set equal to 1,
                                           but is positioned at bit 5)

                      6-35    IDXIB      Disk address of index block
                                           of directory.
MONITOR TABLES                                                   Page 99
INDEX


                                 INDEX

The Index Block (1 page) exists for each disk file and contains pointers
to  where  each  of  the file's pages resides on disk.  If more than one
index block is needed for non-directory files, a super  index  block  (1
page)  is  created  which  points to the home disk address of each index
block.  (Note that the maximum file size is 512*512 pages.)

When the file is referenced, an in-core  copy  of  the  index  block  is
maintained  which  keeps track of the file's active pages in the system.
(i.e.  Whether the pages are in-core, on the swapping area, or on disk.)

Defined in:

Referenced by:  PAGEM, PHYSIO

                                  Format

        +-------------------------------------------------------+
        |0         8|                                           |
        | C         |              Storage address              |
        |  H        |                                           |
        |-------------------------------------------------------|
        |0   E     8|                                           |
        |     C     |              Storage address              |
        |      K    |                                           |
        |-------------------------------------------------------|
        |0         8|                                           |
        |      S    |              Storage address              |
        |       U   |                                           |
        |-------------------------------------------------------|
        |0       M 8|                                           |
        |           |              Storage address              |
        |           |                                           |
        |-------------------------------------------------------|
        |           |                                           |
        |           |              Storage address              |
        |           |                                           |
        |-------------------------------------------------------|
        |                           .                           |
        |                           .                           |
        |                           .                           |
        \                           .                           \
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 100
INIDEV


                                 INIDEV

Initialization Device Routines.  This table contains calls to initialize
devices after loading the swappable monitor.

Defined in:  STG

Referenced by:  FILINI

                                Format

        +-------------------------------------------------------+
INIDEV: |                     CALL MTAINI                       |
        |-------------------------------------------------------|
        |               CALL LPTINI (2020 only)                 |
        |-------------------------------------------------------|
        |                CALL CDPINI (KL only)                  |
        |-------------------------------------------------------|
        |                          RET                          |
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 101
INIDV1


                                 INIDV1

Front End Initialization Device Routines.

Defined in:  STG

Referenced by:  DTESRV

                                  Format

        +-------------------------------------------------------+
INIDV1: |                   CALL FEINI (KL only)                |
        |-------------------------------------------------------|
        |                      CALL CDRINI                      |
        |-------------------------------------------------------|
        |                  CALL LPTINI (KL only)                |
        |-------------------------------------------------------|
        |                          RET                          |
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 102
INIDVT


                                 INIDVT

Device Initialization Table.  This static table  generated  at  assembly
time, contains a 4 word block for each type of device on the system.  It
is used at system startup time to generate unit # of entries per  device
type  in  the  device tables, DEVCHR, DEVCH1, DEVNAM, and DEVUNT.  Thus,
each unit of each device type has an entry in the device tables.

Defined in:  STG, MONSYM

Referenced by:  DEVICE  


                                Format


        +-------------------------------------------------------+ / \
INIDVT: |                     SIXBIT/Name/                      |  |
        |-------------------------------------------------------|  |
        | Device Type Index #       |     Dispatch Adr.         |  
        |-------------------------------------------------------|  4
        |      Char1|   <TYPE>B17   |          Modes            |  
        |-------------------------------------------------------|  |
        |            CHAR2 + CHAR3 + Number of Units            |  |
        |-------------------------------------------------------| \ /
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        \                           .                           \
        +-------------------------------------------------------+


        CHAR1 can be a combination of the following:

                Symbol          Bit     Meaning

                DV%OUT           0     Can do output
                DV%IN            1     Can do input
                DV%DIR           2     Has a directory
                DV%AS            3     Is assignable
                DV%MDD           4     Is a multiple directory device
                DV%AV *          5     Is available to this job
                DV%ASN *         6     Is assigned by ASND
                DV%MDV           7     Is a mountable device
                DV%MNT *         8     Is mounted
MONITOR TABLES                                                  Page 103
INIDVT


        TYPE is one of the following:

                Symbol         Value    Meaning

                .DVDSK           0      Disk
                .DVMTA           2      Magtape
                .DVPTP           5      Spooled PTP
                .DVLPT           7      Spooled & physical line printer
                .DVCDR          10      Spooled & physical card reader
                .DVFE           11      Front End Device
                .DVTTY          12      Terminal
                .DVPTY          13      Pseudo TTY
                .DVNUL          15      Null Device
                .DVPLT          17      Spooled Plotter
                .DVCDP          21      Spooled Card Punch


        MODES can be a combination of the following:

                Symbol          Bit     Meaning

                DV%M0           35      Can be opened in mode 0
                DV%M1           34              "             1
                DV%M2           33              "             2
                DV%M3           32              "             3
                DV%M4           31              "             4
                DV%M5           30              "             5
                DV%M6           29              "             6
                DV%M7           28              "             7
                DV%M10          27              "            10
                DV%M11          26              "            11
                DV%M12          25              "            12
                DV%M13          24              "            13
                DV%M14          23              "            14
                DV%M15          22              "            15
                DV%M16          21              "            16
                DV%M17          20              "            17
MONITOR TABLES                                                  Page 104
INIDVT


        CHAR2 can be a combination of the following:

                Symbol          Bit     Meaning

                D1%SPL           0     Is spooled
                D1%ALC *         1     Is under control of allocator
                D1%VVL *         2     Volume valid
                D1%NIU *         3     Device slot not in use
                D1%INI *         4     Device is being initialized
                                         (currently for structures only)


                *  These bits are zero at assembly time and are set
                   by the monitor when appropriate in their corres-
                   ponding device tables.  (i.e. DEVCHR or DEVCH1)


        CHAR3  is  either  zero  or  DV%PSD  (bit  18)  which  indicates
pseudo-device.
MONITOR TABLES                                                  Page 105
IORB


                                  IORB

I/O Request Block.  Whenever a request for massbus  I/O  (i.e.   DSK  or
MTA)  occurs, an IORB is built for that request.  It is of the long form
described below for magtape requests and special disk I/O.  However, the
most  common  IORB format for disk I/O is a one word IORB, consisting of
just the status word, IRBSTS, and stored in the CST5 table.

Defined:  PHYPAR

Referenced by:  PHYSIO, STG

                                 Format

        +-------------------------------------------------------+
        |                           |IRLNK                      |*
IRBSTS=0|          Status           |         Next IORB         |0=IRBLNK
        |-------------------------------------------------------|
IRBMOD=1|            Mode, Priority, Density, Parity            |
        |-------------------------------------------------------|
IRBCNT=2|           Count of Hardware Bytes Transfered          |
        |-------------------------------------------------------|
        |  IRBTL                    |IRBHD                      |
IRBXFL=3|    Transfer List Tail     |    Transfer List Head     |
        |-------------------------------------------------------|
IRBIVA=4|            Address of Termination Routine             |
        |-------------------------------------------------------|
IRBADR=5|          Physical Device Address (if needed)          |
        |-------------------------------------------------------|
IRBLEN=6|                Device Dependent Data                  |
        |                                                       \
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 106
IORB


         0 1 2 3 4 5 6 7 8 9 0 1 2 3 4   17 18                35
        +-------------------------------------------------------+
IRBSTS  | | | | | | | | | | | | | | |      |                    |
        +-------------------------------------------------------+


        Symbol   Bits  Pointer  Content
                
        IS.SHT     0            Short form (PAGEM) request
        IS.DON     1            Done with this job
        IS.ERR     2    ISERR   Error on this operation
        IS.NRT     3            No more retries
        IS.WGU     4            Wrong unit interrupted
        IS.TPM     5    ISTPM   Hit tape mark
        IS.EOT     6            On write only, hit physical EOT
        IS.WLK     7            Write locked
        IS.IER     8            Inhibit error recovery
        IS.DTE     9            Data error
        IS.DVE    10            Hardware error on device
        IS.BOT    11            Hit BOT
        IS.RTL    12            Record too long (buffer too small)
        IS.IEL    13            Inhibit error logging
                 14-17  ISFCN   Function code
                 18-35  IRLNK   When referring to link


                Function Codes for ISFCN

        Symbol    Code          Function

        IRFRED      1           Read data
        IRFRDF      2           Read data and format (count, key,
                                 header)
        IRFWRT      3           Write Data
        IRFWTF      4           Write format
        IRFSEK      5           Seek
        IRFFSB      6           Forward space block
        IRFBSB      7           Backspace block
        IRFWTM     10           Write tape mark
        IRFERG     11           Erase gap
        IRFREW     12           Rewind
        IRFRUN     13           Rewind and unload
        IRFRDR     14           Read reverse
        IRFRCR     15           Recovery read
        IRFWVC     16           Write with validity check
        IRFRVC     17           Read with validity check
MONITOR TABLES                                                  Page 107
IORB


         0               14 15  17 18       26 27   30 1 32   35
        +-------------------------------------------------------+
IRBMOD  |                  |      |           |       | |       |
        +-------------------------------------------------------+


                Bits        Pointer     Content

                15-17       IRBDM       Data Mode
                27-30       IRBPRI      Priority
                31          IRBPAR      Parity
                32-35       IRBDN       Density


                        Data Modes for IRBDM

                Symbol       Code       Meaning

                IRMWRD        1         Word mode
                IRM6BT        2         Six bit
                IRM7BT        3         Seven bit
                IRM8BT        4         Eight bit
                IRMHID        5         High density mode








   If device is DSK, IRBLEN becomes:

        +-------------------------------------------------------+
IRBLEN  |                     Transfer List                     |
        |-------------------------------------------------------|
        |                           0                           |
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 108
IORB





   If device is MTA, IRBLEN=MTIRSD becomes:

         0           8 9          17 18                       35
        +-------------------------------------------------------+
        | IRFLG      *| IRBUN       |IRBPB                      |
MTIRSD  |    Flags    |  Unit No.   |Ptr to Buffer of Page Ptrs |
        |-------------------------------------------------------|
        |                           | IRBOC                     |
        |                           |      Original Count       |
        |                           | (Copy of IRBCNT)          |
        |-------------------------------------------------------|
MTIRBL  |                     Transfer List                     |
        |_______________________________________________________|
        |                           .                           |
        \                           .                           \
        |                           .                           |
        |                           .                           |
        +-------------------------------------------------------+




Value of flags in IRFLG:


        Bits         Pointer      Content

          0          IRBFR        Buffer ready for use
          1          IRBFQ        Current buffer flag
          2          IRBFA        Active flag, IORB being filled
                                   or emptied by service routine
          3          IRBAB        IORB aborted due to an error
          4          IRBFF        IORB free
MONITOR TABLES                                                  Page 109
IPCF-MESSAGE-HEADER


                          IPCF-MESSAGE-HEADER

IPCF Message header.  This table describes the  format  of  the  message
header for message sent by the Inter-Process Communications Facility.

Defined in:  IPCF

Referenced by:  IPCF

                                   Format

          0                        17 18                       35
         +-------------------------------------------------------+
         |  MESLNK                   |  MESLEN                   |
       0 |   Link to Next Message    |   Length of This Block    |
         |-------------------------------------------------------|
       1 |  MESSJN                   |  MESFLG                   |
         |    Sender's Job Number    |           Flags           |
         |-------------------------------------------------------|
       2 |  MESSPD                                               |
         |                   Sender's      PID                   |
         |-------------------------------------------------------|
       3 |  MESLDN                                               |
         |            Logged in Directory # of Sender            |
         |-------------------------------------------------------|
       4 |  MESENB                                               |
         |            Enabled Capabilities of Sender             |
         |-------------------------------------------------------|
       5 |  MESCDN                                               |
         |            Connected Directory # of Sender            |
         |-------------------------------------------------------|
MESACT=6 |  MESACT                                               |
         |              Account String Block                     |
         \                                                       \
         |-------------------------------------------------------|
MESWDI=20|  MESWDO                                               |
         \                        Message                        \
         |                 (PTN.PN in Page Mode)                 |
         |-------------------------------------------------------|
MESWDI+1 |  MSFTM                                                |
         |             Mask into Fork Page Bit Table             |
         |                   (PAGE Mode only)                    |
         |-------------------------------------------------------|
MESWDI+2 |  MESPAC                  |  MSFTI                     |
         |        Access Bits       |        Index into          |
         |          of Page         |      Fork Bit Table        |
         +-------------------------------------------------------+
MONITOR TABLES                                                  Page 110
IPCF-PID-HEADER


                            IPCF-PID-HEADER

IPCF Process ID Header.  This contains overhead information for each PID
in use.

Defined in:  IPCF

Referenced by:  IPCF

         0          8 9 11 12     17 18                       35
        +-------------------------------------------------------+
        | PIDUN                     |                           |
        |          Unique           |   Length of this block    |
        |        (LH of PID)        |                           |
        |-------------------------------------------------------|
        | PIDFLG*         | PIDCHN  | PIDFW                     |
        |    Flags        |    Chn  |      Fork Number of       |
        |                 |         |       Waiting Fork        |
        |-------------------------------------------------------|
        | PIDRQ      | PIDRC        | PIDFO                     |
        |  Receive   |   Receive    |      Fork Number of       |
        |  Quota     |   Count      |     Owner of this PID     |
        |-------------------------------------------------------|
        | PIDNL                     | PIDOL                     |
        |          Link to          |          Link to          |
        |      Newest Message       |      Oldest Message       |
        +-------------------------------------------------------+


         0                           18                       35
        +-------------------------------------------------------+
        |      ||||   |   PIDCHN    |           PIDFW           |
        |      ||||   |     CHN     |      Fork Number of       |
        |      ||||   |             |       Waiting Fork        |
        +-------------------------------------------------------+


       Symbol    Value          Contents

       PD%JWP      1            PID is a Job-wide PID
       PD%DIS      2            PID is disabled
       PD%CHN      4            channel is set up to get interrupts
       PD%NOA     10            access by other forks
MONITOR TABLES                                                  Page 111
IPCF-STORAGE-AREA


                           IPCF-STORAGE-AREA

Inter-Process Communication Facility Storage  Area.   This  non-resident
storage  is  described  followed  by  the  resident  wake-up  bit  table
(PDFKTB).   THe  PID  headers  and  messages  are   contained   in   the
Swap-free-space   pool   which   immediately   follows   this  table  in
non-resident storage.  See also the tables, PIDCNT and PIDTBL.

Defined in:  STG

Referenced by:  GTJFN, IPCF, LOGNAM, MEXEC

                                Format

        +-------------------------------------------------------+ / \
SPIDTB: |                                                       |  |
        |              Table of Commonly Used PIDS              | SPDTBL=8
        \                                                       \  |
        |-------------------------------------------------------| \ /
PIDLOK: |       Lock on PID Free Pool and Data Structure        |
        |-------------------------------------------------------|
NXTPID: |         Next Unique # to be used as LH of PID         |
        |-------------------------------------------------------|
INFOPD: |                  PID of SYSTEM INFO                   |
        |-------------------------------------------------------|
INFOPV: |            Public Value of SYSTEM INFO PID            |
        |-------------------------------------------------------|
PIDLST: |          Number of First Free PID, 0 if none          |
        |-------------------------------------------------------|
PIDMXP: |         Highest Page in Pages-In-Transit File         |
        |-------------------------------------------------------| / \
PIDPBT: |                                                       |  |
        |          Bit Table of Pages-In-Transit File           | PIDPBL
        \                                                       \  |
        |-------------------------------------------------------| \ /
PIDFTB: |                                                       | / \
        |       TBL of PTN's of forks for pages in transit      |  |
        |                                                       | PIDFTL
        \                                                       \  |
        +-------------------------------------------------------+ \ /


        +-------------------------------------------------------+
PDFKTB  | | | | | . .                                           |
        |-------------------------------------------------------|
        \               Bit Wakeup Table (1/Fork)               \
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 112
JOB AREA


                                JOB AREA

This area contains the job specific information.  It is the entire JSVAR
psect.   The  JOBMAP  in  the JSB points to all of the job area storage.
For this area, the monitor has  indirect  pointers  in  its  page  table
(MMAP) for its pages beginning at JSBPGA:  (which is on a page boundary)
for the length of the job area.  All of these pointers are to  a  single
location in the SPT (specifically SPT+NOFN).  With this arrangement, the
job area for the current process can be changed  to  the  job  area  for
another process by only changing the one location in the SPT.

JBCOR contains a bit table which keeps track of which pages in  the  Job
Storage  Area  are  in use (bit(s) = 0) and which are free (bit(s) = 1).
The first several pages of this Job Common Area will always be allocated
for  the  JSB  page  plus expansion pages for the JFN blocks and for the
JSYS trap header word and trap blocks  (See  FKJTQ  table).   The  first
non-reserved  page  begins at FREJPA (=626000).  Pages are assigned from
the bit table, JBCOR, by the routine, ASGPAG, and are used for temporary
job  pages  such  as  file window pages, magtape buffer pages, mapping a
super index block, getting more space for the free block storage  linked
in JSBFRE, and mapping EXE file directory pages.

Defined in:  STG

                                Format

        +-------------------------------------------------------+
JSBPGA: |                                                       | / \
        |                       JSB area                        | 1
        |                       (see JSB)                       | page
        \                                                       \ \ /
        |-------------------------------------------------------| / \
JFNPGA: |                                                       | 3
        |          Pages continuing JFNs from the JSB           | pages
        \                                                       \ \ /
JSJFNA: |-------------------------------------------------------|
JTBPG:  |                                                       | / \
        |                   JSYS trap blocks                    | 2
        |               First work used by NEWJTB               | pages
        \                                                       \ \ /
        |-------------------------------------------------------|
FREJPA: |                                                       | / \
        |                   Job free storage                    | NJSBPG
        |                                                       | (^D50)
        |                                                       | pages
        \                                                       \ \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 113
JOBDIR


                                 JOBDIR

Job Directory Table.  This  table  contains  the  number  of  the  login
directory for each job.

Defined In:  STG

Referenced by:  APRSRV, CDRSRV, DIRECT, DISC,  DTESRV,  FILINI,  FUTILI,
                IPCF,  JSYSA, JSYSF, LINEPR, MAGTAP, MEXEC, MSTR, SCHED,
                TAPE, TTYSRV

                                Format

        +-------------------------------------------------------+  / \
JOBDIR: |        Reserved           |     Login Directory #     |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NJOBS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \   |
        +-------------------------------------------------------+  \ /
MONITOR TABLES                                                  Page 114
JOBNAM


                                 JOBNAM

Job Name Table.  This table contains an index into  the  subsystem  name
tables  (SNAMES,  STIMES,  etc.) indicating what subsystem, if any, each
job is running.  The name index is for statistics only and is  not  used
by the monitor.

Defined In:  STG

Referenced by:  DIAG, FORK, MEXEC, PAGEM, SCHED

Index:  Job number

                                Format

         0 1 2
        +-------------------------------------------------------+  / \
JOBNAM: | | | |                     |        Name Index         |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NJOBS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \   |
        +-------------------------------------------------------+  \ /


        Symbol     Bit      Pointer          Content

        JWAKEF      0       HIBFL         Flag used by HIBER JSYS.  
                                           If set, implies a wakeup
                                           signal to THIBR
                    1       DIAFL         Job has DIAG resources
                   1-2      SKPCT         Skip count for NEWUTL
                  18-35                   Name index
MONITOR TABLES                                                  Page 115
JOBPNM


                                 JOBPNM

Job Program Name.  This non-resident table contains each  job's  program
name.

Defined In:  STG

Referenced by:  CDRSRV, DTESRV, IPCF, JSYSA, LINEPR,  MAGTAP,
                MEXEC

Index:  Job number

                                Format

        +-------------------------------------------------------+  / \
JOBPNM: |                    Job Program Name                   |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NJOBS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \   |
        +-------------------------------------------------------+  \ /
MONITOR TABLES                                                  Page 116
JOBPT


                                 JOBPT

Job Process Table.  This table contains the number  of  the  controlling
terminal, or -1 for a detached job, and the index of the top fork of the
job.

Defined in:  STG

Referenced by:  DEVICE, DIAG, FILMSC,  FORK,  IO,  IPCF,  JSYSA,  MEXEC,
                MSTR, SCHED, TTYSRV

                                Format

        +-------------------------------------------------------+  / \
JOBPT:  |   Controlling Terminal    |      Top Fork Index       |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NJOBS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \   |
        +-------------------------------------------------------+  \ /

Unused slots in this table are linked in a free list.   Location  FREJOB
contains a pointer to the first slot in the free list.
MONITOR TABLES                                                  Page 117
JOBRT


                                 JOBRT

Job Runtime Table.  This table contains the total runtime  of  each  job
(sum  of  all  forks) in milliseconds.  If a word contains a -1, the job
does not exist.

Defined in:  STG

Referenced by:  ENQ, FORK, FUTILI, IPCF, JSYSA, MEXEC, MSTR, SCHED

Index:  Job number

                                Format

        +-------------------------------------------------------+  / \
JOBRT:  |                        Runtime                        |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NJOBS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \   |
        +-------------------------------------------------------+  \ /
MONITOR TABLES                                                  Page 118
JOBRTL


                                 JOBRTL

Job Runtime Limit.  This table contains the number of clocks (via  TIMER
JSYS) in use by each job and a pointer to the runtime limit TIMER block.
A  description  of  the  TIMER   block   is   described   below.    (See
RES-FREE-SPACE).

Defined in:  STG, PROLOG

Referenced by:  MEXEC, SCHED, TIMER

Index:  Job number

                                Format

         0            12 13        
        +-------------------------------------------------------+ 
        | TIMCNT        | JOBRTP                                |  / \
JOBRTL: | # of Clks. in |         Ptr to  Runtime Limit Block   |   |
        |  Use          |                                       |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NJOBS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \   |
        +-------------------------------------------------------+  \ /


TIMER Run Timer Limit Block

        +-------------------------------------------------------+
        | TIMLNK                                                |
        |                  Link to next block                   |
        |-------------------------------------------------------|
        | TIMTIM                                                |
        |         Time word (when clock should go off)          |
        |-------------------------------------------------------|
        |0      5|6               17|18                       35|
        |TIMCHN  | TIMJOB           | TIMFRK                    |
        | Channel|Job that set clock|Sys fork handle to be PSI'd|
        |-------------------------------------------------------|
        | TIMKNL                                                |
        |              Back link to previous clock              |
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 119
JSB


                                  JSB

Job Storage Block.  Each job has a Job Storage Block which holds per-job
information such as the job's fork structure, line number of controlling
TTY,  terminal  interrupts  enabled  and  accounting  and  logical  name
information.

JSBFRE is the free block header.  If a block of words (i.e., <512 words)
is required, it is allocated from the JSFREE area in the JSB.  Blocks in
the JSFREE area are linked and when a block of words  is  required,  the
free  list is search looking for a large enough block.  If the free list
area in JSFREE is depleted, a new page (space outside the JSB in the Job
Storage  Area)  is  allocated  and  its space added to the free list for
block usage.  Blocks of words are assigned from the free list, headed by
JSBFRE  by  the  routine, ASGFRE, and are used to hold temporary storage
such as name strings for JFN blocks, the job-wide  Logical  Names  List,
and the Logical Name Definition Blocks.

JBCOR contains a bit table which keeps track of which pages in  the  job
area are in use.  For further information see JOB AREA.

Defined in:  STG

Referenced by:  PAGEM, SCHED, FORK, POSTLD, PROLOG, DSKALC, DISC, JSYSA,
                JSYSF,  FILINI,  FREE,  GTJFN, IO, IPCF, LOGNAM, MAGTAP,
                MEXEC, MSTR, NETWRK, NSPSRV, TAPE


                                Format

        +-------------------------------------------------------+
JSBPGA: |                                                       |
JOBMAP: |            Object Map for Job-Common Area             |
        \                                                       \
        |-------------------------------------------------------|*/ \
SYSFK:  |       Job Fork Index to System Fork Index Table       |  |
        |                   (1 Entry /Job Fork)                 | NUFKS
        \                                                       \  |
        |-------------------------------------------------------| \ /
CTTAB:  |         Not Used         |     Controlling TTY        | / \
        |                          |        #, or -1            |  |
        |                                                       | NUFKS
        |-------------------------------------------------------| \ /
FKJTB:  |               Adr of JSYS Trap Block                  | / \
        |                   (1 Entry /Job Fork)                 |  |
        |                           .                           | NUFKS
        \                           .                           \  |
        |-------------------------------------------------------| \ /
FKPTRS: |            Fork Pointers (Structure) Table            | / \
        |                   (1 Entry /Job Fork)                 | NUFKS
        \                                                       \  |
        |-------------------------------------------------------| \ /
FKPSIE: |         Terminal Interrupt Enabled Word Table         | / \
        |                   (1 Entry /Job Fork)                 | NUFKS
        \                                                       \  |
        |-------------------------------------------------------| \ /
MONITOR TABLES                                                  Page 120
JSB


FKDPSI: |        Deferred Terminal Interrupts Mask Table        | / \
        |                   (1 Entry /Job Fork)                 | NUFKS
        \                                                       \  |
        |-------------------------------------------------------| \ /
FREJFK: |                Free Job Fork Slot List                |
        |-------------------------------------------------------|
FKLOCK: |         Lock for Fork Structure Modification          |
        |-------------------------------------------------------|
FLKCNT: |               Nest Count for Fork Lock                |
        |-------------------------------------------------------|
FLKOWN: |             Fork That Locked Fork Lock                |
        |-------------------------------------------------------|
FKTIMW: |             TIMER word for lock timeout               |
        |-------------------------------------------------------|
FKCNT:  |          Count of Active Forks in This Job            |
        |-------------------------------------------------------|
LSTLGN: |               Last LOGIN Date and Time                |
        |-------------------------------------------------------|
SRTTIM: |            Data & Time Job Was Initialized            |
        |-------------------------------------------------------|
ARDFRT: |              Job Default for Retrievals               |
        |-------------------------------------------------------|
CTRLTT: |            Line Number of Controlling TTY             |
        |-------------------------------------------------------|
TTSPSI: |           Code Enabled Anywhere in This Job           |
        |-------------------------------------------------------|
TTSDPS: |           Terminal Interrupt Code Deferred            |
        |-------------------------------------------------------|
TTJTIW: |            Terminal Interrupt Enable Mask             |
        |-------------------------------------------------------|
CONSTO: |             Console Time On (TODCLK units)            |
        |-------------------------------------------------------|
CTIMON: |                 Connect Time On (GTAD units)          | 
        |-------------------------------------------------------|
CONCON: |              Console Connect Time (for usage)         |
        |-------------------------------------------------------|
JBRUNT: |                 Job Run Time (for usage)              |
        |-------------------------------------------------------|
JBNODE: |                     Node Name (SIXBIT)                |
        |-------------------------------------------------------|
JBBNAM: |                 Batch Job Name (SIXBIT)               |
        |-------------------------------------------------------|
JBBSEQ: |                  Batch Sequence Number                |
        |-------------------------------------------------------|
ACCTSL: |                   Length of ACCTSR                    |
        |-------------------------------------------------------| / \
ACCTSR: \                    Account String                     \ MAXLW
        |-------------------------------------------------------| \ /
ACCTSX: |                 Expiration Data of ACCTSR             |
        |-------------------------------------------------------| / \
MONITOR TABLES                                                  Page 121
JSB


CSHACT: \           Most recently Validated Account             \ MAXLW
        |-------------------------------------------------------| \ /
CSHUSR: |      User for Whom Cached Account was Validated       |
        |-------------------------------------------------------|
CSHACX: |              CSHACT Expiration Date                   |
        |-------------------------------------------------------|
CSHCLS: |              Class of Cached Account                  | / \
        |-------------------------------------------------------| WPN
LLSR:   |                  Logical Location                     | \ /
        |-------------------------------------------------------| / \
JSSRM:  \                    Session Remark                     \ MAXLW+1
        |-------------------------------------------------------| \ /
        |                                                       | / \
USRNAM: \                   User Name String                    \ MAXLW+1
        |-------------------------------------------------------| \ /
JFNLCK: |          Lock to Prevent Tampering with JFNs          |
        |-------------------------------------------------------|
MAXJFN: |                                                       |
        |-------------------------------------------------------|
ENQLST: |    ENQ Quotas & Counts   |   Pointer to ENQ Q Blocks  |
        |                          |        for this Job        |
        |-------------------------------------------------------|
TIMALC: |               TIMER Clocks Limit                      |
        |-------------------------------------------------------|
LNTABP: |  Pointer to Logical Name Table (Tbl is in JSB Space)  |
        |-------------------------------------------------------|
LNMLCK: |            Lock for Logical Name Data Base            |
        |-------------------------------------------------------|
NPRIVP: |            Number of private pages in job             |
        |-------------------------------------------------------|
JOBUNT: |                  Connected Disk Unit                  |
        |-------------------------------------------------------|
JBCLCK: |                    Lock for ASGPAG                    |
        |-------------------------------------------------------| / \
JBCOR:  |    Page Allocation Bit Table for Job Storage Area     |  4
        \                                                       \ \ /
        |-------------------------------------------------------|   --
JSBFRE: |  Ptr. to 1st Free Block  |              0             |    |
        |-------------------------------------------------------|    |
        |                         Lock                          |    |
        |-------------------------------------------------------|
        |                     Space Counter                     |Job area
        |-------------------------------------------------------|  free
        |                Most Common Block Size                 | storage
        |-------------------------------------------------------| header
        |  Max Top of Free Stor.    |  Min. Bottom of Free Stor.|
        |-------------------------------------------------------|    |
        |                         Temp                          |    |
        |-------------------------------------------------------|    |
        |                         Temp                          |    |
        |-------------------------------------------------------|   --
JSFREE: |        Free Storage Area in Job Block (^D64 words)    | / \
        |                                                       |  |
        |              [Free Blocks have Hdr. Wd of:            |  |
        |               Ptr. to Next Blk,, Length]              | IJSFRE
        \                                                       \  |
MONITOR TABLES                                                  Page 122
JSB


        |-------------------------------------------------------| \ /
JSSTRT: |                           |  JSSTN                    |*/ \
JSSTRF=0|           Flags           |   Structure Unique Code   |  |
        |-------------------------------------------------------|  |
        |  JSGRP                                                |  |
JSGRPS=1|            AOBJN Pointer to List of Groups            |  |
        |-------------------------------------------------------|  |
        |                           |  JSADN                    | JSSTMX
JSADIR=2|        **Unused**         |Accessed DIR # for This STR| *STRN
        |-------------------------------------------------------|  |
JSFKMT=3|  JSFMT                                                |  |
        |                 Fork-mount bit word                   |  |
        |-------------------------------------------------------|  |
        |                                                       |  |
        |                (4 Words per Structure)                |  |
        \                                                       \  |
        |-------------------------------------------------------| \ /
JSSTLK: |               Lock on the JSSTRT Block                |
        |-------------------------------------------------------|
        |  JSUC                     |  JSDIR                    |
JSBSDN: | Connected STR Unique Code |  Connected Directory #    |
        |-------------------------------------------------------|
        |0           |              |18                       35|
JSBCDS: | JSCDF      |              |JSCDS                      |
        |String Ptr. |              |Ptr. to Connected          |   
        |Valid if set|              |Dir. Name String           |
        |-------------------------------------------------------|
MODES:  |                DDBMOD Word from LOGIN                 |
        |-------------------------------------------------------|
GROUPS: |          Groups to Which LOGIN User Belongs           |
        |-------------------------------------------------------|
RSCNPT: |                    RESCAN Pointer                     |
        |-------------------------------------------------------|
RSCNBP: |     Ptr. to RESCAN Buffer (max. buf. size is 777)     |
        |-------------------------------------------------------|
JBINFO: |          PID of Private <SYSTEM>INFO for JOB          |
        |-------------------------------------------------------|
JSCDR:  |  Next Version # (or -1)   | Adr. of Spool Set String  |
        |                           |       for CDR             |
        |-------------------------------------------------------|
JSMTA1: |  MTA Parity, Density, Mode, and Default Record Size   |*
        |-------------------------------------------------------|
JBFLAG: |       Spooler Flags       |                           |*
        |  (Sent on CLOSE/LOGOUT    |   General Job-wide Flags  |
        |-------------------------------------------------------|
JSLOPD: |          PID to get LOGOUT message from CRJOB         |
        |-------------------------------------------------------|
JSLOJB: |      Job # of Who Logged Out this Job                 |
        |-------------------------------------------------------|
JSFSTK: |      Stack of Things to be Done on Fork Cleanup       |
        |-------------------------------------------------------|
JSFLCK: |            Lock for This JSFSTK Structure             |
        |-------------------------------------------------------|
CRJFLG: |Flag that this is CRJOB Startup.(Used by MEXEC & LOGIN)|
MONITOR TABLES                                                  Page 123
JSB


        |-------------------------------------------------------|
        | DCMAX                    | DCCUR                      |
DCNCNT: |  Job's Network Link Quota| Current Count of Open Links|
        |-------------------------------------------------------|
JSSRTM: |      Runtime at Start of this Accounting Session      |
        |-------------------------------------------------------|
JSSCTM: |         Console Time at Start of this Session         |
        |-------------------------------------------------------|
JSATCT: |                 ATS HTN Quota,,Count                  |
        |-------------------------------------------------------|
JOBSKD: |            Special Job Scheduling Parameter           |
        |-------------------------------------------------------|
BATSTF: |           Batch Stream Number and Flags Word          |
        +-------------------------------------------------------+

JFN0:   +-------------------------------------------------------+  --
FILBYT: |            Byte Pointer to Current Window             |   |
        |-------------------------------------------------------|   |
FILBYN: |                Byte # of Current Byte                 |   |
        |-------------------------------------------------------|   |
FILACT: |            Ptr to Account String or Account #         |   |
        |-------------------------------------------------------|   |
FILLEN: |              Total File Length in Bytes               |   |
        |-------------------------------------------------------|   |
FILCNT: |           Bytes Remaining in Current Buffer           |   |
        |-------------------------------------------------------|   |
FILLCK: |                    File Lock Word                     |   |
        |-------------------------------------------------------|   |
FILWND: |      Current Page #       |Location of Current Window |   |
        |-------------------------------------------------------|   |
FILSTS: |     File Status Bits      |       Status       | Mode |*  |
        |-------------------------------------------------------|   |
        |  STR                      |                           |   |
FILDEV: |     Structure Number      |DEV`DTB (i.e.Dev Disp. Tbl)|   |
        |-------------------------------------------------------|   |
FILOFN: |   OFN for This File       | OFN of Long File PT Table |
        |-------------------------------------------------------| JFN
FILLFW: |   Count of Pages Mapped   | Loc. of Page Table Table  | BLOCK
        |-------------------------------------------------------|
FILDDN: |Ptr. to Device String Block|        Directory #        |   |
        |-------------------------------------------------------|   |
        |FILDIR                     | FILATL                    |   |
FILDNM: |   Directory Name String   | Ptr to Attribute List     |   |
        |-------------------------------------------------------|   |
FILNEN: |File Name String Blk. Ptr. |   Ext. String Blk. Ptr.   |   |
        |-------------------------------------------------------|   |
FILVER: | Fork # of JFN Originator  |         Version #         |   |
        |-------------------------------------------------------|   |
        |  FILDMS                   |  FILNMS                   |   |
FILMS1: |    Directory Wild Mask    |      Name Wild Mask       |   |
        |-------------------------------------------------------|   |
        |  FILEMS                   |                           |   |
FILMS2: |    Extension Wild Mask    |                           |   |
        |-------------------------------------------------------|   |
MONITOR TABLES                                                  Page 124
JSB


FILFDB: |            Address of FDB in the Directory            |   |
        |-------------------------------------------------------|   |
        |  FILUC                    |  FILPO                    |   |
FILCOD: |      STR Unique Code      |   PTO OFN for Long File   |   |
        |-------------------------------------------------------|  --
        |                 Additional JFN Blocks                 |
        \                           .                           \
        +-------------------------------------------------------+

Each JFN uses a block of 19 (MLJFN) words.  (Since JFNs can grow  beyond
the  end  of  the  JSB into successive pages, the JFN blocks must be the
last storage defined in the JSB.) MJFN is the maximum number of JFNs.

These definitions are used in the above positions only during the
GTJFN procedure:

(1)  FILTMP / Ptr. to temp string block for default ,, Ptr. to 
               temp string block
(2)  FILPRT / Ptr. to protection string or protection #
(3)  FILSKT / Arpanet connection no.,, Unused
             FILOPT / Byte Ptr. to Store String in GTJFN
        (4)  FILLIB / For DECNET, Ptr to LL Block 
        (5)  FILLNM / Ptr. to RDTEXT buffer ,, Ptr. to logical name
                       chain **
        (6)  FILBFO / For DECNET, Output Buffer Ptr.
        (7)  FILIDX / 0 ,, Index into device tables for original
                       devices GTJFNed
                      {(i.e., doesn't change during spooling)}
             FILBFI / For DECNET, Ptr. to Input Buffer
        (8)  FILBCT / For DECNET, Ptr. to Counts


Logical Name Header Format

        +-------------------------------------------------------+
        |   LNMCNT                  ||   LNMSTP                 |
        |        Depth Count        ||      Step Counter        |
        |-------------------------------------------------------|
        |   LNMLNK                  |    LNMPNT                 |
        |        Link to Next BLK   |  Logical Name String Ptr  |
        +-------------------------------------------------------+

                Bits         Pointer        Content

                 0-17        LNMCNT         Depth count for logical
                                             names
                  18         LMMIDX         Index into logical name
                                             tables
                19-35        LNMSTP         Step counter at time of
                                             chaining

                 0-17        LNMLNK         Link to next chain block
                18-35        LNMPNT         Pointer to logical name
                                             string
MONITOR TABLES                                                  Page 125
JSB


        +-------------------------------------------------------+
FILSTS  |           flags        |          mode                |
        +-------------------------------------------------------+

       Symbol         Bits     Pointer      Contents

       OPNF            0                    File is open
       READF           1                    File is OK to read
       WRTF            2                    File is OK to write
       XCTF            3                    File is OK to execute
       RNDF            4                    File is OK to reset ptr.
                                             (i.e., not append)
       NONXF           5                    Non-existent File, delete
                                             FDB on RLJFN
       NWTF            6                    No wait on DUMP I/O
       LONGF           7                    File is a long file
       EOFF            8                    End of file if read
                                             attempted
       ERRF            9                    Bytes read may be wrong
       NAMEF          10                    Name is associated with
                                             this JFN
       ASTF           11                    An * was typed in
       ASGF/BLKF      12                    JFN is being assigned or
                                             service routine wants to
                                             block; shares a bit
                                             position with ASGF
       HLTF           13                    Halt if I/O error
       WNDF           14                    Window page has been set up
       ENDF/TRNSL     15                    File is past end of maximum
                                             length.
                                            Bit timeshared with ENDF to 
                                             say the JFN is in a trans-
                                             itional state and may not
                                             be accessed.
       SIZE           16                    Illegal to change size of byte
       FRKF           17                    File is restricted to fork
                                             in LH(FILVER)
       PASLSN         18                    Set to skip line number 
                                             checking on ASCII files
       SKIPBY         19                    Set by BYTINA to remember
                                             that it has to discard.
       XQTAF          20                    Quota exceeded Flag
       FILDUD         21                    Suppress DDMP action if set
       FILINP         22                    Direction of I/O is input
       FILOUP         23                    Direction of I/O is output
       HLDF           24                    Hold in balance set
       RECF           25                    End of record seen
       ACRLFF         26                    Add CRLF's after records on
                                             input
       CRNXT          27                    Return CR next
       LFNXT          28                    Return LF next
       FROSTF         29                    Record has been frosted
                    18-35       IOMODE      Mode File is opened in
MONITOR TABLES                                                  Page 126
JSB



         0 1 2 3 4 5    8 9       17 18                       35
        +-------------------------------------------------------+
SYSFK:  | | | | | |      |          |                           |
        +-------------------------------------------------------+

                 Bits      Pointer     Content

                  0                    JRFN not in use
                  1        SFEXO       Fork is Execute-Only if set
                  2        SFNVG       Fork is not "virgin" if set
                  3        SFGXO       Fork can PMAP into execute-only forks
                  4        SFSRT       Fork has been started
                 9-17      FKHCNT      Count of handles on a given fork
                18-35                  System fork number


Work 0 of 4-word structure block (starts at JSSTRT)

         0 1 2 3                   17 18                      35
        +-------------------------------------------------------+
        | | | |                      |  JSSTN                   |
        +-------------------------------------------------------+

Symbol  Bit       Pointer       Content

         0        JSSDM         Structure is dismounted
         1        JSMCI         Mount count has been incremented by
                                 structure
         2        JSXCL         Structure is mounted exclusively by 
                                 the structure
JSFRST 18-35     JSSTN          Structure unique code


         0          9 10 11  14 15  17 18                     35
        +-------------------------------------------------------+
JSMTA1  |            |  | JSMTD |JSMTM |         JSMTR          |
        +-------------------------------------------------------+

        Bits     Pointer        Content

         10      JSMTP          Default Parity
        11-14    JSMTD          Default Density
        15-17    JSMTM          Default Mode for transfers
        18-35    JSMTR          Default record size (hardware bytes)
MONITOR TABLES                                                  Page 127
JSB


         0 1 2 3 4               17 18 19 20                  35
        +-------------------------------------------------------+
JBFLAG  | | | | |                  |  |  |  |                   |
        +-------------------------------------------------------+

        Symbol       Bits       Pointer      Content

        SP%BAT        0         JSBAT        Job is being controlled
                                              by BATCH
        SP%DFS        1         JSDFS        Spooling is deferred
        SP%ELO        2         JSELO        Job executed LOGOUT JSYS
        SP%FLO        3         JSFLO        Job forced to LOGOUT by 
                                              top Fork error
        SP%OLO        4         JSOLO        Job logged out by other
                                              job
                     18         JBMX         Job has been in the
                                              mini-exec
                     19         JBT20        Job is at TOPS-20 command
                                              level
MONITOR TABLES                                                  Page 128
KDB


                                  KDB

Kontroller Data Block (TM02/3, DX20 only)

Defined in:  PHYPAR

Referenced by:  PHYM2

                                Format

        +-------------------------------------------------------+
KDBSTS=0|           Flags           |         Unit Type         | *
        |-------------------------------------------------------|
KDBIUN=1|            Initial AOBJN Word to UDB Table            |
        |-------------------------------------------------------|
KDBCUN=2|            Current AOBJN Word to UDB Table            |
        |-------------------------------------------------------|
KDBDSP=3|             Dispatch for Service Routine              |
        |-------------------------------------------------------|
KDBDDP=4|                                                       | *
=KDBUDB |                  UDB Pointer Table                    |
        \                                                       \
        |-------------------------------------------------------|
        |                                                       |
        |                 Device Dependent Code                 |
        \                                                       \
        +-------------------------------------------------------+


         0 1                    17 18                         35
        +-------------------------------------------------------+
KDBSTS  | | |                     |                             |
        +-------------------------------------------------------+

              Symbol       Bit      Pointer      Content

              KS.ACT        1                    Controller Active if set
              KS.HLT        2                    Microcode is halted
                          18-35                  Unit type (see unit
                                                 types in UDBSTS in UDB)
MONITOR TABLES                                                  Page 129
KDB


Device dependent sector for TM02/3

        +-------------------------------------------------------+ / \
KDBUDB= |                                                       |  |
KDBPP   |                   UDB Pointer Table                   |  8
        \                                                       \ \ /
        |-------------------------------------------------------|
TM2ADR= |              Massbus Address of TM02/3                |
KDBPP+8 |-------------------------------------------------------|
SAVUDB= |               Current UDB (0 if none)                 |
KDBPP+9 |-------------------------------------------------------|
TM.CNI= |                 CONI of RH goes here                  |
    +10 |-------------------------------------------------------|
TM.CSI= |               DATAI RH control Register               |
    +11 |-------------------------------------------------------|
TM.DBF= |                DATAI RH Data Register                 |
    +12 |-------------------------------------------------------|
TM2REG= |               Drive Registers go here                 |
    +13 +-------------------------------------------------------+


Device dependent sector for DX20

        +------------------------------------------------------+ / \
K.DUDB= |                                                      |  |
KDBDDP  |                   UDB Pointer Table                  | NUMDRV
        \                                                      \  |
        |------------------------------------------------------| \ /
K.DNUM= |         Number of Drives in UDB Pointer Table        |
+NUMDRV |------------------------------------------------------|
K.DXAD= |                Massbus Address of DX20               |
K.DNUM+1|------------------------------------------------------|
K.SUDB= |                Current UDB (0 if none)               |
K.DXAD+1|------------------------------------------------------|
K.DCNI= |                 CONI of RH goes here                 |
K.SUDB+1|------------------------------------------------------|
K.DCS1= |               DATAI RH Control Register              |
K.DCNI+1|------------------------------------------------------|
K.DDBF= |                DATAI RH Data Register                |
K.DCS1+1|------------------------------------------------------|
K.DVER= |                  Microcode Version                   |
K.DDBF+1|------------------------------------------------------|
K.DREG= |                                                      | / \
K.DVER+1|               Drive Registers go here                |  |
        |                                                      | ^D22
        \                                                      \  |
        |------------------------------------------------------| \ /
K.DEST= |                                                      | / \
K.DREG+ |                Extended Status Table                 |  |
 ^D22   |                                                      | ^D20
        \                                                      \  |
        +------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 130
Logical Link Block


                           Logical Link Block

The logical link block is the data structure used in management  of  NSP
logical  links.   There  is  a  logical link block for each logical link
known to TOPS-20.

Defined in:  NSPPAR

Referenced by:  NSPSRV, TTYSRV

                                 Format

        +-------------------------------------------------------+
        ||       | LLUPL                                        | *
        ||       |                 Up Pointer                   |
        |-------------------------------------------------------|
        |  flags | LLDWN                                        | *
        |        |                Down Pointer                  |
        |-------------------------------------------------------|
        |  flags |                  | LLLNK                     | *
        |        |    Link Flags    |      This Link's ID       |
        |-------------------------------------------------------|
        | LLFRK                     | LLDRC  | LLPII  | LLPIC   |
        |        Owning Fork        |Data PI | Int PI | CI PI   |
        |-------------------------------------------------------|
        | LLIIN           | LLFNM     | LLHLK                   |
        |  Last LS/INT    |  Remote   |      Link ID On         |
        | Segment received| Object No.|      Foreign Host       |
        |-------------------------------------------------------|
LLMSG=5 |             Header for Raw Message Queue              |
        |-------------------------------------------------------|
LLMSI=6 |             Pointer To Interrupt Message              |
        |-------------------------------------------------------|
        |flgs| LLSWG                 | LLMSM     |              | *
        |    |  Maximum Segment Size |  Maximum  |              |
        |    |                       |  Segments |              |
        |-------------------------------------------------------|
        | flags| LLOPT                                          | *
        |      |              Optional Data Storage             |
        |-------------------------------------------------------|
        | LLDSN           | LLISN            | LLIDN            |
        | Last Data Xmit  | Last LS/INT Xmit |Last Data Receive |
        |    Segment No.  |    Segment No.   |    Segment No.   |
        |-------------------------------------------------------|
LLOMSG  |           Header for Ordered Message Queue            |
   =12  |-------------------------------------------------------|
        | LLUCT  | LLTSK                                        | *
        |        |            Pointer To Task Name              |
        |-------------------------------------------------------|
        | LLHST                                                 |
        |             Pointer To Remote Host Name               |
        |-------------------------------------------------------|
        | LLMIC  | LLFDS                                        | *
        |        |           Remote Descriptor Block            |
        |-------------------------------------------------------|
LLBPTR  |                 Working Byte Pointer                  |
MONITOR TABLES                                                  Page 131
Logical Link Block


   =16  |-------------------------------------------------------|
LLBPCT  |                  Current Byte Count                   |
   =17  |-------------------------------------------------------|
        | LLBSZ  |LLDRW|LLDMT ||LLLSC| LLRSN                    | *
        |        |     |      ||     |  Disconnect Reason Code  |
        |-------------------------------------------------------|
LLSEGQ  |                 Header For Sent Queue                 |
   =21  |-------------------------------------------------------|
        | LLHSN                     | LLRFK                     |
        |  Remote Host Number       |     Reserved Process ID   |
        |-------------------------------------------------------|
        | LLMQI       | LLMQD       || LLQUN      || LLQOU      |
        |  Maximum    |  Maximum    ||  Number Of ||   Number Of|
        |  Input      |  Output     ||  Segments  ||   Segments |
        |  To Queue   |  To Queue   ||  To Resend ||   In Queuer|
        |-------------------------------------------------------|
        | |           | LLTTY                                   |
   =24  | |           |   TTY Block Address                     |
        |-------------------------------------------------------|
LLHNM1  |             Remote Host/Name String                   |
   =25  |-------------------------------------------------------|
LLHNM2  |             Remote Host/Name String                   |
   =26  |-------------------------------------------------------|
LLINAC  |         Inactivity Time Stamp                         |
   =27  |-------------------------------------------------------|
        |  |           | LLPSR                                  |
   =30  |  |           | Previous LL in LLSRVQ chain            |
        |-------------------------------------------------------|
        | LLLAK     | LLNSR                                     |
   =31  | Last data | Next LL in LLSRVQ chain                   |
        | seg. acked|                                           |
        |-------------------------------------------------------|
LLTIMO  |                                                       |
   =32  |             Resend Time Out Value                     |
        |-------------------------------------------------------|----
LKSIZE  | LLNAM                     | LLSOB                     |    |
   =33  |    Number Of This Object  |    Object Of Remote CI    |    |
        |-------------------------------------------------------|    |
        | LLDSC                                                 |    |
        |             Pointer To Descriptor Block               |    |
        |-------------------------------------------------------|    |
        | LLUSR                                                 |    |
        |              Pointer To User Name Block               |    |
        |-------------------------------------------------------|
        | LLACT                                                 | Object
        |           Pointer To Accounting String Block          | Portion
        |-------------------------------------------------------|
        | LLPCT  | LLPSW                                        | *  |
        |        |           Pointer To Password Block          |    |
        |-------------------------------------------------------|    |
        | LLUSGP                                                |    |
        |                  User, Group From CI                  |    |
        +-------------------------------------------------------+----
MONITOR TABLES                                                  Page 132
Logical Link Block


        +-------------------------------------------------------+
Word 0  |  |     |                    LLUPL                     |
        +-------------------------------------------------------+

        Bits      Pointer     Content

         0        LLLDED      Link block already aborted (for dead MCBs)
        1-2       LLLKP       Other end's NSP Version
                              (.NSP31=V3.1, .NSP32=V3.2 .NSP40=V4.0)
        6-35      LLUPL       Up pointer


        +-------------------------------------------------------+
Word 1  ||||     |                    LLDWN                     |
        +-------------------------------------------------------+

        Bits      Pointer     Content

         0        LLCIL       Connected to an internal link at other end
         1        LLRES       Link reserved for fork in LLRFK
         2        LLLWC       Link was connected (CC received)
        3-5       LLRCT       Reserve lock count
        6-35      LLDWN       Down Pointer


        +-------------------------------------------------------+
Word 2  |||      |||||| | | | | | | |           LLLNK           |
        +-------------------------------------------------------+

        Bits      Pointer     Content

         0        LLQUE       Link is in OUTQUE
         1        LLLOC       Link is local
        2-5       LLSTA       Link State
                              LLSTRN = 0   Link in transition
                              LLSLIS = 1   Object is listening
                              LLSCIS = 2   CI sent
                              LLSCIR = 3   CI received
                              LLSRUN = 4   Link is running
                              LLSDIS = 5   DI sent
                              LLSDIQ = 6   DI is queued
                              LLSDIR = 7   DI received
                              LLSCCS = 10  CC sent
                              LLSABT = 11  Connection aborted/refused
         6        LLINT       Link is internal
         7        LLSDE       LLB disassociated from fork
         8        LLFNN       Data message thrown away
         9        LLOPI       Link is open for read
         10       LLOPW       Link is open for write
         11       LLFNA       Block waiting for ACK
         12       LLFIM       EOM in input buffer
         13       LLTRN       Need initial LS message
         14       LLFDI       DI was an abort
         15       LLFII       Input interrupt needed
         16       LLFEM       EOM
         17       LLFOB       This is an object
MONITOR TABLES                                                  Page 133
Logical Link Block


        18-35     LLLNK       This Link's ID


        +-------------------------------------------------------+
Word 7  |||  |         LLSWG         |   LLMSM   |              |
        +-------------------------------------------------------+

        Bits      Pointer     Content

         0        LLBRP       Back-pressure bit for transmit
         1        LLBRL       Back-pressure bit for receive
         2-3      LLMFC       Flow control indicator
                              0 = No flow control
                              1 = Segment flow control
                              2 = Message flow control
        4-19      LLSWG       Maximum segment size
        20-27     LLMSM       Maximum segments this link can have
        28                    Need to NAK LS/INT channel
        29                    Need to ACK LS/INT channel


        +-------------------------------------------------------+
Word 10 | |  | | | |                   LLOPT                    |
        +-------------------------------------------------------+

        Bits      Pointer     Content

         0        LLBOM       At beginning of message
         1-2      LLPRT       DTE number for this connection
         3        LLFLI       Input direction
         4        LLFLO       Output direction
         5        LLIMS       Input is a message
        6-35      LLOPT       Pointer to optional data


        +-------------------------------------------------------+
Word 13 | LLUCT  |                    LLTSK                     |
        +-------------------------------------------------------+

        Bits      Pointer     Content

        0-5       LLUCT       Number of bytes in optdata field.
        6-35      LLTSK       Pointer to task name


        +-------------------------------------------------------+
Word 15 | LLMIC  |                    LLFDS                     |
        +-------------------------------------------------------+

        Bits      Pointer     Content

        0-5       LLMIC       Count of int segments allowed to send.
        6-35      LLFDS       Pointer to remote descriptor block
MONITOR TABLES                                                  Page 134
Logical Link Block


        +-------------------------------------------------------+
Word 20 | LLBSZ  |LLDRW|LLDMT ||LLLSC|          LLRSN           |
        +-------------------------------------------------------+

        Bits      Pointer     Content

        0-5       LLBSZ       Byte size of opening.
        6-9       LLDRW       Count of raw data messages.
        10-14     LLDMT       Count of total data mess. on queues.
         15       LLLSA       Flag to control data ints from SCHED
        16-19     LLLSC       Count of LS buffers to request
        20-35     LLRSN       Disconnect reason code



        +-------------------------------------------------------+
Word 24 | |      |                   LLTTY                      |
        +-------------------------------------------------------+

        Bits                  Content

        0         LLTTA       Active TTY on this link
        13-35     LLTTY       TTY Block Address

        +-------------------------------------------------------+
Word 30 | |      |                   LLPSR                     |
        +-------------------------------------------------------+

        Bits                  Content

        0         LLISR       In LLSRVQ chain flag
                  LLPSR       Previous LL in LLSRVQ chain

        +-------------------------------------------------------+
Word    | LLPCT  |                    LLPSW                     |
4+LKSIZE+-------------------------------------------------------+

        Bits      Pointer     Content

        0-5       LLPCT       Count of bytes in password
        6-35      LLPSW       Pointer to password block
MONITOR TABLES                                                  Page 135
LOGICAL-NAME-DEFINITION


                        LOGICAL-NAME-DEFINITION

Logical Name Definition Block.  The block format given below is used for
system  and  job-wide  logical  name  definitions.  The first definition
block for a logical name is pointed to by its Logical Name List  and  is
stored  in  the  swappable free space if a system logical name or in the
JSB space if a job-wide logical name.

Defined in:  LOGNAM

Reference by:   LOGNAM

                                   Format

          +-------------------------------------------------------+
  LNBLK=0 |   PTR TO NEXT DEFINITION  |    SIZE OF THIS BLOCK     |
          |     (OR ZERO IF NONE)     |       (USUALLY 12)        |
          |-------------------------------------------------------|
  LNDEV=1 |        ASCII BYTE PTR TO DEVICE BLOCK (IF ANY)        |
          |-------------------------------------------------------|
  LNDIR=2 |      ASCII BYTE PTR TO DIRECTORY BLOCK (IF ANY)       |
          |               (-3 MEANS STAR WAS TYPED)               |
          |-------------------------------------------------------|
  LNNAM=3 |       ASCII BYTE POINTER TO NAME BLOCK (IF ANY)       |
          |-------------------------------------------------------|
  LNEXT=4 |       ASCII BYTE POINTER TO FILE TYPE (IF ANY)        |
          |         (-2 MEANS A NULL FIELD WAS SPECIFIED)         |
          |-------------------------------------------------------|
  LNVER=5 |        500000,,0 + GENERATION NUMBER (IF ANY)         |
          |-------------------------------------------------------|
  LNACT=6 |           500000,,0 + ACCOUNT NUMBER  -OR-            |
          |     ASCII BYTE POINTER TO ACCOUNT STRING (IF ANY)     |
          |-------------------------------------------------------|
  LNPRT=7 |         500000,,0 + FILE PROTECTION (IF ANY)          |
          |-------------------------------------------------------|
  LNTMP=10|      0 IF PERMANENT OR -1 IF TEMPORARY (IF ANY)       |
          |-------------------------------------------------------|
  LNATR=11| PREFIX VALUE OF CURRENT   |   PTR TO ATTRIBUTE CHAIN  |
          |          PREFIX           |                           |
          +-------------------------------------------------------+
MONITOR TABLES                                                  Page 136
LOGICAL-NAMES-LIST


                           LOGICAL-NAMES-LIST

Logical Names List.  The list described below is the format used for the
system  logical  names  list  (pointed  to  by  SYLNTB) and the job wide
logical names list (pointed to by the JSB entry, LNTABP.)

The system logical names list is built in the swappable free space  from
the   entries   in   SYNMTB   at   system   initialization  time.   (See
SWAP-FREE-SPACE and SYNMTB tables).  A job's logical names list is built
in the JSB space the first time a logical name is created.

An entry in a logical names list has  a  pointer  to  the  logical  name
string  (in  ASCIZ)  in the left half and a link to the first definition
block in the right half (See LOGICAL-NAME-DEFINITION description).

Defined in:  STG

Referenced by:  LOGNAM

                                 Format

        +-------------------------------------------------------+
        |  # OF DEFINED LOG NAMES   | SPACE ALLOCATED IN TABLE  |
        |-------------------------------------------------------|
        |   LOGICAL NAME BLK ADDR   | LINK TO FIRST DEFINITION  |
        |-------------------------------------------------------|
        |   LOGICAL NAME BLK ADDR   | LINK TO FIRST DEFINITION  |
        |-------------------------------------------------------|
        |                           .                           |
        |                           .                           |
        \                           .                           \
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 137
LPT-STORAGE-AREA


                            LPT-STORAGE-AREA

Line Printer Storage Area.  Each entry in  the  resident  area  is  LPTN
words long, where LPTN equals the number of line printers on the system.

Defined in:  STG

Referenced by:  LINEPR

                                Format

        +-------------------------------------------------------+ / \
LPTTYP: \        Type of LPT Vector for Dev. Independence       \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       |*/ \
LPTSTS: \                      Status Word                      \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       |*/ \
LPTST1: \                  Second Status Word                   \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       |*/ \
LPTST2: \                   Third Status Word                   \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       |*/ \
LPTST3: \                  Fourth Status Word                   \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       |*/ \
LPTERR: \                    Last Error Word                    \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       | / \
LPTCNT: \                    Buffer Counter                     \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       |*/ \
LPTCLS: \                  LPTCHK Clock Switch                  \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       | / \
LPTCCW: \                    BLKI/O Pointer                     \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       | / \
LPTICT: \                 Interrupt Byte Count                  \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       | / \
LPTCKT: \                  Interval for LPTTIM                  \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       | / \
LPTLCK: \                 Lock on Opening LPT                   \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       |*/ \
PGDATA: \            Page Counter to be Sent to -11             \ LPTN
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 138
LPT-STORAGE-AREA


The following LPT:  storage items are in the  nonresident  area  of  the
monitor.

        +-------------------------------------------------------+ / \
LPTBUF: |                                                       | LPTN * 2
        \     2 Buffers (each NLPBF=400 words) for each LPT:    \ * NLPBF
        |-------------------------------------------------------| \ /
        |  VFUOFN                   |  RAMOFN                   | / \
LPTOFN: |            VFU            |            RAM            |  |
        \    OFN's to Prevent Opens for Write (1 entry/DTE)     \ LPTN
        |-------------------------------------------------------| \ /
        |                                                       | / \
VFUFIL: |       Swappable Storage Area for VFU File Names       | LPFLSZ*
        \                                                       \  LPTN
        |-------------------------------------------------------| \ /
        |                                                       | / \
RAMFIL: |       Swappable Storage Area for RAM File Names       | LPFLSZ*
        \                                                       \  LPTN
        +-------------------------------------------------------+ \ /


If the assembly flag, SMFLG, is set, indicating a 2020 monitor, then the
following  additional  storage  is assembled in the resident area of the
monitor:

        +-------------------------------------------------------+
L11A:   |              Holds Fake -11 Adr of Buf                |
        |                  (1 entry / LPT )                     |
        |-------------------------------------------------------|
LPWINA: |              Address of Unibus Window                 |
        |-------------------------------------------------------| / \
LPACS:  |            AC Storage During LPT Interrupt            |  |
        |                                                       |  16
        |-------------------------------------------------------| \ /
LPSTAK: |                                                       | / \
        |                 PDL During LPT Interrupt              | LPSLEN
        \                                                       \  |
        |-------------------------------------------------------| \ /
LPXJEN: |         XJEN Instr. for Dismissing LPT Interrupt      |
        |-------------------------------------------------------| / \
LPXPTB: |    LPT Interrupt Instr. is XPCW to this 4-word Blk    | LPTN(1)*4
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 139
LPT-STORAGE-AREA


         0            11 12           23 4 5 6 7 8 9 0 1 2 3 4 5
        +-------------------------------------------------------+
LPTSTS: |    LPTFE      |    LPTMX      | | | | | | | | | | | | |
        +-------------------------------------------------------+

        Symbol    Bits    Pointer   Content

        LP%FE     0-11    LPTFE     Bytes now in front end
        LP%MX    12-23    LPTMX     Max. bytes allowed in front end
        LP%LHC     24     LPLHC     Loading has completed flag for 
                                     RAM/VFU load
        LP%HE      25     LPTHE     Hard error on this LPT:
        LP%OBF     26     LPOBF     Output is being flushed
        LP%MWS     27     LPMWS     MTOPR is waiting for a status to
                                     arrive
        LP%ER      28     LPTER     LPT had an error
        LP%OL      29     LPTOL     LPT on-line
        LP%TBL     30     LPTBL     LPT is over allocation
        LP%TWT     31     LPTWT     Request on Q.
        LP%THN     32     LPTHN     Line printer control failed
        LP%OPN     33     LPOPN     LPT is opened
        LP%ALI     34     ALTI      Interrupt buffer pointer
        LP%ALP     35     ALTP      Buffer Pointer


         0        5 6           17 18 19 20                   35
        +-------------------------------------------------------+
LPTST1: |   LPPSI  |     LPPAG    |  |  |        LPSST          |
        +-------------------------------------------------------+

        Symbol    Bits     Pointer   Content

        LP%PSI    0-5      LPPSI     Channel # on which PSI's are
                                      desired
        LP%PAG    6-17     LPPAG     Page Counter
        LP%LCP     18      LPLCP     Lower case printer
        LP%SHA     19      LPSHA     Status has arrived
        LP%SST   20-35     LPSST     Software status word
                                      Entry as follows:

                     Symbol   Bits   Content
                     .DVFFE    28    Device has a fatal,
                                      unrecoverable error
                     .DVFLG    29    Error logging information
                                      follows
                     .DVFEF    30    EOF
                     .DVFIP    31    I/O in progress
                     .DVFSE    32    Software condition
                     .DVFHE    33    Hardware error
                     .DVFOL    34    Offline
                     .DVFNX    35    Nonexistent device
MONITOR TABLES                                                  Page 140
LPT-STORAGE-AREA


         0 1             12 13                 28 29 30       35
        +-------------------------------------------------------+
LPTST2: | |    SAVBCT      |       SAVBUS        |  |           |
        +-------------------------------------------------------+

             Bits      Pointer      Content

              0        ARROWF       Convert control to arrow character
             1-12      SAVBCT       Saved byte counter during arrow
            13-28      SAVBUS       Saved bus address register
              29       LPTLOR       On when loading ram


2020 only:

         0 1          8 9                  23 24              35
        +-------------------------------------------------------+
LPTST3: |  |  SAVCHR   |        LPTCC        |                  |
        +-------------------------------------------------------+

             Bits      Pointer     Content

              0        LPXBIT      On if printer exists
             1-8       SAVCHR      Saved LP buffer character
            24-35      LPTCC       Count of characters sent to printer


         0                     17 18 19 20                    35
        +-------------------------------------------------------+
LPTERR: |         LPFRK          |  |  |         LPERR          |
        +-------------------------------------------------------+

    Symbol     Bits          Pointer      Content

    LP%FRK     0-17          LPFRK        Fork ID of owning PSI process
    LP%MSG      18           LPMSG        If on, suppress standard
                                           messages
    LP%PCI      19           LPPCI        Page counter has interrupted
    LP%ERR    20-35          LPERR        Last error indication


         0       5 6       15 16 17 18                        35
        +-------------------------------------------------------+
LPTCLS: |  LPBSZ  |          |  |  |                            |
        +-------------------------------------------------------+

    Symbol     Bits         Pointer       Content

    LP%BSZ     0-5          LPBSZ         Byte size of OPENF
    LP%RLD      16          LPRLD         Front end was reloaded
    LP%NOE      17          LPNOE         Note occurrence of EOF
MONITOR TABLES                                                  Page 141
LPT-STORAGE-AREA


         0                15 16 17                31 32 33 34 35
        +-------------------------------------------------------+
PGDATA: |      PGFNC        |  |      PGCTR         |  |  |  |  |
        +-------------------------------------------------------+

    Symbol     Bits         Pointer      Content

               0-15         PGFNC        Function code:  load page
                                          counter
                16          PGENB        Enable interrupts
               17-31        PGCTR        Page counter value
    LP%IRP      32          LPIRP        Interrupt request pending
    LP%RBR      33          LPRBR        RAM or VFU being reloaded
    LP%LTR      34          LPLTR        Translation RAM requires
                                          reloading
    LP%LVF      35          LPLVF        VFU requires reloading
MONITOR TABLES                                                  Page 142
MONITOR-STATISTICS


                           MONITOR-STATISTICS

This table is available through GTTAB and is used by WATCH, EXEC, etc.

Defined in:  STG

Referenced by:  MEXEC, PAGEM, SCHED, TTYSRV

                                  Format

        +-------------------------------------------------------+
SKDTM0: |      Time spent in SKDNUL with balance set empty      |
        |-------------------------------------------------------|
SKDTM1: |    Time spent in SKDNUL with balance set non-empty    |
        |-------------------------------------------------------|
SKDTM2: |             Time spent running scheduler              |
        |-------------------------------------------------------|
SPTTIM: |             Time spend in pager trap code             |
        |-------------------------------------------------------|
DRMRD:  |                 Number of drum reads                  |
        |-------------------------------------------------------|
DRMWR:  |                 Number of drum writes                 |
        |-------------------------------------------------------|
DSKRD:  |                 Number of disk reads                  |
        |-------------------------------------------------------|
DSKWR:  |                 Number of disk writes                 |
        |-------------------------------------------------------|
TTYBKS: |                 Number of tty wakeups                 |
        |-------------------------------------------------------|
TTINTS: |             Number of terminal interrupts             |
        |-------------------------------------------------------|
BSTSUM: |                 Integral of NBPROC DT                 |
        |-------------------------------------------------------|
RJTSUM: |             Integral of NBPROC|NGOJOB DT              |
        |-------------------------------------------------------|
RJAV:   |     Exponential average of number runnable forks      | / \
        |                                                       | NRJAVS
        |                                                       |  =3
        \                                                       \ \ /
        |-------------------------------------------------------|
DSKWT:  |            Sum of process disk wait times             |
        |-------------------------------------------------------|
DRMWT:  |            Sum of process drum wait times             |
        |-------------------------------------------------------|
NTTYIN: |        Total number terminal input characters         |
        |-------------------------------------------------------|
NTTYOT: |        Total number terminal output characters        |
        |-------------------------------------------------------|
NGCCOR: |                    Count of GCCORs                    |
        |-------------------------------------------------------|
GCCTIM: |                Integral of GCCOR time                 |
        |-------------------------------------------------------|
NREMR:  |          Count of WS removals while runnable          |
        |-------------------------------------------------------|
BSWT:   |               Sum of process wait times               |
        |-------------------------------------------------------|
MONITOR TABLES                                                  Page 143
MONITOR-STATISTICS


SKDOVH: |      Accumulated SCHED overhead time in HP units      |
        |-------------------------------------------------------|
SKDIDL: |           Accumulated idle time in HP units           |
        |-------------------------------------------------------|
SKDSWP: |        Accumulated swap-wait time in HP units         |
        |-------------------------------------------------------|
USRTIM: |         Accumulated user time in milliseconds         |
        |-------------------------------------------------------|
HQFSUM: |                 Integral of NGQFK DT                  |
        |-------------------------------------------------------|
LQFSUM: |                 Integral of NLQFK DT                  |
        |-------------------------------------------------------|
DWRWT:  |            Sum of process disk write wait             |
        |-------------------------------------------------------|
NAJBAL: |             Number of forced AJBALS calls             |
        |-------------------------------------------------------|
SNRSUM: |                  Integral of SUMNRN                   |
        |-------------------------------------------------------|
RPQSUM: |                   Integral of NRPLQ                   |
        |-------------------------------------------------------|
HSPTIM: |                  HP pager trap time                   |
        |-------------------------------------------------------|
NCSWCH: |              Number of context switches               |
        |-------------------------------------------------------|
BGNDTM: |       Time doing background stuff (TTCH7, etc.)       |
        |-------------------------------------------------------|
STRPCT: |                System total page traps                |
        |-------------------------------------------------------|
SRPQSC: |            System total "saves" from RPLQ             |
        |-------------------------------------------------------|
SGCCWR: |               Number writes from GCCOR                |
        |-------------------------------------------------------|
NWSSUM: |            Integral of number WS in memory            |
        |-------------------------------------------------------|
SKDFIL: |       Integral of wait time with out swap waits       |
        |-------------------------------------------------------|
NWSLOD: |                   Count of WS loads                   |
        |-------------------------------------------------------|
NREMJ:  |     Count of balance set removals while runnable      |
        |-------------------------------------------------------|
SXGCWR: |                Number writes from XGC                 |
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 144
MTA-STORAGE-AREA


                            MTA-STORAGE-AREA

Magtape storage area;  each entry (unless otherwise noted) is MTAN words
long where MTAN equals the number of magtape units on the system.

Defined in:  STG

Referenced by:  MAGTAP

                                Format

        +-------------------------------------------------------+ / \
MTALCK: \                       Lock Word                       \ MTAN
        |-------------------------------------------------------| \ /
        |                                                       |*/ \
MTASTS: \                    Status of Unit                     \ MTAN
        |-------------------------------------------------------| \ /
        |                                                       |*/ \
MTARS1: \             Resident Storage for Magtape              \ MTAN
        |-------------------------------------------------------| \ /
MTINDX: |    -Count of possible slots,,highest real MTA #       |
        |-------------------------------------------------------| / \
MTPSFK: \            PSI            |          Fork #           \ MTAN
        |-------------------------------------------------------| \ /
MTCUTB: |         CDB Table         |         UDB Table         | / \
        \                           |       (1 Entry/UDB)       \ MTAN
        |-------------------------------------------------------| \ /
        |                                                       | / \
MTAPBF: |            Space for Buffer Page Pointers             | MTPBFL=
        |                                                       |MTBUFN*MAXPPB
        \                                                       \ +MTAN
        |-------------------------------------------------------| \ /
        |                                                       | / \
MTIRBF: |                    Space for IORBs                    | MTABFL=
        |                                                       | MTAN*MTBUFN*
        \                                                       \ MTIRBL
        |-------------------------------------------------------| \ /
        |                                                       | / \
MTIOWD: \                IOWD for Next Transfer                 \ MTAN
        |-------------------------------------------------------| \ /
        |                                                       | / \
MTBIOW: \            Backup IOWD for Next Transfer              \ MTAN
        |-------------------------------------------------------| \ /
        |                                                       | / \
MTAOLS: \  Length of last Xfer      |                           \ MTAN
        |-------------------------------------------------------| \ /
        |                                                       | / \
MTARCE: \                   Total Error Count                   \ MTAN
        |-------------------------------------------------------| \ /
REWCNT: |               Number of Rewinding Units               | 
        |-------------------------------------------------------|  
MTERAS: |                 Rewrite Erase Counter                 |
        |-------------------------------------------------------|
MTPNTR: |                 IOWD During Transfer                  |
        |-------------------------------------------------------|
MTAUNT: |         Unit Currently Attached to Controller         |
MONITOR TABLES                                                  Page 145
MTA-STORAGE-AREA


        |-------------------------------------------------------|
MTERRC: |                     Retry Counter                     |
        |-------------------------------------------------------|
MTERFL: |                    State of Retry                     |
        |-------------------------------------------------------|
MTACOM: |            CONO Word of Current Operation             |
        |-------------------------------------------------------|
MTDINR: |           Return Address for Data Interrupt           |
        |-------------------------------------------------------|
MTACLS: |      Clock Routine Switch, 0 for No Clock Wanted      |
        |-------------------------------------------------------| / \
TLABBP: \               PNTR to Locked Buffer Page              \ 2*MTAN
        |-------------------------------------------------------| \ /
TLABR0: |                            |  RCNT                    | / \
        \        Resident flags      |    Record count info     \ MTAN
        |-------------------------------------------------------| \ /
MTAJB0: |         JOB 0 flag for MTA unit came on line          |
        +-------------------------------------------------------+


The following MTA storage items are  in  the  nonresident  area  of  the
monitor and each item is MTAN words long.

         0                        17 18                       35
        +-------------------------------------------------------+*/ \
        |                           |  MTRS                     | MTAN
MTANR1: \   Flags, Density, Mode    |  Rec size in Hdw. Bytes   \ \ /
        |-------------------------------------------------------| / \
        |  MTBYT                    |  MTBUF                    | MTAN
MTANR2: \   Initial LH of FILBYT    | Ptr. to Buffer Pages List \ \ /
        |-------------------------------------------------------| / \
        | 0     5|6     11|12     17|18    23|                  |  |
        | MTHBW  | MTUBW  | MTCSB   | MTCUB  |                  |  |
MTANR3: |Hdw.Byts|UserByts|Current  | Current|                  | MTAN
        | Per Wd | Per Wd |Service  | User   |                  |  |
        |        |        |Routine  | Buffer |                  |  |
        |        |        |Buffer   |        |                  | \ /
        |-------------------------------------------------------| / \
        |  MTCIRB                   |  MTCUP                    |  |
MTANR4: \    Current IORB in Use    |     Current User Page     \ MTAN
        |-------------------------------------------------------| \ /
        |  MTUBB                    |  MTUBP                    | / \
MTANR5: \   User Bytes per Buffer   |    User Bytes per Page    \ MTAN
        |-------------------------------------------------------| \ /
        |  MTALTC                   |  MTLIRB                   | / \
MTANR6: \    Last Transfer Count    | Last Dump Mode IORB Adr.  \ MTAN
        |-------------------------------------------------------| \ /
        |                                                       |*/ \
TLABL0: \                         Flags                         \ MTAN
        |-------------------------------------------------------| \ /
        |  TPERM                    |  TPFRK                    | / \
TLABL1: \   Error codeset by MTCON  |     Tape fork for PSI     \ MTAN
        |-------------------------------------------------------| \ /
MONITOR TABLES                                                  Page 146
MTA-STORAGE-AREA


        |  TPJFN                    |  TPLBLS                   | / \
TLABL2: \         Saved JFN         | Tape label buffers in SWAP\ MTAN
        |-------------------------------------------------------| \ /
        |  FSSAV                                                | / \
TLABL3: \               Place to save file status               \ MTAN
        |-------------------------------------------------------| \ /
        |     flags, section #      |  TPMTRS                   |*/ \
TLABL4: \                           |    Place to save Rec Size \ MTAN
        |-------------------------------------------------------| \ /
        |                                                       |*/ \
TLABL5: \                  Tape position info                   \ MTAN
        |-------------------------------------------------------| \ /
        |  TPBSZ                    |  TPRSZ                    | / \
TLABL6: \       File blocksize      |     File record size      \ MTAN
        |-------------------------------------------------------| \ /
        |  TPSCUP                   |  TPIOB                    | / \
TLABL7: |  Saves Cur. pg. PTR for   |    I/O buffer address     | MTAN
        \   TPSBYT                  |                           \ \ /
        |-------------------------------------------------------| / \
        |  SVIOS                                                |  |
TLABL8: \                   Place to save IOS                   \ MTAN
        |-------------------------------------------------------| \ /
        |  SVBLK                                                | / \
TLABL9: \              Place to save black address              \ MTAN
        |-------------------------------------------------------| \ /
        |  TPLRC                    |  TPPRO                    |*/ \
TLAB10: \       Local Status        |        Protection         \ MTAN
        |-------------------------------------------------------| \ /
        |  TPOCT                    |  TPOBY                    | / \
TLAB11: \       old TPFCNT          |        old TPFBYN         \ MTAN
        |-------------------------------------------------------| \ /
        |  TPFSN                                                | / \
TLAB12: \                Sixbit volume set name                 \ MTAN
        |-------------------------------------------------------| \ /
        |  TPEXPD                                               | / \
TLAB13: \                   Expiration date                     \ MTAN
        |-------------------------------------------------------| \ /
        |                                                       | / \
TLAB14: \                   Sequence Numbers                    \ MTAN
        |-------------------------------------------------------| \ /
TPFCNT: |                      MT filcnt                        | / \
        \                                                       \ MTAN
        |-------------------------------------------------------| \ /
TPFBYN: |                      MT filbyn                        | / \
        \                                                       \ MTAN
        |-------------------------------------------------------| \ /
TPFLEN: |                      MT fillen                        | / \
        \                                                       \ MTAN
        |-------------------------------------------------------| \ /
TPFLNX: |        Count of Bytes Expected in next Record         | / \
        \                                                       \ MTAN
        |-------------------------------------------------------| \ /
TPSBYT: | Pointer to where JCW should go when record is complete| / \
        \                                                       \ MTAN
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 147
MTA-STORAGE-AREA



         0 1 2 3 4 5 6 7 8 9  17 8 9 0 1 2 3 4 5 6 7 8 29 1 2 35
        +-------------------------------------------------------+
MTASTS  | | | | | | | | | | |   | | | | | | | | | |   |    | |  |
entry   +-------------------------------------------------------+

           Symbol       Bits         Content

           OPN           0           Unit has been opened
           OPND          2           Unit has been opened for
                                      dum mode
           DMPWT         3           Waiting for a dump mode
                                      operation to finish
           LTERR         4           Error Occurred on last
                                      dump mode operation
           BUFA          5           Buffers have been assigned
           CLOF          6           CLOSF in progress
           MTOWT         7           MTOPR in progress
           MTIELW        8           Inhibit error logging
           MTNOWT        9           Don't set MTOWT
           MT%ILW       18           Write lock
           MT%DVE       19           Hardware device error
           MT%DAE       20           Data error
           MT%SER       21           No error retry
           MT%EOF       22           EOF
           MT%IRL       23           Illegal record length
           MT%BOT       24           Beginning of tape
           MT%EOT       25           Physical end of tape
           MT%EVP       26           Even Parity
           MT%DEN      27-28         Density (0 is normal)
                                        .MTLOD=1 Low Density
                                         (200 BPI)
                                        .MTMED=2 Medium Density
                                         (556 BPI)
                                        .MTHID=3 High Density
                                         (800 BPI)
           MT%CCT      29-31         Character Counter
           MT%NSH       32           Mode or density not supported
                                      by hardware
MONITOR TABLES                                                  Page 148
MTA-STORAGE-AREA


         0                                19 20 21   29 30    35
        +-------------------------------------------------------+
MTARS1  |                                    | | MTPPB |MTNIR/  |
entry   |                                    | |       |  MTANIR|
        +-------------------------------------------------------+

           Bits       Pointer      Content

            20        ABORTF       An error occurred and IORBs aborted
          21-29       MTPPB        Number of pages per buffer
          30-35       MTNIR        Number of IORBs queued
          30-35       MTANIR       Absolute version of MTNIR


         0 1 2     8 9 10 11 12  14 15  17 18                 35
        +-------------------------------------------------------+
TLABR0  | | |       | |  |  |      |      |                     |
entry   +-------------------------------------------------------+

           Bits        Pointer     Content

            0          TPVV        Volume valid flag
            1          TPNVV       Tape not valid
           2-8         TPUNIT      Actual mta unit
            9          SNEOT       EOT seen while writing labels
           11          TPEDB       EBCDIC Volume
          12-14        TPMTDM      Place to save data mode
          15-17        TPMHBW      Place to save bytes/wd
          18-35        RCNT        Record count info


         0 1 2    5 6 7 8  10 11  14 15  17 18                35
        +-------------------------------------------------------+
MTANR1  |   |MTFCN | | |MTSTC| MTDN |MTDM  |        MTRS        |
entry   +-------------------------------------------------------+

           Bits       Pointer     Content

           0-1        MTNTM       Count of EOFs written
           2-5        MTFCN       Last function performed
            6         MTPAR       Parity
            7         MTRBF       Reading backwards flag
           8-10       MTSTC       CLOSF function counter
          11-14       MTDN        Density
          15-17       MTDM        Data mode
          18-35       MTRS        Record size in hardware bytes
MONITOR TABLES                                                  Page 149
MTA-STORAGE-AREA


         0   5 6  12 3 4 5 6 7 8 9 0 1 2 3 4 25  27 28 31 32  35
        +-------------------------------------------------------+
TLABL0  |     |     | | | | | | | | | | | | |      |     |      |
entry   +-------------------------------------------------------+

           Bits       Pointer     Content

           0-5        TPSTAT      State code
           6-12       TPLPCS      Label processing code
            13        TPBEGF      Set if beginning of spanned record
            14        TPNBL       New block read
            15        TPUED       Use EBCDIC data if set
            16        TPFVM       If set, first volume is mounted
            17        TPLCT       User label count
            18        HDR1        HDR1 data valid
            19        HDR2        HDR2 data valid
            20        RCCHK       Record count check error (TLRCHK)
            21        TPEOF       EOF 1/2 seen in TLRCHK (also EOV)
            22        TPT20       TOPS-20 volume
            23        UVLD        UVLD data valid
            24        TPLBD       Unlabeled/labeled operation
          25-27       TPDNS       MTA density - declared by MTCON
          28-31       TPNUL       # of user labels written


         0 1 2 3       8 9      17 18                         35
        +-------------------------------------------------------+
TLABL4  | | | |  TPPSI  | TPFSEC  |          TPMTRS             |
entry   +-------------------------------------------------------+

           Bits       Pointer     Content

            0         TPEUT       End of user labels encountered
            1         TPAPP       Open for append
            2         TPDPN       MT opened
           3-8        TPPSI       Tape PSI for EOV
           9-17       TPFSEC      File section number
          18-35       TPMTRS      Place to save record size


         0   4 5 6     11 12 13 14   17 18      26 27         35
        +-------------------------------------------------------+
TLABL5  |     | |        |     |       |          |             |
entry   +-------------------------------------------------------+

           Bits       Pointer     Content

            5         TPDVS       Defer volume switch if set
           6-11       TPFRMT      Record format type code
          12-13       TPMOD       Tape mode
          14-17       TPRVN       Relative volume number
          18-26       FSEQ        Tape file position (seq. #)
          27-35       USRSEQ      User requested seq. #
MONITOR TABLES                                                  Page 150
MTA-STORAGE-AREA


         0 1 2                   17 18                        35
        +-------------------------------------------------------+
TLABL10 |   |        TPLRC         |           TPPRO            |
entry   +-------------------------------------------------------+

           Bits       Pointer     Content

           0-1        TPXLB       Extra label count
           2-17       TPLRC       Count of last read record
           0-17       TPGDS       Local status
          18-35       TPPRO       Save protection here
MONITOR TABLES                                                  Page 151
MTCUTB


                                 MTCUTB

This table contains the address of the CDB and the  UDB  for  each  tape
drive  on  the system or the entry contains a zero if the drive does not
exist.

Defined in:  STG

Referenced by:  DEVICE, MAGTAP, PHYM2, PHYSIO, PHYX2, TAPE

Index:  Tape drive number

                                 Format

        +-------------------------------------------------------+
MTCUTB: |            CDB            |            UDB            | / \
        +-------------------------------------------------------+  |
        |                           .                           |  |
        |                           .                           | MTAN
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \ \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 152
NAMUTP


                                 NAMUTP

Name Unit Type Pointers.  This table  contains  pointers  to  unit  type
names for disks (i.e., RP06, RM03, etc.) and magtapes (i.e., TU45, TU77,
etc.).

Defined in:  PHYSIO

Referenced by:  PHYSIO

                                Format

        +-------------------------------------------------------+
NAMUTP: |         POINT 7,[ASCIZ/ (Illegal Type: 0) /]          |
        |-------------------------------------------------------|
        |                 POINT 7,[ASCIZ/RP04/]                 |
        |-------------------------------------------------------|
        |                           .                           |
        |                           .                           |
        |                           .                           |
        \                           .                           \
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 153
NODE NAME TABLE


                            NODE NAME TABLE

The node name table contains the names  that  have  been  assigned  (via
NTMAN%) to the nodes of the network.  It is indexed by node number.

Defined in:  STG

Referenced by:  NSPSRV

                             Format

NODMAP: +--------------------------------------------+    /|\
        |                      0                     |     |
        |--------------------------------------------|     |
        |            SIXBIT Name of Node 1           |     |
        |--------------------------------------------|     |
        |            SIXBIT Name of Node 2           |   BIGNOD
        |--------------------------------------------|     |
        |                      .                     |     |
        |                      .                     |     |
        |                      .                     |     |
        +--------------------------------------------+    \|/
MONITOR TABLES                                                  Page 154
NODE NAME TABLE


                          NODE TOPOLOGY TABLE


The node topology table, pointed to be NODTBL:, is a large  bit  pattern
(2  bits  per  node)  representing  the  current  network topology.  The
settings for each 2-bit pattern are defined as follows:

                        00 - not on line
                        01 - reserved for future use
                        10 - Phase II node on line
                        11 - Phase III node on line
MONITOR TABLES                                                  Page 155
NTCTAB


                                 NTCTAB

Network topology change fork table.  This is the table  NSPSRV  uses  to
notify user processes of topology changes on the network.

Defined in:  STG

Referenced by:  NSPSRV

                                 Format

        +-------------------------------------------------------+
NTCTAB: |        Fork number        |     Interrupt channel     | / \
        +-------------------------------------------------------+  |
        |                           .                           |  |
        |                           .                           | NTCMAX
        |                           .                           |  =5
        |                           .                           |  |
        \                           .                           \ \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 156
OFNLEN


                                 OFNLEN

Open File Length Table.  This non-resident table  contains  the  current
file  byte  size and file byte count for each open file.  It is parallel
to the OFN areas of the SPT and SPTH tables.

Defined in:  STG

Referenced by:  DISC, JSYSF, PAGEM

Index:  OFN number

                                Format

         0        5 6                                         35
        +-------------------------------------------------------+
        | OFNBSZ   | OFNBC                                      | / \
OFNLEN: | Byte Size|           File Byte Count                  |  |
        |-------------------------------------------------------|
        |                                                       | NOFN
        |                                                       |  
        |                                                       |  |
        \                                                       \ \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 157
PHYCHT


                                 PHYCHT

PHYSIO Channel Dispatch  Tables.   This  table  contains  the  names  of
function  dispatch  tables  for  all supported channel types.  Currently
supported channel types are the RH20F and the RH11F.  Both are supported
by  the  same  named dispatch table, RH2DSP, in their respective monitor
modules, PHYH2 or PHYH11.  However, only one of these modules is present
in a given monitor.

Defined in:  STG

Referenced by:  PHYSIO

                                Format

        +-------------------------------------------------------+
PHYCHT: |           Flags           |     Channel Dispatch      |
        |-------------------------------------------------------|
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        |                           .                           |
        \                           .                           \
        +-------------------------------------------------------+


        Note:  This table currently contains only one entry.
MONITOR TABLES                                                  Page 158
PHYUNT


                                 PHYUNT

PHYSIO Unit Dispatch Tables.  Table of known unit dispatch routines.

Defined in:  STG

Referenced by:  PHYH2

                                Format

        +-------------------------------------------------------+
PHYUNT: | Type (DSK)=.UTRP4        | DSK Unit Dispatch Adr.     |
        |                          |         = RP4DSP           |
        |-------------------------------------------------------|
        | Type (MTA)=.UTTM2        | MTA Unit Dispatch Adr.     |
        |                          |         = TM2DSP           |
        |-------------------------------------------------------|
        | Type (DX20A)=.UTDXA      | DX20 Dispatch Adr.         |
        |                          |         = DXADSP           |
        |-------------------------------------------------------|
        | Type (DX20B)=.UTDXB      | DX20 Dispatch Adr.         |
        |                          |         = DXBDSP           |
        |-------------------------------------------------------|
        | Type (TU78) =.UTTM7      | TU78 Dispatch Adr.         |
        |                          |         = TM8DSP           |
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 159
PIDCNT


                                 PIDCNT

Process ID Count Table.  This non-resident table holds  the  send  quota
and count and the PID quota and count for each job.

Defined in:  STG

Referenced by:  IPCF

Index:  Job number

                                 Format

         0           8 9          17 18         26 27         35
        +-------------------------------------------------------+
PIDCNT: | PIDSQ       | PIDSC       | PIDPQ       | PIDPC       |  / \
        |  Send quota |  Send count |  PID quota  |  PID count  |   |
        |-------------------------------------------------------|   |
        |                           .                           |
        |                           .                           | NJOBS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +----------------------------------------------------------+
MONITOR TABLES                                                  Page 160
PIDTBL


                                 PIDTBL

Process ID Table.  This  non-resident  table  is  a  table  of  halfword
entries,  one  entry per PID;  the number of entries in the table is two
times the number of jobs.  (The monitor is assuming an average of 2 PIDs
per  job.)  If a PID is in use, the table entry will contain the address
of the PID header.  PID's not in use are linked together;  PIDLST is the
free PID header.

Defined in:  STG

Referenced by:  IPCF

        +-------------------------------------------------------+
PIDTBL: |  ADR of PID Header 1 or   |  ADR of PID Header 2 or   |  / \
        |   Link to Next Free PID   |   Link to Next Free PID   |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | PIDTBS
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 161
PROCESS STORAGE AREA


                          PROCESS STORAGE AREA

This area contains process specific information.  It is the entire PSVAR
psect.   The  PSBMAP  in  the  PSB points to all of this area.  For this
area, the monitor has indirect pointers in its page table (MMAP) for its
pages beginning at PSSPSA:  (which is on a page boundary) for the length
of the process storage area.  All of these  pointers  are  to  a  single
location  in  the SPT (specifically SPT+NOFN+1).  With this arrangement,
the process storage area for the current process can be changed  to  the
process  storage  area  for  another  process  by  only changing the one
location in the SPT.

Defined in:  STG

                                Format

PSSPSA: +-------------------------------------------------------+
CXBPGA: |                                                       | / \
        |            Start of process special pages             | 1
        |              Swapper, Map temporary page              | page
        \                                                       \ \ /
        |-------------------------------------------------------|
CPTPGA: |                                                       | / \
        |              Swapper, Map temporary page              | 1
        \                                                       \ page
        |-------------------------------------------------------| \ /
CPYPGA: |                                                       | / \
        |              Swapper, Map temporary page              | 1
        |             End of process special pages              | page
        \                                                       \ \ /
PSSPEA: |-------------------------------------------------------|
FPG0A:  |                                                       | / \
        |                   Fork utility page                   | 1
        \                                                       \ page
        |-------------------------------------------------------| \ /
FPG1A:  |                                                       | / \
        |                   Fork utility page                   | 1
        \                                                       \ page
        |-------------------------------------------------------| \ /
FPG2A:  |                                                       | / \
        |                   Fork utility page                   | 1
        \                                                       \ page
        |-------------------------------------------------------| \ /
FPG3A:  |                                                       | / \
        |                   Fork utility page                   | 1
        \                                                       \ page
        |-------------------------------------------------------| \ /
PSIPGA: |                                                       | / \
        |                PSI in progress storage                | NPSIPG (2)
        \                                                       \ pages
        |-------------------------------------------------------| \ /
MONITOR TABLES                                                  Page 162
PROCESS STORAGE AREA


IDXPGA: |                                                       | / \
        |              Index table is mapped here               | NIDXPG(16.)
        |               (zero length if sections)               | pages
        \                                                       \ \ /
        |-------------------------------------------------------|
DIRPGA: |                                                       | / \
        |                   Directory window                    |DRMASZ (30)
        |               (zero length if sections)               | pages
        \                                                       \ \ /
        |-------------------------------------------------------| / \
DDTPGA: |                                                       |NDDTPG (2)
        |                 MDDT private segment                  | pages
        \                                                       \ \ /
        |-------------------------------------------------------|
UPTPGA: |                                                       | / \
        |               User section 0 page table               | 1
        |                 (see USER-PG-MAP-TBL)                 | page
        \                                                       \ \ /
        |-------------------------------------------------------|
HWPTA:  |                  Hardware variables                   | / \
        |                       (see UPT)                       | 1
PSBPGA: |                     overlaid with                     | page
        |                   First page of PSB                   |  |
        \                       (see PSB)                       \ \ /
        |-------------------------------------------------------| / \
PSB1A:  |                                                       | 1
        |                  Second page of PSB                   | page
        \                                                       \ \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 163
PSB


                                  PSB

Process Storage Block.  Each process has a PSB which  holds  information
such as:  the PC and ACs when not running;  forks known to this process,
and accounting, PSI, paging and directory information.   It  also  holds
trapping  information  and the hardware cells for the User Process Table
(See UPT Table).  Page 2 of the PSB houses the push down  list  used  by
the  monitor  when  executing  JSYSs.   (i.e.  in process context).  The
PSBMAP map in the PSB points to all  of  the  per-process  storage  area
(including  the  PSB  itself).   For  further  information, see also the
Process Storage Area.

Defined in:  STG

Referenced by:  APRSRV,  DATIME,  DIRECT,  DISC,  DSKALC,  DTESRV,  ENQ,
                FESRV,  FILINI,  FILMSC,  FORK,  FREE,  GTJFN, IO, IPCF,
                JSYSA, JSYSF,  LINEPR,  LOGNAM,  MAGTAP,  MEXEC,  PAGEM,
                PHYSIO, POSTLD, SCHED, SYSERR

                                Format

        +-------------------------------------------------------+ / \
UACB:   |         AC block 1 saved here when JSYS starts        |  |
        |           (ACBAS points at last block saved)          | NUACB
        |                                                       |  |
        \                                                       \  |
        |-------------------------------------------------------| \ /
JOBNO:  |              Job # to Which Fork Belongs              |
        |-------------------------------------------------------|
JOBBIT: |                  SCHED Control Bits                   |
        |-------------------------------------------------------|
FNPMAX: | Maximum Number of Pages in Working Set for This Fork  |
        |-------------------------------------------------------|
JOBCK0: |        Variables for Scheduler Time Guarantee         |
        |-------------------------------------------------------|
JOBCK1: |        Variables for Scheduler Time Guarantee         |
        |-------------------------------------------------------|
RUNT2:  |      Run Time Fractional Parts of a Millisecond       |
        |-------------------------------------------------------| / \
FKTAB:  |         Local Fork Handle to Job Handle Table         | NLFKS/2
        \                                                       \  |
        |-------------------------------------------------------| \ /
FORKN:  |  Job Fork # at Top Fork   |         This Fork         |
        |-------------------------------------------------------|
FKRT:   |                     Fork Run Time                     |
        |-------------------------------------------------------|
PRARGP: |             Pointer to Process Arguments              |
        |-------------------------------------------------------|
MPP:    |       Monitor Saved Stack Pointer at Last JSYS        |
        |-------------------------------------------------------|
PRIMRY: |           Primary I/O Indirection Pointers            |
        |-------------------------------------------------------|
SLOWF:  |                 Slow MON Routine Flag                 |
        |-------------------------------------------------------|
INTDF:  |              Defer Interrupts IF .GE. 0               |
        |-------------------------------------------------------|
MONITOR TABLES                                                  Page 164
PSB


INTDFF: |               SOS INTDF or JSYS PSISV1                |
        |-------------------------------------------------------|
MJRSTF: |               XJRSTF FFL or JSYS PSISV0               |
        |-------------------------------------------------------|
ACBAS:  |               Current AC Stack Pointer                |
        |-------------------------------------------------------|
ITFFL:  |              Flags on Interrupt to MEXEC              |
        |             (Must be contiguous with ITFPC)           |
        |-------------------------------------------------------|
ITFPC:  |               PC on Interrupt to MEXEC                |
        |-------------------------------------------------------|
TRPID:  |              IDENT of Page Causing Trap               |
        |-------------------------------------------------------|
TRPPTR: |        Storage Address or Pointer Causing Trap        |
        |-------------------------------------------------------| / \
UAC:    |              User ACs (from AC block 1)               | 20
        \         Saved here when process not running           \ \ /
        |-------------------------------------------------------| / \
PAC:    |                      Process ACs                      |  |
        \   EXEC AC's are saved here when process not running   \ 20
        |-------------------------------------------------------| \ /
PFL:    |   Process Flags (Must be contiguous with PPC)         |
        |-------------------------------------------------------|
PPC:    |                      Process PC                       |
        |-------------------------------------------------------|
NSKED:  |                   No-Schedule Word                    |
        |-------------------------------------------------------|
RSKED:  |            No-Schedule Trap JFCL/JSR RSKCHK           |
        |-------------------------------------------------------| / \
        |                                                       |  |
TRAPSK: |             Stack Used During Pager Traps             | NTSK=
        \                                                       \  62
        |-------------------------------------------------------| \ /
TRAPSW: |                   Trap Status Word                    |
        |-------------------------------------------------------|
TRAPAP: |                   Page Trap Saved P                   |
        |-------------------------------------------------------|
TRAPC:  |              Pager Trap Recursion Count               |
        |-------------------------------------------------------|
UTRPCT: |         Count of Pager Traps for This Process         |
        |-------------------------------------------------------|
USWPCT: |        Count of SWPINW Calls for This Process         |
        |-------------------------------------------------------|
PTTIM:  |               Time Spent in Pager Traps               |
        |-------------------------------------------------------|
LSTXGR: |                Time (FKRT) of Last XGC                |
        |-------------------------------------------------------|
FKTLST: |            Lost Time While Clock Turned Off           |
        |-------------------------------------------------------|
CRSKED: |              In Critical Section if Non-0             |
        |-------------------------------------------------------|
SKDFL:  |             Scheduler Temp (Return Flags)             |
        |-------------------------------------------------------|
SKDPC:  |      Scheduler Temp (Return) Must Stay With SKDFL     |
        |-------------------------------------------------------|
MONFL:  |               Temp Monitor PC and Flags               |
MONITOR TABLES                                                  Page 165
PSB


        |-------------------------------------------------------|
MONPC:  |                 Must Stay With MONFL                  |
        |-------------------------------------------------------|
PSIPT:  |               PSI Storage List Pointer                |
        |-------------------------------------------------------|
PIOLDS: |           FKSTAT Prior To PSI if was Waiting          |
        |-------------------------------------------------------|
LEVCHN: |          Level Table      |  Channel Table Addresses  |
        |-------------------------------------------------------|
PSISYS: |                Non-0 if PSI System Off                |
        |-------------------------------------------------------|
MONCHN: |             Channels Reserved by Monitor              |
        |-------------------------------------------------------| / \
PIPDB:  |                  PSI Routine Stacks                   |  |
        |                 Pointed to by PIPDL                   | NPIPDL=
        \                                                       \  35
        |-------------------------------------------------------| \ /
PSICHA: |             Channel Assigned to TERM Code             | / \
        \                                                       \ NTERMI/6
        |-------------------------------------------------------| \ /
PIMSK:  |     PSI Request Word Being Passed to PSI Service      |
        |-------------------------------------------------------|
PSIBW:  |                  Break Waiting Word                   |
        |-------------------------------------------------------|
FORCTC: |     Channel Which Caused Forced Fork Termination      |
        |-------------------------------------------------------|
PSICHM: |                 Channel Enabled Word                  |
        |-------------------------------------------------------|
SUPCHN: |             Channels Reserved by Superior             |
        |-------------------------------------------------------|
        |              Hardware Storage  (UPT cells)            |
 UPTTPI=|                                                       |
 HWPTA+ |                (see UPT Table Description)            |
   420  |                                                       |
        |                                                       |
        \                                                       \
        |-------------------------------------------------------| 
PIAC:   |          Saved ACs during software interrupt          | / \
        \                                                       \  20
        |-------------------------------------------------------| \ /
PSIBIP: |            Break in Progress Word (Levels)            |
        |-------------------------------------------------------|
ENSKR:  |                Scheduler Temp (Return)                | / \
        \                      XPCW block                       \  4
        |-------------------------------------------------------| \ /
ADRBRK: |                 Address Break Information             |
        |-------------------------------------------------------|
ADRBK1: |      Address of Instruction Causing Address Break     |
        |-------------------------------------------------------|
MONBK:  |            Interrupt to Monitor if Non-zero           |
        |-------------------------------------------------------|
PIFL:   |            Saved Flags (Must be with PIPC)            |
        |-------------------------------------------------------| / \
PIPC:   |           Saved PC during Initial PI Service          |  3
        \                  (called with XPCW)                   \  |
        |-------------------------------------------------------| \ /
MONITOR TABLES                                                  Page 166
PSB


FKTOFF: |           Time at Which CPU Clock Turned Off          |
        |-------------------------------------------------------|
NWSCE:  |              Number of Entries in WS Cache            |
        |-------------------------------------------------------|
LSTXGT: |                Time (TODCLK) of Last XGC              |
        |-------------------------------------------------------|
SYMPAG: |         Page Used by MDDT for Mapping Symbols         |
        |-------------------------------------------------------|
UTRSW:  |                  Saved TRAPSW for User                |
        |-------------------------------------------------------|
UMUUOW: |                 Save MUUO Word for User               |
        |-------------------------------------------------------|
KIMUU1: |                 Last UUO Word from User               |
        |-------------------------------------------------------|
PSLEVT: |              Address of User's Level Table            |
        |-------------------------------------------------------|
PSCHNT: |             Address of User's Channel Table           |
        |-------------------------------------------------------|
PSBITS: |             Miscellaneous Per Process Bits            |
        |-------------------------------------------------------|
TRPDSP: |             Dispatch for MON ILLEG MEM REF            |
        |-------------------------------------------------------|
HPSWRN: |    Time to flag excessive high priority scheduling    |
        |-------------------------------------------------------|
DRLOC:  |         Location in Directory During Searches         |
        |-------------------------------------------------------|
DRINP:  |          Pointer to Input Name During Lookup          |
        |-------------------------------------------------------|
DRINL:  |                Length of Input String                 |
        |-------------------------------------------------------|
DRMSK:  |         Mask of 0 Bits in Last Word of String         |
        |-------------------------------------------------------|
DRSCN:  |           Pointer to FDB Link During Lookup           |
        |-------------------------------------------------------|
        |0                    17|18     |19                   35|
DROFN:  |DRLFDB                 |DRROF  |DIROFN                 |
        |  Last FDB Checked by  |Release|OFN of Current Mapped  |
        |   FDBCHK              | OFN   | Directory             |
        |-------------------------------------------------------|
DRMAP:  |              Adr of Map Page when SEC2                |
        |-------------------------------------------------------|
DIRCAD: |             Cache Address of Last MAPDIR              |
        |-------------------------------------------------------|
IDXMAP: | Adr of IDX Tbl. Pg Map When Extended Addressing       |
        |-------------------------------------------------------|
        |0                    17|18     |19                   35|
STRINF: |CURUC                  |IDXFLG |CURSTR                 |
        | Unique Code of        |XB File| Str. No. of Cur.      |
        | Currently Mapped Index| Mapped|  Mapped Index File    |
        | File                  |       |                       |
        |-------------------------------------------------------|
EVLNTH: |                 Entry Vector Length                   |
        |-------------------------------------------------------|
EVADDR: |                 Entry Vector Address                  |
        |-------------------------------------------------------|
PATLEV: |             PA1050 Entry Vector Length                |
MONITOR TABLES                                                  Page 167
PSB


        |-------------------------------------------------------|
PATADR: |        PA1050 Compatability Entry Vector Address      |
        |-------------------------------------------------------|
PATU40: |      Where to Store C(40), Setup as UMOVEM 1,XX       |
        |-------------------------------------------------------|
PATUPC: |       Where to Store PC, Setup as UMOVEM 1, XX        |
        |-------------------------------------------------------|
DMSADR: |                   RMS Entry Vector Address            |
        |-------------------------------------------------------|
DMSLEV: |                   RMS Entry Vector Length             |
        |-------------------------------------------------------|
DMSU40: |           Where to Store C(40) on DMS Call            |
        |-------------------------------------------------------|
DMSUPC: |             Where to Store PC of DMS Call             |
        |-------------------------------------------------------|
CABMSK: |                   Capability Mask                     |
        |-------------------------------------------------------|
CAPENB: |                Capabilities Enabled                   |
        |-------------------------------------------------------|
SNPPGS: |          Count           | Page # of First Page Locked|
        |                          | Down for Snooping          |
        |-------------------------------------------------------|
SNPLST: |          Flags           | Link to 1st BP for Fork    |
        |-------------------------------------------------------|
LSTERR: |                   Last Error Number                   |
        |-------------------------------------------------------| / \
ERRSAV: \               Block of Error Parameters               \ NERRSV=4
        |-------------------------------------------------------| \ /
        |                                                       | / \
PSBMAP: |                 Map for Process Area                  |  |
        |                                                       | PSBMSZ
        |                                                       |  |
        \                                                       \  |
        |-------------------------------------------------------| \ /
JTBLK:  |               FKJTB + forkn for this fork             |
        |-------------------------------------------------------|
JTLCK:  |        Lock on JSYS Trap to Monitor (this) fork       |
        |        Lock Protects JTTRW and Allows Only one        |
        |     JSYS Trap Interrupt at a Time to This Monitor     |
        |-------------------------------------------------------|
JTTRW:  |        JSYS Trap Word (Set by interrupting fork)      |
        |             Contains trapping instruction             |
        |-------------------------------------------------------|
JTTFK:  |                         |JTFRK                        |
        |                         |  Forkn of Trapping Fork     |
        |-------------------------------------------------------|
        |              |12      17|                             |
JTMNW:  |              | JTMCN    | JTNMI                       |
        |              | Monitor's|  Forkn of Mon Interrupted   |
        |              | PSI Chan | (PSI'd)                     |
        |-------------------------------------------------------|
PNSKDC: |   NOSKED's Done by DIAG & other Resource Managers     |
        |-------------------------------------------------------|
ARTHTR: |            User-Specified Arithmetic Trap             |
        |-------------------------------------------------------|
CRTRGN: |               Indicates Critical Region               |
MONITOR TABLES                                                  Page 168
PSB


        |-------------------------------------------------------|
STRWRD: |  STRFLG                 | NOSTR                       |
        |     Flag for STR Info   |   # Mount Count Increments  |
        |                         |    (for KSELF)              |
        |-------------------------------------------------------|
FKXORA: |        Fork IDXORA During Creation of Structure       |
        |-------------------------------------------------------|
LOKH1:  |        Index of Highest Lock Held At This Time        |
        |-------------------------------------------------------|
        \ / / / / / / / / / / / / / / / / / / / / / / / / / / / \
        |-------------------------------------------------------| / \
WSCSH:  |           (Begins at Top of Second PSB Page)          |  |
        |                   Working Set Cache                   | WSCHCW=
        |                                                       |  200
        \                                                       \  |
        |-------------------------------------------------------| \ /
        \ / / / / / / / / / / / / / / / / / / / / / / / / / / / \
        |-------------------------------------------------------| / \
UPDL:   |               User PDL for Monitor Calls              |  |
        |      UPDL is Defined as the End of this Page NUPDL    | NUPDL
        \                                                       \  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 169
PTYSTS


                                 PTYSTS

Pseudo Terminal Status Table.  This  table  contains  the  PTY's  status
word.

Defined in:  STG

Referenced by:  FILMSC

Index:  PTY Number

                                Format

        +-------------------------------------------------------+
PTYSTS: |                    PTY Status Bits                    |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   
        |                           .                           | NTTPTY
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 170
Q-BLOCK


                                Q-BLOCK

The information for each ENQ request is stored in a  Q-BLOCK.   QBLOCK's
are doubly linked for each job;  the list header is in the right half of
ENQLST in the JSB.  Also, QBLOCK are doubly linked on a system wide list
for each lock block;  the list header is in the lock block.

Defined in:  ENQ

Referenced by:  ENQ

                                  Format

         0                        17 18                       35
        +-------------------------------------------------------+
        |  ENQLJQ                   |  ENQNJQ                   |
      0 |      Back Pointer To      |    Forward Pointer To     |
        |   Last Q-Block For Job    |   Next Q-Block For Job    |
        |-------------------------------------------------------|
        |  ENQLLQ                   |  ENQNLQ                   |
      1 |     Back Pointer To       |    Forward Pointer To     |
        |       Last Q-Block        |       Next Q-Block        |
        |-------------------------------------------------------|
        |  ENQFLG       11| ENQCHN  |  ENQFRK                   |
      2 |      Flags      |   PSI   |     Fork to Interrupt     |
        |Either Lock or Q | Channel |  When Request is Locked   |
        |-------------------------------------------------------|
        |  ENQNR                    |  ENQID                    |
      3 |      # of Resources       |      Request ID Code      |
        |    Requested From Pool    |                           |
        |-------------------------------------------------------|
        |  ENQLRQ                   |  ENQFQ                    |
      4 |      Back Pointer To      |    Forward Pointer To     |
        |  Last Q-Block of Request  |  Next Q-Block of Request  |
        |-------------------------------------------------------|
        |  ENQLBP                   |  ENQGRP                   |
      5 |        Pointer to         |        Group # For        |
        |   Lock-Block of this Q    |     Sharable Requests     |
        |-------------------------------------------------------|
        |  ENQNST                   |  ENQJFN                   |
      6 |        Nest Count         |      JFN of Request       |
        |                           |     or -1, -2, or -3      |
        |-------------------------------------------------------|
        |                           |  ENQMSK                   |
      7 |                           |      Pointer to the       |
        |                           |        Mask Block         |
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 171
Q-BLOCK


         0   5 6 7 8 9 0 1 12        17 18                    35
Word 2  +-------------------------------------------------------+
        |     | | | | | | |   ENQCHN   |        ENQFRK          |
        +-------------------------------------------------------+

       Symbol     Bits    Pointer       Contents

     EN.LTL=40      6                   Long Term Block
     EN.INV=20      7                   This Q-Block is invisible
     EN.LOK=10      8                   The Q-Block has the Lock
                                         locked.
     EN.TXT=4       9                   This Block has a Text
                                         String Identity.
     EN.EXC=2      10                   Request is Exclusive
     EN.LB=1       11                   This is the Lock-Block
                  13-17   ENQCHN        PSI Channel (-1 means job
                                         blocked)
                  18-35   ENQFRK        Fork # of Creator of
                                         Q-Block
MONITOR TABLES                                                  Page 172
RES-FREE-SPACE


                             RES-FREE-SPACE

Resident Free Space Storage.  This area contains the resident free space
bit  table,  RESBTB, which indicates which 4-word blocks of the resident
free space pools are in use.

The resident free space (in RESFRP) is pooled  by  PHYSIO  for  building
UDBs,  CDBs,  KDBs,  and SDBs;  by TTYSRV for terminal messages and line
dynamic data  blocks;   by  NSPSRV  for  logical  link  blocks  and  NSP
messages;   and  by  TIMER  for  the  TIMER  JSYS when it builds a job's
run-time limit block.  (See JOBRTL table).

This area also contains a resident free space usage table, RESUTB, which
indexed  by  pool  #, holds the amount of free space (in blocks)left for
each pool.

Defined in:  STG

Referenced by:  DSKALC, FREE, FESRV, NSPSRV, PHYSIO, TIMER, TTYSRV

                                 Format

        +-------------------------------------------------------+
RESMIN: |       Min. Level for all but Level 1 # Requests       |
        |-------------------------------------------------------|
RESAVE: |          Average Amount of Free Space Locked          |
        |-------------------------------------------------------|
UPRSAV: |               Limit for Job 0 Activity                |
        |-------------------------------------------------------|
RESFRE: |               Count of Free Blocks Left               |
        |-------------------------------------------------------|
RESFFB: |                First Free 4-word Block                |
        |-------------------------------------------------------|
RESIFL: |        Initialization Flag (-1 during startup)        |
        |-------------------------------------------------------|
RESBTB: |             Resident Free Space Bit Table             | / \
        |         (Bit on indicates 4-word entry in use)        | 1 Page
        |                           .                           |  |
        \                           .                           \ \ /
        |-------------------------------------------------------|
RESBAS: |        Base Address of the Resident Free Pool         |
        |-------------------------------------------------------|
RESUTB: |            Resident Free Space Usage Table            | / \
        |                  (indexed by pool #)                  |  |
        |                           .                           | RESQTL
        |                           .                           |  |
        \                           .                           \ \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 173
RES-FREE-SPACE


The following storage is in the non-resident area of the monitor.

        +-------------------------------------------------------+
RESFRP: |               Resident Free Space Pools               | / \
        |                           .                           | NRESFP*
        \                           .                           \  PGSIZ
        |                           .                           | \ /
        +-------------------------------------------------------+


Requests for Resident Free Space are given priority levels where:

.RESP1=0  Highest priority and monitor always  tries  to  assign  space.
         page faults are not allowed.
.RESP2=1  Second level priority where monitor will not assign  space  if
         free  storage would go below minimum (RESMIN).  Page faults are
         not allowed.
.RESP3=2  Lowest priority and  requests  for  this  level  are  made  in
         process context.  Page faults are allowed.


Pool types and numbers as indicated by RESUTP are:

.RESGP=1  General resident free space pool
.RESTP=2  Terminal pool
.RESNP=3  Network pool
.RSTMP=4  TIMER pool
MONITOR TABLES                                                  Page 174
SCHED-VARIABLES


                            SCHED-VARIABLES

This storage contains the  variables  used  in  the  SCHED  module.   It
contains  pointers  to the GOLST and to the wait lists.  Clock and other
parameters needed are also contained.

Defined in:  STG

Referenced by:  SCHED

                                  Format

        +-------------------------------------------------------+
SKDPDL: |                  Scheduler local PDL                  | / \
        |                                                       | NSKDP
        |                                                       |  =110
        \                                                       \ \ /
        +-------------------------------------------------------+
SCKATM: |         Alarm time - min. of all SCHED clocks         |
        +-------------------------------------------------------+
OLDTCK: |  Alarm time - old time - used to calculate interval   |
        +-------------------------------------------------------+
PISC7R: |                                                       | / \
        |                                                       |  4
        |                                                       |  |
        \                                                       \ \ /
        +-------------------------------------------------------+
PI7AC1: |                    Temps at PISC7                     | / \
        |                                                       |  2
        |                                                       | \ /
        +-------------------------------------------------------+
ALARMT: |             Min. time of forks on clklst              |
        +-------------------------------------------------------+
SKDTHS: |            Time in SCHED so far this pass             |
        +-------------------------------------------------------+
SKDLST: |               Last reading of HP clock                |
        +-------------------------------------------------------+
SKDLRT: |      Runtime of last trip thru scheduling cycle       |
        +-------------------------------------------------------+
SNPSV1: | Place to save AC while ck'ing PC for SNOOP break pt.  |
        +-------------------------------------------------------+
LSTPFK: |               Last Fork Scheduled                     |
        +-------------------------------------------------------+
LFORKX: |         Last Fork Before Background Tasks             |
        +-------------------------------------------------------+
FORKX:  |            Index of currently running fork            |
        +-------------------------------------------------------+
FREJOB: |             Pointer to list of free jobs              |
        +-------------------------------------------------------+
WTLST:  |             Pointer to waiting fork list              |
        +-------------------------------------------------------+
WT2LST: |    Pointer to waiting forks to be waked by UNBLK1     |
        +-------------------------------------------------------+
TTILST: |    Pointer to list of forks waiting for TTY input     |
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 175
SCHED-VARIABLES


TTOLST: |         Pointer to list of TTY output events          |
        +-------------------------------------------------------+
FRZLST: |        Pointer to list waiting for unfreezing         |
        +-------------------------------------------------------+
TRMLST: | Pointer to list waiting for inferior fork termination |
        +-------------------------------------------------------+
CLKLST: |           Pointer to list waiting for Clock           |
        +-------------------------------------------------------+
JTLST:  |                   JSYS traps queue                    |
        +-------------------------------------------------------+
JTLSTL: |Linked list of forks wait on JTLCK to PSI some mon fork|
        +-------------------------------------------------------+
GOLST:  |             Pointer to runnable fork list             |
        +-------------------------------------------------------+
JB0FLG: |                   Run JOB 0 request                   |
        +-------------------------------------------------------+
FRECB:  |                 Free core number bits                 |
        +-------------------------------------------------------+
FREFK:  |                  List of free forks                   |
        +-------------------------------------------------------+
SYSIFG: |         System has been initialized if not 0          |
        +-------------------------------------------------------+
PWRDWN: |    Power failure detected if .g. 0, done if .l. 0     |
        +-------------------------------------------------------+
RLODPC: |               PCs for keep alive reload               | / \
        |                                                       |  4
        |                                                       |  |
        \                                                       \ \ /
        +-------------------------------------------------------+
FPTABL: |          PAGEM dispatch for section numbers           | / \
        |                                                       | MAXSEC
        |                                                       |  +1
        \                                                       \ \ /
        +-------------------------------------------------------+
NBPROC: |          Number of processes in balance set           |
        +-------------------------------------------------------+
NBWT:   |        Number waiting processes in balance set        |
        +-------------------------------------------------------+
NBSWP:  |             Number of forks in swap wait              |
        +-------------------------------------------------------+
MAXBP:  |           Max number of jobs in balance set           |
        +-------------------------------------------------------+
BSQNT0: |        Value of BSQNT at start of last running        |
        +-------------------------------------------------------+
SUMNR:  |     Sum of reserve pages, all processes in memory     |
        +-------------------------------------------------------+
SUMBNR: |          Sum of working sets in balance set           |
        +-------------------------------------------------------+
NWSEPG: |          Number pages WSETs entering memory           |
        +-------------------------------------------------------+
BALSHC: |   Count of pages in balance set because of sharing    |
        +-------------------------------------------------------+
NXTCNF: |               Next fork to check - GCNO               |
        +-------------------------------------------------------+
RELCB:  |    Mask of core numbers released but not cleared      |
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 176
SCHED-VARIABLES


MAXNR:  |                  Max value of SUMNR                   |
        +-------------------------------------------------------+
MAXHNR: |          Max NR of balance set holding forks          |
        +-------------------------------------------------------+
BSLST:  |     Pointer to list of balance set holding forks      |
        +-------------------------------------------------------+
NBSL:   |          Number of balance set holding forks          |
        +-------------------------------------------------------+
NEBAL:  |     Number of processes now entering balance set      |
        +-------------------------------------------------------+
REMFGS: |              Flags set on REMBSJ/REMBSF               |
        +-------------------------------------------------------+
NPMAX:  |      Max number of pages in core for one proces       |
        +-------------------------------------------------------+
SNPMAX: |           Small NPMAX for loaded conditions           |
        +-------------------------------------------------------+
IRJAV:  |                Nearest integer to RJAV                |
        +-------------------------------------------------------+
WSMTIM: |                  Time for next WSMGT                  |
        +-------------------------------------------------------+
RWSOKF: |                 Flag - OK to do REMWS                 |
        +-------------------------------------------------------+
NWSMEM: |                   Number WS in mem                    |
        +-------------------------------------------------------+
NHQFK:  |               Number forks on non-maxq                |
        +-------------------------------------------------------+
NLQFK:  |                 Number forks on maxq                  |
        +-------------------------------------------------------+
SCHFLG: |              Permanent scheduling flags               |
        +-------------------------------------------------------+
SKEDF1: |           Start process via CH7 break in 1            |
        +-------------------------------------------------------+
SKEDF3: |              Process clock counted to 0               |
        +-------------------------------------------------------+
SKEDFC: |         Force clear of balance set and memory         |
        +-------------------------------------------------------+
INSKED: |               In scheduler if non-zero                |
        +-------------------------------------------------------+
SSKED:  |              Last job running was NOSKED              |
        +-------------------------------------------------------+
SETPAG: |            Temp for setting pager at SCDR             |
        +-------------------------------------------------------+
RSKCHK: |                   XPCW destination                    | / \
        |                                                       |  4
        |                                                       |  |
        \                                                       \ \ /
        +-------------------------------------------------------+
PSKED:  |                Page transfer completed                |
        +-------------------------------------------------------+
QSKED:  |          Blocked fork now unblocked if .g. 0          |
        +-------------------------------------------------------+
TSKED:  |             TTU output event if non-zero              |
        +-------------------------------------------------------+
BSKED:  |      Fork voluntarily left balance set if .g. 0       |
        +-------------------------------------------------------+
NGOJOB: |                Number of runnable jobs                |
MONITOR TABLES                                                  Page 177
SCHED-VARIABLES


        +-------------------------------------------------------+
RJTTIM: |             Time at last update to RJTSUM             |
        +-------------------------------------------------------+
RJATIM: |               Time of next RJAV update                |
        +-------------------------------------------------------+
RJAVS1: |              RJTSUM at last RJAV update               |
        +-------------------------------------------------------+
RJAVS2: |              HQFSUM at last RJAV update               |
        +-------------------------------------------------------+
RJAVS3: |              LQFSUM at last RJAV update               |
        +-------------------------------------------------------+
BSQNT:  |             Running job remaining quantum             |
        +-------------------------------------------------------+
TIM1:   |                   SCHED fast clock                    |
        +-------------------------------------------------------+
TIM2:   |                     Second clock                      |
        +-------------------------------------------------------+
FKT0:   |               Clock at start of running               |
        +-------------------------------------------------------+
FKT1:   |                 Time used since SETRT                 |
        +-------------------------------------------------------+
TIM0:   |                 TODCLK atlast C1STAT                  |
        +-------------------------------------------------------+
TODCLK: |      Millisecond clock, monotonically increasing      |
        +-------------------------------------------------------+
TODPWL: |     Time of day (in seconds) by power line clock      |
        +-------------------------------------------------------+
CHKTIM: |        Time at which JOB 0 considered overdue         |
        +-------------------------------------------------------+
SCDRN1: |              Run only job N if n .g. -1               |
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 178
SCHED-VARIABLES


                                 SCOUNT

Subsystem Counts.  Each entry contains a count of times  each  subsystem
is invoked.  This table is parallel to SNAMES.

Defined in:  STG

Referenced by:  MEXEC

                                Format

        +-------------------------------------------------------+ / \
SCOUNT: |                       Count                           |  |
        |-------------------------------------------------------|  |
        |                                                       |  |
        |                                                       |  |
        |                                                       |  |
        |                                                       | NNAMES
        |                                                       |  |
        |                                                       |  |
        |                                                       |  |
        |                                                       |  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 179
SDB


                                  SDB

Structure  Data  Block.   This  block,  one  per   structure,   contains
information   about   the  structure's  units,  master  directory  (i.e.
Root-Directory), bit map  for  disk  page  allocation/deallocation,  and
assigned   swapping   area.    It  also  contains  mount  and  open-file
information.  SDBBLO is the  name  of  the  storage  area  reserved  for
handling  the  SDB  for the Public Structure (PS).  Individual Structure
Data Blocks are pointed to by slots in STRTAB.

Defined in:  STG

Referenced by:  DEVICE, DIRECT,  DSKALC,  FILINI,  FUTILI,  IO,  PHYSIO,
                JSYSA, JSYSF, MEXEC, MSTR

                                Format

        +-------------------------------------------------------+
        | STRNAM                                                |
SDBNAM=0|              Structure Name (in SIXBIT)               |
        |-------------------------------------------------------|
        | STRNUM                                                |
SDBNUM=1|             Number of Units in Structure              |
       .|-------------------------------------------------------|
       .| STRSIZ                                                |
SDBSIZ .|         Size (in sectors) of Each Unit in Structure   |
        |-------------------------------------------------------|
        | STRSTS                    | STRJB                     |*
SDBSTS  |          Status Flags     |            Initing Fork # |
        |-------------------------------------------------------|
        | STRRXB                                                |
SDBRXB  |         Address of Root Directory Index Block         |
        |-------------------------------------------------------|
        | STRBXB                                                |
SDBBXB  | Address of Backup Copy of Root Directory Index Block  |
        |-------------------------------------------------------|
        | STRNSS                                                |
SDBNSS  |          Number of Swapping Sectors per Unit          |
        |-------------------------------------------------------|
        | STRFSS                                                |
SDBFSS  |            First Swapping Sector per Unit             |
        |-------------------------------------------------------|
        | STRBTB                                                |
SDBBTB  |                   OFN of Bit Table                    |
        |-------------------------------------------------------|
        | STRFC                                                 |
SDBFRC  |           Count of Free Pages on Structure            |
        |-------------------------------------------------------|
        | STRRDO                    | STRIDX                    |
SDBIDX  |   OFN of Root Directory   |   Handle of Index Table   |
        |-------------------------------------------------------|
        | STRLDN                                                |
SDBLDN  |         Last Directory Number on This Structure       |
        |-------------------------------------------------------|
MONITOR TABLES                                                  Page 180
SDB


        | STRLCA                                                |
SDBLCA  |           Last Cylinder Assigned by DSKASN            |
        |-------------------------------------------------------|
        | STRCYL                                                |
SDBCYL  |             Total Cylinders in Structure              |
        |-------------------------------------------------------|
        | STRB0                                                 |
SDBBT0  |            Length of Top Half of Bit Table            |
        |-------------------------------------------------------|
        | STRB1                                                 |
SDBBT1  |          Length of Bottom Half of Bit Table           |
        |-------------------------------------------------------|
        | STRTYP                                                |
SDBTYP  |         Address of DSKSIZ Table for This Type of Disk |
        |-------------------------------------------------------|
        | STRUC               |STRUS| STRLK                     |
SDBFLK  |  Unique Code in SDB |Str #| File Lock Count           |
        |-------------------------------------------------------|
        | STRMC                     | STROF                     |
SDBCNT  |        Mount Count        |      Open File Count      |
        |-------------------------------------------------------|
        | STRMI                                                 |
SDBPUC  |       Pack Unique Code for Media Identification       |
        |-------------------------------------------------------|
SDBOMF  |                                                       |
        |       Original Minimum Free Page Limit                |
        |-------------------------------------------------------|
SDBMXF  |                                                       |
        |       Boundary Above Which SDBMFP=SDBOMF              |
        |-------------------------------------------------------|
SDBMFP  |                                                       |
        |   Min. Free Pgs. below which DSKASA Changes           |
        |              Assignment Algorithm                     |
        |-------------------------------------------------------| / \
        | STRUDB                                                |  |
SDBUDB  |           Flags                  Pointer to UDB       |  |
        |             .             |             .             | MXSTRU
        |             .             |             .             |  |
        \             .             |             .             \  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 181
SDB


         0 1 2 3  5 6 7       15 16 17 18                     35
        +-------------------------------------------------------+
SDBSTS  | | | |    | |          |  |  |                         |
        +-------------------------------------------------------+

        Symbol      Bits     Pointer     Content

        MS%PS        0       STPS        Structure is public
        MS%DIS       1       STDIS       Structure is being dismounted
        MS%DOM       2       STDOM       Structure is domestic
        MS%PPS       3                   Primary Public Structure
        MS%INI       4                   Structure is being initialized
        MS%LIM       5                   Structure is limited
        MS%NRS       6       STNRS       Structure is not regulated
        MS%RWS       7                   Read after write for swapping
        MS%RWD       8                   Read after write for data
                    16       STIDX       Index table file OFN has been
                                          set up
                    17       STCRD       Creating Root Directory on
                                          this Structure
                   18-35     STRJB       Initializing job # (only legal
                                          user while structure is being
                                          initialized)
MONITOR TABLES                                                  Page 182
SNAMES


                                 SNAMES

Subsystem Names.  Each entry contains a subsystem program name.

Defined in:  STG

Referenced by:  MEXEC

                                Format

        +-------------------------------------------------------+ / \
SNAMES: |                     SIXBIT/Name/                      |  |
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |
        |                           .                           | NNAMES
        |                           .                           |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 183
SNBLKS


                                 SNBLKS

Subsystem Blocks.  Each entry  contains  the  number  of  blocks  for  a
subsystem program.  This table is parallel to SNAMES.

Defined in:  STG

Referenced by:  MEXEC

                                Format

        +-------------------------------------------------------+ / \
SNBLKS: |                   Number of Blocks                    |  |
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |
        |                           .                           | NNAMES
        |                           .                           |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 184
SPFLTS


                                 SPFLTS

Subsystem Page Faults.  Each entry contains the  accumulated  number  of
page faults of a subsystem program.  This is a parallel table to SNAMES.

Defined in:  STG

Referenced by:  MEXEC, PAGEM

                                Format

        +-------------------------------------------------------+ / \
SPFLTS: |                Accumulated Page Faults                |  |
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           | 
        |                           .                           | NNAMES
        |                           .                           |  
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 185
SPT


                                  SPT

Special Pages Table.  This table is pointed to  by  the  firmware's  SPT
Base  Register  (an  AC  in  an  AC Block reserved for hardware/firmware
registers) which is setup by the monitor at system initialization time.

It is referenced directly by the paging firmware (bits 12-35 only)  when
virtual  to  physical  address  translation  takes  place and shared and
indirect pointers are involved.

The first part of the table (of length NOFN) is used to point  to  index
blocks  in  memory  (or  swapping area) for open files and an index into
this part is often referred to  as  an  OFN  (Open  File  Number).   The
remainder  of  the  table  is  used to point to PSBs, JSBs, UPTs, UPTAs,
(User Page Map Tables), and shared file pages.

The ALOCX value in the OFN area is used as an index into the  allocation
tables  (ALOC1 & ALOC2) to obtain information about the directory of the
open file, (i.e., pages left in quota).  The share count in  the  non  -
OFN  area is indexed for each sharing of the page.  Unused SPT slots are
kept in a free list.  Location FRESPT contains a pointer to the head  of
the free list.

Defined in:  STG, PROLOG

Referenced by:  APRSRV, DISC, DSKALC, FORK, PAGEM, SCHED

                                Format

        +-------------------------------------------------------+
SPT:    |0 ALOCX        11|12 STGADR                          35|  / \ / \
        |    Index into   |         Storage Address             |   |   |
        | Allocation TBL  |         (Index Block Page)          |   |   |
        |-------------------------------------------------------|       |
        |                            .                          | OFN # |
        |                            .                          |       |
        |                            .                          |   |   |
        |                            .                          |   |   |
        \                                                       \  \ /  |
        |-------------------------------------------------------|
        | SPTSHC        11|12   STGADR                        35|     SSPT
        |  Shared Count   |           Storage Address           |    (2560)
        |                 | (Shared File Pg/Ovhd Pg/Page of     |
        |                 |           another Pg Tbl            |       |
        |-------------------------------------------------------|       |
        |                            .                          |       |
        |                            .                          |       |
        |                            .                          |       |
        |                            .                          |       |
        \                                                       \       |
        +-------------------------------------------------------+      \ /
MONITOR TABLES                                                  Page 186
SPT


                     Storage Address

        Symbol   Bits   Pointer      Contents

                12-35   STGADR       Storage address
                                     (Interpretation follows)
        NCORTM  12-17                Non-Core Test Mask yielding
                                     type of storage.
                                     Bits <12-17>=0 =>
                                     Bits <18-35>=Memory Pg Adr.
                                     Bits <12-17>#0 =>
                                     Bits <18-35>=Drum/DSK Adr.
        DSKAB     14                 Storage address is a disk
                                     address
        DSKNB     15                 Temporary bit used with
                                     DSKAB to say that disk
                                     address is newly assigned. 
        DRMAB    16-17               Storage address is a drum
                                     address
        DRMOB     17                 Used with DRMAB to indicate
                                     that the swapping area has
                                     overflowed to the disk file
                                     system.  (Since TOPS-20 cur-
                                     rently uses only the disk file
                                     system for swapping, a drum
                                     storage address will always 
                                     have bits 16 & 17 set.)
        UAABC    17&35               Temporary bit used by the
                                     monitor's page trap handler
                                     when a copy-on-write page
                                     trap has occurred.  If the
                                     page to be copied is a drum
                                     address, it will be faulted
                                     in before these bits are used,
                                     avoiding conflict over bit
                                     17.  These bits will signify
                                     to a lower level routine,
                                     SWPIN, that the page just
                                     gotten from the free list
                                     has no backup address and 
                                     that it is to get a copy of
                                     another page.
MONITOR TABLES                                                  Page 187
SPTH


                                  SPTH

Special Pages Table Home Information.  This table, parallel to  the  SPT
table  is referenced only by the software and is divided into two parts.
The first part, indexed by OFN, is used to point to the home address  of
each open file (i.e., to its index block) and to hold status information
about each OFN.

The second part is used mainly to show the page's origin.  For a  shared
file,  this  is  indicated  by OFN ,, Page Number , where page number is
within open file, OFN.  For PSBs, JSBs, and UPTs, the SPTH word contains
0  ,,  Fork  Index.   The  free slots in this part are on a list chained
through the SPT where the free list pointer resides in FRESPT.

Defined in:  STG

Referenced by:  DISC, DSKALC, FILINI, FORK, PAGEM, PHYSIO

                                Format

        +-------------------------------------------------------+
SPTH:   |       Flags         |Home (DSK)Address of Index Block |* / \ / \
        |-------------------------------------------------------|   |   |
        |                           .                           |   |   |
        |                           .                           | OFN # |
        |                           .                           |   |   |
        |                           .                           |   |   |
        \                           .                           \  \ /  |
        |-------------------------------------------------------|       |
        |            OFN            |        Page Number        |      SSPT
        |-------------------------------------------------------|       |
        |                          or                           |       |
        |-------------------------------------------------------|       |
        |             0             |        Fork Index         |       |
        |-------------------------------------------------------|       |
        |                           .                           |       |
        \                           .                           \       |
        +-------------------------------------------------------+      \ /
MONITOR TABLES                                                  Page 188
SPTH


         0 1 2 3 4 5 6 7 8 9 0 1 2 3 14                       35
SPTH    +-------------------------------------------------------+
OFN     | | | | | | | | | | | | |   |  Address of Index Block   |
entry   +-------------------------------------------------------+

          Symbol         Bits         Content
        
          FILWB            1          File write bit in SPTH and ASOFN
                                      argument
          THAWB            2          Thawed bit
          FILNB            3          "File new" bit
          SPTLKB           4          LH of SPTH(OFN), XB(Index Block)
                                      in use by DDMP
          OFNWRB           5          OFN has been modified
          OFNBAT           6          Index block contains a bad block
          OFNERR           7          Error in file (i.e., MPE)
          OFNDMO           8          OFN is on a dismounted structure
          OFNDUD           9          Suppress DDMP
          OFN2XB          10          Second level XB
          SPAREH          11          Spare bit


If a file is OPENed with thawed access (OF%THW),  then  both  FILWB  and
THAWB  will  be  set  to 1.  If OPEN'ed with restricted access, then the
THAWB bit will be on and the FILWB will be off.


                                  NOTE

               A file is opened by searching the OFN part
               of  SPTH  for the index block address.  If
               the address is found  and  the  write  and
               thawed  bits  are  legal,  it  is a shared
               opening and the same index  is  used.   If
               the  address  is not found, a new entry is
               made from one of the free  (-1)  slots  in
               SPTH.
MONITOR TABLES                                                  Page 189
SPTO


                                  SPTO

Special Pages Table O.  This table is parallel to the OFN  area  of  the
SPT  table  and  contains the structure number and open file share count
for each open file.  The OFN share count is indexed for each opening  of
the file and for each shared page within the open file.

Defined in:  STG

Referenced by:  PAGEM

Index:  OFN Number

                                Format

        +-------------------------------------------------------+  / \
        |  OFNSHC                   |  STRX                     |   |
SPTO:   |      OFN Share Count      |        Structure #        |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           |  NOFN
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \   |
        +-------------------------------------------------------+  \ /

       Symbol      Bits     Pointer      Content

       OFNSCH      0-17                  Share count for an OFN
                    17      OFSHR        One unit of OFN share entry
       STRX       18-35     STX          Structure index (number)
MONITOR TABLES                                                  Page 190
SPTO


                                  SPT2

Special Pages Table 2.  This table is parallel to the OFN  area  of  the
SPT  table  and  contains  the  number  of  file  opens  that  were  not
unrestricted reads.

Defined in:  STG

Referenced by:  PAGEM

Index:  OFN number

                                Format

        +-------------------------------------------------------+ / \
SPT2:   |                           |   Count of Opens          |  |
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           | NOFN
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 191
SPTO


                                  SPT3

Special Pages Table 3.  This table is parallel to the OFN  area  of  the
SPT  table  and  is  available  only  under  the  DEBUG conditional.  It
contains the number and the PC the system fork who last locked the OFN.

Defined in:  STG

Referenced by:  PAGEM

Index:  OFN number

                                Format

        +-------------------------------------------------------+ / \
SPT3:   |       System Fork #       |   PC of Fork              |  |
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           | NOFN
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 192
SSIZE


                                 SSIZE

Subsystem Working Set Size.  Each entry contains the  working  set  size
integral for a subsystem program.  This is a parallel table to SNAMES.

Defined in:  STG

Referenced by:  MEXEC, SCHED

                                Format

        +-------------------------------------------------------+ / \
SSIZE:  |               Working Set Size Integral               |  |
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  
        |                           .                           | NNAMES
        |                           .                           |  
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 193
STIMES


                                 STIMES

Subsystem Runtimes.  Each entry contains the accumulated  runtime  of  a
subsystem program.  This is a parallel table to SNAMES.

Defined in:  STG

Referenced by:  MEXEC, SCHED

                                Format

        +-------------------------------------------------------+ / \
STIMES: |                  Accumulated Runtime                  |  |
        |-------------------------------------------------------|  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |
        |                           .                           | NNAMES
        |                           .                           |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        \                           .                           \  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 194
STRTAB


                                 STRTAB

Structure Data Block  Table.   This  table  contains  pointers  to  each
structure data block in the system.

Defined in:  STG

Referenced by:  DEVICE, DIRECT, DISC, DSKALC, FILINI, FUTULI, IO, JSYSA,
                JSYSF, MEXEC, MSTR, PAGEM, PHYSIO, SWPALC

Index:  Structure Number

                                Format

        +-------------------------------------------------------+
STRTAB: |                    Pointer to SDB                     |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | STRN =
        |                           .                           |  16
        |                           .                           |   
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 195
SWAP-FREE-SPACE


                            SWAP-FREE-SPACE

Swappable Free Space Pool Format.  This table describes the header  area
that  is used in the assignment and deassignment of swappable free space
(by ASGFRE) and the usage of this space when assigned.

Defined in:  STG

Referenced by:  FREE, IPCF, LOGNAM

                                 Format

        +-------------------------------------------------------+
SWPFRE: |   Adr of 1st Free Block   |          Unused           | / \
        |-------------------------------------------------------|  |
        |                  Lock on Free Space                   |  |
        |-------------------------------------------------------|  |
        |                     Space Counter                     |  |
        |-------------------------------------------------------|
        |                Most Common Block Size                 |  7
        |-------------------------------------------------------|
        |   Max Top of Free Area    |    Bottom of Free Area    |  |
        |-------------------------------------------------------|  |
        |                 Temporary Work Space                  |  |
        |-------------------------------------------------------|  |
        |                 Temporary Work Space                  | \ /
        |-------------------------------------------------------|
SWFREE: |                    Free Space Pool                    | / \
        |                                                       |  |
        |        Space for the Assignment of:                   |  |
        |          PID Headers & Messages                       |  |
        |          ENQ/DEQ Blocks                               |
        |          System Wide Logical Name List and            | SWFREL
        |            Definitions Blocks                         |
        |          USAGE JSYS Blocks                            |  |
        |          Checkpoint Records                           |  |
        \          Network Strings                              \ \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 196
SYNMTB


                                 SYNMTB

System Logical Name Table:  This table contains pointers to the  initial
ASCIZ strings for the system logical names.

Defined in:  STG

Referenced by:  LOGNAM

                                  Format

        +-----------------------------------------------------------------+
 SYNMTB:| XWD [ASCIZ/SYS/],[ASCIZ/      :<SUBSYS>/]                       |
        |-----------------------------------------------------------------|
        | XWD [ASCIZ/HLP/],[ASCIZ/SYS:/]                                  |
        |-----------------------------------------------------------------|
        | XWD [ASCIZ/SYSTEM/],[ASCIZ/      :<NEW-SYSTEM>,      :<SYSTEM>/]|
        |-----------------------------------------------------------------|
        | XWD [ASCIZ/EDITOR/],[ASCIZ/SYS:EDIT.EXE/]                       |
        |-----------------------------------------------------------------|
        | XWD [ASCIZ/ACCOUNT/],[ASCIZ/      :<ACCOUNTS>/]                 |
        |-----------------------------------------------------------------|
        | XWD [ASCIZ/DEFAULT-EXEC/],[ASCIZ/SYSTEM:EXEC.EXE/]              |
        |-----------------------------------------------------------------|
        | XWD [ASCIZ/PS/],[ASCIZ/      :/]                                |
        +-----------------------------------------------------------------+

        When six spaces precede the colon, SLNINI inserts the name
        of the primary system structure into that location.
MONITOR TABLES                                                  Page 197
SYS-STARTUP-VECTORS


                          SYS-STARTUP-VECTORS

System Startup Transfer Vectors.   This  table,  in  resident  locations
140-147, contains the startup vectors for the monitor as well as vectors
to enter EDDT.

Defined in:  STG

Referenced by:  STG, POSTLD

                                   Format
SVECT=140
        +-------------------------------------------------------+
EVDDT:  |               JRST DDTX       (EDDT)                  |
        |-------------------------------------------------------|
        |               JRST SYSDDT     (Reset and go to EDDT)  |
        |-------------------------------------------------------|
EVDDT2: |               JRST DDTX       (Copy of EDDT in case   |
        |                                other clobbered)       |
        |-------------------------------------------------------|
EVSLOD: |               JRST SYSLOD     (Initialize disk file   |
        |                                 system)               |
        |-------------------------------------------------------|
EVVSM:  |               JRST SYSVSM     (Verify swappable       |
        |                                 monitor on startup)   |
        |-------------------------------------------------------|
EVRST:  |               JRST SYSRST     (Restart)               |
        |-------------------------------------------------------|
EVLDGO: |               JRST SYSGO      (Reload and start)      |
        |-------------------------------------------------------|
EVGO:   |               JRST SYSGO1     (Start)                 |
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 198
SYSERR-STORAGE-AREA


                          SYSERR-STORAGE-AREA

SYSERR STORAGE AREA.  In and out  pointers  into  the  buffer  area  are
maintained  for JOB0 as well as pointers to the free and released SYSERR
blocks.

Defined in:  STG, SERCOD

Referenced by:  SYSERR


        +-------------------------------------------------------+
SEBJFN: |                JFN for SYSERR.LOG File                |
        |-------------------------------------------------------|
SECHKF: |            Flag to wake Job 0 SYSERR FORK             |
        |-------------------------------------------------------|
SEIETM: |           Time after which failing to OPEN            |
        |               SYSERR LOG File can try again           |
        +-------------------------------------------------------+

Although the In-pointer  is  in  this  storage  area  the  corresponding
Out-pointer  in SEBQUO is in a fixed place in lower core (i.e., location
24), so JOB 0 can queue up a  BUGHLT  block  after  a  crash.   One  can
examine  the  last  SYSERR  block  by  adding  to  the right half of the
contents of SEBQUO, SEBDAT plus offset into SYSERR block.
MONITOR TABLES                                                  Page 199
SYSERR-STORAGE-AREA


SEBBFR: SYSERR BUFFER BLOCKS

                           SYSERR BLOCK FORMAT
        +-------------------------------------------------------+
        |  |SEBCOD|     SEBSIZ      |          SEBCDR           |*
      0 |  | Code |Blk Size with HDR|   Pointer to Next Block   |
        |-------------------------------------------------------|
        |        |6     SEBSOF    17|           SEBFN           |
      1 |        |Offset to Free    |  JOB 0 Function to Call   |
        |        |  String Space    |                           |
        |-------------------------------------------------------|
SEBHED=2|   SEHCOD    |                           |   SEHLEN    |*
        | Event Code  |                           |Block Length |
        |-------------------------------------------------------|
        |    SEHTAD                                             |
      3 |                     Date and Time                     |
        |-------------------------------------------------------|
        |    SEHUTM                                             |
      4 |                        Uptime                         |
        |-------------------------------------------------------|
        |    SEHSER                                             |
      5 |                      APRID Word                       |
        |                (Processor Serial Number)              |
        |-------------------------------------------------------|
SEBDAT=6|                                                       |
        |                  Body of Error Block                  |
        \                (Dependent on Event Type               \
        \                      See Below)                       \
        |                                                       |
        |                                                       |
        |                                                       |
        |                                                       |
        +-------------------------------------------------------+

         0 2 3 4 5 6              17 18                       35
   Word +-------------------------------------------------------+
     0  |  |SEBCOD|     SEBSIZ      |          SEBCDR           |
        |  | Code |Blk Size with HDR|   Pointer to Next Block   |
        +-------------------------------------------------------+


        Bits       Pointer        Meaning

        3-5        SEBCOD        State Code
                                  SBCFRE=0 on Free List
                                  SBCREL=1 Released
                                  SBCACT=2 Active
        6-17       SEBSIZ        Block Size Including Header
       18-35       SEBCDR        Pointer to Next in List
MONITOR TABLES                                                  Page 200
SYSERR-STORAGE-AREA


         0          8                             27          35
  Word  +-------------------------------------------------------+
     2  |   SEHCOD    |                           |   SEHLEN    |
        | Event Code  |                           |Block Length |
        +-------------------------------------------------------+

         Bits        Pointer       Meaning

         0-8         SEHCOD        Event Code (i.e., Block Type)
                                   SEC%RL=101 System Reload
                                   SEC%BG=102 BUGHLT/BUGCHK/BUGINF
                                   SEC%MB=111 Massbus Device Error
                                   SEC%CS=115 Configuration Status 
                                    Change (MTCON)
                                   SEC%FE=130 Front End Error
                                   SEC%11=131 F.E. Reload Entry
                                          (Gives -11 Reboot Info.)
                                   SEC%HS=133 Halt for KS10
                                   SEC%PT=160 Processor Parity Trap
                                   SEC%PI=161 Processor Parity Intrp.
                                   SEC%P1=162 Parity for Extensible
                                    Controllers
                                   SB%BLK=163 Status Block
                                   SEC%6S=232 DN64 event

        27-35        SEHLEN        Block Length (Including Header)
                                   RL%LEN - System Reload Block Length
                                   BG%LEN - BUGHLT/CHK/INF Block Length
                                   MB%LEN - Massbus Dev. Err Blk Length
                                   CS%SIZ Config Change Blk Length
                                   FE%LEN - F.E. Errors Blk Length
                                   R1%LEN - F.E. Reload Entry Blk Length
                                   HS%LEN KS10 Block Length
                                   PT%LEN - Proc. Parity Trap Blk Length
                                   PI%LEN - Proc. Parity Interrupt Blk Lgh
                                   PI%LN2 Extensible Controllers Blk Lgh
                                   SE%MAS Status Bloc Length
MONITOR TABLES                                                  Page 201
SYSERR-STORAGE-AREA


Word 6 to End (Body of Error Block - Dependent on Event Type)

   Event Type 101
     System Reloaded Error Block Data

          +-----------------------------------------------------+
RL%SVN=0  |          ASCII Byte Pointer to System Name          |
          |-----------------------------------------------------|
RL%STD=1  |         Time of System Build (Univ. Format)         |
          |-----------------------------------------------------|
RL%VER=2  |                System Version Number                |
          |-----------------------------------------------------|
RL%SER=3  |                  APR Serial Number                  |
          |-----------------------------------------------------|
RL%OPR=4  |         ASCII Byte Pointer to "Why Reload"          |
          |-----------------------------------------------------|
RL%HLT=5  |          BUGHLT Address (if Auto-Reloaded)          |
          |-----------------------------------------------------|
RL%FLG=6  |                        Flags                        |
          |-----------------------------------------------------| / \
RL%SIZ=7  |                 Monitor Name (Text)                 |  |
          |                                                     | NSVNT=
          |                                                     |  26.
          |                                                     |  |
          |-----------------------------------------------------| \ /
          |                                                     | / \
          |          "Why Reload" Answer String (Text)          |  |
          |                                                     | RLBSZ=
          |                                                     |  16.
          +-----------------------------------------------------+ \ /
RL%LEN=61
MONITOR TABLES                                                  Page 202
SYSERR-STORAGE-AREA


   Event type 102
     BUGHLT/CHK/INF  Error Block Data

          +-----------------------------------------------------+
BG%SVN=0  |                 System Name (ASCIZ)                 |
          |-----------------------------------------------------|
BG%SER=1  |                  APR Serial Number                  |
          |-----------------------------------------------------|
BG%VER=2  |                   Monitor Version                   |
          |-----------------------------------------------------|
BG%SDT=3  |                TAD of Monitor Build                 |
          |-----------------------------------------------------|
          |             Type (1,2 or 3) of BUG Call:            |
BG%FLG=4  |             (BG%CHK=1;BG%INF=2;BG%HLT=3)            |
          |-----------------------------------------------------|
BG%ADR=5  |                 Address of HLT/CHK                  |
          |-----------------------------------------------------|
BG%JOB=6  |          FORKX           |         Job Number       |
          |-----------------------------------------------------|
BG%USR=7  |                     User Number                     |
          |-----------------------------------------------------|
BG%PNM=10 |                Program Name (SIXBIT)                |
          |-----------------------------------------------------|
BG%MSG=11 |                   Message (ASCIZ)                   |
          |-----------------------------------------------------| / \
BG%ACS=12 |                         ACS                         |  |
          \                                                     \ 16.
          |-----------------------------------------------------| \ /
BG%PIS=32 |                      PI Status                      |
          |-----------------------------------------------------|
BG%RCT=33 |                   Register Count                    |
          |-----------------------------------------------------|
BG%REG=34 |               Registers (Maximum of 4)              |
          |-----------------------------------------------------|
BG%NAM=40 |                 SIXBIT Name of Check                |
          |-----------------------------------------------------|
BG%DAT=41 |            Time and Date of BUGHLT/BUGCHK           |
          |-----------------------------------------------------|
BG%CNT=42 |          Number of BUG Checks Since Startup         |
          |-----------------------------------------------------|
BG%APS=43 |                APR Flags (CONI APR,)                |
          |-----------------------------------------------------|
BG%PGS=44 |               Pager Flags (CONI PAG,)               |
          |-----------------------------------------------------|
BG%PGD=45 |               Pager Data (DATAI PAG,)               |
          |-----------------------------------------------------|
BG%ERG=46 |                    Error Register                   |
          |-----------------------------------------------------| / \
BG%SIZ=47 |                                                     |  |
          |                     String Area                     |  |
          |                                                     | 27.
          |                                                     |  |
          \                                                     \  |
BG%LEN=102+-----------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 203
SYSERR-STORAGE-AREA



   Event Type 111
     MASS BUS DEV Error Data Block

          +-------------------------------------------------------+
MB%NAM=0  |              Device Name (if available)               |
          |-------------------------------------------------------|
MB%VID=1  |                  Volume ID (SIXBIT)                   |
          |-------------------------------------------------------|
MB%TYP=2  |           Channel,,Device Type - See PHYPAR           |
          |-------------------------------------------------------|
MB%LOC=3  |      Location of Error - Sector or File,,Record       |
          |-------------------------------------------------------|
MB%FES=4  |         Final Error State - Device Dependant          |
          |-------------------------------------------------------|
MB%CNI=5  |                     CONI Initial                      |
          |-------------------------------------------------------|
MB%CIF=6  |                      CONI Final                       |
          |-------------------------------------------------------|
MB%SEK=7  |                    Number of Seeks                    |
          |-------------------------------------------------------|
MB%RED=10 |             Number of Blocks/Frames Read              |
          |-------------------------------------------------------|
MB%WRT=11 |            Number of Blocks/Frames Written            |
          |-------------------------------------------------------|
MB%FIL=12 |                  Filename (Pointer)                   |
          |-------------------------------------------------------|
MB%USR=13 |         User Making Request (directory number)        |
          |-------------------------------------------------------|
MB%PGM=14 |                    Program Running                    |
          |-------------------------------------------------------|
MB%D1I=15 |                  DATAI PTCR Initial                   |
          |-------------------------------------------------------|
MB%D1F=16 |                   DATAI PTCR Final                    |
          |-------------------------------------------------------|
MB%D2I=17 |                   DATAI PBAR Initial                  |
          |-------------------------------------------------------|
MB%D2F=20 |                   DATAI PBAR Final                    |
          |-------------------------------------------------------|
MB%UDB=21 |         Unit Data Block for JOB 0 BAT Blocks          |
          |-------------------------------------------------------|
MB%IRS=22 |     IORB Status Word, IS.ERR if Hard (See PHYPAR)     |
          |-------------------------------------------------------|
MB%SRE=23 |                   Soft Read Errors                    |
          |-------------------------------------------------------|
MB%SWE=24 |                   Soft Write Errors                   |
          |-------------------------------------------------------|
MB%HRE=25 |                   Hard Read Errors                    |
          |-------------------------------------------------------|
MB%HWE=26 |                   Hard Write Errors                   |
          |-------------------------------------------------------|
MB%PS1=27 |          Position, CYL if Disk, File if Tape          |
          |-------------------------------------------------------|
MONITOR TABLES                                                  Page 204
SYSERR-STORAGE-AREA


MB%PS2=30 |                  SURF/SEC or Record                   |
          |-------------------------------------------------------|
MB%CS0=31 |                   Channel Logout 0                    |
          |-------------------------------------------------------|
MB%CS1=32 |                   Channel Logout 1                    |
          |-------------------------------------------------------|
MB%CS2=33 |                   Channel Logout 2                    |
          |-------------------------------------------------------|
MB%CC1=34 |                       First CCW                       |
          |-------------------------------------------------------|
MB%CC2=35 |                      Second CCW                       |
          |-------------------------------------------------------|
MB%MPE=36 |                     Count of MPE                      |
          |-------------------------------------------------------|
MB%NXM=37 |                     Count of NXM                      |
          |-------------------------------------------------------|
MB%FEC=40 |                   Final Error Count                   |
          |-------------------------------------------------------|
MB%CAD=41 |                    Channel Address                    |
          |-------------------------------------------------------|
MB%UAD=42 |                     Unit Address                      |
          |-------------------------------------------------------|
MB%SPE=43 |                Soft Positioning Errors                |
          |-------------------------------------------------------|
MB%HPE=44 |                Hard Positioning Errors                |
          |-------------------------------------------------------|
MB%OVR=45 |                       Overruns                        |
          |-------------------------------------------------------|
MB%ICR=46 |                      Initial TCR                      |
          |-------------------------------------------------------|
MB%REG=47 |       Units Massbus Registers in order with their:    |
          \        Final Contents,, Initial Error Contents        \
          |                                                       |
          +-------------------------------------------------------+
MB%LEN=124


Event Type 115
   Configuration Status Change (logged by MTCON)

          +--------------------------------------------------------+
CS%OPW=0  |                    Operation Code                      |
          |               Codefield is CS%OPR=77B17                |
          |           Codes are:  CS%ADV=0; Attach Device          |
          |                       CS%DDV=1; Detach Device          |
          |--------------------------------------------------------|
CS%HTP=1  |                    Hardware Type                       |
          |        Channel Type        |         Unit Type         |
          |--------------------------------------------------------|
CS%DNM=2  |              Logical Device Name (SIXBIT)              |
          |--------------------------------------------------------|
CS%APS=3  |            Device Address and Serial Number            |
          |--------------------------------------------------------|
CS%RSW=4  |                Offset to Reason String                 |
          +--------------------------------------------------------+
MONITOR TABLES                                                  Page 205
SYSERR-STORAGE-AREA


   Event Type 130
     Front End Errors Data Block

          +--------------------------------------------------------+
FE%FJB=0  |                 Fork Number,,Job Number                |
          |--------------------------------------------------------|
FE%DIR=1  |                    Directory Numbers                   |
          |--------------------------------------------------------|
FE%ID=2   |                Front End Software Version              |
          |--------------------------------------------------------|
FE%NAM=3  |                 SIXBIT Name of Program                 |
          |--------------------------------------------------------|
FE%DEV=4  |            Protocol Device Code (1B0=Unknown)          |
          |--------------------------------------------------------|
FE%PTR=5  |             -Length of Data,,Start of Data             |
          |--------------------------------------------------------|
FE%DTE=6  |                       DTE Number                       |
          |--------------------------------------------------------|
FE%BYT=7  |              # of -11 Bytes in the Message             |
          +--------------------------------------------------------+
FE%LEN=10


   Event Type 131
     Front End Reload    ERROR BLOCK DATA
        
          +--------------------------------------------------------+
R1%NUM=0  |                      -11 Number                        |
          |--------------------------------------------------------|
R1%STS=1  |                  Reload Status Bits                    |
          |--------------------------------------------------------|
R1%FNM=2  |                   File Name Pointer                    |
          |--------------------------------------------------------|
R1%ERW=3  |                    -11 Error Word                      |
          |--------------------------------------------------------| / \
          |                                                        |  |
          \                     String Area                        \  20
          |                                                        |  |
          +--------------------------------------------------------+ \ /
R1%LEN=30
MONITOR TABLES                                                  Page 206
SYSERR-STORAGE-AREA


         0 1 2 3 4 5 6 7 8 9 0 1 12                     32 33  35
Word    +--------------------------------------------------------+
R1%STS=1| | | | | | | | | | | | |                         |      |
        +--------------------------------------------------------+

        Symbol         Bits        Contents

        .R1GTF          0       GTJFN failed for Dump File
        .R1OPF          1       OPENF failed for Dump File
        .R1DPF          2       Dump failed
        .R110E          3       To -10 Error on Dump 
        .R111E          4       To -11 Error on Dump
        .R1ASF          5       ASGPAG failed on Dump
        .R1RLF          6       Reload failed
        .R1PDF          7       -11 didn't Power Down
        .R1PUF          8       -11 didn't Power Up
        .R1RMF          9       ROM did not ACKnowledge the -10
        .R1BSF          10      -11 Boot Program didn't
                                 make it to the -11
        .R1NRL          11      -11 took more than 1 Min. to Reload.
        .R1RTC        33-35     Retry Count


         0 1 2                  17 18 19 20                   35
Word    +-------------------------------------------------------+
R1%ERW=3|   |     Fault Code      |     |    Parity Register    |
        +-------------------------------------------------------+

        Bits          Contents

        2-17          Fault code as 3 RAD50 characters
        20-35         Parity Register Valid Only if it is Nonzero


Event Type 133
   Halt for KS10

          +--------------------------------------------------------+
HS%COD=0  |             Halt Status Code (Phy. Loc. 0)             |
          |--------------------------------------------------------|
HS%PC=1   |              Program Counter (Phy. Loc. 1)             |
          |--------------------------------------------------------|
HS%PTR=2  |            Halt Status Block Offset Pointer            |
          |--------------------------------------------------------|
CS%PTR=3  |           Clock Stop Blk Offset Pty. (Unused)          |
          |--------------------------------------------------------| / \
HS%HDZ=4  |                                                        |  |
          \                   Halt Status Block                    \ HS%HSZ
          |                                                        |  |
          +--------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 207
SYSERR-STORAGE-AREA


Halt Status Block

          +--------------------------------------------------------+
HS%NUL=0  |                       Magnitude                        |
          |--------------------------------------------------------|
HS%PC=1   |                           PC                           |
          |--------------------------------------------------------|
HS%HR=2   |                   Current Instruction                  |
          |--------------------------------------------------------|
HS%AR=3   |                           AR                           |
          |--------------------------------------------------------|
HS%ARX=4  |                          ARX                           |
          |--------------------------------------------------------|
HS%BR=5   |                     Base Register                      |
          |--------------------------------------------------------|
HS%BRX=6  |                 Base Register Extension                |
          |--------------------------------------------------------|
HS%ONE=7  |                      Constant One                      |
          |--------------------------------------------------------|
HS%EBR=10 |                   Exec Base Register                   |
          |--------------------------------------------------------|
HS%UBR=11 |                   User Base Register                   |
          |--------------------------------------------------------|
HS%MSK=12 |                         Mask                           |
          |--------------------------------------------------------|
HS%FLG=13 |                 Microcode Status Flags                 |
          |--------------------------------------------------------|
HS%PI=14  |                       PI Status                        |
          |--------------------------------------------------------|
HS%X1=15  |             1              |             1             |
          |--------------------------------------------------------|
HS%T0=16  |                           T0                           |
          |--------------------------------------------------------|
HS%T1=17  |                           T1                           |
          |--------------------------------------------------------|
HS%VMA=20 |           VMA Flags                    VMA             |
          |--------------------------------------------------------|
HS%FE=21  |             FE             |             SC            |
          +--------------------------------------------------------+
MONITOR TABLES                                                  Page 208
SYSERR-STORAGE-AREA


   Event Type 160
     Processor Parity Trap Error Block Data

          +--------------------------------------------------------+
PT%PFW=0  |                     Page Fail Word                     |
          |--------------------------------------------------------|
PT%BDW=1  |                     Bad Data Word                      |
          |--------------------------------------------------------|
PT%GDW=2  |                     Good Data Word                     |
          |--------------------------------------------------------|
PT%USR=3  |                      User Number                       |
          |--------------------------------------------------------|
PT%JOB=4  |           FORKX           |            JOBN            |
          |--------------------------------------------------------|
PT%PGM=5  |                  Program Name (SIXBIT)                 |
          |--------------------------------------------------------|
PT%PMA=6  |                Physical Memory Address                 |
          |--------------------------------------------------------|
PT%TRY=7  |            Flags          |        Retry Count         |
          +--------------------------------------------------------+
PT%LEN=10


         0 1 2 3 4                17 18                       35
Word    +-------------------------------------------------------+
PT%TRY=7| | | | | |                 |        Retry Count        |
        +-------------------------------------------------------+

        Symbol         Bits         Contents

        PT%HRO          1         Hard Error
        PT%CCP          2         Cache Failure
        PT%CCH          3         Cache in Use
        PT%ESW          4         Error on Sweep to Core
                      18-35       Retry Count
MONITOR TABLES                                                  Page 209
SYSERR-STORAGE-AREA


   Event Type 161
     Processor Parity Interrupt Error Data Block

          +-------------------------------------------------------+
PI%CNI=0  |                       CONI APR                        |
          |-------------------------------------------------------|
PI%ERA=1  |                          ERA                          |
          |-------------------------------------------------------|
PI%FPC=2  |                          PC                           |
          |-------------------------------------------------------|
PI%SWP=3  |              Number of Errors This Sweep              |
          |-------------------------------------------------------|
PI%AAD=4  |            Logical "AND" of Bad Addresses             |
          |-------------------------------------------------------|
PI%OAD=5  |             Logical "OR" of Bad Addresses             |
          |-------------------------------------------------------|
PI%ADA=6  |               Logical "AND" of Bad Data               |
          |-------------------------------------------------------|
PI%ODA=7  |               Logical "OR" of Bad Data                |
          |-------------------------------------------------------| / \
PI%SBD=10 |               SBUS DIAG Function Data                 |  |
          \                                                       \ 10.
          |-------------------------------------------------------| \ /
PI%ADD=22 |                First 10. Bad Addresses                | / \
          \                                                       \ 10.
          |-------------------------------------------------------| \ /
PI%DAT=34 |               First 10. Bad Data Words                | / \
          \                                                       \ 10.
          |-------------------------------------------------------| \ /
PI%CDA=46 |          Core Ref of First 10. Bad Addresses          | / \
          \                                                       \ 10.
          |-------------------------------------------------------| \ /
PI%FFL=60 |                         Flags                         |
          +-------------------------------------------------------+
PI%LEN=61
MONITOR TABLES                                                  Page 210
SYSERR-STORAGE-AREA


   Event Type 162
     Parity Format for Extensible Controllers

          +-------------------------------------------------------+
PI%CN2=0  |                       CONI APR                        |
          +-------------------------------------------------------+
PI%ER2=1  |                          ERA                          |
          +-------------------------------------------------------+
PI%FL2=2  |                         flags                         |
          +-------------------------------------------------------+
PI%PC2=3  |                          PC                           |
          +-------------------------------------------------------+
PI%ERC=4  |                      Error count                      |
          +-------------------------------------------------------+
PI%AA2=5  |            logical "AND" of bad addresses             |
          +-------------------------------------------------------+
PI%OR2=6  |             logical "OR" of bad addresses             |
          +-------------------------------------------------------+
PI%AD2=7  |               Logical "AND" of bad data               |
          +-------------------------------------------------------+
PI%OD2=10 |               Logical "OR" of bad data                |
          +-------------------------------------------------------+
PI%SB2=11 |   -Count of controllers   |       first offset        |
          +-------------------------------------------------------+
PI%BAD=12 |                                                       | /\
          \                First ten bad addresses                \ 10.
          |                                                       | \/
          +-------------------------------------------------------+
PI%DA2=24 |                                                       | /\
          \                  First ten bad words                  \ 10.
          |                                                       | \/
          +-------------------------------------------------------+
PI%MDA=36 |                                                       | /\
          \          Memory references of first ten words         \ 10.
          |                                                       | \/
          +-------------------------------------------------------+
PI%SBA=50 |                                                       | /\
          \                      SBDIAG data                      \ PI%MXS
          |                                                       | =100
          |                                                       | \/
          +-------------------------------------------------------+
MONITOR TABLES                                                  Page 211
SYSERR-STORAGE-AREA


   Event Type 163
     Status Block Entry

          +-------------------------------------------------------+
SB%API=0  |                         APRID                         |
          +-------------------------------------------------------+
SB%APR=1  |                       CONI APR                        |
          +-------------------------------------------------------+
SB%PIC=2  |                        CONI PI                        |
          +-------------------------------------------------------+
SB%PGD=3  |                       DATAI PAG                       |
          +-------------------------------------------------------+
SB%PGC=4  |                       CONI PAG                        |
          +-------------------------------------------------------+ / \
SB%UP0=5  |                                                       |  4
          \                 UPT locations 424-427                 \  |
          +-------------------------------------------------------+ \ /
SB%ERA=11 |                         RDERA                         |
          +-------------------------------------------------------+
SB%RHC=12 |                                                       | /\
          |            CONI RH20 -- for all 8 possible            | SB%RHL
          \                                                       \   =8
          +-------------------------------------------------------+ \/
SB%DTC=22 |                                                       | /\
          |            CONI DTEN -- for all 4 possible            | SB%DTL
          \                                                       \   =4
          +-------------------------------------------------------+ \/
SB%EP0=26 |                                                       | / \
          |                  EPT locations 0-37                   |  40
          \                                                       \  |
          +-------------------------------------------------------+ \ /
SB%EP1=66 |                                                       | / \
          |                 EPT locations 140-177                 |  40
          \                                                       \  |
          +-------------------------------------------------------+ \ /
SB%UP1=126|                                                       | /\
          |                 UPT locations 500-503                 |  4
          \                                                       \ \/
          +-------------------------------------------------------+
SB%6=132  |                                                       | /\
          |              AC block 6 REGS 0-3 and 12               |  5
          \                                                       \ \/
          +-------------------------------------------------------+
SB%7=137  |                                                       | /\
          |                  AC block 7 REGS 0-2                  |  3
          \                                                       \ \/
          +-------------------------------------------------------+
SB%SBD=142|                                                       | / \
          |                      SBDIAG data                      | SB%SBL
          \                                                       \  =50
          +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 212
TT-LINE-DYN-DATA-BLK


                          TT-LINE-DYN-DATA-BLK

Teletype Line Dynamic Data Block.  This block pointed to by  the  line's
entry  in  TTACTL,  holds  line specific data and is built when the line
becomes active.  It is deallocated when the line becomes inactive.

There are two shortened forms of the dynamic data block, one used for  a
SENDALL  type  of  message  and  the other for sending a "ding" when any
character but CTRL/C is typed on an inactive line.

Defined in:  TTYSRV

Referenced by:  TTYSRV

                                   Format

          +-------------------------------------------------------+
TTFLG1=0  |                        Flags                          |*
          |-------------------------------------------------------|
TTDAT1=1  |                            |  TINTL                   |*
          |  Buffer Info & Term. Type  |    Internal Line Number  |
          |-------------------------------------------------------|
TTSAL1=2  |TSALC                       |  TLTYP                   |
          | Send All Character Count   |  Dev. Disp. Vector Add.  |
          |-------------------------------------------------------|
TTSAL2=3  |TSALP                                                  |
          |              Send All Byte Pointer                    |
          |-------------------------------------------------------|
TTDEV=4   |             Device dependent word                     |
          |          (See Device modules for definitions)         |
          |-------------------------------------------------------|
TTBFRC=5  |0       7|8    11|12   15|16        25|26            35|
          |  TOWRN  | TTNIN | TTNOU |   TIMAX    |  TOMAX         |
          | Wake Up |# of   |# of   |  Max bytes | Max bytes      |
          |  Count  | Input |Output |In Input Buf| In Output Buf  |
          |         | Bufs  | Bufs  |            |                |
          |-------------------------------------------------------|
TTOCT=6   |          Number of Characters in Output Buffer        |
          |-------------------------------------------------------|
TTOOUT=7  |     Pointer for Removing Char from Output Buffer      |
          |-------------------------------------------------------|
TTOIN=10  |     Pointer for Entering Char into Output Buffer      |
          |-------------------------------------------------------|
TTDAT2=11 |              Input Info. & Page Width                 |*
          |-------------------------------------------------------|
TTICT=12  |           Number Characters in Input Buffer           |
          |-------------------------------------------------------|
TTIOUT=13 |      Pointer for Removing Char from Input Buffer      |
          |-------------------------------------------------------|
TTIIN=14  |      Pointer for Entering Char into Input Buffer      |
          |-------------------------------------------------------|
FCMOD1=15 |        Control Character Output Control Words         |
          |---------                                     ---------|
FCMOD2=16 |     Possible Values for each Char. (2 Bits/Char)      |
          |         CCNONE = 0  Send nothing                      |
          |         CCIND  = 1  Indicate via ^                    |
MONITOR TABLES                                                  Page 213
TT-LINE-DYN-DATA-BLK


          |         CCSEND = 2  Send Actual Code                  |
          |         CCSIM  = 3  Simulate Format Action            |
          |-------------------------------------------------------|
TTDPSI=17 |    Bit for Terminal Code Set if Deferred Interrupt    |
          |-------------------------------------------------------|
TTPSI=20  |        Bit for Terminal Code Set if Interrupt         |
          |-------------------------------------------------------|
TTLINK=21 |           Lines linked to (9 bits per line)           |
          |-------------------------------------------------------|
TTLPOS=22 | TPGPS                     | TLNPS                     |
          |  Cur Line Position in Page| Current Charcter Position |
          |                           |        within Line        |
          |-------------------------------------------------------|
TTFLGS=23 |0     |   |10            17|                           |
          |TOFLG |   |TPLEN           |                           |
          |^O was|   | page length    |                           |
          | typed|   |                |                           |
          |-------------------------------------------------------|
TTFORK=24 | TCJOB                     | TWFRK                     |
          | Controlling Job Number    | Fork Number in Input Wait |
          |                           |        on this Line       |
          |-------------------------------------------------------|
TTFRK1=25 | TTPSFK                    | TTPFK                     |
          |  PSI Fork # for           | Fork which is Top Fork of |
          |  Non-controlling TTY      |  a SCTTY Tree (-1 if None)|
          |-------------------------------------------------------|
TTCHR1=26 |       Wake Up Character Mask (ASCII Codes 0-31.)      |
          |-------------------------------------------------------|
TTCHR2=27 |      Wake Up Character Mask (ASCII Codes 32.-63.)     |
          |-------------------------------------------------------|
TTCHR3=30 |      Wake Up Character Mask (ASCII Codes 64.-95.)     |
          |-------------------------------------------------------|
TTCHR4=31 |      Wake Up Character Mask (ASCII Codes 96.-127.)    |
          |-------------------------------------------------------|
TTFWTH=32 |                           | TTFCNT                    |
          |       PSI Level Info      |   Byte Count              |
          |-------------------------------------------------------|
TTLINE=33 |                      Line Counter                     |
          |-------------------------------------------------------|
TTLMAX=34 |                   Maximum of TTLINE                   |
          +-------------------------------------------------------+
MONITOR TABLES                                                  Page 214
TT-LINE-DYN-DATA-BLK


         0 1 2 3 4 5 6 7 8 9 10 11                 30         35
        +-------------------------------------------------------+
TTFLG1  | | | | | | | | | | |  |  |               |    TTLCK    |
        +-------------------------------------------------------+

        Symbol       Bits        Pointer        Contents

        TT%SAL        0          TTSAL      Sendall being done to
                                             this line
        TT%SHT        1          TTSHT      This is a short block
        TT%MES        2          TTMES      This is a system 
                                             message block
        TT%OTP        3          TTOTP      Output is enroute to 
                                             the line
        TT%FWK        4          TTFWK      Forced wakeup
        TT%SFG        5          TTSFG      CTRL/S was typed
        TT%RFG        6          TTRFG      Repeat last character
                                             (BKJFN)
        TT%WFG        7          TTWFG      Blocked on input
        TT%PRM        8          TTPRM      Don't deallocate 
                                             dynamic data
        TT%BAC        9          TTBAC      Permanent and becoming
                                             active
        TT%NXO       10          TTNXO      Is 0, no page output stop
        TT%BKO       11          TTBKO      Fork blocked for output
                                             event
        TT%NUS       12          TTNUS      Net user state
        TT%DD1       13          TTDD1      Device dependent bit
        TT%NPM       14          TTNPM      MCB NVT old page mode
        TT%RXF       15          TTRXF      Received XDN on line
        TT%FLO       16          TTFLO      Flushing output at TTSND
        TT%HPO       17          TTHPO      High priority output
                                             queued
        TT%DAL       18          TTDAL      Deallocate of block
                                             requested
        TT%LCK      30-35        TTLCK      Count of locks on this 
                                             block


         0   4 5   7 8 9            17 18                     35
        +-------------------------------------------------------+
TTDAT1  |     |     | |               |          TTINTL         |
        +-------------------------------------------------------+

             Bit      Pointer      Contents

             4-5      TYLMD        Terminal data mode for last
                                    input character
             5-7      TTOCN        Count of extra buffers
              8       TTOMX        Extra buffers in use
             9-17     TTTYP        Terminal type
            18-35     TINTL        Internal line number
                                   (index into static data)
MONITOR TABLES                                                  Page 215
TT-LINE-DYN-DATA-BLK



          0                17            23             35
TTSAL1   +------------------------------------------------+
         |      TLTYP       |    TSALT    |     TSALC     |
         +------------------------------------------------+

              Bit       Pointer       Contents

             0-17       TLTYP         Line type
            18-23       TSALT         Sendall timeout count
            24-35       TSALC         Sendall character count




         0      6 7 8 9           17 18           26 27       35
        +-------------------------------------------------------+
TTDAT2  |        | | | TYLCH        | TPWID         |           |
        +-------------------------------------------------------+

             Bit      Pointer     Contents

             0-8      TTUPC       Unpause on page character
             9-17     TYLCH       Last char removed from input
                                   buffer
            18-26     TPWID       Page width
            27-35     TTPPC       Pause/unpause on page character


         0      5 6        11 12       17 18                  35
        +-------------------------------------------------------+
TTFWTH  |        | TTIPSI    |   TTOPSI  |       TTFCNT         |
        +-------------------------------------------------------+


             Bit      Pointer     Contents

             6-11     TTIPSI      Input PSI level
            12-17     TTOPSI      Output PSI level
            18-35     TTFCNT      Byte count for wakeup
                                  (0=> disabled for wakeup)
MONITOR TABLES                                                  Page 216
TTACTL


                                 TTACTL

Teletype Active Line Table.  This resident table contains a  pointer  to
each active line's dynamic data block.

Defined in:  STG

Referenced by:  MEXEC, TTYSRV

Index:  Line Number

                                  Format

        +-------------------------------------------------------+
TTACTL: |       Address of dynamic data block if active         | / \
        |               or -1 if becoming active                |  |
        |                   or 0 if inactive                    |  |
        |-------------------------------------------------------|  |
        |                           .                           |   
        |                           .                           | NLINES
        |                           .                           |   
        |                           .                           |  |
        |                           .                           |  |
        |                           .                           |  |
        \                                                       \ \ /
        +-------------------------------------------------------+



                                  NOTE

               Bit 0  can  be  on  if  the  entry  is  an
               address.  This indicates the address is to
               a short message block.
MONITOR TABLES                                                  Page 217
TTBUFS


                                 TTBUFS

Teletype Buffers.  This storage  area  contains  the  input  and  output
buffers  for  each  line  (TTY and PTY) on the system.  Input and output
pointers to each buffer are kept  in  the  line's  dynamic  data  block.
These  buffers  are fixed length and are assigned on demand.  When there
is no character activity, the buffers are deassigned.

Defined in:  STG

Referenced by:  TTYSRV

                                Format

        +-----------------------------------------------------+
TTBUFS: |                Pointer to Next Buffer               |
        |-----------------------------------------------------|
        |                                                     |  / \
        |                                                     |   |
        |                                                     |
        |                                                     |Buffer
        |                                                     |   
        |                                                     |  \ /
        |-----------------------------------------------------|
        |                          .                          |
        \                          .                          \
        |-----------------------------------------------------|
        |                 Pointer to Next Buffer              |
        |-----------------------------------------------------|
        |                                                     |  / \
        |                                                     |   |
        |                                                     |
        |                                                     |Buffer
        |                                                     |   
        |                                                     |  \ /
        |-----------------------------------------------------|
        |                          .                          |
        \                          .                          \
        +-----------------------------------------------------+

        Note:  The free buffers are linked and are pointed to by TTFREB.
MONITOR TABLES                                                  Page 218
TTCSAD


                                 TTCSAD

Terminal Call Special Request Address Table.   This  resident  table  is
used to dispatch to a scheduler routine for a special line request.

Special line requests are made when the DTEQ routine is unable to obtain
space  for  a  packet  and  cannot  block  to wait for the space.  (i.e.
process is NOSKED, or request made at interrupt or scheduler level).   A
special  line  request  is made so that a packet will be queued later by
SCHED.  (See Table, TTCSTM).

Defined in:  STG

Referenced by:  TTYSRV

Index:  Line Number

                                Format

         0     6
        +-------------------------------------------------------+
TTCSAD: |      |                                                |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NLINES
        |                           .                           |
        |                                                       |   |
        |                                                       |   |
        \                                                       \  \ /
        +-------------------------------------------------------+

         Bit         Routine      Meaning

          0          TTTOBL       Turn on line
          1          TTSMIO       TTMSG action
          2          TTCOF        Carrier off check
          3          TTCONI       Carrier on action
          4          DZHV2        Hang up DZ line
          5          NTYCOF       Carrier off action
          6          CKSALL       Unhang stuck TTMSG line
         7-35                     Reserved for future use
MONITOR TABLES                                                  Page 219
TTCSTM


                                 TTCSTM

Terminal Call Special Request Time Table.  This resident table parallels
the TTCSAD table and holds the time the Scheduler is to call the special
request routine in TTCSAD.

Defined in:  STG

Referenced by:  TTYSRV

Index:  Line Number

                                Format

        +-------------------------------------------------------+
TTCSTM: |     Time for scheduler to call routine in TTCSAD      |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NLINES
        |                           .                           |
        |                                                       |   |
        |                                                       |   |
        |                                                       |   |
        \                                                       \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 220
TTSPWD


                                 TTSPWD

Terminal Speed Word Table.  This resident table  contains  the  terminal
speeds for each terminal.

Defined in:  STG

Referenced by:  TTYSRV

Index:  Line number

                                 Format

        +-------------------------------------------------------+
TTSPWD: |   TTISP Input Speed       |    TTOSP Output Speed     |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NLINES
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 221
TTSTAT


                                 TTSTAT

Teletype Status  Table.   This  resident  table  contains  the  terminal
characteristic flags.

Defined in:  STG

Referenced by:  TTYSRV

Index:  Line Number

                                  Format

        +-------------------------------------------------------+
TTSTAT: |           Terminal Characteristics Flags              |  / \
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |
        |                           .                           | NLINES
        |                           .                           |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+


         0 1 2 3 4 5 6 7 8 10  13 15  17 8 9 20     27 28     35
        +-------------------------------------------------------+
        | | | | | | | | | |      |      |   |  TSFMC  |  TTFBB  |
        +-------------------------------------------------------+

Symbol         Bits         Pointer        Contents

TT%FEM          0           TTFEM       Line is remote
TT%NTS          1           TTNTS       Don't send system mesg.
TT%FXO          2           TTFXO       Line needs XON
TT%CON          3           TTCON       Carrier is on
TT%FSP          4           TTFSP       Line needs speed set
TT%FXF          5           TTFXF       Line needs XOF
TT%IGI          6           TTIGI       Ignore input when line
                                         is inactive
TT%AUT          7           TTAUT       Line is auto-speed
TT%XOC          8           TTXOC       Line needs XON/XOFF
                                         character (KS)
TT%FPK          8           TTFPK       Waiting for FE post (KL)
TT%SHU          9           TTSHU       Line is shut off
TT%WSO         10           TTWSO       Line was shut off
              15-17         TTYSTY      Line type which yields the
                                         offset into the TTLINV table
              20-27         TSFMC       Max count for front-end buffer
              28-35         TTFBB       Entry count in Big Buf
MONITOR TABLES                                                  Page 222
TTY-STORAGE-AREA


                            TTY-STORAGE-AREA

Teletype Storage Area.  This resident area  contains  hung  and  special
line  information, the Big Buffer, and information about the Big Buffer.
(See  TT-LINE-DYN-DATA-BLK,  TTACTL,  TTBUFS,  TTCSAD,  TTCSTM,  TTLINV,
TTSPWD, TTSTAT, and TTXXVT Tables).

Defined in:  STG

Referenced by:  TTYSRV

                                 Format

        +-------------------------------------------------------+
CTYINT: |      Unit No. on the .FEDLS Device by which the       |
        |                Front End Knows the CTY                |
        |-------------------------------------------------------|
TCOERR: |     TCOUT Sets this if Fails in Scheduler Context     |
        |-------------------------------------------------------|
SALLCK: |                    SENDALL lock                       |
        |-------------------------------------------------------|
SALCNT: |             Count of Lines Doing SENDALL              |
        |-------------------------------------------------------|
SALBFR: |                SENDALL Buffer Address                 |
        |-------------------------------------------------------|
TTFREC: |                 Count of Free Buffers                 |
        |-------------------------------------------------------|
TTFREB: |                 List of Free Buffers                  |
        |-------------------------------------------------------|
TTBIGI: |              Input Index into Big Buffer              |
        |-------------------------------------------------------|
TTBIGO: |             Output Index into Big Buffer              |
        |-------------------------------------------------------|
TTBIGC: |               Char Count in Big Buffer                |
        |-------------------------------------------------------| / \
TTBBUF: |                      Big Buffer                       |  |
        |                                                       |  |
        | Storage for all TTY Input Chars. Before Being Placed  | TTBSIZ
        |  Into Individual Input Line Buffers in TTBUFS Area    | = 200
        |                                                       |  |
        \                                                       \  |
        |-------------------------------------------------------| \ /
TTQCNT: |              Count of Special Line Items              |
        |-------------------------------------------------------|
TTCQLN: |            Control of Current Line Number             |
        |-------------------------------------------------------|
TTHNGL: |             Line Being Examined for Hung              |
        |-------------------------------------------------------|
TTHNGT: |      Time at Which Line Will be Defined as Hung       |
        |-------------------------------------------------------|
TTHNGN: |      Last Hung Line      |    No. of Unhangs Done     |
        |-------------------------------------------------------|
LINKF:  |           Linked Output Character if not 0            |
        |-------------------------------------------------------|
IMECHF: |          Immediate Echo Output Char if not 0          |
        |-------------------------------------------------------|
MONITOR TABLES                                                  Page 223
TTY-STORAGE-AREA


TTCHIC: |               Input Character in TTCHI                |
        |-------------------------------------------------------|
MONITOR TABLES                                                  Page 224
UDB


                                  UDB

Unit Data Block.  This block, one per unit, contains  information  about
the current activity on the unit.

Defined in:  PHYPAR

Referenced by:  PHYSIO

                                Format

        +-------------------------------------------------------+
UDBSTS=0|       Status and Configuration Information            |
        |-------------------------------------------------------|
UDBMBW=1|        Memory Bandwidth Scheduling Information        |
       .|-------------------------------------------------------|
DBODT  .|         Overdue Timer for Seeks and the Like          |
       .|-------------------------------------------------------|
UDBERR  |              Error Recovery Status Word               |
        |-------------------------------------------------------|
UDBERP  |         Error Reporting Work Area if Nonzero          |
        |-------------------------------------------------------|
UDBDSP  |           Unit Routine Main Entry Dispatch            |
        |-------------------------------------------------------|
UDBCDB  |       Secondary CDB       |        Primary CDB        |
        |-------------------------------------------------------|
UDBADR  |  Secondary Unit Address   |   Primary Unit Address    |
        |-------------------------------------------------------|
UDBAKA  |        Current CDB        |  Current Chain Address    |
        |-------------------------------------------------------|
UDBVID  |                       Volume ID                       |
        |-------------------------------------------------------|
UDBSTR  |    Unit Within Structure    |       Structure #       |
        |-------------------------------------------------------|
UDBKDB  |                Pointer to KDB, if any                 |
        |-------------------------------------------------------|
UDBDSN  |                  Drive Serial Number                  |
        |-------------------------------------------------------|
UDBSEK  |                         Seeks                         |
        |-------------------------------------------------------|
UDBRED  |        Reads (Sectors if Disk, Frames if Tape)        |
        |-------------------------------------------------------|
UDBWRT  |       Writes (Sectors if Disk, Frames if Tape)        |
        |-------------------------------------------------------|
UDBRCT  |                  Actual read count                    |
        |-------------------------------------------------------|
UDBWCT  |                 Actual write count                    |
        |-------------------------------------------------------|
UDBSRE  |                   Soft Read Errors                    |
        |-------------------------------------------------------|
UDBSWE  |                   Soft Write Errors                   |
        |-------------------------------------------------------|
UDBHRE  |                   Hard Read Errors                    |
        |-------------------------------------------------------|
UDBHWE  |                   Hard Write Errors                   |
        |-------------------------------------------------------|
MONITOR TABLES                                                  Page 225
UDB


UDBPS1  |      Current Cylinder (if Disk), File (if Tape)       |
        |-------------------------------------------------------|
UDBSP2  |      Current Sector (if Disk), Record (if Tape)       |
        |-------------------------------------------------------|
UDBPWQ  | Position Wait Queue Tail  | Position Wait Queue Head  |
        |-------------------------------------------------------|
UDBTWQ  | Transfer Wait Queue Tail  | Transfer Wait Queue Head  |
        |-------------------------------------------------------|
UDBONR  |        Fork Which Owns This Unit (Maint. Mode)        |
        |-------------------------------------------------------|
UDBERC  |                  Current Retry Count                  |
        |-------------------------------------------------------|
UDBSPE  |                Soft Positioning Error                 |
        |-------------------------------------------------------|
UDBHPE  |                Hard Positioning Error                 |
        |-------------------------------------------------------|
UDBPNM  |             Program Name to Log on Error              |
        |-------------------------------------------------------|
UDBUDR  |         User Directory Number to Log on Error         |
        |-------------------------------------------------------|
UDBSIZ  |            Unit Size (Number of Cylinders)            |
        |-------------------------------------------------------|
UDBFCT  |                  Seek Fairness Count                  |
        |-------------------------------------------------------|
UDBCHB  |             IORB Used by Home Block Check             |
        |-------------------------------------------------------|
UDBFCR  |         Fairness Cnt. for Read Seek Preference        |
        |-------------------------------------------------------|
UDBSLV  |                Slave number if tape                   |
        |-------------------------------------------------------|
UDBCHR  |                Characteristics word                   |
        |-------------------------------------------------------|
UDBDDP  |    Device Dependent Part for MTA or for DSK           |
        |      (See PHYM2 and PHYP4 monitor modules)            |
        |                                                       |
        |                                                       |
        \                                                       \
        +-------------------------------------------------------+
MONITOR TABLES                                                  Page 226
UDB


         0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 18           31  35
        +-------------------------------------------------------+
UDBSTS  | | | | | | | | | | | | | | | | | | |            |      |
        +-------------------------------------------------------+

Symbol     Bits    Pointer   Content

US.OFS       0     USOFL     Offline or unsafe
US.CHB       1               Check home blocks before any normal
US.POS       2               Positioning in progress
US.ACT       3               Active
US.BAT       4               Bad blocks on this unit
US.BLK       5               Lock bit for this units BAT blocks
US.PGM       6               Dual port switch in (A or B) (RP04,5,6)
US.MAI       7               Unit is in MAINT mode
US.MRQ       8               MAINT mode is requested on this unit
US.BOT       9               Unit is at BOT
US.REW      10               Unit is rewinding
US.WLK      11               Unit is write locked
US.MAL      12               MAINT mode allowed on this unit
US.OIR      13               Operator intervention required.
                              Set at interrupt level, checked at SCHED.
US.OMS      14               Once a minute message to operator.
                              Used in conjunction with US.OIR
US.PRQ      15               Positioning required on this unit
US.TAP      16               Tape type device
US.PSI      17               PSI online/offline/rewind done
                              transition occurred
          31-35    USTYP     Unit Type

                    Type Code for USTYP

Symbol     Code Unit               Symbol      Code Unit

.UTRP4       1  RP04               .UTTM3       12  TM03
.UTRS4       2  RS04               .UTT77       13  TU77
.UTT45       3  TU45               .UTTM7       14  TM78
.UTTM2       4  TM02 (as unit)     .UTT78       15  TU78
.UTRP5       5  RP05               .UTDX2       16  DX20
.UTRP6       6  RP06               .UTT70       17  TU70
.UTRP7       7  RP07               .UTT71       20  TU71
.UTRP8      10  RP08               .UTT72       21  TU72
.UTRM3      11  RM03               .UTT73       22  TU7X
MONITOR TABLES                                                  Page 227
UDIORB


                                 UDIORB

UDSKIO IORB Pool.  The free IORBS are linked together in UDIORB and this
list is pointed to by UIOLST.  Used for disk IORBs (long).

Defined in:  STG

Referenced by:  PHYSIO

                                Format

        +-------------------------------------------------------+ / \
UDIORB: |                                                       |  |
        |                                                       |  |
        \                                                       \  |
        |-------------------------------------------------------|  |
        |                                                       |  |
        |                           .                           |  |
        |                           .                           | NUIORB
        |                           .                           |   *
        |                                                       | UIOLEN
        \                                                       \  |
        |-------------------------------------------------------|  |
        |                                                       |  |
        |                                                       |  |
        \                                                       \  |
        +-------------------------------------------------------+ \ /
MONITOR TABLES                                                  Page 228
UDS


                                  UDS

Unit Dispatch Service Routine Table.  This table,  one  per  unit  type,
contains vectored addresses to unit dependent functions, and is given in
its generalized form.  The specific unit dispatch tables are RP4DSP  (in
PHYP4)  for  the  disk  device,  and  TM2DSP  (in PHYM2) for the magtape
device.  See PHYPAR for definitions of arguments given and  returned  on
calls to these unit routines.

Defined in:  PHYPAR

Referenced by:  PHYSIO, PHYH2, PHYM2(MTA), PHYP4(DSK), STG

                                  Format

         +-------------------------------------------------------+
UDSINI=0 |                      Initialize                       |
         |-------------------------------------------------------|
UDSSIO=1 |          Start I/O on an IORB, skips if O.K.          |
         |-------------------------------------------------------|
UDSINT=2 |Interrupt Routine (called on interrupts for XFER done) |
         |-------------------------------------------------------|
UDSERR=3 |    Initiate Error Retry (skips if no more retrys)     |
         |-------------------------------------------------------|
UDSHNG=4 | Hung Reset (called from TIMER to reset hung devices)  |
         |-------------------------------------------------------|
UDSCNV=5 |     Convert Unit Linear Address to CYL, SURF, SEC     |
         |-------------------------------------------------------|
UDSLTM=6 |            Return Latency or Best Request             |
         |-------------------------------------------------------|
UDSPOS=7 |      Start Positioning on IORB (skips if O.K.)        |
         |-------------------------------------------------------|
UDSATN=10|                  Attention Interrupt                  |
         |-------------------------------------------------------|
UDSPRQ=11|               Skip if Positioning Required            |
         |-------------------------------------------------------|
UDSSTK=12|               Stack Second Command, Skip if OK        |
         |-------------------------------------------------------|
UDSEXT=13|        Check Legality of Unit, Skip if Existant       |
         +-------------------------------------------------------+
MONITOR TABLES                                                  Page 229
UPT


                                  UPT

User Process Table.  A one page User Process Table  is  associated  with
the  process  controller  and  with  each  fork  in  the system.  (Those
associated with forks may be swapped out with the fork.) However,  there
is only one UPT known to the hardware/firmware at any one time.  The UPT
known is the one whose address is pointed to by the hardware  User  Base
Register  (UBR),  which  is set-up when a process is chosen to run.  UPT
contains the dispatch address for process events (i.e., traps)  and  the
user's section map table.

Defined In:  STG

Referenced by:  APRSRV, SCHED

                              Format

         HWPTA: +-------------------------------------+ 
                |                                     |
                |        Available to Software        | 
                |                                     |
                \                                     \
                |-------------------------------------| / \
       UPTPPM=  |                                     |  |
       HWPTA+400\              Reserved               \ 20
                |                                     |  |
                |-------------------------------------| \ /
       UPTTPI=  |        Address of LUUO Block        |  
KLLUUO=HWPTA+420|                                     |  
                |-------------------------------------|  
       UPTOVI=  |User Arith. Overflow Trap Instruction|  
       HWPTA+421|                                     |  
                |-------------------------------------| 
                |User Stack Overflow Trap Instruction |
                |-------------------------------------|
                |    User Trap 3 Trap Instruction     |
                |-------------------------------------|
       KIMUFL=  |     PC flags     |    MUUO OP-AC    | 
FFL=   HWPTA+424|                  |                  | 
                |-------------------------------------|
       KIMUPC=  |             MUUO Old PC             | 
FPC=   HWPTA+425|                                     | 
                |-------------------------------------|
       KIMUEF=  |              E of MUUO              | 
       HWPTA+426|                                     | 
                |-------------------------------------|
       KIMPCW=  |        MUUO Process Context         | 
UPTPCW=HWPTA+427|                                     | 
                |-------------------------------------|
       UPTDSP=  |  Kernel No Trap MUUO New PC (word)  | 
       HWPTA+430|                                     | 
                |-------------------------------------|
                |   Kernel Trap MUUO New PC (word)    |
                |-------------------------------------|
                |Supervisor No Trap MUUO New PC (word)|
                |-------------------------------------|
MONITOR TABLES                                                  Page 230
UPT


                | Supervisor Trap MUUO New PC (word)  |
                |-------------------------------------|
                |Concealed No Trap MUUO New PC (word) |
                |-------------------------------------|
                |  Concealed Trap MUUO New PC (word)  |
                |-------------------------------------|
                |  Public No Trap MUUO New PC (word)  |
                |-------------------------------------|
                |   Public Trap MUUO New PC (word)    |
                |-------------------------------------|
       HWPTA+440|        Reserved for software        |
                |                                     |
                \                                     \
                |-------------------------------------|
       UPTPFW=  |           Page Fail Word            | 
TRAPS0=HWPTA+500|                                     | 
                |-------------------------------------|
       UPTPFL=  |           Page Fail Flags           | 
TRAPFL=HWPTA+501|                                     | 
                |-------------------------------------|
       UPTPFO=  |          Page Fail Old PC           | 
TRAPPC=HWPTA+502|                                     | 
                |-------------------------------------|
       UPTPFN=  |          Page Fail New PC           | 
       HWPTA+503|                                     | 
                |-------------------------------------|
       HWPTA+504|                                     |
       HWPTA+505|     User Process Execution Time     |
                |-------------------------------------|
       HWPTA+506|                                     |
       HWPTA+507|     User Memory Reference Count     |
                |-------------------------------------|
       HWPTA+510|                                     |
                |                                     |
       HWPTA+537\                                     \
                |-------------------------------------|
       USECTB=  |              USERSECT               | 
       HWPTA+540|                                     | 
                |                                     |
       HWPTA+577\             USERSECT37              \
                |-------------------------------------|
       HWPTA+600|                                     |
                |        Available to software        |
       HWPTA+777\                                     \
                +-------------------------------------+

Note:  Approximately 1/4 of the UPT is used for hardware cells,  leaving
the rest available to software.  The monitor currently uses this area to
house the first page of the PSB table.  (See PSB table description.)
MONITOR TABLES                                                  Page 231
USER-PG-MAP-TBL


                            USER-PG-MAP-TBL

User Page Map Table.  This 512-word swappable table, holds or points  to
other  tables  that  hold  all  of the mapping information needed by the
firmware to translate user mode virtual addresses  in  a  given  section
into  physical  memory  addresses.   It is pointed to by an entry in the
forks' section table in its User Process Table (UPT).   (See  UPT  table
description.)

The User Page Map, indexed by a 9 bit virtual page number (1),  contains
either  the  storage  address  for  the  virtual page if the page exists
(immediate pointer) or a pointer to where the storage address resides in
another  table (shared or indirect pointer).  The storage address can be
a memory, swapping area, or disk page address.

If the Storage address for the virtual page referenced  by  the  process
contains  a  memory page address (i.e., Storage Address Bits <12-17>=0),
then the microcode, after copying  this  translation  information  along
with  the  page's  access  bits  into the CPU's Hardware Page Table (2),
concatenates this memory page number with the index  into  the  page  to
compose the complete physical address.

If the storage address for the virtual page referenced does not  contain
a memory address (i.e., Storage Address Bits <12-17> not equal to 0), or
the page is non-existant (i.e., Null Pointer word) or the page is  being
illegally  accessed,  the  microcode  will cause a page trap to the User
Process Table (UPT).   The  monitor  is  then  invoked  to  perform  the
analysis and resolution of the trap condition.

Defined in:  PROLOG

Referenced by:  DIAG, FORK, PAGEM, SCHED

                              Format

UPTPGA: +-------------------------------------------------------+  / \
       0|                                                       |   |
        |                   Immediate Pointer                   |   |
        |-------------------------------------------------------|   |
        |0    2| 3         8|       | 12                      35|   |
        | Op   |Access Bits |       |    STGADR                 |   |   
        | Code |            |       |  Storage Address          |   |
        |  1   |            |       |                           |   |
        |-------------------------------------------------------|   |
        |                          or                           |   |
        |                                                       |   |
        |                    Shared Pointer                     |   |
        |-------------------------------------------------------|   |
        |0  2 |3        8|          |18                       35|   |
        | Op  | Access   |          | SPTX                      |   |
        | Code|   Bits   |          |  SPT. index               |
        |  2  |          |          |  (Holds Pg's Stor Adr.)   |Virtual
        |-------------------------------------------------------|  Pg#
        |                          or                           |(0-777
        |                                                       | octal)
        |                   Indirect Pointer                    |
MONITOR TABLES                                                  Page 232
USER-PG-MAP-TBL


        |-------------------------------------------------------|   |
        |0  2 |3      8 |9       17 |18                      35 |   |
        | Op  | Access  | IPPGN     | SPTX                      |   |
        | Code|  Bits   |    PN     | SPT index                 |   |
        |  3  |         |           | (Holds Pg Tbl's Stor. Adr)|   |
        |-------------------------------------------------------|   |
        |                          or                           |   |
        |                                                       |   |
        |                     Null Pointer                      |   |
        |-------------------------------------------------------|   |
        |0  2 |3         8|                                     |   |
        |Op   |Access Bits|         0 (Nonexistent Pg)          |   |
        |Code |           |                                     |   |
        |  0  |      0    |                                     |   |
        |-------------------------------------------------------|   |
        |                           .                           |   |
        |                           .                           |   |
        \                           .                           \  \ /
        +-------------------------------------------------------+


    *  UPTPGA is the monitor's symbol used when it wishes to
       reference the current user's page map table for section 0.

    (1)  A fork's virtual 18-bit address within a section
         is viewed as an address within a 512-word page,
         (i.e., virtual page number - 9 bits), Index into
         page 9-bits.

    (2)  This 512-word table is examined first by the 
         microcode for the virtual page translation
         information.  If not there, it then goes to
         the fork's UPTA in memory.
MONITOR TABLES                                                  Page 233
USER-PG-MAP-TBL


              0 2 3 4 5 6 7 8 9                                    35
             +-------------------------------------------------------+
Page Pointer |   | | | | | | |Dependent on Pointer Type in Bits <0-2>|
 Word        +-------------------------------------------------------+

       Symbol     Bits                Meaning

       PTRCOD     0-2                Operation Code for the page
                                      pointer type
                                       IMMCOD = 1  Immediate Pointer
                                       SHRCOD = 2  Share Pointer
                                       INDCOD = 3  Indirect
       PTBUB       3                 Public Bit
       PTWR        4                 Write Access
       PTSOFT      5                 Software Bit
       PTCACH      6                 Cache Bit
       PTCPY       7                 Copy-on-Write (Software Only)
       PTSECM      8                 Section is mapped
       PTLOK       9                 Page is Locked (Immediate
                                      Pointer only)
MONITOR TABLES                                                  Page 234
USER-PG-MAP-TBL


Pointer Types:
                     0   2 3         8 9  11 2 3 4 5 6 7 18         35
                    +-------------------------------------------------+
  Immediate Pointer |  1  |Access Bits|     | | | | | | |             |
                    +-------------------------------------------------+

        Symbol    Bits      Pointer      Meaning

                  0-8                   See above

             STORAGE ADDRESS

                 12-35      STGADR      Storage address
                                         (Interpretation follows)
        NCORTM   12-17                  Non-Core Test Mask yielding 
                                          type of storage.
                                        Bits <12-17>=0 =>
                                               Bits <18-35>=Memory
                                                Pg Adr.
                                        Bits <12-17> not equal 0 =>
                                               Bits <18-35>=Drum/DSK
                                                Adr.
        DSKAB     14                    Storage address is a disk
                                         address
        DSKNB     15                    Temporary bit used with DSKAB
                                         to say that disk address is
                                         newly assigned.
        DRMAB     16                    Storage address is a drum
                                         address
        DRMOB     17                    Used with DRMAB to indicate 
                                         that the swapping area has
                                         overflowed to the disk file
                                         system.  (Since TOPS-20 
                                         currently uses only the disk
                                         file system for swapping, a
                                         drum storage address will 
                                         always have bits 16 & 17 set.)
        UAABC    17&35                  Temporary bit used by the
                                         monitor's page trap handler
                                         when a copy-on-write page
                                         trap has occurred.  If the 
                                         page to be copied is a drum
                                         address, it will be faulted 
                                         in before these bits are used,
                                         avoiding conflict over bit 17.
                                         These bits will signify to a
                                         lower level routine, SWPIN, 
                                         that the page just gotten from
                                         the free list has no backup
                                         address and that it is to get
                                         a copy of another page.
MONITOR TABLES                                                  Page 235
USER-PG-MAP-TBL


                0   2 3         8 9  11 2 3 4 5 6 7 18          35
               +-------------------------------------------------+
  Null Pointer |  0  |Access Bits|     | | | | | | |             |
               +-------------------------------------------------+

       Symbol       Bits                  Meaning

                    0-8                 These bits will have a value
                                         of 0 for the Null Pointer
                                         case.
       UAAB          17                 Temporary bit used by the
                                         monitor's page trap handler
                                         to say that the page has no
                                         assigned backup address on
                                         disk/drum.


                  0 1 2 3    8               18                    35
                 +---------------------------------------------------+
  Shared Pointer |  2  |Access|             |      SPTX              |
                 |     |  Bits|             |         SPT index      |
                 +---------------------------------------------------+

                  Bits        Pointer           Meaning

                  0-8                          See Above
                 18-35        SPTX             The SPT index is used
                                                to obtain from the SPT,
                                                the page's storage
                                                address.


                    0 1 2 3    8 9          17 18                    35
                   +---------------------------------------------------+
  Indirect Pointer |  3  |Access| IPPGN       | SPTX                   |
                   |     |  Bits|   Page #    |    SPT index           |
                   +---------------------------------------------------+

                  Bits        Pointer           Meaning

                  0-8                          See Above
                  9-17        IPPGN            Page # whose value is used
                                                as an offset into the Page
                                                Table (pointed to by the 
                                                SPT table address plus the
                                                SPT index in bits <18-35>)
                                                to obtain the page's trans-
                                                lation information.
                 18-35        SPTX             The SPT index is used to 
                                                obtain from the SPT the
                                                page table's storage 
                                                address.  The table's
                                                address plus the offset
                                                specified in bits <9-17>
                                                holds the virtual page's
                                                translation information.