1
2
3
4
5
6
7
8 dcl DCxx_p ptr;
9
10
11 dcl 1 dcxx unal based (DCxx_p),
12 2 mark char (1) unal,
13 2 ctl,
14 3 type bit (3) unal,
15
16
17
18
19
20
21
22 3 fill1 bit (1) unal,
23 3 Xctl bit (2) unal,
24
25
26 3 fill2 bit (1) unal,
27 3 Yctl bit (2) unal,
28
29
30 2 leng fixed bin (9) unal unsigned,
31
32 2 etc;
33
34 dcl 1 dcctl unal based (DCxx_p),
35 2 mark char (1) unal,
36 2 type char (1) unal,
37
38 2 leng fixed bin (9) unal unsigned;
39 dcl (
40 wait_signal init ("^Q^A^@"),
41 unstart_signal init ("^Q^B^@"),
42 unstop_signal init ("^Q^C^@")
43 ) char (3) static options (constant);
44
45 dcl 1 dclit unal based (DCxx_p),
46 2 mark char (1) unal,
47 2 type char (1) unal,
48 2 leng fixed bin (9) unal unsigned,
49
50 2 width fixed bin (31) unal,
51
52 2 data char (dclit.leng - 4);
53
54 dcl 1 dclong_val unal based (DCxx_p),
55 2 mark char (1) unal,
56 2 type char (1) unal,
57 2 leng fixed bin (9) unal unsigned,
58 (
59 2 v1 fixed bin (31),
60 2 v2 fixed bin (31)
61 ) unal;
62 dcl (
63 dclong_len init (8),
64 dclong1_len init (4)
65 ) fixed bin static options (constant);
66
67 dcl 1 dcshort_val unal based (DCxx_p),
68 2 mark char (1) unal,
69 2 type char (1) unal,
70 2 leng fixed bin (9) unal unsigned,
71 (
72 2 v1 fixed bin,
73 2 v2 fixed bin
74 ) unal;
75 dcl (
76 dcshort_len init (4),
77 dcshort1_len init (2)
78 ) fixed bin static options (constant);
79
80 dcl 1 dcfs unal based (DCxx_p),
81 2 mark char (1) unal,
82 2 type char (1) unal,
83 2 leng fixed bin (9) unal unsigned,
84
85 2 f fixed bin (9) unal unsigned,
86
87 2 p fixed bin (31) unal;
88 dcl dcfs_len fixed bin init (5) static options (constant);
89
90 dcl (
91 type_wait init ("^A"),
92 type_unstart init ("^B"),
93 type_unstop init ("^C"),
94 type_lit init ("<88>"),
95 type_font init ("À"),
96
97 type_sy init ("^A"),
98 type_sly init ("^B"),
99 type_sx init ("^H"),
100 type_sxy init (" "),
101 type_slx init ("^P"),
102 type_slxly init ("^R"),
103
104 type_vy init ("<81>"),
105 type_vly init ("<82>"),
106 type_vx init ("<88>"),
107 type_vxy init ("<89>"),
108 type_vlx init ("<90>"),
109 type_vlxly init ("<92>"),
110
111 type_v0y init ("Á"),
112 type_v0ly init ("Â"),
113 type_v0x init ("È"),
114 type_v0xy init ("É"),
115 type_v0lx init ("Ð"),
116 type_v0lxly init ("Ò")
117 ) char (1) unal int static options (constant);
118
119