forked from FozzTexx/Coleco-Adam-Source
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoleco-listing.txt
9301 lines (9301 loc) · 643 KB
/
coleco-listing.txt
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
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1 ^Z80^
2
3 NAME ^Rev 06.1 - TF^
4
5 ; Project: EOS 6 Absolute Listing
6 ;
7 ; ***********************************************************
8 ; **** ****
9 ; **** EOS ABSOLUTE LISTING ****
10 ; **** ****
11 ; **** Electronic Development Group ****
12 ; **** Coleco Industries Inc. ****
13 ; **** 999 Quaker Lane South ****
14 ; **** West Hardford, Connecticut ****
15 ; **** 06110 ****
16 ; **** ****
17 ; ***********************************************************
18 ;
19 ; This absolute listing was generated to ease software
20 ; development on ADAM. This listing provides the location
21 ; of both released and unreleased entry points. Released
22 ; entry points begin immediately in this file with the jump
23 ; table and end before the first code segment listed.
24 ; Released entry points include the jump table, common data
25 ; areas(EOSCOMN), common data tables, and equates which
26 ; describe the released data structures. Direct access
27 ; to code segments is STRONGLY DISCOURAGED and may make
28 ; your application incompatable with some ADAMs. there is
29 ; more than one version of EOS on the market at this time
30 ; and updates are planned.
31 ;
32 ; For further information on ADAM or EOS consult the
33 ; ADAM Technical Reference Manual or send your questions
34 ; in writing to:
35 ;
36 ; Coleco Software Suppot
37 ;
38 ; at the above address.
39 ;
40 ; COLECO MAKES NO REPRESENTATIONS OR WARRANTIES WHATSOEVER, INCLUDING
41 ; WITHOUT LIMITATION ANY IMPLIED WARRANTIES OR MERCHANTABILITY AND
42 ; FITNESS FOR A PARTICULAR PURPOSE, IN CONNECTION WITH THE MATERIALS
43 ; CONTAINED HEREIN, AND SUCH MATERIALS ARE DISCLOSED AS IS. COLECO
44 ; SHALL HAVE NO LIABILITY FOR ANY LOSSES CAUSED TO RECIPIENTS OF THESE
45 ; MATERIALS BY REASON OF ANY CHANGES OR MODIFICATIONS MADE BY COLECO IN
46 ; THESE MATERIALS AFTER THEIR DISCLOSURE HEREIN. IN ADDITION, COLECO
47 ; SHALL HAVE NO LIABILITY FOR ANY CONSEQUENTIAL, SPECIAL, INDIRECT OR
48 ; INCIDENTAL DAMAGES OR LOSSES WHATSOEVER, INCLUDING LOSS OF PROFITS, IN
49 ; CONNECTION WITH THE USE OF THE MATERIALS DISCLOSED HEREIN.
50 ;
51 ;*********************************************************************************
52 ;
53 ; Rev History
54 ; Rev. Date Name Change
55 ; 6.1 21jun0844 af Merge sources for absolute listing.
56 ; No changes made to code.
57 ; 6.0 08oct 1545 jlk Code released for production.
58 ;
59 ;[ code commented out by ¢;@***’was removed before EOS ]
60 ;[ was grouped into one file, code commented out by simple ]
61 ;[ ';' was removed in the process of grouping E0S in order ]
62 ;[ to avoid assembier complaints or LOCAL/GLOBAL conflicts]
63 ;[ @;********...’ generates code segments which were ]
64 ;[ originally in separate files ]
65 ;*********************************************************************************
66 ;*********************************************************************************
67 ;*********************************************************************************
68 ;
69 NAME ^Rev 11 - RPD^
70 ;
71 ; Rev Date Made by Change
72 ; 11 1Soct425p RPD changed E0S_4 to CV_A
73 ; 10 13oct1000p RPD made only OS7 jump entries conditionally assembled
74 ; 9 12oct2300 vsb Added __POSIT_FILE, __FILE_QUERY plus EOS1 thru EOS4
75 ; 8 07oct1710 rfj __EFXOVER changed to _EFFECT _0VER
76 ; Added _UPDATE_SPINNER
77 ; 7 05oct1725 rtj Renamed WRSPR_NM_TBL to WR_SPR_ATTRIBUTE
78 ; 6 03oct1207 rtj Increased TEMP_STACK to 12bytes,
79 ; Removed SAVED_COUNT
80 ; & 30sept825p RPD replaced CONSOUT data area with new CONSOUT2
81 ; 4 29sept235p RPD replaced PLAYSONGS with SOUNDS
82 ; 3 26sept1005a RPD added conditional assembly stuff for super games
83 ; 2 25sept850a RPD merged all of EOS ram together into this file
84 ; 1 20sept1005a RPD new memory mapping
85 ; 0 mid-sept VB original map @ E8000H
86 ;
<FFFF> 87 TRUE EQU 0FFFFH
<0000> 88 FALSE EQU 00000H
89
<FFFF> 90 IN_EOS EQU TRUE
<0000> 91 SUPERGAME EQU FALSE
92 ;
93 ; CURRENT EOS MEMORY MAPPING
94 ;
95 ;FCB_S EQU 0D390H ;FCB area
96 ;THREE1K_BLKS EQU 00400H ;3 FCB 1K buffers
<E000> 97 EOS_CODE EQU 0E000H ;address of EOS code segment
<FBFF> 98 EOS_GLB_TBL EQU 0FBFFH ;address of EOS global tables
<FC30> 99 EOS_JMP_TBL EQU 0FC30H ;address of EOS jump table
<F060> 100 EOS_GLB_RAM EQU 0FD60H ;address of EOS global data area
<FEC0> 101 EOS_PCB_DCB EQU 0FEC0H ;address of EOS PCB/DCB areas
102
103 ;
104 ; These are key record sizes, used invarious EOS routines.
105 ; See “INCLUDE FMGR_EQUS" AND “INCLUDE P_DCB_EQU" for details.
106 ;
107
<001A> 108 DIR_ENT_LENGTH DEFL 26
<0004> 109 P_SIZE DEFL 4 ;THE NUMBER OF BYTES IN THE PCB
<0015> 110 D_SIZE DEFL 21 ;THE NUMBER OF BYTES INTHE DCB
111 ;
112 ;
113 ;
114 ; jump table area
115 ;
116 ; *********************************************************
117
118 ORG EOS_JMP_TBL
119
120 ; *********************************************************
121
<FC30> 122 _EOS_START EQU $
FC30 C3F832 123 JP __EOS_START
<FC33> 124 _CONS_DISP EQU $
FC33 C3F627 125 JP __CONS_DISP
<FC36> 126 _CONS_INIT EQU $
FC36 C3F50C 127 JP __CONS_INIT
<FC39> 128 _CONS_OUT EQU $
FC39 C3F60A 129 JP __CONS_OUT
<FC3C> 130 _DLY_AFT_HRD_RES EQU $
FC3C C3F05F 131 JP __DLY_AFT_HRD_RES
<FC3F> 132 _END_PR_BUFF EQU $
FC3F C3F588 133 JP __END_PR_BUFF
<FC42> 134 _END_PR_CH EQU $
FC42 C3F57C 135 JP __END_PR_CH
<FC45> 136 _END_RD_1_BLOCK EQU $
FC45 C3FAE2 137 JP __END_RD_1_BLOCK
<FC46> 138 _END_RD_CH_DEV EQU $
FC48 C3FBA5 139 JP __END_RD_CH_DEV
<FC4B> 140 _END_RD_KBD EQU $
FC4B C3F4E0 141 JP __END_RD_KBD
<FC4E> 142 _END_WR_1_BLOCK EQU $
FC4E C3FB1B 143 JP __END_WR_1 BLOCK
<FCS1> 144 _END_WR_CH_DEV EQU $
FC51 C3FBE1 145 JP __END_WR_CH_DEV
<FC54> 146 _FIND_DCB EQU $
FC54 C3F446 147 JP __FIND_DCB
<FCS7> 148 _GET_DCB_ADDR EQU $
FC57 C3F446 149 JP __GET_DCB_ADDR
<FCSA> 150 _GET_PCB_ADDR EQU $
FC5A C3FA4C 151 JP __GET_PCB_ADDR
<FC5D> 152 _HARD_INIT EQU $
FC50 C3F8F6 153 JP __HARD_INIT
<FC60> 154 _HARD_RESET_NET EQU $
FC60 C3F948 155 JP __HARD_RESET_NET
<FC63> 156 _PR_BUFF EQU $
FC63 C3F515 157 JP __PR_BUFF
<FC66> 158 _PR_CH EQU $
FC66 C3F4FC 159 JP __PR_CH
<FC69> 160 _RD_1_BLOCK EQU $
FC69 C3FA9E 161 JP __RD_1_BLOCK
<FC6C> 162 _RD_KBD EQU $
FC6C C3F4BA 163 JP __RD_KBD
<FC6F> 164 _RD_KBD_RET_CODE EQU $
FC6F C3FA7B 165 JP __RD_KBD_RET_CODE
<FC72> 166 _RD_PR_RET_CODE EQU $
FC72 C3FA7F 167 JP __RD_PR_RET_CODE
<FC75> 168 _RD_RET_CODE EQU $
FC75 C3FA82 169 JP __RD_RET_CODE
<FC78> 170 _RD_TAPE_RET_CODE EQU $
FC78 C3FAB3 171 JP __RD_TAPERET CODE
<FC78> 172 _RELOC_PCB EQU $
FC7B C3FA2F 173 JP __RELOC_PCB
<FC7E> 174 _REQUEST_STATUS EQU $
FC7E C3F473 175 JP __REQUEST_STATUS
<FC81> 176 _REQ_KBD_STAT EQU $
FC81 C3F4CB 177 JP __REQ_KBD_STAT
<FCB4> 178 _REQ_PR_STAT EQU $
FC84 C3F5D2 179 JP __REQ_PR_STAT
<FC87> 180 _REQ_TAPE_STAT EQU $
FC87 C3F507 181 JP __REQ_TAPE STAT
<FCBA> 182 _SCAN_ACTIVE EQU $
FC8A C3F9CB 183 JP __SCAN_ACTIVE
<FC8D> 184 _SOFT_INIT EQU $
FC8D C3F922 185 JP __SOFT_INIT
<FC90> 186 _SOFT_RES_DEV EQU $
FC90 C3FA5D 187 JP __SOFT_RES_DEV
<FC93> 188 _SOFT_RES_KBD EQU $
FC93 C3FA51 189 JP __SOFT_RES_KBD
<FC96> 190 _SOFT_RES_PR EQU $
FC96 C3FA55 191 Jp __SOFT_RES_PR
<FC99> 192 _SOFT_RES_TAPE EQU $
FC99 C3FA59 193 JP __SOFT_RES_TAPE
<FCOC> 194 _START_PR_BUFF EQU $
FC9C C3F580 195 JP __START_PR_BUFF
<FC9OF> 196 _START_PR_CH EQU $
FC0F C3F560 197 JP __START_PR_CH
<FCA2> 198 _START_RD_1_BLOCK EQU $
FCA2 C3FAC6 199 JP __START_RD_1 BLOCK
<FCAS> 200 _START_RD_CH_DEV EQU $
FCA5 C3FB86 201 JP __START_RD_CH_DEV
<FCA8> 202 _START_RD_KBD EQU $
FCA8 C3F4D0 203 JP __START_RD_KBD
<FCAB> 204 _START_WR_1_BLOCK EQU $
FCAB C3FAFF 205 JP __START_WR_1 BLOCK
<FCAE> 206 _START_WR_CHDEV EQU $
FCAE C3F8C2 207 JP __START_WR_CH DEV
<FCB1> 208 _SYNC EQU $
FCB1 C3F970 209 JP __SYNC
<FCB4> 210 _WR_1_BLOCK EQU $
FCB4 C3FAB2 211 JP __WR_1_BLOCK
<FCB7> 212 _WR_CH_DEV EQU $
FCB7 C3F875 213 JP __WR_CH_DEV
214
215 ;
216 ;FILE MANAGER ENTRIES
217 ;
<FCBA> 218 _FMGR_INIT EQU $
FCBA C3EEEA 219 JP __FMGR_INIT
<FCBD> 220 _INIT_TAPE_DIR EQU $
FCBD C3F323 221 JP __INIT_TAPE_DIR
<FCCOQ> 222 _OPEN_FILE EQU $
FCC0 C3EA00 223 JP __ OPEN FILE
<FCC3> 224 _CLOSE_FILE EQU $
FCC3 C3EB04 225 JP __CLOSE_FILE
<FCC6> 226 _RESET_FILE EQU $
FCC6 C3EBEC 227 jp __RESET_FILE
<FCC9> 228 _MAKE_FILE EQU $
FCC9 C3E690 229 JP __MAKE_FILE
<FCCC> 230 _QUERY_FILE EQU $
FCCC C3E61B 231 JP __QUERY_FILE
<FCCF> 232 _SET_FILE EQU $
FCCF C3E651 233 JP __SET_FILE
<FCD2> 234 _READ_FILE EQU $
FCD2 C3EC17 235 JP __READ_FILE
<FCD5> 236 _WRITE_FILE EQU $
FCD5 C3ED5F 237 JP __WRITE_FILE
<FCD8> 238 _SET_DATE EQU $
FCD8 C3EEC5 239 JP __SET_DATE
<FCDB> 240 _GET_DATE EQU $
FCOB C3EED4 241 JP __GET_DATE
<FCDE> 242 _RENAME_FILE EQU $
FCDE C3F10F 243 JP __RENAME_FILE
<FCE1> 244 _DELETE_FILE EQU $
FCE1 C3F14E 245 JP __DELETE_FILE
<FCE4> 246 _RD_DEV_DEP_STAT EQU $
FCE4 C3F488 247 JP __RD_DEV_DEP_STAT
<FCE7> 248 _GOTO_WP EQU $
FCE7 C3FA94 249 JP __GOTO_WP
<FCEA> 250 _READ_EOS EQU $
FCEA C3FA9D 251 JP __READ_EOS
<FCED> 252 _TRIM_FILE EQU $
FCED C3F241 253 JP __TRIM_FILE
<FCFO> 254 _CHECK_FCB EQU $
FCFO C3FO89 255 JP __CHECK_FCB
<FCF3> 256 _READ_BLOCK EQU $
FCF3 C3F178 257 JP __READ_BLOCK
<FCFE> 258 _WRITE_BLOCK EQU $
FCF6 C3F1E6 259 JP __WRITE_BLOCK
<FCF9> 260 _MODE_CHECK EQU $
FCF9 C3FODS 261 JP __MODE_CHECK
<FCFC> 262 _SCAN_FOR_FILE EQU $
FCFC C3EFOS 263 JP __SCAN_FOR_FILE
<FCFF> 264 _FILE_QUERY EQU $
FCFF C3E618 265 JP __FILE_QUERY
<fDO2> 266 _POSIT_FILE EQU $
F002 C3F442 267 JP __POSIT_FILE
<FDOS> 268 _EOS_1 EQU $
FDO5 C3F442 269 JP __EOS_1
<FDO8> 270 _EOS_2 EQU $
FOO5 C3F442 271 JP __EOS_2
<FOO8> 272 _EOS_3 EQU $
FDOB C3F442 273 JP __EOS_3
<FDOE> 274 _CV_A EQU $
FDOE C3F442 275 JP _CV_A
276
<FD11> 277 _PORT_COLLECTION EQU $
FD11 C3E191 278 JP __PORT_COLLECTION
<FD14> 279 _SWITCH_MEM EQU $
FO14 C3E185 280 JP __SWITCH_MEM
<FDI7> 281 _PUT_ASCII EQU $
FO17 C3E153 282 JP __PUT_ASCII
283
284 ;
285 ; micro OS7 entries
286 ;
287
<FD1A> 288 WRITE_VRAM EQU
FO1A C3EOOO 289 JP __WRITE_VRAM
<FD1D> 290 READ_VRAM EQU
FD1D C3E01A 291 JP __READ_VRAM
<FD20> 292 WRITE_REGISTER EQU
FD20 C3E034 293 JP __WRITE_REGISTER
<FD23> 294 READ_REGISTER EQU
FD23 C3EO4F 295 JP __READ_REGISTER
<FO26> 296 FILL_VRAM EQU
FO26 C3E059 297 JP __FILL_VRAM
<FD29> 298 INIT_TABLE EQU
FO29 C3EO66 299 JP __INIT_TABLE
<FD2C> 300 PUT_VRAM EQU
FO2C C3EOCS 301 JP __PUT_VRAM
<FD2F> 302 GET_VRAM EQU
FO2F C3EOCF 303 JP __GET_VRAM
<FD32> 304 CALC_OFFSET EQU
FD32 C3E10A 305 uP __CALC_OFFSET
<FD35> 306 PX_TO_PTRN_POS EQU
FD35 C3E129 307 JP __PX_TO_PTRN_POS
<FD38> 308 LOAD_ASCII FQU
FD36 C3E149 309 JP __LOAD_ASCII
<FD3B> 310 WR_SPR_ATTRIBUTE EQU
FD3B C3e1c5 311 JP __WR_SPR_ATTRIBUTE
<FDIE> 312 POLLER EQU
FD3E C3E253 313 JP __POLLER
<FD041> 314 UPDATE_SPINNER EQU
FD41 C3E2A4 315 JP __UPDATE_SPINNER
<FD44> 316 DECLSN EQU
FD44 C3E355 317 JP __DECLSN
<FD47> 318 DECMSN EQU $
FD47 C3E35F 319 JP __DECMSN
<FD4A> 320 MSNTOLSN EQU $
FD4A C3E369 321 JP __MSNTOLSN
<FD4D> 322 ADD816 EQU $
FD4D C3E374 323 JP __ADD816
<FD50> 324 SOUND_INIT EQU $
FD50 C3E3AB 325 JP __SOUND_INIT
<FD53> 326 TURN_OFF_SOUND EQU $
FD53 C3E301 327 JP __TURN OFF_SOUND ;not globalized in os7?
<FD56> 328 PLAY_IT EQU $
FD56 C3E3E7 329 JP __PLAY_IT
<FD59> 330 SOUNOS EQU $
FD59 C3E406 331 JP __SOUNDS ;equals calls to play songs and sound_man
<FD5C> 332 EFFECT_OVER EQU $
FD5C C3E409 333 JP __EFFECT_OVER
334
335
336 ; NOTE: See INTERRUPT VECTORS
337
338 ORG EOS_GLB_TBL
339 ;GLB VECTOR_O8H
340 ;VECTOR_OBH EQU $+0
341 ;GLB INT_VCTR_TBL
342 ;INT_VCTR_TBL EQU VECTOR_O8H
343 ; ;GLB VECTOR_10H
344 ;VECTOR_10H EQU $+3
345 ;GLB VECTOR_18H
346 ;VECTOR_18H EQU $+6
347 ;GLB VECTOR20H
348 ;VECTOR_20H EQU $+9
349 ;GLB VECTOR_28H
350 ;VECTOR_28H EQU $+12
351 ;GLB VECTOR_30H
352 ;VECTOR_30H EQU $+15
353 ;GLB VECTOR38H
354 ;VECTOR_36H EQU $+18
355 ;GLB VECTOR_66H
356 ;VECTOR_66H EQU $+21
357
358 ;
359 ; NOTE: See SWITCHTABLE
360 ;
361 ; ;GLB MEMCNF GOO
362 ;MEM_CNFGOO EQU $+24
363 ;; ;GLB SWITCHTABLE
364 ;SWITCH_TABLE EQU MEMCNFGOO
365 ;; ;GLB MEMCNFGOI
366 ;MEM_CNFGO1 EQU $+25
367 ;; ;GLB MEMCNFGO2
368 ;MEM_CNFGO2 EQU $+26
369 ;; ;GLB MEMCNFGO3
370 ;MEM_CNFGO3 EQU $+27
371 ;; ;GLB MEMCNFGO4
372 ;MEM_CNFGO4 EQU $+28
373 ;; ;GLB MEMCNFGOS
374 ;MEM_CNFGOS EQU $+29
375 ;; ;GLB MEM_CNFGO6
376 ;MEM_CNFGO6 EQU $+30
377 ;; ;GLB MEM_CNFGO7
378 ;MEM_CNFGO7 EQU $+31
379 ;; ;GLB MEMCNFGOS8
380 ;MEM_CNFGOS EQU $+32
381 ;; ;GLB MEMCNF GOS
382 ;MEM_CNFGOS EQU $+33
383 ;; ;GLB MEMCNFGOA
384 ;MEM_CNFGOA EQU $+34
385 ;; ;GLB MEMCNF GOB
386 ;MEM_CNFGOS EQU $+35
387 ;; ;GLB MEM_CNFGOC
388 ;MEM_CNFGOC EQU $+36
389 ;; ;GLB MEM_CNFGOD
390 ;MEM_CNFGOD EQU $+37
391 ;; ;GLB MEM_CNFGOE
392 ;MEM_CNFGOE EQU $+38
393 ;; ;GLB MEM_CNFGOF
394 ;MEM_CNFGOF EQU $+39
395
396 ;
397 ; NOTE: See PORT TABLE
398 ;
399 ;; ;GLB MEM_SWITCH_PORT
400 ;MEM_SWITCH_PORT EQU $+40
401 ;; ;GLB PORT_TABLE
402 ;PORT_TABLE EQU MEM_SWITCH_PORT
403 ;; ;GLB NET_RESET_PORT
404 ;NET_RESET_PORT EQU $+41
405 ;; ;GLB VDP_CTRL_PORT
406 ;VOP_ CTRL_PORT EQU $+42
407 ;; ;GLB VDP_DATA_PORT
408 ;VDP_DATA_PORT EQU $+43
409 ;; ;GLB CONTROLLER_0_PORT
410 ;CONTROLLER_0_PORT EQU $+44
411 ;; ;GLB CONTROLLER_1_PORT
412 ;CONTROLLER_1_PORT EQU $+45
413 ;; ;GLB STROBE_SET_PORT
414 ;STROBE_SET_PORT ;EQU $+46
415 ;; ;GLB STROBE_RESET_PORT
416 ;STROBE_RESET_PORT ;EQU $+47
417 ;; ;GLB SOUNDPORT
418 ;;SOUNDPORT EQU $+48
419
420
421 ;RAM DEFINITIONS FOR EOS
422
423 ;REV O (v/D 8-24-83)
424
425
426 ; ************************************************
427
428 ORG EOS_GLB_RAM
429
430 ; ************************************************
431
432 ;GLB CLEAR_RAMSTART
433
FD6O 434 CLEAR_RAM_START:
435
436 ;
437 ; EOS revision number initialized by EOS START
438 ;
439 ;GLB REV_NUM
FD6O 440 REV_NUM
FD6O 441 DEFS 1
442
443
444 IF .NT.SUPERGAME
445 ;
446 ; 0S7 equivalent global data structures
447 ;
448 ;GLB VDP_MODE WORD
FD61 449 VOP_MODEWORD DEFS 2
450 ;GLB VOP_STATUS BYTE
FD63 451 VOP_STATUSBYTE DEFS 1
452 ;GLB VRAM_ADDR_ TABLE
FD64 453 VRAM_ADDR_TABLE
454 ;GLB SPRITEATTRIBL
FD64 455 SPRITEATTRIBL DEFS 2
456 ;GLB SPRITEGENTBL
FD66 457 SPRITEGENTBL DEFS 2
458 ;GLB PATTRNNAME TBL
FD68 459 PATTRNNAMETBL DEFS 2
460 ;GLB PATTRNGENTBL
FDGA 461 PATTRNGENTBL DEFS 2
462 ;GLB COLORTABLE
FO6C 463 COLORTABLE DEFS 2
464 ELSE
465 DEFS 2*6+1
466 ENDIF
467 ;GLB CUR_BANK
FO6E 468 CURBANK DEFS 1
469
470
471 ;
472 ; EOS global data structures
473 ;
474 ;GLB DEFAULTBT DEV
475 ;GLB CURRENTDEV
476
FD6F 477 OEFAULTBT_DEV:
FDGF 478 CURRENTDEV:
FD6F 479 DEFS 1
480
481 ;GLB CURRENTPCB
482
FD70 483 CURRENTPCB:
FD70 484 DEFS 2 ; HOLDS THE START ADDRESS OF THE PCB
485 IF .NT.SUPERGAME |
486 ;GLB DEVICEI0
487 ENDIF
FD72 488 DEVICEID:
FD72 489 DEFS 1 ; SAVE DEVICE ID
490
491 ;GLB FILE NAME_ADDR
FD73 492 FILENAME ADDR
FD73 493 DEFS 2
494
495 ;GLB KEYBOARDBUFFER
496
FD7S 497 KEYBOARDBUFFER:
FD75 498 DEFS 1 ; HOLDS THE KEY THAT IS READ FROM THE
499 ; KEYBOARD
500
501 ;GLB PRINTBUFFER
502
FD76 503 PRINTBUFFER:
FD76 504 DEFS 16 ; HOLDS THE STRING TO BE PRINTED
505
506 ;GLB SECTORS_TO_INIT,SECTOR_NO
507
FD86 508 SECTORS_TO_INIT:
FD86 509 DEFS 1
510
FD87 511 SECTOR_NO:
FD87 512 DEFS 4
513
514 ;GLB DCB_IMAGE
515
FD8B 516 DCB_IMAGE:
FD8B 517 DEFS 21
518
519 ;GLB QUERY_BUFFER
FDA0 520 QUERY_BUFFER
FDA0 521 DEFS DIR_ENT_LENGTH
522
523 ;GLB FCB_BUFFER
FDBA 524 FCB_BUFFER
FDBA 525 DEFS DIR_ENT_LENGTH
526
527 ;GLB FILE COUNT, MOD_FILE COUNT
FDD4 528 FILE_COUNT
FDD4 529 DEFS 1
530
FDDS 531 MOD_FILE COUNT
FDDS 532 DEFS 1
533
534 ;GLB RETRY COUNT, FILE NUMBR
FDD6 535 RETRY_COUNT
FDD6 536 DEFS 1
537
FDD7 538 FILE_NUMBR
FDD7 539 DEFS 1
540
541 ;GLB FILENAME_CMPS
FDD8 542 FILENAME_CMPS
FDD8 543 DEFS 1
544
545 ;GLB DIR_BLOCK_NO,FOUND_AVAIL_ENT
FDD9 546 DIR_BLOCK_NO
FDD9 547 DEFS 2
548
FDDB 549 FOUND_AVAIL_ENT
FDDB 550 DEFS 1
551
552 ;GLB VOL_BLK_SZ,BLK_STRT PTR
FDDC 553 BLK_STRT_PTR:
FDDC 554 VOL_BLK_SZ:
FDDC 555 DEFS 4
556
557 ; FILE MANAGER RAM STORAGE
558
559 ;GLB EOS_YEAR,EOS MONTH,EOSDAY
FDEO 560 EOS_YEAR DEFS 1 ;FMGR’S DATE STORAGE
FDE1 561 EOS_MONTH DEFS 1
FDE2 562 EOS_DAY DEFS 1
563
564 ;GLB FMGR_DIR_ENT
FDE3 565 FMGR_DIR_ENT ;PLACEFOR FMGR TO PUT A DIR. ENTRY
566
567 ;GLB FCB_HEAD_ADOR,FCB_DATA_ ADDR
FDFD 568 FCB_HEAD_ADDR DEFS 2 ;POINTER TO START OF FCB HEADS
FDFF 569 FCB_DATA_ADDR DEFS 2 ;POINTER TO START OF FCB BUFFERS
570
571 ;GLB FNUM, BYTES REQ,BYTES TO GO,USER BUF
572 ;GLB BUF_START,BUF_ENO.BLOCKS REQ
573 ;GLB USER_NAME ,STARTBLOCK
FEO1 574 FNUM DEFS 1 ;FILE NUMBER GIVEN TO READ/WRITE ROUTINES
FEO2 575 BYTES_REQ DEFS 2 ;NUMBER OF BYTES REQUESTED BY CALLER
FEO4 576 BYTES_TO_GO DEFS 2 ;NUMBER OF BYTES STILL TO GIVE TO CALLER
FEO6 577 USER_BUF DEFS 2 ;ADDRESS OF CALLER’S BUFFER
FEO8 578 BUF_START DEFS 2 ;ADDRESS OF MY OWN BUFFER
FEOA 579 BUF_END DEFS 2 ;ADDRESS OF END + 1 OF MY BUFFER
FEOC 580 BLOCKS_REQ DEFS 4 ;NUMBER OF BLOCKS REQUESTED (MAKEFILE)
FE10 581 USER_NAME DEFS 2 ;POINTER TO USER’S NAME STRING
FE12 582 START_BLOCK DEFS 4 ;START BLOCK # OF A FILE
583
584 ;GLB_ NEW_HOLE START,NEW_HOLE SIZE
585
FE16 586 NEW_HOLE START
FE16 587 DEFS 4
588
FE1A 589 NEW_HOLE_SIZE;
FE1A 590 DEFS 2
591
FE1C 592 STACK_START:
FE1C 593 DEFS 60
594
595 ;GLB EOSSTACK
FE58 596 EOS_STACK:
597
598 ; ;GLB SAVEDCOUNT
599 ; controller data area
600 ;GLB SPIN_SWOCT ; THESE TWO BYTES MUST GE IN THIS ORDER!!!
601 ;GLB SPIN_SW1CT
602 ;GLB PERSONAL ODEBOUNCETABLE
603 ;GLB TEMP STACK ; Used Dy putascit when bank switching
604 ; sound data areas
605 ;GLB PTRTO LST OF SND_ADORS
606 ;GLB PTRTO S GN_O
607 ;GLB PTR_TO_S_ON1
608 ;GLB PTR_TO_SON 2
609 ;GLB PTRTO S ON 3
610 ;GLB SAVECTRL
611
612
613 ;SAVEDCOUNT DEFS 2
614 ;
615 ; controller data area
616 ;
FE58 617 SPIN_SWO_CT DEFS 1 ; THESE TWO BYTES MUST BE IN THIS ORDER!!!
FESS 618 SPIN_SW1_CT DEFS 1
FESA 619 PERSONAL_DEBOUNCE_TABLE DEFS 8
FE62 620 DEFS 12 ;USED BY TEMP_STACK
<FE6E> 621 TEMP_STACK EQU $ ;Used by put_ascii when bank switching
622
623 ;
624 ; sound data areas
625 ;
FE6E 626 PTR_TO_LST_OF_SND_ADDRS DEFS 2
FE7O 627 PTR_TO_S_ON_O DEFS 2
FE72 628 PTR_TO_S_ON_1 DEFS 2
FE74 629 PTR_TO_S_ON_2 DEFS 2
FE76 630 PTR_TO_S_ON_3 DEFS 2
FE78 631 SAVE_CTRL DEFS 1
632
633
634 ;
635 ; data area for CONS OUT
636 ;
637 ;GLB OLDCHAR_
638 ;GLB XMIN
639 ;GLB XMAX
640 ;GLB YMIN
641 ;GLB Y_ MAX
642 ;GLB LINEBUFFER_
643 ;GLB NUM_LINES
644 ;GLB NUM_COLUMNS
645 ;GLB UPPER_LEFT
646 ;GLB PTRN_NAME_TBL
647 ;GLB CURSOR
648
FE79 649 OLDCHAR_ DEFS 1 ;Storage of char under cursor
FE7A 650 X_MIN DEFS 1 ;Absolute X coord of window
FE7B 651 X_MAX DEFS 1
FE7C 652 YMIN DEFS 1
FE7D 653 YMAX DEFS 1
FE7E 654 LINEBUFFER_ DEFS 33
FESF 655 NUMLINES DEFS 1
FEAO 656 NUM_COLUMNS DEFS 1
FEA1 657 UPPER_LEFT DEFS 2
FEA3 658 PTRN_NAME_TBL DEFS 2
FEAS 659 CURSOR DEFS 2
660
661 ;GLB CLEAR_RAM_SIZE
662
<O147> 663 CLEAR_RAM_SIZE EQU ($-CLEAR_RAM_START)
664
665 ;
666 ; this is the PCB/DCB area
667 ;
668 ;***********************************************************************
669
670 ORG EOS_PCB_DCB
671
672 ;***********************************************************************
673
674 ;GLB PCB
675
FECO 676 PCB:
FECO 677 DEFS P_SIZE ; PCB
678
FEC4 679 DCBS:
FEC4 680 DEFS 15*D_SIZE ; 1 OCB PER NETWORK ADORESS
681
FFFF 682 RESERVED_BYTE:
FFFF 683 DEFS 1 ; SAVED IN CASE WE OO FAST DMA HERE
684 ;
685 ;***********************************************************************
686 ;***********************************************************************
687 ;***********************************************************************
688
689 NAME ^Rev OO - RPD^
690
691
692 ;***********************************************************************
693
694 ORG EOS_GLB_TBL
695
696 ;***********************************************************************
697 ;
698 ; NOTE: these are defined globa! in £0S_COMN
699 ;
700 ; ;GLB VECTOR_O8H
701 ; ;GLB VECTOR 10H
702 ; ;GLB VECTOR_18H
703 ; ;GLB VECTOR_20H
704 ; ;GLB VECTOR_28H
705 ; ;GLB VECTOR_30H
706 ; ;GLB VECTOR_38H
707 ; ;GLB VECTOR_66H
708 ;
FBFF C9 709 VECTOR_O8H RET ;rst 8
FCOO OO 710 NOP
FCO1 OO 711 NOP
FCO2 C9 712 VECTOR_10H RET ;rst 10
FCO3 OO 713 NOP
FCO4 OO 714 NOP
FCOS C9 715 VECTOR_18H RET ;rst 18
FCO6 OO 716 NOP
FCO7 OO 717 NOP
FCO8 C9 718 VECTOR_20H RET ;rst 20
FCO9 OO 719 NOP
FCOA OO 720 NOP
FCOB C9 721 VECTOR_28H RET ;rst 28
FCOC OO 722 NOP
FCOD OO 723 NOP
FCOE C9 724 VECTOR_30H RET ;rst30
FCOF OO 725 NOP
FC10 OO 726 NOP
FC11 C9 727 VECTOR_38H RET ;rst38
FC12 OO 728 NOP
FC13 OO 729 NOP
FC14 ED45 730 VECTOR_66H RETN ;nmi vector
FC16 OO 731 NOP
732
733
734
735
736 ; NOTE: these are defined global in EQSCOMN
737
738 ; ;GLB SWITCH_TABLE
739 ; ;GLB MEM_CNFGOO
740 ; ;GLB MEM_CNFGO1
741 ; ;GLB MEM_CNFGO2
742 ; ;GLB MEM_CNFGO3
743 ; ;GLB MEM_CNFGO4
744 ; ;GLB MEM_CNFGO5
745 ; ;GLB MEM_CNFGO6
746 ; ;GLB MEM_CNFGO7
747 ; ;GLB MEM_CNFGO8
748 ; ;GLB MEM_CNFGO9
749 ; ;GLB MEM_CNFGOA
750 ; ;GLB MEM_CNFGOB
751 ; ;GLB MEM_CNFGOC
752 ; ;GLB MEM_CNFGOD
753 ; ;GLB MEM_CNFGOE
754 ; ;GLB MEM_CNFGOF
755
<0000> 756 LO_BOOT_ROM_N_ALPHA_MASK EQU 0000B
<0001> 757 LO_INTRINSIC_RAM_TO_7FFFH_MASK EQU 0001B
<0002> 758 LO_EXPANSION_0_TO_7FFFH_MASK EQU 0010B
<0003> 759 LO_OS7_N_INTRINSIC_2000H_7FFFH_MASK EQU 0011B
760
<0000> 761 HI_INTRINSIC_8000H_TO_0FFFFH_MASK EQU
<0004> 762 HI_AUXILLIARY_SLOT_8000H_0FFFFH EQU 0100B
<0008> 763 HI_EXPANSION_8000H_TO_0FFFFH_MASK EQU 1000B
<000C> 764 HI_COLECOVISION_CARTRIOGE_SLOT EQU 1100B
765
766
767
FC17 768 SWITCH_TABLE:
769
FC17 770 MEM_CNFGOO
FC17 00 771 DEFB HI_INTRINSIC_8000H_TO_0FFFFH_MASK.OR.LO_BOOTROM_N_ALPHA_MASK
772
FC18 773 MEM_CNFGO1
FC18 0F 774 DEFB HI_INTRINSIC_8000H_TO_0FFFFH_MASK.OR.LO_INTRINSIC_RAM_0_TO_7FFFH_MASK
775
FC19 776 MEM_CNFGO2
FC19 02 777 DEFB HI_INTRINSIC_8000H_TO_0FFFFH_MASK.OR.LO_EXPANSION_0_TO_7FFFH_MASK
778
FC1A 779 MEM_CNFGO3
FC1A 03 780 DEFB HI_INTRINSIC_8000H_TO_0FFFFH_MASK.OR.LO_OS7_N_INTRINSIC_2000H_7FFFH_MASK
781
FC1B 782 MEM_CNFGO4
FC1B 04 783 DEFB HI_AUXILLIARY_SLOT_8000H_0FFFFH.OR.LO_BOOT_ROM_N_ALPHA_MASK
784
FC1C 785 MEM_CNFGO5
FC1C OS 786 DEFB HI_AUXILLIARY_SLOT_8000H_0FFFFH.OR.LO_INTRINSIC_RAM_0_TO_7FFF_MASK
787
FC1D 788 MEM_CNFGO6
FC1D 06 789 DEFB HI_AUXILLIARY_SLOT_8000H_0FFFFH.OR.LO_EXPANSION_0_TO_7FFF_MASK
790
FC1E 791 MEM_CNFGO7
FC1E 07 792 DEFB HI_AUXILLIARY_SLOT_8000H_0FFFFH.OR.LO_OS7_N_INTRINSIC_2000H_7FFFH_MASK
793
FC1F 794 MEM_CNFGO8
FC1F 08 795 DEFB HI_EXPANSION_8000H_TO_0FFFFH_MASK.OR.LO_BOOT_ROM_N_ALPHA_MASK
796
FC20 797 MEM_CNFGO9
FC20 09 798 DEFB HI_EXPANSION_8000H_TO_0FFFFH_MASK.OR.LO_INTRINSIC_RAM_0_TO_7FFFH_MASK
799
FC21 800 MEM_CNFGOA
FC21 OA 801 DEFB HI_EXPANSION_8000H_TO_0FFFFH_MASK.OR.LO_EXPANSION_0_TO_7FFFH_MASK
802
FC22 803 MEM_CNFGOB
FC22 OB 804 DEFB HI_EXPANSION_8000H_TO_0FFFFH_MASK.OR.LO_OS7_N_INTRINSIC_2000H_7FFFH_MASK
805
FC23 806 MEM_CNFGOC
FC23 OC 807 DEFB HI_COLECOVISION_CARTRIDE_SLOT.OR.LO_BOOT_ROM_N_ALPHA_MASK
808
FC24 809 MEM_CNFGOD
FC24 OD 810 DEFB HI_COLECOVISION_CARTRIDE_SLOT.OR.LO_INTRINSIC_RAM_0_TO_7FFFH_MASK
811
FC25 812 MEM_CNFGOE
FC25 OE 813 DEFB HI_COLECOVISION_CARTRIDE_SLOT.OR.LO_EXPANSION_0_TO_7FFFH_MASK
814
FC26 815 MEM_CNFGOF
FC26 OF 816 DEFB HI_COLECOVISION_CARTRIDE_SLOT.OR.LO_OS7_INTRINSIC_2000H_7FFFH_MASK
817
818
819
820 ;
821 ; NOTE: these are defined global in E0S_COMN
822 ;
823 ; ;GLB PORT_TABLE ;port value memory locations
824 ; ;GLB MEM_SWITCH_PORT
825 ; ;GLB NET_RESET_PORT
826 ; ;GLB VOP_CTRL_PORT
827 ; ;GLB VOP_DATA_PORT
828 ; ;GLB CONTROLLER_O_PORT
829 ; ;GLB CONTROLLER_1_PORT
830 ; ;GLB STROBE_SET_PORT
831 ; ;GLB STROBE_RESET_PORT
832 ; ;GLB SOUNODPORT
833 ;
834 ; ******************************************************
835 ; *** VDP ports must remain next to each other ***
836 ; *** and in CTRL -> DATA order ***
837 ; ******************************************************
838
FC27 839 PORT_TABLE:
840
FC27 841 MEM_SWITCH_PORT
FC27 7F 842 DEFB 07FH ;MEM_SWITCH_PORT defined here
843
FC28 844 NET_RESET_PORT
FC28 3F 845 DEFB 03FH ;Adam_net reset port defined here
846
FC29 847 VOP_CTRL_PORT
FC29 BF 848 DEFB 0BFH ;VDP ctrl port 01D43H
849
FC2A 850 VDP_DATA_PORT
FC2A BE 851 DEFB 0BEH ;VOP data port 01D47H
852
FC2B 853 CONTROLLER_O_PO
FC2B FC 854 DEFB 0FCH ;Controller O 0114BH
855
FC2C 856 CONTROLLER_1_PO
FC2C FF 857 DEFB 0FFH ;Controller 1 01151H
858
FC2D 859 STROBE_SET_PORT
FC20 80 860 DEFB 080H ;Controller strobe set 01157H
861
FC2E 862 STROBE_RESET_PO
FC2E CO 863 DEFB 0C0H ;Controller strobe reset 01168H
864
FC2F 865 SOUNODPORT
FC2F FF 866 OEFB 0FFH ;Sound port 0018EH
867 ;
868 ; ******************************************************
869 ; ******************************************************
870 ; ******************************************************
871
872
873
874;
875 ; globals routines defined
876 ;
877 ;GLB __WRITEVRAM ;VDP support routines
878 ;GLB __READ_VRAM
879 ;GLB __WRITEREGISTER
880 ;GLB __READ_REGISTER
881 ;GLB __FILL_VRAM
882 ;GLB __INIT_TABLE
883 ;GLB __PUT_VRAM
884 ;GLB __GET_VRAM
885 ;GLB __CALC_OFFSET
886 ;GLB __PX_TO_PTRN_POS
887 ;GLB __LOAD_ASCTII
888 ;GLB __PuT_ASCII
889 ;GLB __WR_SPR_ATTRIBUTE
890
891 ;GLB __DECODER
892 ;GLB __POLLER ;controller support routines
893 ;GLB __UPDATE_SPINNER
894
895 ;GLB __DECLSN ;sound chip support routines
896 ;GLB __DECMSN
897 ;GLB __MSNTOLSN
898 ;GLB __ADD816
899 ;GLB ___SOUND_INIT
900 ;GLB __TURN_OFF_SOUND
901 ;GLB __PLAY_IT
902 ;GLB ___SOUNODS
903 ;GLB __EFFECT_OVER
904
905 ;GLB __SWITCH_MEM ;memory bank switch support routine
906 ;GLB __PORTCOLLECTION ;STORE THE PORT ADDRESSES FROM OS 7
907
908 ;
909 ; external data areas used
910 ;
911 ;EXT VDP_MODEWORD
912 ;EXT VDP_STATUSBYTE
913 ;EXT VRAM_ADDR [FABLE
914 ;EXT SPRITEATTRIBLS
915 ;eee ;EXT SPRITEGENTBL
916 ;eee ;EXT PATTRNNAMETBL
917 ;EXT PATTRNGENTBL
918 ;eee ;EXT COLORTABLE
919 ;EXT CUR_BANK
920
921 ;controller data area
922 ;EXT SPIN_SWO_CT ;THESE TWO BYTES MUST BE IN THIS ORDER!!!
923 ;ee@e ;EXT SPIN_SW1_CT
924 ;EXT PERSONAL_DEBOUNCE_TABLE
925 ;EXT TEMP_STACK ;Used by put_ascii when bank switching
926 ;sound data areas
927 ;EXT PTR_TO_LST OF_SND_ADDRS
928 ;EXT PTR_TO_S_ON_0
929 ;EXT PTR_TO_S_ON_1
930 ;EXT PTR_TO_S_ON_2
931 ;EXT PTR_TO_S_ON_3
932 ;EXT SAVE_CTRL
933 ;
934 ; Port address and bank select externals follow
935 ;
936 ;EXT PORTTABLE
937 ;EXT MEM_SWITCH_ PORT
938 ;eee ;EXT NET_RESET_PORT
939 ;EXT VDP_CTRL_PORT
940 ;eee ;EXT VDP_DATA_PORT
941 ;EXT CONTROLLER_O_PORT
942 ;eee ;EXT CONTROLLER_1_PORT
943 ;EXT STROBE_SET_PORT
944 ;eee ;EXT STROBE_RESET_PORT
945 ;EXT SOUNDPORT
946
947 ;eee ;EXT SWITCH_TABLE
948 ;EXT MEM_CNFGOO
949 ;ee@ ;EXT MEM_CNFGO1
950 ;eee ;EXT MEM_CNFGO2
951 ;EXT MEM_CNFGO3
952 ;eee ;EXT MEM_CNFGO4
953 ;eee ;EXT MEM_CNFGO5
954 ;eee ;EXT MEM_CNFGO6
955 ;eee ;EXT MEM_CNFGO7
956 ;eee ;EXT MEM_CNFGO8
957 ;eee ;EXT MEM_CNFGO9
958 ;eee ;EXT MEM_CNFGOA
959 :ee¢@ ;EXT MEM_CNFGOB
960 ;ee@ ;EXT MEM_CNFGOC
961 ;ee@ ;EXT MEM_CNFGOD
962 ;ece@ ;EXT MEM_CNFGOE
963 ;ee¢ ;EXT MEM_CNFGOF
964
965 ;
966 ; externals used
967 ;
968 ;EXT WRITE_REGISTER
969 ;eee ;EXT INIT_TABLE
970 ;EXT SWITCH_MEM
971 ;eee ;EXT PUT_VRAM
972 ;EXT WRITE_VRAM
973 ;EXT READ_VRAM
974 ;
975 ; local equates
976 ;
<0102> 977 LOC_IN_ALPHA EQU 0102H ;potnter to ascii gens in rev 28+ alpha
978
979
980
981 ; Offsets into a volume descriptor (the first entry in the directory).
<0000> 982 VOL_NAME EQU 0 ;LOGICALVOLUME NAME
<OO0C> 983 VOL_DIRSIZE EQU 12 ;*ee7 BITS ONLY *** # BLOCKS IN DIRECTORY
<0O0O> 984 VOL_ATTR EQU 12 ;**eTOP BIT ONLY ***SET FOR DELETE PROTECTION
<0000> 985 VOL_DIR_CHECK EQU 13 ;CONTAINS 4 UNIQUE BYTES FOR DIRECTORY EXISTENCE VERIFICATION
<O011> 986 VOL_SIZE EQU 17 ;VOLUMESIZE (IN BLOCKS) (4 BYTES)
<0017> 987 VOL_YEAR EQU 23 ;CREATIODATE -- YEAR
<0018> 988 VOL_MONTH EQU 24 ; MONTH
<0019> 989 VOL_DAY EQU 25 ; & DAY
<OO1A> 990 VOL_DES_LENGTH EQU 26
991
992 ; Offsets into a directory entry.
<0000> 993 DIR_NAME EQU 0 ;FILE NAME
<OO0C> 994 DIR_ATTR EQU 12 ;FILE ATTRIBUTE BYTE
<0000> 995 DIR_START_BLOCK EQU 13 ;STARTING BLOCK4
<0011> 996 DIR_MAX_LENGTH EQU 17 ;TOTAL #4BLOCKS ALLOCATED
<0013> 997 DIR_USED_LENGTH EQU 19 ;#OF BLOCKS USED (FULL + 1 PARTIAL)
<0015> 998 DIR_LAST_COUNT EQU 21 ;NUMBER OF BYTES IN LAST PARTIAL BLOCK
<0017> 999 DIR_YEAR EQU 23 ;CREATION DATE -- YEAR
<0018> 1000 DIR_MONTH EQU 24 ; MONTH