-
Notifications
You must be signed in to change notification settings - Fork 82
/
hdpage2
134 lines (134 loc) · 4.75 KB
/
hdpage2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
CMDBUF *=*+CMDLEN
ERRBUF *=*+36 ;ERROR MSG BUFFER
JOBS *=*+BFCNT+2 ;JOB QUEUE
HDRS *=*+BFCNT+BFCNT+4 ;TRK & SECTORS
;
HDZAT * = *+HDNZ+HDNZ ;TRACK ADDRS FOR BAMS
HDZAS * = *+HDNZ+HDNZ ;CYLINDER ADDRS
HDZLOC * = *+HDNZ ;ZONE LOCATOR FOR DR 0
HDFZLC * = *+HDNZ ; * FOR DR 1
HDZFUL * = *+HDNZ+HDNZ ;BAM FULL SWITCHES
HDNZA * = *+2 ;NUMBER OF ACTUAL ZONES
HDDS * = *+2 ;ADDR OF FIRST DIR SECT
HDDT * = *+2 ;ADDR OF FIRST DIR TRK
HDNUM * = *+1 ;NUMBER OF SECTORS THIS REQ.
HDTYP * = *+1 ;TYPE OF SECTOR REQ'D
HDCZN *=*+1 ;CURRENT ZONE BEING USED
HDNSUR * = *+2 ;NUMBER OF SURFACES
ENTSEC *=*+MXFILS ; SECTOR OF DIRECTORY ENTRY
ENTTRK *=*+MXFILS ; TRACKS OF DIRECTORY ENTRY
ENTIND *=*+MXFILS ; INDEX OF DIRECTORY ENTRY
FILDRV *=*+MXFILS ; DEFAULT FLAG, DRIVE #
PATTYP *=*+MXFILS ; PATT,REPL,CLOSED-FLAGS,TYPE
CHNRDY *=*+MXCHNS ; CHANNEL STATUS
CHNDAT *=*+MXCHNS ; CHANNEL DATA BYTE
LSTCHR *=*+MXCHNS ; CHANNEL LAST CHAR PTR
CHNCUR *=*+MXCHNS ;LAST DATA GIVENTO IEEE
CHNEOI *=*+MXCHNS ;LAST CHNRDY GIVEN "
FILTYP *=*+MXCHNS ;CHNL FILE TYPE
REGET *=*+MXCHNS ;SWITCH 0=GET NXT BYTE
;NZ = RESEND LAST BYTE GIVEN
; 1=OPNWRIT
; 2=OPNRCH
; 3=LOADIR
; 4=RECORD
; 5=ERROR MSG
; 6=M-R
;
STRSIZ *=*+1
TEMPSA *=*+1 ; TEMPORARY SA
CMD *=*+1 ;TEMP JOB COMMAND
LSTSEC *=*+1 ;
BUFUSE *=*+3 ; BUFFER ALLOCATION
DSKID *=*+4 ; CURRENT DISK ID'S
ENTFND *=*+1 ;DIR-ENTRY FOUND FLAG
DIRLST *=*+1 ;DIR LISTING FLAG
CMDPND *=*+1 ;CMD PENDING
CMDWAT *=*+1 ;COMMAND WAITING FLAG
LINUSE *=*+2 ;LINDX USE WORD
LBUSED *=*+1 ;LAST BUFFER USED
REC *=*+1
TRKSS *=*+1
SECSS *=*+1
LSTJOB *=*+BFCNT+2 ; LAST JOB
REVCNT *=*+1 ; ERROR RECOVERY COUNT
ERRCNT *=*+BFCNT+2 ; ERROR COUNT ON JOB
DSEC *=*+MXCHNS ; SECTOR OF DIRECTORY ENTRY
DTRK *=*+MXCHNS ; TRACK OF DIRECTORY ENTRY
DIND *=*+MXCHNS ; INDEX OF DIRECTORY ENTRY
ERWORD *=*+1 ;ERROR WORD FOR RECOVERY
BLINK *=*+1 ;SET WHEN LIGHTS BLINKING
ERRTIM *=*+1 ; TIMER FOR BLINKING LEDS
PRGDRV *=*+1 ; LAST PROGRAM DRIVE
PRGSEC *=*+1 ; LAST PROGRAM SECTOR
WLINDX *=*+1 ; WRITE LINDX
RLINDX *=*+1 ; READ LINDX
NBTEMP *=*+2 ; # BLOCKS TEMP
CMDSIZ *=*+1 ; COMMAND STRING SIZE
CMDNUM *=*+1 ;COMMAND #
CHAR *=*+1 ; CHAR UNDER PARSER
LIMIT *=*+1 ; PTR LIMIT IN COMPAR
F1CNT *=*+1 ;FILE STREAM 1 COUNT
F2CNT *=*+1 ;FILE STREAM 2 COUNT
F2PTR *=*+1 ;FILE STREAM 2 POINTER
; PARSER TABLES
FILTBL *=*+MXFILS+1 ; FILENAME POINTER
FILTRK *=*+MXFILS ; 1ST LINK/TRACK
FILSEC *=*+MXFILS ; /SECTOR
; CHANNEL TABLES
PATFLG *=*+1 ;PATTERN PRESENCE FLAG
IMAGE *=*+1 ;FILE STREAM IMAGE
DRVCNT *=*+1 ; NUMBER OF DRV SEARCHES
DRVFLG *=*+1 ; DRIVE SEARCH FLAG
LSTDRV *=*+1 ; LAST DRIVE W/O ERROR
FOUND *=*+1 ; FOUND FLAG IN DIR SEARCHES
DIRSEC *=*+1 ; DIRECTORY SECTOR
DIRTRK *=*+1 ;<HD> DIR TRACK
DELSEC *=*+1 ; SECTOR OF 1ST AVAIL ENTRY
DELTRK *=*+1 ; TRACK OF 1ST AVAIL ENDTR
DELIND *=*+1 ;INDEX OF 1ST AVAIL ENDTR
LSTBUF *=*+1 ; =0 IF LAST BLOCK
INDEX *=*+1 ; CURRENT INDEX IN BUFFER
FILCNT *=*+1 ; COUNTER, FILE ENTRIES
TYPFLG *=*+1 ; MATCH BY TYPE FLAG
MODE *=*+1 ; ACTIVE FILE MODE (R,W)
JOBRTN *=*+1 ;JOB RETURN FLAG
IEIERS *=*+1 ;IEIER SAVE AREA
DRCAS *=*+1 ;DRCA SAVE AREA
NAMBUF *=*+36 ; DIRECTORY BUFFER
REALID *=*+4 ;CONTROLLERS REAL IDS
JOBID *=*+BFCNT+BFCNT+4 ;DISK ID PER JOB
NAHEAD *=*+1 ;NUMBER OF SECTORS TO SKIP
HDDFLG *=*+2 ;COPY OF VOL LBL FLAG BYTES
DSKST *=*+1 ;DISK PHYSICAL STATUS
NDSEC *=*+1 ;NEW DIRECTORY SECTOR
NDTRK *=*+1 ;NEW DIR TRACK
SERCNT *=*+8 ;SOFT ERROR COUNTERS
;SERCNT IS DEFINED AS FOLLOWS
; COUNT OF TIME OUTS (DRIVE 0 & 1)
; COUNT OF LRC FAILURES " " "
; COUNT OF GCR ERRORS " " "
; COUNT OF VERIFY ERRS " " "
;
HERCNT *=*+2 ;HARD ERROR COUNTERS
IOCNT *=*+4 ;COUNT OF IO'S PER DRIVE
;DEFINED AS FOLLOWS
; LOW COUNT DRIVE 0
; " " " 1
; HIGH " " 0
; " " " 1
;
;
; THE FOLLOWING ARE FOR BIG FILE SUPPORT
;
GRPNUM *=*+1 ;DESIRED GROUP NUMBER
SSSGRP *=*+MXCHNS ;CURRENTLY RESIDENT GROUP
;VALUES ARE :
; 255 = NO SSS OR GROUP RESIDENT
; 254 = SSS IS RESIDENT
; 0-91 = A GROUP IS RESIDENT
;
SSSSEC *=*+MXCHNS ;SUPER SIDE SECTOR ADDR
SSSTRK *=*+MXCHNS ;SUPER SIDE SECTOR TRK ADDR
LSTE *=*+1 ;LAST ERROR # LOGGED
.END