]> git.sur5r.net Git - cc65/blob - libsrc/geos/inc/geossym.inc
This commit was generated by cvs2svn to compensate for changes in r2,
[cc65] / libsrc / geos / inc / geossym.inc
1
2 ;GEOS variable memory locations sorted by address
3 ;reassembled by Maciej 'YTM/Alliance' Witkowiak
4 ;4-2-99
5
6 zpage           =       $0000
7 ;
8
9 CPU_DDR         =       $00
10 CPU_DATA        =       $01
11 ;
12 r0              =       $02
13 r0L             =       $02
14 r0H             =       $03
15 r1              =       $04
16 r1L             =       $04
17 r1H             =       $05
18 r2              =       $06
19 r2L             =       $06
20 r2H             =       $07
21 r3              =       $08
22 r3L             =       $08
23 r3H             =       $09
24 r4              =       $0a
25 r4L             =       $0a
26 r4H             =       $0b
27 r5              =       $0c
28 r5L             =       $0c
29 r5H             =       $0d
30 r6              =       $0e
31 r6L             =       $0e
32 r6H             =       $0f
33 r7              =       $10
34 r7L             =       $10
35 r7H             =       $11
36 r8              =       $12
37 r8L             =       $12
38 r8H             =       $13
39 r9              =       $14
40 r9L             =       $14
41 r9H             =       $15
42 r10             =       $16
43 r10L            =       $16
44 r10H            =       $17
45 r11             =       $18
46 r11L            =       $18
47 r11H            =       $19
48 r12             =       $1a
49 r12L            =       $1a
50 r12H            =       $1b
51 r13             =       $1c
52 r13L            =       $1c
53 r13H            =       $1d
54 r14             =       $1e
55 r14L            =       $1e
56 r14H            =       $1f
57 r15             =       $20
58 r15L            =       $20
59 r15H            =       $21
60 ;
61 a0              =       $fb
62 a0L             =       $fb
63 a0H             =       $fc
64 a1              =       $fd
65 a1L             =       $fd
66 a1H             =       $fe
67 a2              =       $70
68 a2L             =       $70
69 a2H             =       $71
70 a3              =       $72
71 a3L             =       $72
72 a3H             =       $73
73 a4              =       $74
74 a4L             =       $74
75 a4H             =       $75
76 a5              =       $76
77 a5L             =       $76
78 a5H             =       $77
79 a6              =       $78
80 a6L             =       $78
81 a6H             =       $79
82 a7              =       $7a
83 a7L             =       $7a
84 a7H             =       $7b
85 a8              =       $7c
86 a8L             =       $7c
87 a8H             =       $7d
88 a9              =       $7e
89 a9L             =       $7e
90 a9H             =       $7f
91
92 ;
93
94 curPattern              =       $22
95 string                  =       $24
96 baselineOffset          =       $26
97 curSetWidth             =       $27
98 curHeight               =       $29
99 curIndexTable           =       $2a
100 cardDataPntr            =       $2c
101 currentMode             =       $2e
102 dispBufferOn            =       $2f
103 mouseOn                 =       $30
104 RAM_64K                 =       $30
105 msePicPtr               =       $31
106 windowTop               =       $33
107 windowBottom            =       $34
108 leftMargin              =       $35
109 IO_IN                   =       $35
110 KRNL_IO_IN              =       $36
111 rightMargin             =       $37
112 KRNL_BAS_IO_IN          =       $37
113 pressFlag               =       $39
114 mouseXPos               =       $3a
115 mouseYPos               =       $3c
116 returnAddress           =       $3d
117 graphMode               =       $3f
118 TURBO_DD00              =       $8e     ; from 1541 turbo
119 TURBO_DD00_CPY          =       $8f     ; from 1541 turbo
120 STATUS                  =       $90
121 curDevice               =       $ba
122 ;
123 errno                   =       $91     ; custom error return code
124 ;
125 irqvec                  =       $0314
126 bkvec                   =       $0316
127 nmivec                  =       $0318
128 ;
129 APP_RAM                 =       $0400
130 BACK_SCR_BASE           =       $6000
131 PRINTBASE               =       $7900
132 OS_VARS                 =       $8000
133 ;
134 diskBlkBuf              =       $8000
135 fileHeader              =       $8100
136 curDirHead              =       $8200
137 fileTrScTab             =       $8300
138 dirEntryBuf             =       $8400
139 DrACurDkNm              =       $841e
140 DrBCurDkNm              =       $8430
141 dataFileName            =       $8442
142 dataDiskName            =       $8453
143 PrntFilename            =       $8465
144 PrntDiskName            =       $8476
145 curDrive                =       $8489
146 diskOpenFlg             =       $848a
147 isGEOS                  =       $848b
148 interleave              =       $848c
149 NUMDRV                  =       $848d
150 driveType               =       $848e
151 _driveType              =       driveType-8
152 turboFlags              =       $8492
153 _turboFlags             =       turboFlags-8
154 curRecord               =       $8496
155 usedRecords             =       $8497
156 fileWritten             =       $8498
157 fileSize                =       $8499
158 appMain                 =       $849b
159 intTopVector            =       $849d
160 intBotVector            =       $849f
161 mouseVector             =       $84a1
162 keyVector               =       $84a3
163 inputVector             =       $84a5
164 mouseFaultVec           =       $84a7
165 otherPressVec           =       $84a9
166 StringFaultVec          =       $84ab
167 alarmTmtVector          =       $84ad
168 BRKVector               =       $84af
169 RecoverVector           =       $84b1
170 selectionFlash          =       $84b3
171 alphaFlag               =       $84b4
172 iconSelFlg              =       $84b5
173 faultData               =       $84b6
174 menuNumber              =       $84b7
175 mouseTop                =       $84b8
176 mouseBottom             =       $84b9
177 mouseLeft               =       $84ba
178 mouseRight              =       $84bc
179 stringX                 =       $84be
180 stringY                 =       $84c0
181 mousePicData            =       $84c1
182 maxMouseSpeed           =       $8501
183 minMouseSpeed           =       $8502
184 mouseAccel              =       $8503
185 keyData                 =       $8504
186 mouseData               =       $8505
187 inputData               =       $8506
188 mouseSpeed              =       $8507
189 random                  =       $850a
190 saveFontTab             =       $850c
191 dblClickCount           =       $8515
192 year                    =       $8516
193 month                   =       $8517
194 day                     =       $8518
195 hour                    =       $8519
196 minutes                 =       $851a
197 seconds                 =       $851b
198 alarmSetFlag            =       $851c
199 sysDBData               =       $851d
200 screencolors            =       $851e
201 dlgBoxRamBuf            =       $851f   ; to $8697
202 ;
203 ;$8698 - $8877 - various system data (keyboard queue, VLIR t&s, DBox, Menu, timers)
204 ;
205 savedmoby2              =       $88bb
206 scr80polar              =       $88bc
207 scr80colors             =       $88bd
208 vdcClrMode              =       $88be
209 driveData               =       $88bf
210 ramExpSize              =       $88c3
211 sysRAMFlg               =       $88c4
212 firstBoot               =       $88c5
213 curType                 =       $88c6
214 ramBase                 =       $88c7
215 inputDevName            =       $88cb
216 memBase                 =       $88cf   ;???
217 DrCCurDkNm              =       $88dc
218 DrDCurDkNm              =       $88ee
219 dir2Head                =       $8900
220 ;
221 SPRITE_PICS             =       $8a00
222 spr0pic                 =       $8a00
223 spr1pic                 =       $8a40
224 spr2pic                 =       $8a80
225 spr3pic                 =       $8ac0
226 spr4pic                 =       $8b00
227 spr5pic                 =       $8b40
228 spr6pic                 =       $8b80
229 spr7pic                 =       $8bc0
230 COLOR_MATRIX            =       $8c00
231 ;
232 obj0Pointer             =       $8ff8
233 obj1Pointer             =       $8ff9
234 obj2Pointer             =       $8ffa
235 obj3Pointer             =       $8ffb
236 obj4Pointer             =       $8ffc
237 obj5Pointer             =       $8ffd
238 obj6Pointer             =       $8ffe
239 obj7Pointer             =       $8fff
240 ;
241 DISK_BASE               =       $9000
242 SCREEN_BASE             =       $a000
243 OS_ROM                  =       $c000
244 OS_JUMPTAB              =       $c100
245 RAMC_BASE               =       $de00
246 RAMC_WINDOW             =       $df00
247 EXP_BASE                =       $df00
248 MOUSE_BASE_128          =       $fd00
249 MOUSE_JMP_128           =       $fd00
250 END_MOUSE_128           =       $fe80
251 MOUSE_BASE              =       $fe80
252 MOUSE_JMP               =       $fe80
253 config                  =       $ff00
254 END_MOUSE               =       $fffa
255 NMI_VECTOR              =       $fffa
256 RESET_VECTOR            =       $fffc
257 IRQ_VECTOR              =       $fffe
258 ;
259 vicbase                 =       $d000
260 sidbase                 =       $d400
261 mmu                     =       $d500
262 VDC                     =       $d600
263 ctab                    =       $d800
264 cia1base                =       $dc00
265 cia2base                =       $dd00
266 ;
267 mob0xpos                =       $d000
268 mob0ypos                =       $d001
269 mob1xpos                =       $d002
270 mob1ypos                =       $d003
271 mob2xpos                =       $d004
272 mob2ypos                =       $d005
273 mob3xpos                =       $d006
274 mob3ypos                =       $d007
275 mob4xpos                =       $d008
276 mob4ypos                =       $d009
277 mob5xpos                =       $d00a
278 mob5ypos                =       $d00b
279 mob6xpos                =       $d00c
280 mob6ypos                =       $d00d
281 mob7xpos                =       $d00e
282 mob7ypos                =       $d00f
283 msbxpos                 =       $d010
284 grcntrl1                =       $d011
285 rasreg                  =       $d012
286 lpxpos                  =       $d013
287 lpypos                  =       $d014
288 mobenble                =       $d015
289 grcntrl2                =       $d016
290 grmemptr                =       $d018
291 grirq                   =       $d019
292 grirqen                 =       $d01a
293 moby2                   =       $d017
294 mobprior                =       $d01b
295 mobmcm                  =       $d01c
296 mobx2                   =       $d01d
297 mobmobcol               =       $d01e
298 mobbakcol               =       $d01f
299 extclr                  =       $d020
300 bakclr0                 =       $d021
301 bakclr1                 =       $d022
302 bakclr2                 =       $d023
303 bakclr3                 =       $d024
304 mcmclr0                 =       $d025
305 mcmclr1                 =       $d026
306 mob0clr                 =       $d027
307 mob1clr                 =       $d028
308 mob2clr                 =       $d029
309 mob3clr                 =       $d02a
310 mob4clr                 =       $d02b
311 mob5clr                 =       $d02c
312 mob6clr                 =       $d02d
313 mob7clr                 =       $d02e
314 keyreg                  =       $d02f
315 clkreg                  =       $d030
316
317 ;
318 vdcreg                  =       $d600
319 vdcdata                 =       $d601
320 ;