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