-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathelite-readme.asm
136 lines (119 loc) · 2.56 KB
/
elite-readme.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
; ******************************************************************************
;
; COMMODORE 64 ELITE README 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 produces a README file for Commodore 64 Elite.
;
; ------------------------------------------------------------------------------
;
; This source file produces the following binary file:
;
; * README.txt
;
; ******************************************************************************
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)
MACRO CAP x
EQUB x + 128
ENDMACRO
.readme
EQUB 13
EQUS "---------------------------------------"
EQUB 13
CAP 'F'
EQUS "IREBIRD "
CAP 'E'
EQUS "LITE"
EQUB 13
EQUB 13
CAP 'V'
EQUS "ERSION: "
CAP 'C'
EQUS "OMMODORE 64"
EQUB 13
IF _GMA85_NTSC
CAP 'V'
EQUS "ARIANT: "
CAP 'G'
CAP 'M'
CAP 'A'
EQUS "85 "
CAP 'N'
CAP 'T'
CAP 'S'
CAP 'C'
EQUS " RELEASE"
EQUB 13
CAP 'P'
EQUS "RODUCT: "
CAP 'F'
EQUS "IREBIRD "
CAP 'G'
CAP 'M'
CAP 'A'
EQUS "85"
EQUB 13
ELIF _GMA86_PAL
CAP 'V'
EQUS "ARIANT: "
CAP 'G'
CAP 'M'
CAP 'A'
EQUS "86 "
CAP 'P'
CAP 'A'
CAP 'L'
EQUS " RELEASE"
EQUB 13
CAP 'P'
EQUS "RODUCT: "
CAP 'F'
EQUS "IREBIRD "
CAP 'G'
CAP 'M'
CAP 'A'
EQUS "86"
EQUB 13
ELIF _SOURCE_DISK_BUILD
CAP 'V'
EQUS "ARIANT: "
CAP 'S'
EQUS "OURCE DISK BUILD OUTPUT"
EQUB 13
ELIF _SOURCE_DISK_FILES
CAP 'V'
EQUS "ARIANT: "
CAP 'S'
EQUS "OURCE DISK BINARY FILES"
EQUB 13
ENDIF
EQUB 13
CAP 'S'
EQUS "EE WWW.BBCELITE.COM FOR DETAILS"
EQUB 13
EQUS "---------------------------------------"
EQUB 13
SAVE "3-assembled-output/README.txt", readme, P%