-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVGAN.MAC
292 lines (254 loc) · 5 KB
/
VGAN.MAC
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
.RADIX 10
.GLOBL UNDERL,VGMSGA
.SBTTL ******************************
.SBTTL *
.SBTTL * PROGRAMMER: ED LOGG
.SBTTL *
.SBTTL ******************************
.SBTTL VGAN - ALPHA-NUMERIC VECTOR SUBROUTINES
;
;DATE INITIATED: 6-JUNE-79
;
;PROJECT CHARGE #: 23803
;
;DISK #: 105, B46
;
;HARDWARE REQUIREMENTS: STUBBENS AUTO-NORMALIZING VECTOR GENERATOR
;
;MEMORY REQUIREMENTS: NOT APPLICABLE-SUBROUTINE
;
;INTERRUPT REQUIREMENTS:
; NOT APPLICABLE-SUBROUTINE
;
;ASSEMBLY COMMAND STRING:
; NOT APPLICABLE-SUBROUTINE
; (NEEDS ANVGMC MACROS);
;LINK COMMAND STRING:
; NOT APPLICABLE-SUBROUTINE
;
;PROGRAM DESCRIPTION: THIS PROGRAM PROVIDES ALL THE GLOBAL ENTRY POINTS
; NEEDED BY THE VECTOR UTILITY PROGRAM VGUT.MAC.
.IIF NDF,.BRITE,.BRITE=4 ;DEFINE DEFAULT BRIGHTNESS (0-F)
CHAR.A: VCTR 0,16,.BRITE
VCTR 8,8,.BRITE
VCTR 8,-8,.BRITE
VCTR 0,-16,.BRITE
VCTR -16,8,0
VCTR 16,0,.BRITE
VCTR 8,-8,0
RTSL
CHAR.B: VCTR 0,24,.BRITE
VCTR 12,0,.BRITE
VCTR 4,-4,.BRITE ;THESE VECTORS ARE BRIGHTER THAN THE OTHERS
VCTR 0,-4,.BRITE
VCTR -4,-4,.BRITE
VCTR -12,0,.BRITE
VCTR 12,0,0
VCTR 4,-4,.BRITE
VCTR 0,-4,.BRITE
VCTR -4,-4,.BRITE
VCTR -12,0,.BRITE
JMPL CHAR.
CHAR.C: VCTR 0,24,.BRITE
VCTR 16,0,.BRITE
VCTR -16,-24,0
JMPL UNDERL
CHAR.D: VCTR 0,24,.BRITE
VCTR 8,0,.BRITE
VCTR 8,-8,.BRITE
VCTR 0,-8,.BRITE
VCTR -8,-8,.BRITE
VCTR -8,0,.BRITE
JMPL CHAR.
CHAR.E: VCTR 16,0,.BRITE
VCTR -16,0,0
CHAR.F: VCTR 0,24,.BRITE
VCTR 16,0,.BRITE
VCTR -4,-12,0
VCTR -12,0,.BRITE
CHARF1: VCTR 24,-12,0
RTSL
CHAR.G: VCTR 0,24,.BRITE
VCTR 16,0,.BRITE
VCTR 0,-8,.BRITE
VCTR -8,-8,0
VCTR 8,0,.BRITE
VCTR 0,-8,.BRITE
JMPL CHAR01
CHAR.H: VCTR 0,24,.BRITE
VCTR 0,-12,0
VCTR 16,0,.BRITE
VCTR 0,12,0
JMPL CHAR72
CHAR.I: VCTR 16,0,.BRITE
VCTR -16,24,0
CHARI1: VCTR 16,0,.BRITE
VCTR -8,0,0
CHARI2: VCTR 0,-24,.BRITE
VCTR 16,0,0
RTSL
CHAR.J: VCTR 0,8,0
VCTR 8,-8,.BRITE
VCTR 8,0,.BRITE
JMPL CHARU1
CHAR.K: VCTR 0,24,.BRITE
VCTR 12,0,0
VCTR -12,-12,.BRITE
VCTR 12,-12,.BRITE
VCTR 12,0,0
RTSL
CHAR.L: VCTR 0,24,0
VCTR 0,-24,.BRITE
JMPL UNDERL
CHAR.M: VCTR 0,24,.BRITE
VCTR 8,-8,.BRITE
VCTR 8,8,.BRITE
JMPL CHAR72
CHAR.N: VCTR 0,24,.BRITE
VCTR 16,-24,.BRITE
JMPL CHARU1
CHAR.O: VCTR 0,24,.BRITE
VCTR 16,0,.BRITE
VCTR 0,-24,.BRITE
CHAR01: VCTR -16,0,.BRITE
CHAR.: VCTR 24,0,0 ;BLANK
RTSL
CHAR.P: VCTR 0,24,.BRITE
VCTR 16,0,.BRITE
VCTR 0,-12,.BRITE
VCTR -16,0,.BRITE
JMPL CHARF1
CHAR.Q: VCTR 0,24,.BRITE
VCTR 16,0,.BRITE
VCTR 0,-16,.BRITE
VCTR -8,-8,.BRITE
VCTR -8,0,.BRITE
VCTR 8,8,0
VCTR 8,-8,.BRITE
JMPL CHAR21
CHAR.R: VCTR 0,24,.BRITE
VCTR 16,0,.BRITE
VCTR 0,-12,.BRITE
VCTR -16,0,.BRITE
VCTR 4,0,0
VCTR 12,-12,.BRITE
JMPL CHAR21
CHAR.S: VCTR 16,0,.BRITE
VCTR 0,12,.BRITE
VCTR -16,0,.BRITE
VCTR 0,12,.BRITE
VCTR 16,0,.BRITE
JMPL CHARU2
CHAR.T: VCTR 0,24,0
JMPL CHARI1
CHAR.U: VCTR 0,24,0
VCTR 0,-24,.BRITE
VCTR 16,0,.BRITE
CHARU1: VCTR 0,24,.BRITE
CHARU2: VCTR 8,-24,0
RTSL
CHAR.V: VCTR 0,24,0
VCTR 8,-24,.BRITE
VCTR 8,24,.BRITE
JMPL CHARU2
CHAR.W: VCTR 0,24,0
VCTR 0,-24,.BRITE
VCTR 8,8,.BRITE
VCTR 8,-8,.BRITE
JMPL CHARU1
CHAR.X: VCTR 16,24,.BRITE
VCTR -16,0,0
VCTR 16,-24,.BRITE
JMPL CHAR73
CHAR.Y: VCTR 8,0,0
VCTR 0,16,.BRITE
VCTR -8,8,.BRITE
VCTR 16,0,0
VCTR -8,-8,.BRITE
VCTR 16,-16,0
RTSL
CHAR.Z: VCTR 0,24,0
VCTR 16,0,.BRITE
VCTR -16,-24,.BRITE
JMPL UNDERL
CHAR.0 =CHAR.O
CHAR.1: VCTR 8,24,0
JMPL CHARI2
CHAR.2: VCTR 0,24,0
VCTR 16,0,.BRITE
VCTR 0,-12,.BRITE
VCTR -16,0,.BRITE
VCTR 0,-12,.BRITE
UNDERL: VCTR 16,0,.BRITE
CHAR21: VCTR 8,0,0
RTSL
CHAR.3: VCTR 0,24,0
CHAR31: VCTR 16,0,.BRITE
VCTR 0,-24,.BRITE
VCTR -16,0,.BRITE
VCTR 0,12,0
VCTR 16,0,.BRITE
VCTR 8,-12,0
RTSL
CHAR.4: VCTR 0,24,0
VCTR 0,-12,.BRITE
VCTR 16,0,.BRITE
VCTR 0,12,0
JMPL CHAR72
CHAR.5 =CHAR.S
CHAR.6: VCTR 0,12,0
VCTR 16,0,.BRITE
VCTR 0,-12,.BRITE
VCTR -16,0,.BRITE
VCTR 0,24,.BRITE
VCTR 24,-24,0
RTSL
CHAR.7: VCTR 0,24,0
CHAR71: VCTR 16,0,.BRITE
CHAR72: VCTR 0,-24,.BRITE
CHAR73: VCTR 8,0,0
RTSL
CHAR.8: VCTR 0,24,.BRITE
JMPL CHAR31
CHAR.9: VCTR 16,12,0
VCTR -16,0,.BRITE
VCTR 0,12,.BRITE
JMPL CHAR71
VGMSGA: JSRL CHAR. ;ADDRESS OF LETTER ROUTINES
JSRL CHAR.0
JSRL CHAR.1
JSRL CHAR.2
JSRL CHAR.3
JSRL CHAR.4
JSRL CHAR.5
JSRL CHAR.6
JSRL CHAR.7
JSRL CHAR.8
JSRL CHAR.9
JSRL CHAR.A
JSRL CHAR.B
JSRL CHAR.C
JSRL CHAR.D
JSRL CHAR.E
JSRL CHAR.F
JSRL CHAR.G
JSRL CHAR.H
JSRL CHAR.I
JSRL CHAR.J
JSRL CHAR.K
JSRL CHAR.L
JSRL CHAR.M
JSRL CHAR.N
JSRL CHAR.O
JSRL CHAR.P
JSRL CHAR.Q
JSRL CHAR.R
JSRL CHAR.S
JSRL CHAR.T
JSRL CHAR.U
JSRL CHAR.V
JSRL CHAR.W
JSRL CHAR.X
JSRL CHAR.Y
JSRL CHAR.Z