-
Notifications
You must be signed in to change notification settings - Fork 82
/
basic.src
174 lines (162 loc) · 3.72 KB
/
basic.src
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
.nam C128 BASIC (318018,19-03 RELEASE: 11/18/85)
.formln 60
.include disclaim
.include basic.map
.include display.map
.include sysdoc
.include relnotes
.include declare
.include entries
.include header
.include init
.include indjumps
.include crunch
.include tokens1
.include tokens2
.include disptable
.include errmsgs
.include errprint
.include execute
.include functions
.include code0
.include rtstack
.include findline
.include lineget
.include list ;command
.include newclr ;command
.include return ;command
.include remdata ;command
.include if ;command
.include ongoto ;command
.include let ;command
.include print ;command
.include input ;command
.include next ;command
.include dim ;command
.include sys ;command
.include trontroff ;command
.include rreg ;command
.include midequal ;command
.include auto ;command
.include help ;command
.include gosubgoto ;command
.include go ;command
.include continue ;command
.include run ;command
.include restore ;command
.include renumber ;command
.include for ;command
.include delete ;command
.include pudef ;command
.include trap ;command
.include resume ;command
.include doloop ;command
.include key ;command
.include paint ;command
.include box ;command
.include sshape ;command
.include gshape ;command
.include circle ;command
.include draw ;command
.include char ;command
.include locate ;command
.include scale ;command
.include color ;command
.include scnclr ;command
.include graphic ;command
.include bank ;command
.include sleep ;command
.include wait ;command
.include sprite ;command
.include movspr ;command
.include play ;command
.include filter ;command
.include envelope ;command
.include collision ;command
.include sprcolor ;command
.include width ;command
.include volume ;command
.include sound ;command
.include window ;command
.include boot ;command
.include sprdef ;command
.include sprsav ;command
.include fast ;command
.include slow ;command
.include checkval
.include formeval
.include variables
.include getpointr
.include array
.ifge *-$7f00 ;put a break of AT LEAST 1 page for patch code
.messg "*** ADDRESS CHECK ***" ;..before next rom starts (at $8000)
.endif
.include patcheslo
.ifge *-$8000 ;..next rom starts at $8000
.messg "*** ADDRESS CHECK ***"
.endif
*=$8000
.include fre ;function
.include val ;function
.include dec ;function
.include peekpoke
.include errfunc ;function
.include hexfunc ;function
.include rgr ;function
.include rclr ;function
.include joy ;function
.include penpot ;function
.include pointer ;function
.include rsprite ;function
.include rspcolor ;function
.include bump ;function
.include rsppos ;function
.include xor ;function
.include rwindow ;function
.include rnd ;function
.include code12
.include def
.include stringfns
.include strings
.include code17
.include code18
.include code19
.include code21
.include code22
.include code23
.include code24
.include code26
.include grbcol
.include trig
.include using
.include instring
.include graphic3
.include rdot
.include graphic7
.include graphic8
.include graphic9
.include graphic10
.include graphic11
.include sethires
.include clrhires
.include dos1
.include dos2
.include dos3
.include dos4
.include overflow
.include irq
.include stash
.include fetch
.include swap
.include graphic80 ;c256
.include patcheshi
.ifge *-$af00 ;make sure JUMPTABLE starts at $af00
.messg "*** ADDRESS CHECK ***"
.endif
*=$af00
.include jumptable
.ifge *-$b000 ;make sure end of code doesn't overflow ROM
.messg "*** ADDRESS CHECK ***"
.endif
.subttl *************** cross reference *****************
.end