.TITLE RTMON System Display Monitor .ENABL LC .NLIST BEX .ENABL GBL ; Insert verbiage here ; R. Billig, J. Harris - Authors ; L. Parent - Enhancements 11/79, 2/80 ; System MACRO requirements .MCALL .GTJB, .EXIT, .PRINT, .TWAIT, .RCTRL, .TTYOU, .GVAL, .MTPS ; SYSLIB modules referenced .GLOBL DATE, TIME, R50ASC .SBTTL Definitions ; Get Job Parameter Block GT.NUM = 0 ;Job number * 2 GT.HGH = 2 ;High memory limit GT.LOW = 4 ;Low memory limit GT.IOC = 6 ;Adrs of I/O channel space GT.IMP = 10 ;Adrs of job's impure area GT.CON = 12 ;Console TT unit number (*byte*) GT.NAM = 22 ;ASCII job name (6 characters) GT.END = 30 ;*End of Parameter Block* ; Job Impure Area Offsets I.STATE = 0 ;Status bits I.QHDR = 2 ;I/O queue header I.CMPE = 4 ;Completion queue last element I.CMPL = 6 ;Completion queue head I.CHWT = 10 ;Pointer to channel during I/O wait I.PCHW = 12 ;Saved I.CHWT during completion I.PERR = 14 ;Saved ERRBYT during completion I.CNSL = 16 ;Pointer to TCB for this job's console (MTTY) I.TID = 22 ;Pointer to job's ID area I.JNUM = 24 ;Job number I.CNUM = 26 ;Number of channels defined I.CSW = 30 ;Pointer to channel area I.IOCT = 32 ;Number of outstanding I/O operations I.SCTR = 34 ;Suspend counter (<0 => suspended) I.BLOK = 36 ;Blocking bits for job ; RMON Fixed Offset Definitions RMON = 54 ;Base address of RMON CONFG2 = 370 ;Configuration word 2 MONAME = 406 ;Booted monitor name PNAME = 404 ;Offset to $PNAME table NULCNT = 416 ;Null loop counter (Not a fixed offset!!!!) EIS$ = 000400 ;Extended Instruction Set present SYSOP = 372 ;Sysgen options STASK$ = 040000 ;System task support present MMGT$ = 000002 ;Extended memory support ; Job Status Word Definitions JSW = 44 ;Address of JSW SPMODE = 010000 ;Special TT mode in JSW ; Channel Definitions CSWMSK = ^C<76> ;Mask for device index in CSW C.UNIT = 11 ;Offset in channel of device unit byte ; PSW Definitions PR0 = 000000 ;Priority 0 mask PR7 = 000340 ;Priority 7 mask .SBTTL Blocking, State Conditions ; The following macro is used to define masks on I.BLOK and the ; corresponding messages to be printed. .MACRO BITDEF BIT,REASON,LABEL .WORD BIT .IIF NB