1
2
3
4
5
6
7
8
9
10
11
12
13
14 dcl INIT_CRC fixed bin int static options (constant) init (63);
15 dcl CONVERT_CRC fixed bin int static options (constant) init (32);
16 dcl REVPOLY fixed bin int static options (constant) init (101001b);
17 dcl OR bit (4) int static options (constant) init ("0111"b);
18 dcl XOR bit (4) int static options (constant) init ("0110"b);
19 dcl And bit (4) int static options (constant) init ("0001"b);
20
21
22 dcl DBGPKTS bit (1) int static options (constant) init ("0"b);
23
24 dcl DBGREJS bit (1) int static options (constant) init ("1"b);
25
26 dcl DBGXCHRS bit (1) int static options (constant) init ("0"b);
27
28
29
30
31 dcl CR char (1) int static options (constant)
32 init ("^M");
33 dcl ESC char (1) int static options (constant)
34 init ("^[");
35 dcl LF char (1) int static options (constant)
36 init ("
37 ");
38 dcl SI char (1) int static options (constant)
39 init ("^O");
40 dcl SO char (1) int static options (constant)
41 init ("^N");
42 dcl SOH char (1) int static options (constant)
43 init ("^A");
44
45
46 dcl ChnCnt fixed bin int static options (constant) init (2);
47
48 dcl SeqFld fixed bin int static options (constant) init (2);
49
50 dcl SeqCnt fixed bin int static options (constant) init (4);
51
52 dcl SeqMsk fixed bin int static options (constant) init (3);
53
54
55
56 dcl MaxDatLen fixed bin int static options (constant) init (124);
57
58 dcl SOPLen fixed bin int static options (constant) init (1);
59
60 dcl TypLen fixed bin int static options (constant) init (1);
61
62 dcl ChkLen fixed bin int static options (constant) init (1);
63
64 dcl LenLen fixed bin int static options (constant) init (1);
65
66 dcl EOPLen fixed bin int static options (constant) init (1);
67
68 dcl MinPktLen fixed bin int static options (constant) init (5);
69
70 dcl MaxPktLen fixed bin int static options (constant) init (129);
71
72
73
74 dcl RstOff fixed bin (8) int static options (constant)
75 init (32);
76 dcl Request fixed bin (8) int static options (constant)
77 init (0);
78 dcl Confirm fixed bin (8) int static options (constant)
79 init (1);
80 dcl RstCnt fixed bin (8) int static options (constant)
81 init (2);
82 dcl FGBrk fixed bin (8) int static options (constant)
83 init (36);
84 dcl DisCon fixed bin (8) int static options (constant)
85 init (34);
86 dcl FastDis fixed bin (8) int static options (constant)
87 init (86);
88 dcl BrkOff fixed bin (8) int static options (constant)
89 init (34);
90 dcl BrkCnt fixed bin (8) int static options (constant)
91 init (4);
92 dcl DatOff fixed bin (8) int static options (constant)
93 init (38);
94 dcl DatCnt fixed bin (8) int static options (constant)
95 init (32);
96 dcl AckOff fixed bin (8) int static options (constant)
97 init (70);
98 dcl AckCnt fixed bin (8) int static options (constant)
99 init (8);
100 dcl NakOff fixed bin (8) int static options (constant)
101 init (78);
102 dcl NakCnt fixed bin (8) int static options (constant)
103 init (8);
104
105
106 dcl RQS fixed bin int static options (constant) init (2);
107
108 dcl RWS fixed bin int static options (constant) init (3);
109
110 dcl SWS fixed bin int static options (constant) init (3);
111
112 dcl Lim_r_timer fixed bin int static options (constant) init (7);
113
114 dcl Lim_s_timer fixed bin int static options (constant) init (15);
115
116 dcl Lim_p_timer fixed bin int static options (constant) init (30);
117
118 dcl Timer_Interval fixed bin (71) int static options (constant)
119 init (125000);
120
121
122 dcl Modem_Reader_Task fixed bin int static options (constant) init (0);
123
124 dcl FG_task fixed bin int static options (constant) init (1);
125
126 dcl BG_task fixed bin int static options (constant) init (2);
127
128 dcl Idle bit (1) int static options (constant) init ("0"b);
129
130
131
132 dcl NO_MINOR fixed bin int static options (constant) init (-1);
133
134
135
136 dcl WST_INIT_PL fixed bin int static options (constant) init (23);
137 dcl WST_INIT_LL fixed bin int static options (constant) init (79);
138
139 dcl WST_HEADER_1 fixed bin int static options (constant) init (1);
140 dcl WST_HEADER_2 fixed bin int static options (constant) init (2);
141 dcl WST_HEADER_3 fixed bin int static options (constant) init (3);
142 dcl WST_LENGTH_HIGH fixed bin int static options (constant) init (4);
143 dcl WST_LENGTH_LOW fixed bin int static options (constant) init (5);
144 dcl WST_MODES fixed bin int static options (constant) init (6);
145 dcl WST_KILL fixed bin int static options (constant) init (7);
146 dcl WST_ERASE fixed bin int static options (constant) init (8);
147 dcl WST_ESCAPE fixed bin int static options (constant) init (9);
148 dcl WST_LINE_LENGTH fixed bin int static options (constant) init (10);
149 dcl WST_PAGE_LENGTH fixed bin int static options (constant) init (11);
150
151