llvm-mos-sdk
geos-cbm
geos_symbols.h
Go to the documentation of this file.
1
/***********************************************************************
2
* geos_symbols.h
3
*
4
* This file contains symbol definitions for use in GEOS applications
5
* with llvm-mos C compiler.
6
*
7
* Transcribed from geoProgrammer manual by DiSc.
8
*
9
***********************************************************************/
10
11
#ifndef GEOS_SYMBOLS_H
12
#define GEOS_SYMBOLS_H
13
14
#ifdef __cplusplus
15
extern
"C"
{
16
#endif
17
18
#include "
geos_types.h
"
19
20
/***********************************************************************
21
* Zero Page Equates and Space Definintions
22
***********************************************************************/
23
24
extern
volatile
uint8_t
CPU_DDR
;
25
extern
volatile
uint8_t
CPU_DATA
;
26
extern
uint8_t
STATUS
;
27
extern
uint8_t
curDevice
;
28
31
extern
uint8_t
*
zpage
;
33
extern
uint16_t
__zp __r0;
34
extern
uint16_t
__zp __r1;
35
extern
uint16_t
__zp __r2;
36
extern
uint16_t
__zp __r3;
37
extern
uint16_t
__zp __r4;
38
extern
uint16_t
__zp __r5;
39
extern
uint16_t
__zp __r6;
40
extern
uint16_t
__zp __r7;
41
extern
uint16_t
__zp __r8;
42
extern
uint16_t
__zp __r9;
43
extern
uint16_t
__zp __r10;
44
extern
uint16_t
__zp __r11;
45
extern
uint16_t
__zp __r12;
46
extern
uint16_t
__zp __r13;
47
extern
uint16_t
__zp __r14;
48
extern
uint16_t
__zp __r15;
49
53
extern
uint16_t
curPattern
;
54
extern
uint8_t
*
string
;
55
extern
uint8_t
56
baselineOffset
;
57
extern
uint16_t
curSetWidth
;
58
extern
uint8_t
curHeight
;
59
extern
uint16_t
curIndexTable
[];
60
extern
uint8_t
*
cardDataPntr
;
61
extern
uint8_t
currentMode
;
62
extern
uint8_t
dispBufferOn
;
64
extern
uint8_t
mouseOn
;
65
extern
uint8_t
*
msePicPtr
;
66
extern
uint8_t
windowTop
;
67
extern
uint8_t
windowBottom
;
68
extern
uint16_t
leftMargin
;
70
extern
uint16_t
rightMargin
;
75
extern
uint8_t
pressFlag
;
76
extern
uint16_t
mouseXPos
;
77
extern
uint8_t
mouseYPos
;
78
extern
uint8_t
*
returnAddress
;
80
extern
uint8_t
graphMode
;
81
extern
uint8_t
TURBO_DD00
;
82
extern
uint8_t
TURBO_DD00_CPY
;
86
extern
uint8_t
__zp __r0L;
87
extern
uint8_t
__zp __r0H;
88
extern
uint8_t
__zp __r1L;
89
extern
uint8_t
__zp __r1H;
90
extern
uint8_t
__zp __r2L;
91
extern
uint8_t
__zp __r2H;
92
extern
uint8_t
__zp __r3L;
93
extern
uint8_t
__zp __r3H;
94
extern
uint8_t
__zp __r4L;
95
extern
uint8_t
__zp __r4H;
96
extern
uint8_t
__zp __r5L;
97
extern
uint8_t
__zp __r5H;
98
extern
uint8_t
__zp __r6L;
99
extern
uint8_t
__zp __r6H;
100
extern
uint8_t
__zp __r7L;
101
extern
uint8_t
__zp __r7H;
102
extern
uint8_t
__zp __r8L;
103
extern
uint8_t
__zp __r8H;
104
extern
uint8_t
__zp __r9L;
105
extern
uint8_t
__zp __r9H;
106
extern
uint8_t
__zp __r10L;
107
extern
uint8_t
__zp __r10H;
108
extern
uint8_t
__zp __r11L;
109
extern
uint8_t
__zp __r11H;
110
extern
uint8_t
__zp __r12L;
111
extern
uint8_t
__zp __r12H;
112
extern
uint8_t
__zp __r13L;
113
extern
uint8_t
__zp __r13H;
114
extern
uint8_t
__zp __r14L;
115
extern
uint8_t
__zp __r14H;
116
extern
uint8_t
__zp __r15L;
117
extern
uint8_t
__zp __r15H;
118
122
extern
uint16_t
__zp __a0;
123
extern
uint8_t
__zp __a0L;
124
extern
uint8_t
__zp __a0H;
125
extern
uint16_t
__zp __a1;
126
extern
uint8_t
__zp __a1L;
127
extern
uint8_t
__zp __a1H;
129
/***********************************************************************
130
* 0x0300 Area Equates and Space Definintions
131
***********************************************************************/
132
133
extern
vector
bkvec
;
134
extern
vector
nmivec
;
135
extern
vector
kernalVectors
;
137
/***********************************************************************
138
* 0x8000 Area Equates and Space Definintions
139
***********************************************************************/
140
143
extern
disk_block_t
diskBlkBuf
;
144
extern
file_header_t
145
fileHeader
;
146
extern
dir_header_t
curDirHead
;
148
extern
file_tr_se_tab_t
149
fileTrScTab
;
151
extern
dir_entry_t
dirEntryBuf
;
152
extern
disk_name_t
DrACurDkNm
;
154
extern
disk_name_t
DrBCurDkNm
;
156
extern
file_name_t
157
dataFileName
;
158
extern
disk_name_t
dataDiskName
;
159
extern
prt_drv_name_t
PrntFilename
;
161
extern
disk_name_t
PrntDiskName
;
163
extern
uint8_t
curDrive
;
164
extern
uint8_t
diskOpenFlg
;
165
extern
uint8_t
isGEOS
;
166
extern
uint8_t
interleave
;
168
extern
uint8_t
numDrives
;
169
extern
uint8_t
driveType
;
171
extern
uint8_t
turboFlags
;
175
extern
uint8_t
curRecord
;
176
extern
uint8_t
usedRecords
;
177
extern
uint8_t
fileWritten
;
179
extern
uint16_t
fileSize
;
185
extern
vector
appMain
;
187
extern
vector
188
intTopVector
;
190
extern
vector
intBotVector
;
191
extern
vector
mouseVector
;
192
extern
vector
keyVector
;
193
extern
vector
inputVector
;
194
extern
vector
mouseFaultVec
;
196
extern
vector
otherPressVec
;
198
extern
vector
StringFaultVec
;
200
extern
vector
alarmTmtVector
;
204
extern
vector
BRKVector
;
205
extern
vector
RecoverVector
;
207
extern
uint8_t
208
selectionFlash
;
209
extern
uint8_t
alphaFlag
;
210
extern
uint8_t
iconSelFlg
;
211
extern
uint8_t
faultData
;
212
extern
uint8_t
menuNumber
;
213
extern
uint8_t
mouseTop
;
214
extern
uint8_t
mouseBottom
;
215
extern
uint16_t
mouseLeft
;
216
extern
uint16_t
mouseRight
;
220
extern
uint16_t
stringX
;
221
extern
uint8_t
stringY
;
225
extern
uint8_t
*
mousePicData
;
226
extern
uint8_t
maxMouseSpeed
;
227
extern
uint8_t
minMouseSpeed
;
228
extern
uint8_t
mouseAccel
;
229
extern
uint8_t
keyData
;
230
extern
uint8_t
231
mouseData
;
232
extern
uint8_t
inputData
;
234
extern
uint8_t
mouseSpeed
;
235
extern
volatile
uint16_t
236
random
;
237
extern
uint8_t
238
*
saveFontTab
;
239
extern
uint8_t
dblClickCount
;
240
extern
uint8_t
year
;
241
extern
uint8_t
month
;
242
extern
uint8_t
day
;
243
extern
uint8_t
hour
;
244
extern
uint8_t
minutes
;
245
extern
uint8_t
seconds
;
246
extern
uint8_t
alarmSetFlag
;
250
extern
uint8_t
sysDBData
;
253
extern
uint8_t
screencolors
;
254
extern
uint8_t
*
dlgBoxRamBuf
;
259
extern
uint8_t
savedmoby2
;
264
extern
uint8_t
scr80polar
;
265
extern
uint8_t
scr80colors
;
267
extern
uint8_t
vdcClrMode
;
268
extern
uint8_t
269
driveData
[4];
271
extern
uint8_t
ramExpSize
;
272
extern
uint8_t
sysRAMFlg
;
273
extern
uint8_t
firstBoot
;
275
extern
uint8_t
curType
;
276
extern
uint8_t
*
ramBase
;
278
extern
file_name_t
inputDevName
;
279
extern
disk_name_t
DrCCurDkNm
;
281
extern
disk_name_t
DrDCurDkNm
;
283
extern
dir_header_t
dir2Head
;
286
extern
uint8_t
sprpic
[8][64];
287
extern
uint8_t
288
*
objPointer
[8];
290
/***********************************************************************
291
* 0xc000 Area Equates and Space Definintions
292
***********************************************************************/
293
294
extern
char
*
bootName
;
295
extern
uint8_t
version
;
296
extern
uint8_t
nationality
;
297
extern
uint8_t
298
sysFlgCopy
;
299
extern
uint8_t
*
dateCopy
;
301
/***********************************************************************
302
* 0xd000 Area VIC II graphics chip definitions and equates
303
***********************************************************************/
304
305
extern
mobpos_t
mobpos
[8];
306
extern
uint8_t
msbxpos
;
307
extern
uint8_t
grcntrl1
;
308
extern
uint8_t
rasreg
;
309
extern
uint8_t
lpxpos
;
310
extern
uint8_t
lpypos
;
311
extern
uint8_t
mobenble
;
312
extern
uint8_t
grcntrl2
;
313
extern
uint8_t
moby2
;
314
extern
uint8_t
grmemptr
;
315
extern
uint8_t
grirq
;
316
extern
uint8_t
grirqen
;
317
extern
uint8_t
mobprior
;
318
extern
uint8_t
mobmcm
;
319
extern
uint8_t
mobx2
;
320
extern
uint8_t
mobmobcol
;
321
extern
uint8_t
mobbakcol
;
322
extern
uint8_t
extclr
;
323
extern
uint8_t
bakclr
[4];
324
extern
uint8_t
mcmclr0
[2];
325
extern
uint8_t
mobclr
[8];
326
extern
uint8_t
keyreg
;
327
extern
uint8_t
clkreg
;
328
329
/***********************************************************************
330
* 0xf000 Area Equates
331
***********************************************************************/
332
333
extern
vector
NMI_VECTOR
;
334
extern
vector
RESET_VECTOR
;
335
extern
vector
IRQ_VECTOR
;
337
#ifdef __cplusplus
338
}
339
#endif
340
341
#endif
RecoverVector
vector RecoverVector
ramExpSize
uint8_t ramExpSize
returnAddress
uint8_t * returnAddress
bootName
char * bootName
fileTrScTab
file_tr_se_tab_t fileTrScTab
dataFileName
file_name_t dataFileName
mobbakcol
uint8_t mobbakcol
mobprior
uint8_t mobprior
version
uint8_t version
zpage
uint8_t * zpage
nmivec
vector nmivec
mouseTop
uint8_t mouseTop
std::uint16_t
::uint16_t uint16_t
Definition:
cstdint:22
PrntFilename
prt_drv_name_t PrntFilename
usedRecords
uint8_t usedRecords
string
uint8_t * string
grirq
uint8_t grirq
minMouseSpeed
uint8_t minMouseSpeed
dirEntryBuf
dir_entry_t dirEntryBuf
mouseAccel
uint8_t mouseAccel
CPU_DDR
volatile uint8_t CPU_DDR
seconds
uint8_t seconds
lpypos
uint8_t lpypos
objPointer
uint8_t * objPointer[8]
driveType
uint8_t driveType
inputDevName
file_name_t inputDevName
alarmTmtVector
vector alarmTmtVector
StringFaultVec
vector StringFaultVec
mouseYPos
uint8_t mouseYPos
keyreg
uint8_t keyreg
file_name_t
char file_name_t[DK_NM_ID_LEN]
Definition:
geos_types.h:28
curType
uint8_t curType
alarmSetFlag
uint8_t alarmSetFlag
dataDiskName
disk_name_t dataDiskName
mousePicData
uint8_t * mousePicData
savedmoby2
uint8_t savedmoby2
grirqen
uint8_t grirqen
mouseOn
uint8_t mouseOn
disk_name_t
char disk_name_t[DK_NM_ID_LEN]
Definition:
geos_types.h:27
bkvec
vector bkvec
TURBO_DD00_CPY
uint8_t TURBO_DD00_CPY
file_header
Definition:
geos_types.h:124
inputData
uint8_t inputData
maxMouseSpeed
uint8_t maxMouseSpeed
stringX
uint16_t stringX
windowBottom
uint8_t windowBottom
std::uint8_t
::uint8_t uint8_t
Definition:
cstdint:21
nationality
uint8_t nationality
disk_block
Definition:
geos_types.h:57
mouseVector
vector mouseVector
fileWritten
uint8_t fileWritten
mobmobcol
uint8_t mobmobcol
hour
uint8_t hour
mouseData
uint8_t mouseData
prt_drv_name_t
char prt_drv_name_t[17]
Definition:
geos_types.h:29
mouseFaultVec
vector mouseFaultVec
isGEOS
uint8_t isGEOS
firstBoot
uint8_t firstBoot
sprpic
uint8_t sprpic[8][64]
vdcClrMode
uint8_t vdcClrMode
dispBufferOn
uint8_t dispBufferOn
mouseSpeed
uint8_t mouseSpeed
mobclr
uint8_t mobclr[8]
fileSize
uint16_t fileSize
dir_header
Definition:
geos_types.h:101
curDevice
uint8_t curDevice
curHeight
uint8_t curHeight
diskBlkBuf
disk_block_t diskBlkBuf
dir2Head
dir_header_t dir2Head
curPattern
uint16_t curPattern
mouseBottom
uint8_t mouseBottom
curSetWidth
uint16_t curSetWidth
menuNumber
uint8_t menuNumber
mobmcm
uint8_t mobmcm
mcmclr0
uint8_t mcmclr0[2]
mobenble
uint8_t mobenble
CPU_DATA
volatile uint8_t CPU_DATA
mobx2
uint8_t mobx2
curDirHead
dir_header_t curDirHead
DrDCurDkNm
disk_name_t DrDCurDkNm
mouseLeft
uint16_t mouseLeft
geos_types.h
currentMode
uint8_t currentMode
otherPressVec
vector otherPressVec
NMI_VECTOR
vector NMI_VECTOR
grcntrl2
uint8_t grcntrl2
curIndexTable
uint16_t curIndexTable[]
curDrive
uint8_t curDrive
keyData
uint8_t keyData
saveFontTab
uint8_t * saveFontTab
day
uint8_t day
keyVector
vector keyVector
baselineOffset
uint8_t baselineOffset
leftMargin
uint16_t leftMargin
alphaFlag
uint8_t alphaFlag
file_tr_se_tab_t
struct tr_se_pair file_tr_se_tab_t[128]
Definition:
geos_types.h:40
minutes
uint8_t minutes
IRQ_VECTOR
vector IRQ_VECTOR
appMain
vector appMain
lpxpos
uint8_t lpxpos
DrCCurDkNm
disk_name_t DrCCurDkNm
iconSelFlg
uint8_t iconSelFlg
vector
void(* vector)(void)
Definition:
geos_types.h:25
mouseXPos
uint16_t mouseXPos
mouseRight
uint16_t mouseRight
rightMargin
uint16_t rightMargin
clkreg
uint8_t clkreg
dateCopy
uint8_t * dateCopy
grcntrl1
uint8_t grcntrl1
random
volatile uint16_t random
faultData
uint8_t faultData
curRecord
uint8_t curRecord
dlgBoxRamBuf
uint8_t * dlgBoxRamBuf
sysDBData
uint8_t sysDBData
cardDataPntr
uint8_t * cardDataPntr
dir_entry
Definition:
geos_types.h:68
graphMode
uint8_t graphMode
screencolors
uint8_t screencolors
STATUS
uint8_t STATUS
BRKVector
vector BRKVector
dblClickCount
uint8_t dblClickCount
msbxpos
uint8_t msbxpos
msePicPtr
uint8_t * msePicPtr
sysFlgCopy
uint8_t sysFlgCopy
stringY
uint8_t stringY
extclr
uint8_t extclr
pressFlag
uint8_t pressFlag
turboFlags
uint8_t turboFlags
ramBase
uint8_t * ramBase
sysRAMFlg
uint8_t sysRAMFlg
windowTop
uint8_t windowTop
kernalVectors
vector kernalVectors
intBotVector
vector intBotVector
inputVector
vector inputVector
scr80colors
uint8_t scr80colors
interleave
uint8_t interleave
mobpos
Definition:
geos_types.h:226
RESET_VECTOR
vector RESET_VECTOR
selectionFlash
uint8_t selectionFlash
numDrives
uint8_t numDrives
PrntDiskName
disk_name_t PrntDiskName
rasreg
uint8_t rasreg
DrBCurDkNm
disk_name_t DrBCurDkNm
DrACurDkNm
disk_name_t DrACurDkNm
TURBO_DD00
uint8_t TURBO_DD00
moby2
uint8_t moby2
fileHeader
file_header_t fileHeader
scr80polar
uint8_t scr80polar
grmemptr
uint8_t grmemptr
driveData
uint8_t driveData[4]
intTopVector
vector intTopVector
diskOpenFlg
uint8_t diskOpenFlg
year
uint8_t year
bakclr
uint8_t bakclr[4]
month
uint8_t month
Generated by
1.8.17