-
Notifications
You must be signed in to change notification settings - Fork 18
/
elite-data.asm
9868 lines (8795 loc) · 323 KB
/
elite-data.asm
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
; ******************************************************************************
;
; COMMODORE 64 ELITE GAME DATA SOURCE
;
; Commodore 64 Elite was written by Ian Bell and David Braben and is copyright
; D. Braben and I. Bell 1985
;
; The code in this file is identical to the source disks released on Ian Bell's
; personal website at http://www.elitehomepage.org/ (it's just been reformatted
; to be more readable)
;
; The commentary is copyright Mark Moxon, and any misunderstandings or mistakes
; in the documentation are entirely my fault
;
; The terminology and notations used in this commentary are explained at
; https://elite.bbcelite.com/terminology
;
; The deep dive articles referred to in this commentary can be found at
; https://elite.bbcelite.com/deep_dives
;
; ------------------------------------------------------------------------------
;
; This source file contains the game data for Commodore 64 Elite, including the
; game text and ship blueprints.
;
; ------------------------------------------------------------------------------
;
; This source file produces the following binary files:
;
; * IANTOK.bin
; * LODATA.bin
; * WORDS.bin
; * SHIPS.bin
;
; after reading in the following file:
;
; * FONT.bin
;
; ******************************************************************************
INCLUDE "1-source-files/main-sources/elite-build-options.asm"
_GMA85_NTSC = (_VARIANT = 1)
_GMA86_PAL = (_VARIANT = 2)
_GMA_RELEASE = (_VARIANT = 1) OR (_VARIANT = 2)
_SOURCE_DISK_BUILD = (_VARIANT = 3)
_SOURCE_DISK_FILES = (_VARIANT = 4)
_SOURCE_DISK = (_VARIANT = 3) OR (_VARIANT = 4)
; ******************************************************************************
;
; Configuration variables
;
; ******************************************************************************
CODE% = $0700 ; The address where the code will be run
LOAD% = $4000 ; The address where the code will be loaded
D% = $D000 ; The address where the ship data will be loaded
; (i.e. XX21)
RE = $23 ; The obfuscation byte used to hide the recursive tokens
; table from crackers viewing the binary code
VE = $57 ; The obfuscation byte used to hide the extended tokens
; table from crackers viewing the binary code
; ******************************************************************************
;
; ELITE RECURSIVE TEXT TOKEN FILE
;
; ******************************************************************************
ORG CODE%
.WORDS
; ******************************************************************************
;
; Name: CHAR
; Type: Macro
; Category: Text
; Summary: Macro definition for characters in the recursive token table
; Deep dive: Printing text tokens
;
; ------------------------------------------------------------------------------
;
; The following macro is used when building the recursive token table:
;
; CHAR 'x' Insert ASCII character "x"
;
; To include an apostrophe, use a backtick character, as in CHAR '`'.
;
; ------------------------------------------------------------------------------
;
; Arguments:
;
; 'x' The character to insert into the table
;
; ******************************************************************************
MACRO CHAR x
IF x = '`'
EQUB 39 EOR RE
ELSE
EQUB x EOR RE
ENDIF
ENDMACRO
; ******************************************************************************
;
; Name: TWOK
; Type: Macro
; Category: Text
; Summary: Macro definition for two-letter tokens in the token table
; Deep dive: Printing text tokens
;
; ------------------------------------------------------------------------------
;
; The following macro is used when building the recursive token table:
;
; TWOK 'x', 'y' Insert two-letter token "xy"
;
; ------------------------------------------------------------------------------
;
; Arguments:
;
; 'x' The first letter of the two-letter token to insert into
; the table
;
; 'y' The second letter of the two-letter token to insert into
; the table
;
; ******************************************************************************
MACRO TWOK t, k
IF t = 'A' AND k = 'L'
EQUB 128 EOR RE
ENDIF
IF t = 'L' AND k = 'E'
EQUB 129 EOR RE
ENDIF
IF t = 'X' AND k = 'E'
EQUB 130 EOR RE
ENDIF
IF t = 'G' AND k = 'E'
EQUB 131 EOR RE
ENDIF
IF t = 'Z' AND k = 'A'
EQUB 132 EOR RE
ENDIF
IF t = 'C' AND k = 'E'
EQUB 133 EOR RE
ENDIF
IF t = 'B' AND k = 'I'
EQUB 134 EOR RE
ENDIF
IF t = 'S' AND k = 'O'
EQUB 135 EOR RE
ENDIF
IF t = 'U' AND k = 'S'
EQUB 136 EOR RE
ENDIF
IF t = 'E' AND k = 'S'
EQUB 137 EOR RE
ENDIF
IF t = 'A' AND k = 'R'
EQUB 138 EOR RE
ENDIF
IF t = 'M' AND k = 'A'
EQUB 139 EOR RE
ENDIF
IF t = 'I' AND k = 'N'
EQUB 140 EOR RE
ENDIF
IF t = 'D' AND k = 'I'
EQUB 141 EOR RE
ENDIF
IF t = 'R' AND k = 'E'
EQUB 142 EOR RE
ENDIF
IF t = 'A' AND k = '?'
EQUB 143 EOR RE
ENDIF
IF t = 'E' AND k = 'R'
EQUB 144 EOR RE
ENDIF
IF t = 'A' AND k = 'T'
EQUB 145 EOR RE
ENDIF
IF t = 'E' AND k = 'N'
EQUB 146 EOR RE
ENDIF
IF t = 'B' AND k = 'E'
EQUB 147 EOR RE
ENDIF
IF t = 'R' AND k = 'A'
EQUB 148 EOR RE
ENDIF
IF t = 'L' AND k = 'A'
EQUB 149 EOR RE
ENDIF
IF t = 'V' AND k = 'E'
EQUB 150 EOR RE
ENDIF
IF t = 'T' AND k = 'I'
EQUB 151 EOR RE
ENDIF
IF t = 'E' AND k = 'D'
EQUB 152 EOR RE
ENDIF
IF t = 'O' AND k = 'R'
EQUB 153 EOR RE
ENDIF
IF t = 'Q' AND k = 'U'
EQUB 154 EOR RE
ENDIF
IF t = 'A' AND k = 'N'
EQUB 155 EOR RE
ENDIF
IF t = 'T' AND k = 'E'
EQUB 156 EOR RE
ENDIF
IF t = 'I' AND k = 'S'
EQUB 157 EOR RE
ENDIF
IF t = 'R' AND k = 'I'
EQUB 158 EOR RE
ENDIF
IF t = 'O' AND k = 'N'
EQUB 159 EOR RE
ENDIF
ENDMACRO
; ******************************************************************************
;
; Name: CONT
; Type: Macro
; Category: Text
; Summary: Macro definition for control codes in the recursive token table
; Deep dive: Printing text tokens
;
; ------------------------------------------------------------------------------
;
; The following macro is used when building the recursive token table:
;
; CONT n Insert control code token {n}
;
; ------------------------------------------------------------------------------
;
; Arguments:
;
; n The control code to insert into the table
;
; ******************************************************************************
MACRO CONT n
EQUB n EOR RE
ENDMACRO
; ******************************************************************************
;
; Name: RTOK
; Type: Macro
; Category: Text
; Summary: Macro definition for recursive tokens in the recursive token table
; Deep dive: Printing text tokens
;
; ------------------------------------------------------------------------------
;
; The following macro is used when building the recursive token table:
;
; RTOK n Insert recursive token [n]
;
; * Tokens 0-95 get stored as n + 160
;
; * Tokens 128-145 get stored as n - 114
;
; * Tokens 96-127 get stored as n
;
; ------------------------------------------------------------------------------
;
; Arguments:
;
; n The number of the recursive token to insert into the
; table, in the range 0 to 145
;
; ******************************************************************************
MACRO RTOK n
IF n >= 0 AND n <= 95
t = n + 160
ELIF n >= 128
t = n - 114
ELSE
t = n
ENDIF
EQUB t EOR RE
ENDMACRO
; ******************************************************************************
;
; Name: QQ18
; Type: Variable
; Category: Text
; Summary: The recursive token table for tokens 0-148
; Deep dive: Printing text tokens
;
; ------------------------------------------------------------------------------
;
; The encodings shown for each recursive text token use the following notation:
;
; {n} Control code n = 0 to 13
; <n> Two-letter token n = 128 to 159
; [n] Recursive token n = 0 to 148
;
; ******************************************************************************
.QQ18
RTOK 111 ; Token 0: "FUEL SCOOPS ON {beep}"
RTOK 131 ;
CONT 7 ; Encoded as: "[111][131]{7}"
EQUB 0
CHAR ' ' ; Token 1: " CHART"
CHAR 'C' ;
CHAR 'H' ; Encoded as: " CH<138>T"
TWOK 'A', 'R'
CHAR 'T'
EQUB 0
CHAR 'G' ; Token 2: "GOVERNMENT"
CHAR 'O' ;
TWOK 'V', 'E' ; Encoded as: "GO<150>RNM<146>T"
CHAR 'R'
CHAR 'N'
CHAR 'M'
TWOK 'E', 'N'
CHAR 'T'
EQUB 0
CHAR 'D' ; Token 3: "DATA ON {selected system name}"
TWOK 'A', 'T' ;
CHAR 'A' ; Encoded as: "D<145>A[131]{3}"
RTOK 131
CONT 3
EQUB 0
TWOK 'I', 'N' ; Token 4: "INVENTORY{cr}
TWOK 'V', 'E' ; "
CHAR 'N' ;
CHAR 'T' ; Encoded as: "<140><150>NT<153>Y{12}"
TWOK 'O', 'R'
CHAR 'Y'
CONT 12
EQUB 0
CHAR 'S' ; Token 5: "SYSTEM"
CHAR 'Y' ;
CHAR 'S' ; Encoded as: "SYS<156>M"
TWOK 'T', 'E'
CHAR 'M'
EQUB 0
CHAR 'P' ; Token 6: "PRICE"
TWOK 'R', 'I' ;
TWOK 'C', 'E' ; Encoded as: "P<158><133>"
EQUB 0
CONT 2 ; Token 7: "{current system name} MARKET PRICES"
CHAR ' ' ;
TWOK 'M', 'A' ; Encoded as: "{2} <139>RKET [6]S"
CHAR 'R'
CHAR 'K'
CHAR 'E'
CHAR 'T'
CHAR ' '
RTOK 6
CHAR 'S'
EQUB 0
TWOK 'I', 'N' ; Token 8: "INDUSTRIAL"
CHAR 'D' ;
TWOK 'U', 'S' ; Encoded as: "<140>D<136>T<158><128>"
CHAR 'T'
TWOK 'R', 'I'
TWOK 'A', 'L'
EQUB 0
CHAR 'A' ; Token 9: "AGRICULTURAL"
CHAR 'G' ;
TWOK 'R', 'I' ; Encoded as: "AG<158>CULTU<148>L"
CHAR 'C'
CHAR 'U'
CHAR 'L'
CHAR 'T'
CHAR 'U'
TWOK 'R', 'A'
CHAR 'L'
EQUB 0
TWOK 'R', 'I' ; Token 10: "RICH "
CHAR 'C' ;
CHAR 'H' ; Encoded as: "<158>CH "
CHAR ' '
EQUB 0
CHAR 'A' ; Token 11: "AVERAGE "
TWOK 'V', 'E' ;
TWOK 'R', 'A' ; Encoded as: "A<150><148><131> "
TWOK 'G', 'E'
CHAR ' '
EQUB 0
CHAR 'P' ; Token 12: "POOR "
CHAR 'O' ;
TWOK 'O', 'R' ; Encoded as: "PO<153> "
CHAR ' '
EQUB 0
TWOK 'M', 'A' ; Token 13: "MAINLY "
TWOK 'I', 'N' ;
CHAR 'L' ; Encoded as: "<139><140>LY "
CHAR 'Y'
CHAR ' '
EQUB 0
CHAR 'U' ; Token 14: "UNIT"
CHAR 'N' ;
CHAR 'I' ; Encoded as: "UNIT"
CHAR 'T'
EQUB 0
CHAR 'V' ; Token 15: "VIEW "
CHAR 'I' ;
CHAR 'E' ; Encoded as: "VIEW "
CHAR 'W'
CHAR ' '
EQUB 0
TWOK 'Q', 'U' ; Token 16: "QUANTITY"
TWOK 'A', 'N' ;
TWOK 'T', 'I' ; Encoded as: "<154><155><151>TY"
CHAR 'T'
CHAR 'Y'
EQUB 0
TWOK 'A', 'N' ; Token 17: "ANARCHY"
TWOK 'A', 'R' ;
CHAR 'C' ; Encoded as: "<155><138>CHY"
CHAR 'H'
CHAR 'Y'
EQUB 0
CHAR 'F' ; Token 18: "FEUDAL"
CHAR 'E' ;
CHAR 'U' ; Encoded as: "FEUD<128>"
CHAR 'D'
TWOK 'A', 'L'
EQUB 0
CHAR 'M' ; Token 19: "MULTI-GOVERNMENT"
CHAR 'U' ;
CHAR 'L' ; Encoded as: "MUL<151>-[2]"
TWOK 'T', 'I'
CHAR '-'
RTOK 2
EQUB 0
TWOK 'D', 'I' ; Token 20: "DICTATORSHIP"
CHAR 'C' ;
CHAR 'T' ; Encoded as: "<141>CT<145><153>[25]"
TWOK 'A', 'T'
TWOK 'O', 'R'
RTOK 25
EQUB 0
RTOK 91 ; Token 21: "COMMUNIST"
CHAR 'M' ;
CHAR 'U' ; Encoded as: "[91]MUN<157>T"
CHAR 'N'
TWOK 'I', 'S'
CHAR 'T'
EQUB 0
CHAR 'C' ; Token 22: "CONFEDERACY"
TWOK 'O', 'N' ;
CHAR 'F' ; Encoded as: "C<159>F<152><144>ACY"
TWOK 'E', 'D'
TWOK 'E', 'R'
CHAR 'A'
CHAR 'C'
CHAR 'Y'
EQUB 0
CHAR 'D' ; Token 23: "DEMOCRACY"
CHAR 'E' ;
CHAR 'M' ; Encoded as: "DEMOC<148>CY"
CHAR 'O'
CHAR 'C'
TWOK 'R', 'A'
CHAR 'C'
CHAR 'Y'
EQUB 0
CHAR 'C' ; Token 24: "CORPORATE STATE"
TWOK 'O', 'R' ;
CHAR 'P' ; Encoded as: "C<153>P<153><145>E [43]<145>E"
TWOK 'O', 'R'
TWOK 'A', 'T'
CHAR 'E'
CHAR ' '
RTOK 43
TWOK 'A', 'T'
CHAR 'E'
EQUB 0
CHAR 'S' ; Token 25: "SHIP"
CHAR 'H' ;
CHAR 'I' ; Encoded as: "SHIP"
CHAR 'P'
EQUB 0
CHAR 'P' ; Token 26: "PRODUCT"
RTOK 94 ;
CHAR 'D' ; Encoded as: "P[94]]DUCT"
CHAR 'U'
CHAR 'C'
CHAR 'T'
EQUB 0
CHAR ' ' ; Token 27: " LASER"
TWOK 'L', 'A' ;
CHAR 'S' ; Encoded as: " <149>S<144>"
TWOK 'E', 'R'
EQUB 0
CHAR 'H' ; Token 28: "HUMAN COLONIAL"
CHAR 'U' ;
CHAR 'M' ; Encoded as: "HUM<155> COL<159>I<128>"
TWOK 'A', 'N'
CHAR ' '
CHAR 'C'
CHAR 'O'
CHAR 'L'
TWOK 'O', 'N'
CHAR 'I'
TWOK 'A', 'L'
EQUB 0
CHAR 'H' ; Token 29: "HYPERSPACE "
CHAR 'Y' ;
CHAR 'P' ; Encoded as: "HYP<144>SPA<133> "
TWOK 'E', 'R'
CHAR 'S'
CHAR 'P'
CHAR 'A'
TWOK 'C', 'E'
CHAR ' '
EQUB 0
CHAR 'S' ; Token 30: "SHORT RANGE CHART"
CHAR 'H' ;
TWOK 'O', 'R' ; Encoded as: "SH<153>T [42][1]"
CHAR 'T'
CHAR ' '
RTOK 42
RTOK 1
EQUB 0
TWOK 'D', 'I' ; Token 31: "DISTANCE"
RTOK 43 ;
TWOK 'A', 'N' ; Encoded as: "<141>[43]<155><133>"
TWOK 'C', 'E'
EQUB 0
CHAR 'P' ; Token 32: "POPULATION"
CHAR 'O' ;
CHAR 'P' ; Encoded as: "POPUL<145>I<159>"
CHAR 'U'
CHAR 'L'
TWOK 'A', 'T'
CHAR 'I'
TWOK 'O', 'N'
EQUB 0
CHAR 'G' ; Token 33: "GROSS PRODUCTIVITY"
RTOK 94 ;
CHAR 'S' ; Encoded as: "G[94]SS [26]IVITY"
CHAR 'S'
CHAR ' '
RTOK 26
CHAR 'I'
CHAR 'V'
CHAR 'I'
CHAR 'T'
CHAR 'Y'
EQUB 0
CHAR 'E' ; Token 34: "ECONOMY"
CHAR 'C' ;
TWOK 'O', 'N' ; Encoded as: "EC<159>OMY"
CHAR 'O'
CHAR 'M'
CHAR 'Y'
EQUB 0
CHAR ' ' ; Token 35: " LIGHT YEARS"
CHAR 'L' ;
CHAR 'I' ; Encoded as: " LIGHT YE<138>S"
CHAR 'G'
CHAR 'H'
CHAR 'T'
CHAR ' '
CHAR 'Y'
CHAR 'E'
TWOK 'A', 'R'
CHAR 'S'
EQUB 0
TWOK 'T', 'E' ; Token 36: "TECH.LEVEL"
CHAR 'C' ;
CHAR 'H' ; Encoded as: "<156>CH.<129><150>L"
CHAR '.'
TWOK 'L', 'E'
TWOK 'V', 'E'
CHAR 'L'
EQUB 0
CHAR 'C' ; Token 37: "CASH"
CHAR 'A' ;
CHAR 'S' ; Encoded as: "CASH"
CHAR 'H'
EQUB 0
CHAR ' ' ; Token 38: " BILLION"
TWOK 'B', 'I' ;
RTOK 129 ; Encoded as: " <134>[129]I<159>"
CHAR 'I'
TWOK 'O', 'N'
EQUB 0
RTOK 122 ; Token 39: "GALACTIC CHART{galaxy number}"
RTOK 1 ;
CONT 1 ; Encoded as: "[122][1]{1}"
EQUB 0
CHAR 'T' ; Token 40: "TARGET LOST"
TWOK 'A', 'R' ;
TWOK 'G', 'E' ; Encoded as: "T<138><131>T LO[43]"
CHAR 'T'
CHAR ' '
CHAR 'L'
CHAR 'O'
RTOK 43
EQUB 0
RTOK 106 ; Token 41: "MISSILE JAMMED"
CHAR ' ' ;
CHAR 'J' ; Encoded as: "[106] JAMM<152>"
CHAR 'A'
CHAR 'M'
CHAR 'M'
TWOK 'E', 'D'
EQUB 0
CHAR 'R' ; Token 42: "RANGE"
TWOK 'A', 'N' ;
TWOK 'G', 'E' ; Encoded as: "R<155><131>"
EQUB 0
CHAR 'S' ; Token 43: "ST"
CHAR 'T' ;
EQUB 0 ; Encoded as: "ST"
RTOK 16 ; Token 44: "QUANTITY OF "
CHAR ' ' ;
CHAR 'O' ; Encoded as: "[16] OF "
CHAR 'F'
CHAR ' '
EQUB 0
CHAR 'S' ; Token 45: "SELL"
CHAR 'E' ;
RTOK 129 ; Encoded as: "SE[129]"
EQUB 0
CHAR ' ' ; Token 46: " CARGO{sentence case}"
CHAR 'C' ;
TWOK 'A', 'R' ; Encoded as: " C<138>GO{6}"
CHAR 'G'
CHAR 'O'
CONT 6
EQUB 0
CHAR 'E' ; Token 47: "EQUIP"
TWOK 'Q', 'U' ;
CHAR 'I' ; Encoded as: "E<154>IP"
CHAR 'P'
EQUB 0
CHAR 'F' ; Token 48: "FOOD"
CHAR 'O' ;
CHAR 'O' ; Encoded as: "FOOD"
CHAR 'D'
EQUB 0
TWOK 'T', 'E' ; Token 49: "TEXTILES"
CHAR 'X' ;
TWOK 'T', 'I' ; Encoded as: "<156>X<151>L<137>"
CHAR 'L'
TWOK 'E', 'S'
EQUB 0
TWOK 'R', 'A' ; Token 50: "RADIOACTIVES"
TWOK 'D', 'I' ;
CHAR 'O' ; Encoded as: "<148><141>OAC<151><150>S"
CHAR 'A'
CHAR 'C'
TWOK 'T', 'I'
TWOK 'V', 'E'
CHAR 'S'
EQUB 0
CHAR 'S' ; Token 51: "SLAVES"
TWOK 'L', 'A' ;
TWOK 'V', 'E' ; Encoded as: "S<149><150>S"
CHAR 'S'
EQUB 0
CHAR 'L' ; Token 52: "LIQUOR/WINES"
CHAR 'I' ;
TWOK 'Q', 'U' ; Encoded as: "LI<154><153>/W<140><137>"
TWOK 'O', 'R'
CHAR '/'
CHAR 'W'
TWOK 'I', 'N'
TWOK 'E', 'S'
EQUB 0
CHAR 'L' ; Token 53: "LUXURIES"
CHAR 'U' ;
CHAR 'X' ; Encoded as: "LUXU<158><137>"
CHAR 'U'
TWOK 'R', 'I'
TWOK 'E', 'S'
EQUB 0
CHAR 'N' ; Token 54: "NARCOTICS"
TWOK 'A', 'R' ;
CHAR 'C' ; Encoded as: "N<138>CO<151>CS"
CHAR 'O'
TWOK 'T', 'I'
CHAR 'C'
CHAR 'S'
EQUB 0
RTOK 91 ; Token 55: "COMPUTERS"
CHAR 'P' ;
CHAR 'U' ; Encoded as: "[91]PUT<144>S"
CHAR 'T'
TWOK 'E', 'R'
CHAR 'S'
EQUB 0
TWOK 'M', 'A' ; Token 56: "MACHINERY"
CHAR 'C' ;
CHAR 'H' ; Encoded as: "<139>CH<140><144>Y"
TWOK 'I', 'N'
TWOK 'E', 'R'
CHAR 'Y'
EQUB 0
CHAR 'A' ; Token 57: "ALLOYS"
CHAR 'L' ;
CHAR 'L' ; Encoded as: "ALLOYS"
CHAR 'O'
CHAR 'Y'
CHAR 'S'
EQUB 0
CHAR 'F' ; Token 58: "FIREARMS"
CHAR 'I' ;
TWOK 'R', 'E' ; Encoded as: "FI<142><138>MS"
TWOK 'A', 'R'
CHAR 'M'
CHAR 'S'
EQUB 0
CHAR 'F' ; Token 59: "FURS"
CHAR 'U' ;
CHAR 'R' ; Encoded as: "FURS"
CHAR 'S'
EQUB 0
CHAR 'M' ; Token 60: "MINERALS"
TWOK 'I', 'N' ;
TWOK 'E', 'R' ; Encoded as: "M<140><144><128>S"
TWOK 'A', 'L'
CHAR 'S'
EQUB 0
CHAR 'G' ; Token 61: "GOLD"
CHAR 'O' ;
CHAR 'L' ; Encoded as: "GOLD"
CHAR 'D'
EQUB 0
CHAR 'P' ; Token 62: "PLATINUM"
CHAR 'L' ;
TWOK 'A', 'T' ; Encoded as: "PL<145><140>UM"
TWOK 'I', 'N'
CHAR 'U'
CHAR 'M'
EQUB 0
TWOK 'G', 'E' ; Token 63: "GEM-STONES"
CHAR 'M' ;
CHAR '-' ; Encoded as: "<131>M-[43]<159><137>"
RTOK 43
TWOK 'O', 'N'
TWOK 'E', 'S'
EQUB 0
TWOK 'A', 'L' ; Token 64: "ALIEN ITEMS"
CHAR 'I' ;
TWOK 'E', 'N' ; Encoded as: "<128>I<146> [127]S"
CHAR ' '
RTOK 127
CHAR 'S'
EQUB 0
CONT 12 ; Token 65: "{cr}
CHAR '1' ; 10{cash} CR{cr}
CHAR '0' ; 5{cash} CR{cr}
CONT 0 ; "
CHAR '5' ;
CONT 0 ; Encoded as: "{12}10{0}5{0}"
EQUB 0
CHAR ' ' ; Token 66: " CR"
CHAR 'C' ;
CHAR 'R' ; Encoded as: " CR"
EQUB 0
CHAR 'L' ; Token 67: "LARGE"
TWOK 'A', 'R' ;
TWOK 'G', 'E' ; Encoded as: "L<138><131>"
EQUB 0
CHAR 'F' ; Token 68: "FIERCE"
CHAR 'I' ;
TWOK 'E', 'R' ; Encoded as: "FI<144><133>"
TWOK 'C', 'E'
EQUB 0
CHAR 'S' ; Token 69: "SMALL"
TWOK 'M', 'A' ;
RTOK 129 ; Encoded as: "S<139>[129]"
EQUB 0
CHAR 'G' ; Token 70: "GREEN"
TWOK 'R', 'E' ;
TWOK 'E', 'N' ; Encoded as: "G<142><146>"
EQUB 0
CHAR 'R' ; Token 71: "RED"
TWOK 'E', 'D' ;
EQUB 0 ; Encoded as: "R<152>"
CHAR 'Y' ; Token 72: "YELLOW"
CHAR 'E' ;
RTOK 129 ; Encoded as: "YE[129]OW"
CHAR 'O'
CHAR 'W'
EQUB 0
CHAR 'B' ; Token 73: "BLUE"
CHAR 'L' ;
CHAR 'U' ; Encoded as: "BLUE"
CHAR 'E'
EQUB 0
CHAR 'B' ; Token 74: "BLACK"
TWOK 'L', 'A' ;
CHAR 'C' ; Encoded as: "B<149>CK"
CHAR 'K'
EQUB 0
RTOK 136 ; Token 75: "HARMLESS"
EQUB 0 ;
; Encoded as: "[136]"
CHAR 'S' ; Token 76: "SLIMY"
CHAR 'L' ;
CHAR 'I' ; Encoded as: "SLIMY"
CHAR 'M'
CHAR 'Y'
EQUB 0
CHAR 'B' ; Token 77: "BUG-EYED"
CHAR 'U' ;
CHAR 'G' ; Encoded as: "BUG-EY<152>"
CHAR '-'
CHAR 'E'
CHAR 'Y'
TWOK 'E', 'D'
EQUB 0
CHAR 'H' ; Token 78: "HORNED"
TWOK 'O', 'R' ;
CHAR 'N' ; Encoded as: "H<153>N<152>"
TWOK 'E', 'D'
EQUB 0
CHAR 'B' ; Token 79: "BONY"
TWOK 'O', 'N' ;
CHAR 'Y' ; Encoded as: "B<159>Y"
EQUB 0
CHAR 'F' ; Token 80: "FAT"
TWOK 'A', 'T' ;
EQUB 0 ; Encoded as: "F<145>"
CHAR 'F' ; Token 81: "FURRY"
CHAR 'U' ;
CHAR 'R' ; Encoded as: "FURRY"
CHAR 'R'
CHAR 'Y'
EQUB 0
RTOK 94 ; Token 82: "RODENT"
CHAR 'D' ;
TWOK 'E', 'N' ; Encoded as: "[94]D<146>T"
CHAR 'T'
EQUB 0
CHAR 'F' ; Token 83: "FROG"
RTOK 94 ;
CHAR 'G' ; Encoded as: "F[94]G"
EQUB 0
CHAR 'L' ; Token 84: "LIZARD"
CHAR 'I' ;
TWOK 'Z', 'A' ; Encoded as: "LI<132>RD"
CHAR 'R'
CHAR 'D'
EQUB 0
CHAR 'L' ; Token 85: "LOBSTER"
CHAR 'O' ;
CHAR 'B' ; Encoded as: "LOB[43]<144>"
RTOK 43
TWOK 'E', 'R'
EQUB 0
TWOK 'B', 'I' ; Token 86: "BIRD"
CHAR 'R' ;