]> git.sur5r.net Git - cc65/blob - libsrc/geos/inc/geossym.inc
old cleanups
[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 rightMargin             =       $37
110 pressFlag               =       $39
111 mouseXPos               =       $3a
112 mouseYPos               =       $3c
113 returnAddress           =       $3d
114 graphMode               =       $3f
115 TURBO_DD00              =       $8e     ; from 1541 turbo
116 TURBO_DD00_CPY          =       $8f     ; from 1541 turbo
117 STATUS                  =       $90
118 curDevice               =       $ba
119 ;
120 irqvec                  =       $0314
121 bkvec                   =       $0316
122 nmivec                  =       $0318
123 ;
124 APP_RAM                 =       $0400
125 BACK_SCR_BASE           =       $6000
126 PRINTBASE               =       $7900
127 OS_VARS                 =       $8000
128 ;
129 diskBlkBuf              =       $8000
130 fileHeader              =       $8100
131 curDirHead              =       $8200
132 fileTrScTab             =       $8300
133 dirEntryBuf             =       $8400
134 DrACurDkNm              =       $841e
135 DrBCurDkNm              =       $8430
136 dataFileName            =       $8442
137 dataDiskName            =       $8453
138 PrntFilename            =       $8465
139 PrntDiskName            =       $8476
140 curDrive                =       $8489
141 diskOpenFlg             =       $848a
142 isGEOS                  =       $848b
143 interleave              =       $848c
144 NUMDRV                  =       $848d
145 driveType               =       $848e
146 _driveType              =       driveType-8
147 turboFlags              =       $8492
148 _turboFlags             =       turboFlags-8
149 curRecord               =       $8496
150 usedRecords             =       $8497
151 fileWritten             =       $8498
152 fileSize                =       $8499
153 appMain                 =       $849b
154 intTopVector            =       $849d
155 intBotVector            =       $849f
156 mouseVector             =       $84a1
157 keyVector               =       $84a3
158 inputVector             =       $84a5
159 mouseFaultVec           =       $84a7
160 otherPressVec           =       $84a9
161 StringFaultVec          =       $84ab
162 alarmTmtVector          =       $84ad
163 BRKVector               =       $84af
164 RecoverVector           =       $84b1
165 selectionFlash          =       $84b3
166 alphaFlag               =       $84b4
167 iconSelFlg              =       $84b5
168 faultData               =       $84b6
169 menuNumber              =       $84b7
170 mouseTop                =       $84b8
171 mouseBottom             =       $84b9
172 mouseLeft               =       $84ba
173 mouseRight              =       $84bc
174 stringX                 =       $84be
175 stringY                 =       $84c0
176 mousePicData            =       $84c1
177 maxMouseSpeed           =       $8501
178 minMouseSpeed           =       $8502
179 mouseAccel              =       $8503
180 keyData                 =       $8504
181 mouseData               =       $8505
182 inputData               =       $8506
183 mouseSpeed              =       $8507
184 random                  =       $850a
185 saveFontTab             =       $850c
186 dblClickCount           =       $8515
187 year                    =       $8516
188 month                   =       $8517
189 day                     =       $8518
190 hour                    =       $8519
191 minutes                 =       $851a
192 seconds                 =       $851b
193 alarmSetFlag            =       $851c
194 sysDBData               =       $851d
195 screencolors            =       $851e
196 dlgBoxRamBuf            =       $851f   ; to $8697
197 ;
198 ;$8698 - $8877 - various system data (keyboard queue, VLIR t&s, DBox, Menu, timers)
199 ;
200 savedmoby2              =       $88bb
201 scr80polar              =       $88bc
202 scr80colors             =       $88bd
203 vdcClrMode              =       $88be
204 driveData               =       $88bf
205 ramExpSize              =       $88c3
206 sysRAMFlg               =       $88c4
207 firstBoot               =       $88c5
208 curType                 =       $88c6
209 ramBase                 =       $88c7
210 inputDevName            =       $88cb
211 memBase                 =       $88cf   ;???
212 DrCCurDkNm              =       $88dc
213 DrDCurDkNm              =       $88ee
214 dir2Head                =       $8900
215 ;
216 SPRITE_PICS             =       $8a00
217 spr0pic                 =       $8a00
218 spr1pic                 =       $8a40
219 spr2pic                 =       $8a80
220 spr3pic                 =       $8ac0
221 spr4pic                 =       $8b00
222 spr5pic                 =       $8b40
223 spr6pic                 =       $8b80
224 spr7pic                 =       $8bc0
225 COLOR_MATRIX            =       $8c00
226 ;
227 obj0Pointer             =       $8ff8
228 obj1Pointer             =       $8ff9
229 obj2Pointer             =       $8ffa
230 obj3Pointer             =       $8ffb
231 obj4Pointer             =       $8ffc
232 obj5Pointer             =       $8ffd
233 obj6Pointer             =       $8ffe
234 obj7Pointer             =       $8fff
235 ;
236 DISK_BASE               =       $9000
237 SCREEN_BASE             =       $a000
238 OS_ROM                  =       $c000
239 OS_JUMPTAB              =       $c100
240 RAMC_BASE               =       $de00
241 RAMC_WINDOW             =       $df00
242 EXP_BASE                =       $df00
243 MOUSE_BASE_128          =       $fd00
244 MOUSE_JMP_128           =       $fd00
245 END_MOUSE_128           =       $fe80
246 MOUSE_BASE              =       $fe80
247 MOUSE_JMP               =       $fe80
248 config                  =       $ff00
249 END_MOUSE               =       $fffa
250 NMI_VECTOR              =       $fffa
251 RESET_VECTOR            =       $fffc
252 IRQ_VECTOR              =       $fffe
253 ;
254 vicbase                 =       $d000
255 sidbase                 =       $d400
256 mmu                     =       $d500
257 VDC                     =       $d600
258 ctab                    =       $d800
259 cia1base                =       $dc00
260 cia2base                =       $dd00
261 ;
262 mob0xpos                =       $d000
263 mob0ypos                =       $d001
264 mob1xpos                =       $d002
265 mob1ypos                =       $d003
266 mob2xpos                =       $d004
267 mob2ypos                =       $d005
268 mob3xpos                =       $d006
269 mob3ypos                =       $d007
270 mob4xpos                =       $d008
271 mob4ypos                =       $d009
272 mob5xpos                =       $d00a
273 mob5ypos                =       $d00b
274 mob6xpos                =       $d00c
275 mob6ypos                =       $d00d
276 mob7xpos                =       $d00e
277 mob7ypos                =       $d00f
278 msbxpos                 =       $d010
279 grcntrl1                =       $d011
280 rasreg                  =       $d012
281 lpxpos                  =       $d013
282 lpypos                  =       $d014
283 mobenble                =       $d015
284 grcntrl2                =       $d016
285 grmemptr                =       $d018
286 grirq                   =       $d019
287 grirqen                 =       $d01a
288 moby2                   =       $d017
289 mobprior                =       $d01b
290 mobmcm                  =       $d01c
291 mobx2                   =       $d01d
292 mobmobcol               =       $d01e
293 mobbakcol               =       $d01f
294 extclr                  =       $d020
295 bakclr0                 =       $d021
296 bakclr1                 =       $d022
297 bakclr2                 =       $d023
298 bakclr3                 =       $d024
299 mcmclr0                 =       $d025
300 mcmclr1                 =       $d026
301 mob0clr                 =       $d027
302 mob1clr                 =       $d028
303 mob2clr                 =       $d029
304 mob3clr                 =       $d02a
305 mob4clr                 =       $d02b
306 mob5clr                 =       $d02c
307 mob6clr                 =       $d02d
308 mob7clr                 =       $d02e
309 keyreg                  =       $d02f
310 clkreg                  =       $d030
311
312 ;
313 vdcreg                  =       $d600
314 vdcdata                 =       $d601
315 ;