Mercurial > hg > Members > kono > nitros9-code
annotate 3rdparty/roms/dos/SuperDos/romdefs.asm @ 2250:8f641411c2fa
Fixed up some comments
author | boisy |
---|---|
date | Thu, 24 Dec 2009 16:51:18 +0000 |
parents | b2f58a220c08 |
children |
rev | line source |
---|---|
1987
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
1 IFNE Dragon |
1985
4037b23c848d
SuperDos rom, assembalable for Dragon Dos, Dragon Alpha or RS-DOS
afra
parents:
diff
changeset
|
2 |
1987
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
3 StubResWordsOfs EQU $0000 Offset of number of reserved words |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
4 StubResLookupOfs EQU $0001 Offset of reserved word lookup table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
5 StubResJumpOfs EQU $0003 Offset of reserved word jump table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
6 StubFuncsOfs EQU $0005 Offset of nummber of functions |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
7 StubFuncsLookupOfs EQU $0006 Offset of function lookup table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
8 StubFuncsJumpOfs EQU $0008 Offset of functions jump table |
1985
4037b23c848d
SuperDos rom, assembalable for Dragon Dos, Dragon Alpha or RS-DOS
afra
parents:
diff
changeset
|
9 |
1987
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
10 Skip1 EQU $0021 Skip 1 byte (BRN) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
11 Skip2 EQU $008C Skip 2 bytes (CMPX) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
12 Skip1LD EQU $0086 Skip 1 byte (LDA) |
1985
4037b23c848d
SuperDos rom, assembalable for Dragon Dos, Dragon Alpha or RS-DOS
afra
parents:
diff
changeset
|
13 |
1987
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
14 CoCoVec167 EQU $0000 Vector dest for 167 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
15 CoCoVect16A EQU $0000 Vector dest for 16A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
16 CoCoVect176 EQU $0000 Vector dest for 176 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
17 CoCoVect179 EQU $0000 Vector dest for 179 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
18 CoCoVect18B EQU $0000 Vector dest for 18B |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
19 CoCoVect191 EQU $0000 Vector dest for 191 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
20 CoCoVect194 EQU $0000 Vector Dest for 194 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
21 CoCoVect197 EQU $0000 Vector Dest for 197 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
22 CoCoVect19A EQU $0000 Vector Dest for 19A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
23 CoCoVect1A3 EQU $0000 Vector Dest for 1A3 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
24 SerDLTimeout EQU $0000 Timeourt for DLOAD, unknown for Dragon |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
25 SerDLBaud EQU $0000 Baud rate for DLOAD, unknown for Dragon |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
26 BasBreakFlag EQU $0000 Break flag, +ve=stop,-ve=end |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
27 BasDelim1 EQU $0001 First string delimiter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
28 BasDelim2 EQU $0002 Second string delimiter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
29 BasGenCount EQU $0003 General count/scratch var |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
30 BasIfCount EQU $0004 If count - how many in a line |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
31 BasArrayEval EQU $0005 Array evaluation flag, 0=eval, 1=dimensioning |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
32 BasVarType EQU $0006 Variable type flag 0=numeric, $ff=string |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
33 BasGarbageFlag EQU $0007 Garbage collection flag |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
34 BasDisArraySearch EQU $0008 Disable array search flag, 0=allow 0<>disable |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
35 BasInputFlag EQU $0009 Iinput/read flag, 0=input 0<>read |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
36 BasRelateFlag EQU $000A Relational operator flag |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
37 BasStrFirstFreeTemp EQU $000B First free temory string space pointer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
38 BasStrLastUsedTemp EQU $000D Last used tempory string space pointer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
39 BasTempPtr EQU $000F Tempory pointer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
40 BasTempPtr1 EQU $0011 Tempory discriptor pointer (stack search) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
41 BasTempFPA2 EQU $0013 Tempory FPA Mantissa for FPA2 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
42 BasBotStack EQU $0017 Bottom of stack at last check |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
43 BasStartProg EQU $0019 Start addr of basic program |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
44 BasVarSimpleAddr EQU $001B Start address of simple variables |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
45 BasVarArrayAddr EQU $001D Start address of Array table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
46 BasVarEnd EQU $001F End of storage in use by basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
47 BasVarStringBase EQU $0021 Base address of string space (and stack) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
48 AddrStack EQU $0021 Address of top of machine stack |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
49 BasVarStrTop EQU $0023 Top of string space in use |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
50 BasStrUtil EQU $0025 Utility string pointer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
51 AddrFWareRamTop EQU $0027 Top of firmware RAM CLEAR xxx,yyyy set this to yyyy |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
52 BasContLine EQU $0029 Line no used by CONT |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
53 BasTempLine EQU $002B Tempory line no |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
54 BasOldInputPtr EQU $002D Pointer to saved input during a STOP |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
55 BasDirectTextPtr EQU $002F Direct mode text pointer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
56 BasVarDataLine EQU $0031 Line number of current data statement |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
57 BasVarDataAddr EQU $0033 Address of next item in data |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
58 TextKbdBuffAddr EQU $0035 Address of keyboard input buffer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
59 BasVarLastInUse EQU $0037 Pointer to variable last in use |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
60 BasVarPtrLast EQU $0039 Poiinter to VARPTR last in use |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
61 BasTempVarDesc EQU $003B Pointer to a tempory var descriptor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
62 BasTempRelateFlag EQU $003F Tempory relational operator flag |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
63 BasVarFPAcc3 EQU $0040 Floating point accumulator 3 (packed) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
64 BasVarFPAcc4 EQU $0045 Floating point accumulator 4 (packed) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
65 BasVarFPAcc5 EQU $004A Floating point accumulator 5 (packed) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
66 BasVarFPAcc1 EQU $004F Floating point acumulator 1 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
67 BasVarAssign16 EQU $0052 Part of FPA1, used for 16bit assigns |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
68 BasVarFPAcc2 EQU $005C Floating point acumulator 2 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
69 BasListLine EQU $0066 Current line during list |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
70 BasCurrentLine EQU $0068 Current line no $FFFF in direct mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
71 TextVDUCommaW EQU $006A VDU comma width field |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
72 TextVDULastComma EQU $006B VDU last comma field, should be VDU line width - VDU comma width |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
73 TextVDUCurrCol EQU $006C Current column for VDU output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
74 TextVDULineW EQU $006D VDU line width, normally 32 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
75 CasIOFlag EQU $006E Cassette IO Flag, set to $FF when IO in progress |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
76 TextDevN EQU $006F Current device number |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
77 CasEOFFlag EQU $0070 Cassette IO Flag, nonzero if EOF reached |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
78 WarmStartFlag EQU $0071 Warm start flag $55=warm start, else cold start |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
79 IndVecReset EQU $0072 Secondary Reset vector address, must point to NOP |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
80 AddrRamTop EQU $0074 Physical end of RAM (4K, 16K, 32K or 64K). |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
81 BasUnused1 EQU $0076 2 unused bytes |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
82 CasStatus EQU $0078 Cassette status byte, 0=cassette closed, 1=open for input, 2=open for output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
83 CasIOBuffSize EQU $0079 Size of cassette IO buffer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
84 CasHeadBuffAddr EQU $007A Address of cassette file header |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
85 CasBlockType EQU $007C Cassete block type, 0=filename, 1=data, 255=EOF |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
86 CasBlockLen EQU $007D Cassete block length, number of bytes read, or to be written |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
87 CasIOBuffAddr EQU $007E Cassette IO buffer address, where data will be read/written |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
88 CasCkSum EQU $0080 Used by cassette routines for calculating checksum |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
89 CasIOErrorCode EQU $0081 Cassette IO error code 0=no error, 1=CRC, 2=attempt to load in non-ram area |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
90 CasTemp EQU $0082 Cassette tempory storage |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
91 CasBitCount EQU $0083 Cassette bit counter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
92 CasPhaseFlag EQU $0084 Cassette Phase flag |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
93 CasLastSine EQU $0085 Casette last sine tabe entry |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
94 GrSetResetData EQU $0086 Data for Lo-res set/reset |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
95 TextLastKey EQU $0087 ASCII code of last keypress, not cleard by key release |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
96 TextVDUCursAddr EQU $0088 Current VDU cursor address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
97 Misc16BitScratch EQU $008A Misc 16 bit scratch register (always zero ??) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
98 SndPitch EQU $008C Sound pitch value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
99 SndLength EQU $008D Sound duration |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
100 TextCursFalshCnt EQU $008F Cusrsor flash counter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
101 CasLeadCount EQU $0090 Cassete leader count, number of $55 bytes in the leader |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
102 CasPartrt EQU $0092 Cassette 1200/2400 partition |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
103 CasMax12 EQU $0093 Cassette Upper limit of 1200Hz |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
104 CasMax24 EQU $0094 Cassette Upper limit of 2400Hz |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
105 CasMotorDelay EQU $0095 Cassette motor on delay (also inter-block gap) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
106 TextKbdDelay EQU $0097 Keyboard scan delay constant, used to debounce |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
107 TextPrnCommaW EQU $0099 Printer comma width |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
108 TextPrnLastComma EQU $009A Printer last comma width, should be printer line width - prinnter comma width |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
109 TextPrnLineW EQU $009B Printer line width |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
110 TextPrnCurrCol EQU $009C Printer current column |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
111 BasExecAddr EQU $009D Exec address, on D64, at startup points to routine to boot all ram mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
112 BasChrGet EQU $009F Get next basic character routine |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
113 BasChrGetCurr EQU $00A5 Get current basic ccharacter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
114 BasAddrSigByte EQU $00A6 Address of current significant bit in command line |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
115 BasRndData EQU $00AB Used by RND |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
116 BasTronFlag EQU $00AF Tron flag nonzero=trace on |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
117 BasUSRTableAddr EQU $00B0 Address of USR address table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
118 GrForeground EQU $00B2 Current foreground colour |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
119 GrBackground EQU $00B3 Current background colour |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
120 GrColourTemp EQU $00B4 Tempory colour in use |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
121 GrCurrColour EQU $00B5 Byte value for current colour, to set all pixels in byte to that colour |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
122 GrCurrPmode EQU $00B6 Current PMODE number |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
123 GrLastDisplayAddr EQU $00B7 Address of last byte in current display |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
124 GrBytesPerLine EQU $00B9 Number of byts/lin in current mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
125 GrDisplayStartAddr EQU $00BA Address of first byte in current display |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
126 GrStartPages EQU $00BC Page number of Start of graphics pages |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
127 GrCurrX EQU $00BD Current X cursor pos |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
128 GrCurrY EQU $00BF Current Y cursor pos |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
129 GrColourSet EQU $00C1 Colour set currently in use |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
130 GrPlotFlag EQU $00C2 Plot/Unplot flag, 0=reset, nonzero=set |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
131 GrPixelNoX EQU $00C3 Current horizontal pixel no |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
132 GrPixelNoY EQU $00C5 Current vertical pixel number |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
133 GrCurrXCo EQU $00C7 Current Cursor X |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
134 GrCurrYCo EQU $00C9 Current Cursor Y |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
135 GrCircleXCo EQU $00CB Circle command X |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
136 GrCircleYCo EQU $00CD Circle command Y |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
137 BasRenumVal EQU $00CF Renum increment value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
138 GrCircleRadius EQU $00D0 Circle radius |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
139 BasRenumStart EQU $00D1 Renum start line no |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
140 BasCloadMOffs EQU $00D3 2s complement of CLOADM offset |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
141 BasRenumStartLine EQU $00D5 Renum start line number |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
142 BasEditorLineLen EQU $00D7 Editor line length |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
143 GrDirtyFlag EQU $00DB Flag to tell if graphics screen has changed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
144 SndOctave EQU $00DE Sound octave value for PLAY |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
145 SndVolume EQU $00DF Sound volume for PLAY |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
146 SndNoteLen EQU $00E1 Note length for PLAY |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
147 SndTempo EQU $00E2 Tempo for PLAY |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
148 SndTimerPlay EQU $00E3 Timer for the Play command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
149 SndDotNoteScale EQU $00E5 Dotted note scale factor for Play |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
150 GrDrawAngle EQU $00E8 Current angle for DRAW command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
151 GrDrawScale EQU $00E9 Current scale for DRAW command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
152 SecVecSWI3 EQU $0100 Secondary SWI3 vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
153 SecVecSWI2 EQU $0103 Secondary SWI2 vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
154 SecVecSWI EQU $0106 Secondary NMI vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
155 SecVecNMI EQU $0109 Secondary NMI vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
156 SecVecIRQ EQU $010C Secondary IRQ vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
157 SecVecFIRQ EQU $010F Secondary FIRQ vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
158 SysTimeVal EQU $0112 Current value of system timer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
159 BasRandomSeed EQU $0115 Random number seed for RND function |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
160 BasNumCmds EQU $0120 Number of basic commands |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
161 BasStub0 EQU $0120 Basic Stub 0 (All basic on Dragon, Colour basic on Tandy) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
162 BasAddrCmdList EQU $0121 Address of basic command list |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
163 BasAddrCmdDisp EQU $0123 Address of basic command dispatch |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
164 BasNumFuncs EQU $0125 Number of basic functions |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
165 BasAddrFuncList EQU $0126 Address of basic function list |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
166 BasAddrFuncDisp EQU $0128 Address of basic function dispatcher |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
167 BasNumDskCmds EQU $012A Number of disk basic commands |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
168 BasStub1 EQU $012A Basic stub 1 (Disk basic on Dragon, Extended basic on Tandy) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
169 BasAddrDskCmdList EQU $012B Address of disk basic command list |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
170 BasAddrDskCmdDisp EQU $012D Address of disk basic command dispatch |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
171 BasNumDskFuncs EQU $012F Number of disk basic functions |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
172 BasAddrDskFuncList EQU $0130 Address of disk basic function list |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
173 BasAddrDskFuncDisp EQU $0132 Address of disk basic function dispatcher |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
174 BasUsrVecNoDisk EQU $0134 USR vector tabl when basic not installed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
175 BasStub2 EQU $0134 Basic Stub 2 (Null on dragon, Disk basic on Tandy) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
176 BasStub3 EQU $013E Basic Stub 3 (do not use on dragon, user stub on Tandy) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
177 TextPrnAutoCRLF EQU $0148 Printer auto EOL flag, nonzero will send EOL sequence at end of line |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
178 TextCapsLock EQU $0149 Capslock flag, nonzero=uppercase |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
179 TextPrnEOLCnt EQU $014A Number of characters in EOL sequence 1..4 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
180 TextPrnEOLSeq EQU $014B End of line characters |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
181 TextKbdRollover EQU $0150 Rollover table, to check for key releases |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
182 BasJoyVal0 EQU $015A Joystick(0) value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
183 BasJoyVal1 EQU $015B Joystick(1) value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
184 BasJoyVal2 EQU $015C Joystick(2) value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
185 BasJoyVal3 EQU $015D Joystick(3) value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
186 VectDevOpen EQU $015E Called before a device is opened |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
187 VectBase EQU $015E Base address of ram hooks/vectors |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
188 VectDevNo EQU $0161 Called when a device number is verified |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
189 VectDevInit EQU $0164 Called before initialising a device |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
190 VectOutChar EQU $0167 Called before outputting char in A to a device |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
191 VectInChar EQU $016A Called before inputting a char to A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
192 VectInputFile EQU $016D Called before inputting from a file |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
193 VectOutputFile EQU $0170 Called before outputting to a file |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
194 VectCloseAllFiles EQU $0173 Called before closing all files |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
195 VectCloseFile EQU $0176 Called before closing a file |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
196 VectCmdInterp EQU $0179 Called before interpreting a token in A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
197 VectReReqestIn EQU $017C Called before re-requesing input from keyboard |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
198 VectCheckKeys EQU $017F Called before keyboard is scanned for BREAK,SHIFT-@ |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
199 VectLineInputFile EQU $0182 Called before LINE INPUT is executed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
200 VectCloseFileCmd EQU $0185 Called before closing an ASCII file read in as basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
201 VectCheckEOF EQU $0188 called before checking for end of file |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
202 VectEvaluateExpr EQU $018B Called before evaluating expression |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
203 VectUserError EQU $018E Can be patched by user to trap error messages |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
204 VectSysError EQU $0191 Can be patched by system to trap error messages |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
205 VectRunLink EQU $0194 Called when RUN about to be executed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
206 VectResetBasMem EQU $0197 Called before changing BASIC memory vectors after LOAD etc |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
207 VectGetNextCmd EQU $019A Called before fetching next command to be executed by BASIC |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
208 VectAssignStr EQU $019D Called before assigning string to string variable |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
209 VectAccessScreen EQU $01A0 Called before CLS, GET & PUT are executed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
210 VectTokenize EQU $01A3 Called before an ASCII line is tokenized |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
211 VectDeTokenize EQU $01A6 Called before a line is de-tokenized |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
212 BasStrDescStack EQU $01A9 String descriptor stack |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
213 CasFNameLen EQU $01D1 Length of cassette filename can be 0 to 8 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
214 CasFName EQU $01D2 Cassete filename to search for or write out |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
215 CasFNameFound EQU $01DA Filename found, when reading |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
216 CasIOBuff EQU $01DA COS default IO buffer, if this contains filename block then folloing are valid |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
217 CasFType EQU $01E2 File type 0=tokenized basic, 1=ASCII data, 2=Binary |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
218 CasASCIIFlag EQU $01E3 ASCII flag byte |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
219 CasGapFlag EQU $01E4 Gap flag byte |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
220 CasEntryAddr EQU $01E5 Entry address for MC programs |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
221 CasLoadAddr EQU $01E7 Load address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
222 BasLinInpHead EQU $02DA Basic line input buffer header |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
223 BasLinInpBuff EQU $02DC Basic line input buffer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
224 BasBuffer EQU $03D7 Basic buffer space |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
225 TextSerEOLDelay EQU $03FD End of line delay for serial port on Dragon 64 & CoCo |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
226 TextPrnSelFlag EQU $03FF Dragon 64 printer selection flag, 0=paralell port, nonzero=RS232 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
227 BasicHWInit EQU $8000 Hardware initialisation |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
228 BasicSWInit EQU $8003 Software initialisation |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
229 BasicKbdIn EQU $8006 Keyboard input |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
230 BasicCursorB EQU $8009 Cursor blink |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
231 BasicScreenOut EQU $800C Screen output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
232 BasicPrintOut EQU $800F Printer output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
233 BasicJoyIn EQU $8012 Joystick input |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
234 BasicCassOn EQU $8015 Cassette player motor on |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
235 BasicCassOff EQU $8018 Cassette player motor off |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
236 BasicWriteLead EQU $801B Cassette write leader |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
237 CasWriteLeader EQU $801B Turn on motor and write out leader |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
238 BasicCassByOut EQU $801E Cassette byte output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
239 BasicCassOnRd EQU $8021 Cassette on for reading |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
240 BasicCassByIn EQU $8024 Cassette byte input |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
241 BasicCassBitIn EQU $8027 Cassette bit input |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
242 BasicSerIn EQU $802A Read a byte from serial |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
243 BasicSerOut EQU $802D Write a byte to serial port |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
244 BasicSetBaud EQU $8030 Set baud rate |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
245 BasErrorCodeTable EQU $82A9 List of 2 byte error codes eg 'SN' 'OM' 'UL' etc |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
246 BasChkArrSpaceMv EQU $831C Check memory space at top of arrays + move arrays |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
247 BasChkB2Free EQU $8331 Check B*2 bytes free above Arrays, OM error if not |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
248 BasOMError EQU $8342 Print ?OM Error and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
249 SysErr EQU $8344 Report error code in B register, cleanup and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
250 SysErr2 EQU $835E Report error in B, do NOT hook to RAM, or turn of cas etc |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
251 BasCmdMode EQU $8371 Return to command mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
252 BasVect2 EQU $83ED Finalises setup of basic vectors (after load), should be preceeded by call to BasVect1 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
253 BasFindLineNo EQU $83FF Find a line number in basic program |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
254 CmdNew EQU $8415 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
255 BasNew EQU $8417 Remove current basic program from meory, like NEW command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
256 BasVect1 EQU $841F Sets up various basic vectors (after load), should be followed by call to BasVect2 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
257 BasResetStack EQU $8434 Reset basic stack to initial position |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
258 CmdFor EQU $8448 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
259 BasRun EQU $849F Run basic program in memory, like RUN |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
260 BasBRARun EQU $84DA BRA to main loop, used by DOS |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
261 BasDoDipatch EQU $84ED Do command dispatech, X must point to dispatch table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
262 CmdRestore EQU $8514 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
263 BasPollKeyboard EQU $851B Basic, poll keyboard and check for break |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
264 TextWaitKey EQU $852B Wait for a keypress, calls TextScanKbd, also handles break |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
265 CmdEnd EQU $8532 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
266 CmdStop EQU $8539 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
267 CmdCont EQU $8560 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
268 CmdClear EQU $8571 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
269 CmdRun EQU $85A5 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
270 CmdGo EQU $85B9 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
271 BasSkipLineNo EQU $85E7 Skip past line no in basic line, UL error if no line no. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
272 BasSetProgPtrX EQU $85EE Sets basic program pointer to X-1 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
273 CmdReturn EQU $85F3 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
274 CmdData EQU $8613 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
275 CmdREM EQU $8616 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
276 CmdIF EQU $8647 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
277 CmdON EQU $8675 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
278 BasGetLineNo EQU $869A Get line no and store in BasTempLine |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
279 CmdLet EQU $86BC Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
280 CmdInput EQU $872B Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
281 CmdRead EQU $8777 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
282 CmdReadFromX EQU $877A As basic READ command but ptr in X supplied by caller |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
283 CmdNext EQU $8829 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
284 VarGetExprCC EQU $8874 Evaluate and put the VARPTR of experssion which follows in BasVarAssign16 (carry clear) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
285 VarGetExpr EQU $8877 Evaluate and put the VARPTR of experssion which follows in BasVarAssign16 (carry set) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
286 BasTMError EQU $8882 Print ?TM Error and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
287 VarGetStr EQU $8887 Compiles string and moves to free string space, should be followed by VarGetExpr |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
288 VarCKClBrac EQU $89A4 Check for Close bracket ')' in command line, SNError if not |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
289 VarCKOpBrac EQU $89A7 Check for Open bracket '(' in command line, SNError if not |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
290 VarCKComma EQU $89AA Check for Comma in command line, SNError if not |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
291 VarCKChar EQU $89AC Check for char in B register in command line, SNError if not |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
292 BasSNError EQU $89B4 Print ?SN Error and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
293 CmdOR EQU $8A11 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
294 CmdAND EQU $8A12 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
295 CmdDim EQU $8A8B Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
296 VarGetVar EQU $8A94 Gets VARPTR address of following name and places in BasVarPtrLast |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
297 VarGetUsr EQU $8B29 Returns argument to USRnn as a 16bit no in D |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
298 BasFCError EQU $8B8D Print ?FC Error and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
299 CmdMEM EQU $8C31 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
300 VarAssign16Bit EQU $8C35 Assigns value in D register to a variable, and returns to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
301 VarAssign8Bit EQU $8C36 Assigns value in B register to a variable, and returns to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
302 VarAssign16Bit2 EQU $8C37 Assigns value in D register to a variable, and returns to basic (1 less instruction!). |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
303 CmdSTRS EQU $8C40 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
304 BasResStr EQU $8C52 Reserve B bytes of string space return start in X, setup low mem vars |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
305 BasResStr2 EQU $8CB3 Reserve B bytes of string space return start in X |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
306 VarGarbageCollect EQU $8CD7 Forces garbage collection in string space |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
307 BasGetStrLenAddr EQU $8D9A Get string len in B and address in X of string desc in FPA2 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
308 VarDelVar EQU $8D9F Frees up storage used by a variable |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
309 CmdLEN EQU $8DC7 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
310 CmdCHRS EQU $8DD2 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
311 CmdASC EQU $8DE6 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
312 BasGetStrFirst EQU $8DEA Get first character of string into B |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
313 CmdLeftS EQU $8DF1 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
314 CmdRightS EQU $8E0E Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
315 CmdMidS EQU $8E15 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
316 VarGet8Bit EQU $8E51 Returns value of variable in B,FCError if more than 8 bits |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
317 CmdVAL EQU $8E5C Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
318 VarGetComma8 EQU $8E7E Checks for comman then gets 8 bit. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
319 VarGet16Bit EQU $8E83 Returns value of variable in D,FCError if more than 16 bits |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
320 CmdPeek EQU $8E96 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
321 CmdPoke EQU $8E9D Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
322 CmdLList EQU $8EA4 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
323 CmdList EQU $8EAA Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
324 BasList EQU $8EAA List basic program to SysDevN A must be 0 on entry |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
325 CmdPrint EQU $903D Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
326 TextOutCRLF EQU $90A1 Outputs an EOL sequence to the screen |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
327 TextOutString EQU $90E5 Outputs string pointed to by X to screen, X should point to byte before first byte of string |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
328 TextOutSpace EQU $90F5 Outputs a space to screen |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
329 TextOutQuestion EQU $90F8 Outputs a question mark to screen |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
330 CmdMinus EQU $9105 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
331 CmdPlus EQU $910E Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
332 VarNormFPA0 EQU $9165 Normalize FPA0 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
333 CmdLOG EQU $923C Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
334 CmdMultiply EQU $9275 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
335 CmdDivide EQU $933C Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
336 CmdSGN EQU $9425 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
337 CmdABS EQU $943E Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
338 CmdINT EQU $9499 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
339 TextOutNum16 EQU $957A Outputs unsigned integer in D to the TextDevN device |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
340 TextOutNumFPA0 EQU $9582 Outputs number in FPA0 to screen |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
341 CmdSQR EQU $9697 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
342 CmdExponet EQU $96A0 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
343 CmdEXP EQU $9713 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
344 CmdRND EQU $9772 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
345 BasRandom8 EQU $978E Generate an 8 bit random number and place in BasRandomSeed+1 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
346 CmdCOS EQU $97CB Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
347 CmdSIN EQU $97D1 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
348 CmdTAN EQU $9816 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
349 CmdATN EQU $9877 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
350 CasWriteBin EQU $991B Write a binary file out push return address, then start,end and entry addresses and then JMP to this |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
351 CmdFIX EQU $9956 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
352 CmdEdit EQU $9965 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
353 CmdTron EQU $9AD9 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
354 CmdTroff EQU $9ADA Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
355 CmdPOS EQU $9ADE Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
356 CmdVarptr EQU $9AF4 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
357 CmdStringS EQU $9B84 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
358 CmdInstr EQU $9BB4 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
359 VarAssign16BitB EQU $9C3E Assigns value in BasVarAssign16 to a variable, and returns to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
360 BasChkDirect EQU $9C76 Check for direct mode, ID Error if so |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
361 CmdDef EQU $9C81 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
362 CmdUSR EQU $9D1D Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
363 BasIRQVec EQU $9D3D Basic IRQ routine, increments timer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
364 CmdTimer EQU $9D59 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
365 CmdDelete EQU $9D61 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
366 CmdLineInput EQU $9DB1 Line input command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
367 BasLineInputEntry EQU $9DD9 Entry into LINE INPUT routine, used by DOS |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
368 CmdRenum EQU $9DFA Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
369 IndKeyInput EQU $A000 Indirect keyboard input jsr() |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
370 IndCharOutput EQU $A002 Indirect Character output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
371 IndCasOnRead EQU $A004 Indirect prepare cassette for read |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
372 IndCasBlockIn EQU $A006 Indirect Read cassette block |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
373 IndCasBlockOut EQU $A008 Indirect Write cassete block |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
374 IndJoystickIn EQU $A00A Indirect joystick in |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
375 IndCasWriteLead EQU $A00C Indirect Write cassette leader |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
376 CmdHexS EQU $A00E Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
377 CmdDload EQU $A049 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
378 TextWaitKeyCurs EQU $A0EA Same as TextWaitKey, but with cursor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
379 PixMaskTable2Col EQU $A66B Pixel mask table 2 colour mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
380 PixMaskTable4Col EQU $A673 Pixel mask table 4 colour mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
381 CmdPPoint EQU $A6C7 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
382 CmdPset EQU $A6EF Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
383 CmdPReset EQU $A6F3 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
384 CmdLine EQU $A749 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
385 CmdPCls EQU $A8C0 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
386 GrClearGrScreen EQU $A8C7 Clears grapics screen to value in B |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
387 CmdColor EQU $A8D4 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
388 GrSetColours EQU $A928 Sets up colours in low memory |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
389 GrSelectDisplay EQU $A938 Sets Text or Graphics screen, if Z=1 then text |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
390 TextResetVDU EQU $A93A Resets to text mode and screen base address of $400 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
391 GrSetVDGMode EQU $A989 Set VDG to mode in A register |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
392 GrSetVDGOffset EQU $A99D Set VDG offset to page in A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
393 GrSelectVDGColSet EQU $A9A4 Select colour set from data in GrColourSet |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
394 CmdPmode EQU $A9AF Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
395 GrSelectPage EQU $A9E1 On entry B contains Pmode page to be used |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
396 CmdScreen EQU $A9FE Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
397 GrSelectColourSet EQU $AA10 Selects colour set dependent on B |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
398 CmdPClear EQU $AA19 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
399 GrReserveGrRam EQU $AA23 Reserves memory for graphics, no graphics pages in B |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
400 BasLocateScreen EQU $AA87 Initialise beginning of basic after graphics screen, no of pages in A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
401 CmdPcopy EQU $AABE Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
402 CmdGet EQU $AAF0 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
403 CmdPut EQU $AAF3 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
404 CmdPaint EQU $AC87 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
405 CmdPlay EQU $ADBD Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
406 SndPlayNote EQU $AE9A Plays a note from the A register (ASCII) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
407 GrDraw EQU $B051 Draw on pmode screen as in DRAW command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
408 CmdDraw EQU $B051 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
409 CmdCircle EQU $B238 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
410 SysReset EQU $B3B4 Perform soft reset, as if reset button pressed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
411 BasBootBasic EQU $B400 Restart basic, as if power on, also deletes current program |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
412 WarmStart EQU $B44F Warm start routine |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
413 BasSignonMess EQU $B4B2 Signon message address, for CoCo this is for Extended basic. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
414 TextWaitKeyCurs2 EQU $B505 Same as TextWaitKey, but with cursor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
415 TextOutChar EQU $B54A Outputs character in A to screen |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
416 BasInBuffFromX EQU $B5D3 Read input buffer at X as basic input |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
417 CmdClose EQU $B64D Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
418 CasClosFiles EQU $B65F Close any open cassete file |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
419 CmdCsave EQU $B683 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
420 CasWriteBasic EQU $B6A5 Write tokenized basic program out, similar to CSAVE |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
421 CmdCload EQU $B6D5 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
422 CasReadBin EQU $B748 Read in a binary file, similar to CLOADM |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
423 CmdExec EQU $B771 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
424 CmdInkeyS EQU $B797 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
425 UtilCopyBXtoU EQU $B7CC Copy B bytes from X to U |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
426 BasGetDevNo EQU $B7D4 Get dev no from line & validate |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
427 CmdEOF EQU $B801 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
428 CmdSkipf EQU $B81F Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
429 CmdOpen EQU $B829 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
430 CmdOpenEntry EQU $B835 Entry into Basic open command used by Dragon/SuperDos |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
431 BasFMError EQU $B848 Print ?FM Error and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
432 CasFindFile EQU $B8B3 Searches a tape for specified filename |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
433 CasReadBlock1 EQU $B933 Turns on motor, reads header and then first block into CasIOBufAddr |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
434 CasBlockIn EQU $B93E Reads a block into the cassete buffer pointed to by CasIOBuffAddr |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
435 CmdMotor EQU $B982 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
436 CasWriteBlock1 EQU $B991 Turn on motor, write leader and then first block |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
437 CasBlockOut EQU $B999 Write a block to cassete pointed to by CasIOBuffAddr |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
438 CmdSet EQU $B9D3 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
439 GrSetLRGPixel EQU $B9DF Sets lo res pixel |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
440 CmdReset EQU $BA04 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
441 GrResetLRGPixel EQU $BA07 ReSets lo res pixel |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
442 GrCalcPixelPos EQU $BA28 Calculates Lo-res pixel pos from data on stack |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
443 CmdPoint EQU $BA45 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
444 CmdCLS EQU $BA60 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
445 TextCls EQU $BA77 Clear text mode screen, resets cursor to top left |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
446 TextClsChar EQU $BA79 Clears srcrren to character in B register & resets cursor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
447 CmdSound EQU $BA9B Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
448 SndBeep EQU $BAA0 Play a beep duration in B, frequency in SndPitch |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
449 SndDisable EQU $BAC3 Disables D/A sound output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
450 CasAudioOff EQU $BAC3 Turn off audio from cassette |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
451 SndEnable EQU $BAC5 Enables D/A sound output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
452 SysResetDA EQU $BAD4 Reset D/A converter to $7E |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
453 SysWriteDA EQU $BAD6 Write value in A to D/A, bits 0 &1 should be 0 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
454 CmdAudio EQU $BADF Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
455 CasAudioOn EQU $BAEC Turn on Audio from cassete to speaker |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
456 SndDTOAOn EQU $BAED Turn on audio to D/A converter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
457 CmdJoystk EQU $BB0D Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
458 SysBoot64 EQU $BB80 Dragon 64 only, boots basic into all ram mode, with 48K available to basic. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
459 TextUpdateCurs EQU $BBB5 Decrements TextCursFlashCnt, if zero resets and flashes cursor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
460 TextScanKbd EQU $BBE5 Scan keyboard, return Char in A, Zero flag set if no key |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
461 TextClearLine EQU $BCA0 Clears a VDU line from current cursor pos to EOL |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
462 TextVDUOut EQU $BCAB Outputs Char in A to VDU, does not reset screen. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
463 PrinterDirOut EQU $BCF5 Sends character in A register to printer (uncooked) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
464 PrinterCRLF EQU $BD0A Moves printer head to next line. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
465 PrinterOut EQU $BD1A Sends character in A register to printer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
466 SysSelJoystick EQU $BD41 Select joystick alue to read from A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
467 SysReadJoystick EQU $BD52 Read hardware joystick values & update BasJoyVal0..3 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
468 CasBitIn EQU $BDA5 Reads a bity into the 'Z' flag |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
469 CasByteIn EQU $BDAD Reads a single byte into the A register |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
470 CasMotorOn EQU $BDCF Turn on motor, and wait for delay in CasMotorDelay |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
471 CasMotorOff EQU $BDDC Turn off cassette motor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
472 CasReadLeader EQU $BDE7 Turn on motor and read past leader |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
473 CasByteOut EQU $BE12 Write byte in A register to cassete |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
474 TextSerBaudRate EQU $FF07 Serial baud rate, note on Dragon 64, this is the actual hardware baud rate reg. |
1985
4037b23c848d
SuperDos rom, assembalable for Dragon Dos, Dragon Alpha or RS-DOS
afra
parents:
diff
changeset
|
475 |
1987
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
476 ENDC |
1985
4037b23c848d
SuperDos rom, assembalable for Dragon Dos, Dragon Alpha or RS-DOS
afra
parents:
diff
changeset
|
477 |
1987
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
478 IFNE Tandy |
1985
4037b23c848d
SuperDos rom, assembalable for Dragon Dos, Dragon Alpha or RS-DOS
afra
parents:
diff
changeset
|
479 |
1987
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
480 StubResWordsOfs EQU $0000 Offset of number of reserved words |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
481 StubResLookupOfs EQU $0001 Offset of reserved word lookup table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
482 StubResJumpOfs EQU $0003 Offset of reserved word jump table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
483 StubFuncsOfs EQU $0005 Offset of nummber of functions |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
484 StubFuncsLookupOfs EQU $0006 Offset of function lookup table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
485 StubFuncsJumpOfs EQU $0008 Offset of functions jump table |
1985
4037b23c848d
SuperDos rom, assembalable for Dragon Dos, Dragon Alpha or RS-DOS
afra
parents:
diff
changeset
|
486 |
1987
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
487 Skip1 EQU $0021 Skip 1 byte (BRN) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
488 Skip2 EQU $008C Skip 2 bytes (CMPX) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
489 Skip1LD EQU $0086 Skip 1 byte (LDA) |
1985
4037b23c848d
SuperDos rom, assembalable for Dragon Dos, Dragon Alpha or RS-DOS
afra
parents:
diff
changeset
|
490 |
1987
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
491 CoCoVec167 EQU $8272 Vector dest for 167 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
492 CoCoVect16A EQU $8CF1 Vector dest for 16A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
493 CoCoVect176 EQU $8286 Vector dest for 176 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
494 CoCoVect179 EQU $8E90 Vector dest for 179 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
495 CoCoVect18B EQU $8846 Vector dest for 18B |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
496 CoCoVect191 EQU $88F0 Vector dest for 191 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
497 CoCoVect194 EQU $829C Vector Dest for 194 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
498 CoCoVect197 EQU $87E5 Vector Dest for 197 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
499 CoCoVect19A EQU $82B9 Vector Dest for 19A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
500 CoCoVect1A3 EQU $8304 Vector Dest for 1A3 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
501 SerDLTimeout EQU $00E7 Timeourt for DLOAD, unknown for Dragon |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
502 SerDLBaud EQU $00E6 Baud rate for DLOAD, unknown for Dragon |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
503 BasBreakFlag EQU $0000 Break flag, +ve=stop,-ve=end |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
504 BasDelim1 EQU $0001 First string delimiter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
505 BasDelim2 EQU $0002 Second string delimiter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
506 BasGenCount EQU $0003 General count/scratch var |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
507 BasIfCount EQU $0004 If count - how many in a line |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
508 BasArrayEval EQU $0005 Array evaluation flag, 0=eval, 1=dimensioning |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
509 BasVarType EQU $0006 Variable type flag 0=numeric, $ff=string |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
510 BasGarbageFlag EQU $0007 Garbage collection flag |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
511 BasDisArraySearch EQU $0008 Disable array search flag, 0=allow 0<>disable |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
512 BasInputFlag EQU $0009 Iinput/read flag, 0=input 0<>read |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
513 BasRelateFlag EQU $000A Relational operator flag |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
514 BasStrFirstFreeTemp EQU $000B First free temory string space pointer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
515 BasStrLastUsedTemp EQU $000D Last used tempory string space pointer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
516 BasTempPtr EQU $000F Tempory pointer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
517 BasTempPtr1 EQU $0011 Tempory discriptor pointer (stack search) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
518 BasTempFPA2 EQU $0013 Tempory FPA Mantissa for FPA2 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
519 BasBotStack EQU $0017 Bottom of stack at last check |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
520 BasStartProg EQU $0019 Start addr of basic program |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
521 BasVarSimpleAddr EQU $001B Start address of simple variables |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
522 BasVarArrayAddr EQU $001D Start address of Array table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
523 BasVarEnd EQU $001F End of storage in use by basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
524 BasVarStringBase EQU $0021 Base address of string space (and stack) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
525 AddrStack EQU $0021 Address of top of machine stack |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
526 BasVarStrTop EQU $0023 Top of string space in use |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
527 BasStrUtil EQU $0025 Utility string pointer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
528 AddrFWareRamTop EQU $0027 Top of firmware RAM CLEAR xxx,yyyy set this to yyyy |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
529 BasContLine EQU $0029 Line no used by CONT |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
530 BasTempLine EQU $002B Tempory line no |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
531 BasOldInputPtr EQU $002D Pointer to saved input during a STOP |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
532 BasDirectTextPtr EQU $002F Direct mode text pointer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
533 BasVarDataLine EQU $0031 Line number of current data statement |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
534 BasVarDataAddr EQU $0033 Address of next item in data |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
535 TextKbdBuffAddr EQU $0035 Address of keyboard input buffer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
536 BasVarLastInUse EQU $0037 Pointer to variable last in use |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
537 BasVarPtrLast EQU $0039 Poiinter to VARPTR last in use |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
538 BasTempVarDesc EQU $003B Pointer to a tempory var descriptor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
539 BasTempRelateFlag EQU $003F Tempory relational operator flag |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
540 BasVarFPAcc3 EQU $0040 Floating point accumulator 3 (packed) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
541 BasVarFPAcc4 EQU $0045 Floating point accumulator 4 (packed) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
542 BasVarFPAcc5 EQU $004A Floating point accumulator 5 (packed) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
543 BasVarFPAcc1 EQU $004F Floating point acumulator 1 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
544 BasVarAssign16 EQU $0052 Part of FPA1, used for 16bit assigns |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
545 BasVarFPAcc2 EQU $005C Floating point acumulator 2 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
546 BasListLine EQU $0066 Current line during list |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
547 BasCurrentLine EQU $0068 Current line no $FFFF in direct mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
548 TextVDUCommaW EQU $006A VDU comma width field |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
549 TextVDULastComma EQU $006B VDU last comma field, should be VDU line width - VDU comma width |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
550 TextVDUCurrCol EQU $006C Current column for VDU output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
551 TextVDULineW EQU $006D VDU line width, normally 32 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
552 CasIOFlag EQU $006E Cassette IO Flag, set to $FF when IO in progress |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
553 TextDevN EQU $006F Current device number |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
554 CasEOFFlag EQU $0070 Cassette IO Flag, nonzero if EOF reached |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
555 WarmStartFlag EQU $0071 Warm start flag $55=warm start, else cold start |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
556 IndVecReset EQU $0072 Secondary Reset vector address, must point to NOP |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
557 AddrRamTop EQU $0074 Physical end of RAM (4K, 16K, 32K or 64K). |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
558 BasUnused1 EQU $0076 2 unused bytes |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
559 CasStatus EQU $0078 Cassette status byte, 0=cassette closed, 1=open for input, 2=open for output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
560 CasIOBuffSize EQU $0079 Size of cassette IO buffer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
561 CasHeadBuffAddr EQU $007A Address of cassette file header |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
562 CasBlockType EQU $007C Cassete block type, 0=filename, 1=data, 255=EOF |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
563 CasBlockLen EQU $007D Cassete block length, number of bytes read, or to be written |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
564 CasIOBuffAddr EQU $007E Cassette IO buffer address, where data will be read/written |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
565 CasCkSum EQU $0080 Used by cassette routines for calculating checksum |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
566 CasIOErrorCode EQU $0081 Cassette IO error code 0=no error, 1=CRC, 2=attempt to load in non-ram area |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
567 CasTemp EQU $0082 Cassette tempory storage |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
568 CasBitCount EQU $0083 Cassette bit counter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
569 CasPhaseFlag EQU $0084 Cassette Phase flag |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
570 CasLastSine EQU $0085 Casette last sine tabe entry |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
571 GrSetResetData EQU $0086 Data for Lo-res set/reset |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
572 TextLastKey EQU $0087 ASCII code of last keypress, not cleard by key release |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
573 TextVDUCursAddr EQU $0088 Current VDU cursor address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
574 Misc16BitScratch EQU $008A Misc 16 bit scratch register (always zero ??) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
575 SndPitch EQU $008C Sound pitch value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
576 SndLength EQU $008D Sound duration |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
577 TextCursFalshCnt EQU $008F Cusrsor flash counter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
578 CasLeadCount EQU $0092 Cassete leader count, number of $55 bytes in the leader |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
579 CasPartrt EQU $008F Cassette 1200/2400 partition |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
580 CasMax12 EQU $0091 Cassette Upper limit of 1200Hz |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
581 CasMax24 EQU $0092 Cassette Upper limit of 2400Hz |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
582 CasMotorDelay EQU $008A Cassette motor on delay (also inter-block gap) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
583 TextKbdDelay EQU $011B Keyboard scan delay constant, used to debounce |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
584 TextPrnCommaW EQU $0099 Printer comma width |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
585 TextPrnLastComma EQU $009A Printer last comma width, should be printer line width - prinnter comma width |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
586 TextPrnLineW EQU $009B Printer line width |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
587 TextPrnCurrCol EQU $009C Printer current column |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
588 BasExecAddr EQU $009D Exec address, on D64, at startup points to routine to boot all ram mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
589 BasChrGet EQU $009F Get next basic character routine |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
590 BasChrGetCurr EQU $00A5 Get current basic ccharacter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
591 BasAddrSigByte EQU $00A6 Address of current significant bit in command line |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
592 BasRndData EQU $00AB Used by RND |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
593 BasTronFlag EQU $00AF Tron flag nonzero=trace on |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
594 BasUSRTableAddr EQU $00B0 Address of USR address table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
595 GrForeground EQU $00B2 Current foreground colour |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
596 GrBackground EQU $00B3 Current background colour |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
597 GrColourTemp EQU $00B4 Tempory colour in use |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
598 GrCurrColour EQU $00B5 Byte value for current colour, to set all pixels in byte to that colour |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
599 GrCurrPmode EQU $00B6 Current PMODE number |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
600 GrLastDisplayAddr EQU $00B7 Address of last byte in current display |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
601 GrBytesPerLine EQU $00B9 Number of byts/lin in current mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
602 GrDisplayStartAddr EQU $00BA Address of first byte in current display |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
603 GrStartPages EQU $00BC Page number of Start of graphics pages |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
604 GrCurrX EQU $00BD Current X cursor pos |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
605 GrCurrY EQU $00BF Current Y cursor pos |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
606 GrColourSet EQU $00C1 Colour set currently in use |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
607 GrPlotFlag EQU $00C2 Plot/Unplot flag, 0=reset, nonzero=set |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
608 GrPixelNoX EQU $00C3 Current horizontal pixel no |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
609 GrPixelNoY EQU $00C5 Current vertical pixel number |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
610 GrCurrXCo EQU $00C7 Current Cursor X |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
611 GrCurrYCo EQU $00C9 Current Cursor Y |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
612 GrCircleXCo EQU $00CB Circle command X |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
613 GrCircleYCo EQU $00CD Circle command Y |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
614 BasRenumVal EQU $00CF Renum increment value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
615 GrCircleRadius EQU $00D0 Circle radius |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
616 BasRenumStart EQU $00D1 Renum start line no |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
617 BasCloadMOffs EQU $00D3 2s complement of CLOADM offset |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
618 BasRenumStartLine EQU $00D5 Renum start line number |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
619 BasEditorLineLen EQU $00D7 Editor line length |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
620 GrDirtyFlag EQU $00DB Flag to tell if graphics screen has changed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
621 SndOctave EQU $00DE Sound octave value for PLAY |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
622 SndVolume EQU $00DF Sound volume for PLAY |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
623 SndNoteLen EQU $00E1 Note length for PLAY |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
624 SndTempo EQU $00E2 Tempo for PLAY |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
625 SndTimerPlay EQU $00E3 Timer for the Play command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
626 SndDotNoteScale EQU $00E5 Dotted note scale factor for Play |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
627 GrDrawAngle EQU $00E8 Current angle for DRAW command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
628 GrDrawScale EQU $00E9 Current scale for DRAW command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
629 SecVecSWI3 EQU $0100 Secondary SWI3 vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
630 SecVecSWI2 EQU $0103 Secondary SWI2 vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
631 SecVecSWI EQU $0106 Secondary NMI vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
632 SecVecNMI EQU $0109 Secondary NMI vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
633 SecVecIRQ EQU $010C Secondary IRQ vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
634 SecVecFIRQ EQU $010F Secondary FIRQ vector JMP+ address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
635 SysTimeVal EQU $0112 Current value of system timer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
636 BasRandomSeed EQU $0115 Random number seed for RND function |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
637 BasNumCmds EQU $0120 Number of basic commands |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
638 BasStub0 EQU $0120 Basic Stub 0 (All basic on Dragon, Colour basic on Tandy) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
639 BasAddrCmdList EQU $0121 Address of basic command list |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
640 BasAddrCmdDisp EQU $0123 Address of basic command dispatch |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
641 BasNumFuncs EQU $0125 Number of basic functions |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
642 BasAddrFuncList EQU $0126 Address of basic function list |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
643 BasAddrFuncDisp EQU $0128 Address of basic function dispatcher |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
644 BasNumDskCmds EQU $012A Number of disk basic commands |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
645 BasStub1 EQU $012A Basic stub 1 (Disk basic on Dragon, Extended basic on Tandy) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
646 BasAddrDskCmdList EQU $012B Address of disk basic command list |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
647 BasAddrDskCmdDisp EQU $012D Address of disk basic command dispatch |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
648 BasNumDskFuncs EQU $012F Number of disk basic functions |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
649 BasAddrDskFuncList EQU $0130 Address of disk basic function list |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
650 BasAddrDskFuncDisp EQU $0132 Address of disk basic function dispatcher |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
651 BasUsrVecNoDisk EQU $013E USR vector tabl when basic not installed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
652 BasStub2 EQU $0134 Basic Stub 2 (Null on dragon, Disk basic on Tandy) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
653 BasStub3 EQU $013E Basic Stub 3 (do not use on dragon, user stub on Tandy) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
654 TextPrnAutoCRLF EQU $0148 Printer auto EOL flag, nonzero will send EOL sequence at end of line |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
655 TextCapsLock EQU $011A Capslock flag, nonzero=uppercase |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
656 TextPrnEOLCnt EQU $014A Number of characters in EOL sequence 1..4 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
657 TextPrnEOLSeq EQU $014B End of line characters |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
658 TextKbdRollover EQU $0152 Rollover table, to check for key releases |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
659 BasJoyVal0 EQU $015A Joystick(0) value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
660 BasJoyVal1 EQU $015B Joystick(1) value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
661 BasJoyVal2 EQU $015C Joystick(2) value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
662 BasJoyVal3 EQU $015D Joystick(3) value |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
663 VectDevOpen EQU $015E Called before a device is opened |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
664 VectBase EQU $015E Base address of ram hooks/vectors |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
665 VectDevNo EQU $0161 Called when a device number is verified |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
666 VectDevInit EQU $0164 Called before initialising a device |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
667 VectOutChar EQU $0167 Called before outputting char in A to a device |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
668 VectInChar EQU $016A Called before inputting a char to A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
669 VectInputFile EQU $016D Called before inputting from a file |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
670 VectOutputFile EQU $0170 Called before outputting to a file |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
671 VectCloseAllFiles EQU $0173 Called before closing all files |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
672 VectCloseFile EQU $0176 Called before closing a file |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
673 VectCmdInterp EQU $0179 Called before interpreting a token in A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
674 VectReReqestIn EQU $017C Called before re-requesing input from keyboard |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
675 VectCheckKeys EQU $017F Called before keyboard is scanned for BREAK,SHIFT-@ |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
676 VectLineInputFile EQU $0182 Called before LINE INPUT is executed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
677 VectCloseFileCmd EQU $0185 Called before closing an ASCII file read in as basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
678 VectCheckEOF EQU $0188 called before checking for end of file |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
679 VectEvaluateExpr EQU $018B Called before evaluating expression |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
680 VectUserError EQU $018E Can be patched by user to trap error messages |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
681 VectSysError EQU $0191 Can be patched by system to trap error messages |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
682 VectRunLink EQU $0194 Called when RUN about to be executed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
683 VectResetBasMem EQU $0197 Called before changing BASIC memory vectors after LOAD etc |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
684 VectGetNextCmd EQU $019A Called before fetching next command to be executed by BASIC |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
685 VectAssignStr EQU $019D Called before assigning string to string variable |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
686 VectAccessScreen EQU $01A0 Called before CLS, GET & PUT are executed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
687 VectTokenize EQU $01A3 Called before an ASCII line is tokenized |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
688 VectDeTokenize EQU $01A6 Called before a line is de-tokenized |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
689 BasStrDescStack EQU $01A9 String descriptor stack |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
690 CasFNameLen EQU $01D1 Length of cassette filename can be 0 to 8 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
691 CasFName EQU $01D2 Cassete filename to search for or write out |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
692 CasFNameFound EQU $01DA Filename found, when reading |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
693 CasIOBuff EQU $01DA COS default IO buffer, if this contains filename block then folloing are valid |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
694 CasFType EQU $01E2 File type 0=tokenized basic, 1=ASCII data, 2=Binary |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
695 CasASCIIFlag EQU $01E3 ASCII flag byte |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
696 CasGapFlag EQU $01E4 Gap flag byte |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
697 CasEntryAddr EQU $01E5 Entry address for MC programs |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
698 CasLoadAddr EQU $01E7 Load address |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
699 BasLinInpHead EQU $02DA Basic line input buffer header |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
700 BasLinInpBuff EQU $02DC Basic line input buffer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
701 BasBuffer EQU $03D7 Basic buffer space |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
702 TextSerEOLDelay EQU $0097 End of line delay for serial port on Dragon 64 & CoCo |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
703 TextPrnSelFlag EQU $03FF Dragon 64 printer selection flag, 0=paralell port, nonzero=RS232 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
704 BasicHWInit EQU $0000 Hardware initialisation |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
705 BasicSWInit EQU $0000 Software initialisation |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
706 BasicKbdIn EQU $A1C1 Keyboard input |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
707 BasicCursorB EQU $A199 Cursor blink |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
708 BasicScreenOut EQU $A30A Screen output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
709 BasicPrintOut EQU $A2BF Printer output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
710 BasicJoyIn EQU $A9DE Joystick input |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
711 BasicCassOn EQU $A7CA Cassette player motor on |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
712 BasicCassOff EQU $A7EB Cassette player motor off |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
713 BasicWriteLead EQU $A7D8 Cassette write leader |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
714 CasWriteLeader EQU $A7D8 Turn on motor and write out leader |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
715 BasicCassByOut EQU $A82A Cassette byte output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
716 BasicCassOnRd EQU $A77C Cassette on for reading |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
717 BasicCassByIn EQU $A749 Cassette byte input |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
718 BasicCassBitIn EQU $A755 Cassette bit input |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
719 BasicSerIn EQU $0000 Read a byte from serial |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
720 BasicSerOut EQU $0000 Write a byte to serial port |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
721 BasicSetBaud EQU $0000 Set baud rate |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
722 BasErrorCodeTable EQU $ABAF List of 2 byte error codes eg 'SN' 'OM' 'UL' etc |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
723 BasChkArrSpaceMv EQU $AC1E Check memory space at top of arrays + move arrays |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
724 BasChkB2Free EQU $AC33 Check B*2 bytes free above Arrays, OM error if not |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
725 BasOMError EQU $AC44 Print ?OM Error and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
726 SysErr EQU $AC46 Report error code in B register, cleanup and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
727 SysErr2 EQU $AC60 Report error in B, do NOT hook to RAM, or turn of cas etc |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
728 BasCmdMode EQU $AC73 Return to command mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
729 BasVect2 EQU $ACEF Finalises setup of basic vectors (after load), should be preceeded by call to BasVect1 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
730 BasFindLineNo EQU $AD01 Find a line number in basic program |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
731 CmdNew EQU $AD17 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
732 BasNew EQU $AD19 Remove current basic program from meory, like NEW command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
733 BasVect1 EQU $AD21 Sets up various basic vectors (after load), should be followed by call to BasVect2 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
734 BasResetStack EQU $AD33 Reset basic stack to initial position |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
735 CmdFor EQU $AD47 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
736 BasRun EQU $AD9E Run basic program in memory, like RUN |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
737 BasBRARun EQU $ADC4 BRA to main loop, used by DOS |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
738 BasDoDipatch EQU $ADD4 Do command dispatech, X must point to dispatch table |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
739 CmdRestore EQU $ADE4 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
740 BasPollKeyboard EQU $ADEB Basic, poll keyboard and check for break |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
741 TextWaitKey EQU $ADFB Wait for a keypress, calls TextScanKbd, also handles break |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
742 CmdEnd EQU $AE02 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
743 CmdStop EQU $AE09 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
744 CmdCont EQU $AE30 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
745 CmdClear EQU $AE41 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
746 CmdRun EQU $AE75 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
747 CmdGo EQU $AE86 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
748 BasSkipLineNo EQU $AEB4 Skip past line no in basic line, UL error if no line no. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
749 BasSetProgPtrX EQU $AEBB Sets basic program pointer to X-1 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
750 CmdReturn EQU $AEC0 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
751 CmdData EQU $AEE0 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
752 CmdREM EQU $AEE3 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
753 CmdIF EQU $AF14 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
754 CmdON EQU $AF42 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
755 BasGetLineNo EQU $AF67 Get line no and store in BasTempLine |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
756 CmdLet EQU $AF89 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
757 CmdInput EQU $AFF5 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
758 CmdRead EQU $B046 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
759 CmdReadFromX EQU $B049 As basic READ command but ptr in X supplied by caller |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
760 CmdNext EQU $B0F8 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
761 VarGetExprCC EQU $B143 Evaluate and put the VARPTR of experssion which follows in BasVarAssign16 (carry clear) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
762 VarGetExpr EQU $B146 Evaluate and put the VARPTR of experssion which follows in BasVarAssign16 (carry set) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
763 BasTMError EQU $B151 Print ?TM Error and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
764 VarGetStr EQU $B156 Compiles string and moves to free string space, should be followed by VarGetExpr |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
765 VarCKClBrac EQU $B267 Check for Close bracket ')' in command line, SNError if not |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
766 VarCKOpBrac EQU $B26A Check for Open bracket '(' in command line, SNError if not |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
767 VarCKComma EQU $B26D Check for Comma in command line, SNError if not |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
768 VarCKChar EQU $B26F Check for char in B register in command line, SNError if not |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
769 BasSNError EQU $B277 Print ?SN Error and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
770 CmdOR EQU $B2D4 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
771 CmdAND EQU $B2D5 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
772 CmdDim EQU $B34E Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
773 VarGetVar EQU $B357 Gets VARPTR address of following name and places in BasVarPtrLast |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
774 VarGetUsr EQU $B3E9 Returns argument to USRnn as a 16bit no in D |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
775 BasFCError EQU $B44A Print ?FC Error and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
776 CmdMEM EQU $B4EE Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
777 VarAssign16Bit EQU $B4F2 Assigns value in D register to a variable, and returns to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
778 VarAssign8Bit EQU $B4F3 Assigns value in B register to a variable, and returns to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
779 VarAssign16Bit2 EQU $B4F3 Assigns value in D register to a variable, and returns to basic (1 less instruction!). |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
780 CmdSTRS EQU $B4FD Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
781 BasResStr EQU $B50F Reserve B bytes of string space return start in X, setup low mem vars |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
782 BasResStr2 EQU $B56D Reserve B bytes of string space return start in X |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
783 VarGarbageCollect EQU $B591 Forces garbage collection in string space |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
784 BasGetStrLenAddr EQU $B654 Get string len in B and address in X of string desc in FPA2 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
785 VarDelVar EQU $B659 Frees up storage used by a variable |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
786 CmdLEN EQU $B681 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
787 CmdCHRS EQU $B68C Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
788 CmdASC EQU $B6A0 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
789 BasGetStrFirst EQU $B6A4 Get first character of string into B |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
790 CmdLeftS EQU $B6AB Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
791 CmdRightS EQU $B6C8 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
792 CmdMidS EQU $B6CF Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
793 VarGet8Bit EQU $B70B Returns value of variable in B,FCError if more than 8 bits |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
794 CmdVAL EQU $B716 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
795 VarGetComma8 EQU $B738 Checks for comman then gets 8 bit. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
796 VarGet16Bit EQU $B73D Returns value of variable in D,FCError if more than 16 bits |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
797 CmdPeek EQU $B750 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
798 CmdPoke EQU $B757 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
799 CmdLList EQU $B75E Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
800 CmdList EQU $B764 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
801 BasList EQU $B764 List basic program to SysDevN A must be 0 on entry |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
802 CmdPrint EQU $B8F7 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
803 TextOutCRLF EQU $B958 Outputs an EOL sequence to the screen |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
804 TextOutString EQU $B99C Outputs string pointed to by X to screen, X should point to byte before first byte of string |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
805 TextOutSpace EQU $B9AC Outputs a space to screen |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
806 TextOutQuestion EQU $B9AF Outputs a question mark to screen |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
807 CmdMinus EQU $B9BC Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
808 CmdPlus EQU $B9C5 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
809 VarNormFPA0 EQU $BA1C Normalize FPA0 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
810 CmdLOG EQU $8446 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
811 CmdMultiply EQU $BACC Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
812 CmdDivide EQU $BB91 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
813 CmdSGN EQU $BC7A Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
814 CmdABS EQU $BC93 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
815 CmdINT EQU $BCEE Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
816 TextOutNum16 EQU $BDCC Outputs unsigned integer in D to the TextDevN device |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
817 TextOutNumFPA0 EQU $BDD4 Outputs number in FPA0 to screen |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
818 CmdSQR EQU $8480 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
819 CmdExponet EQU $011D Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
820 CmdEXP EQU $84F2 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
821 CmdRND EQU $BF1F Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
822 BasRandom8 EQU $0000 Generate an 8 bit random number and place in BasRandomSeed+1 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
823 CmdCOS EQU $8378 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
824 CmdSIN EQU $BF78 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
825 CmdTAN EQU $8381 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
826 CmdATN EQU $83B0 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
827 CasWriteBin EQU $833D Write a binary file out push return address, then start,end and entry addresses and then JMP to this |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
828 CmdFIX EQU $8524 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
829 CmdEdit EQU $8533 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
830 CmdTron EQU $86A7 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
831 CmdTroff EQU $86A8 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
832 CmdPOS EQU $86AC Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
833 CmdVarptr EQU $86BE Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
834 CmdStringS EQU $874E Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
835 CmdInstr EQU $877E Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
836 VarAssign16BitB EQU $880E Assigns value in BasVarAssign16 to a variable, and returns to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
837 BasChkDirect EQU $8866 Check for direct mode, ID Error if so |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
838 CmdDef EQU $8871 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
839 CmdUSR EQU $0112 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
840 BasIRQVec EQU $A9B3 Basic IRQ routine, increments timer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
841 CmdTimer EQU $8968 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
842 CmdDelete EQU $8970 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
843 CmdLineInput EQU $89C0 Line input command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
844 BasLineInputEntry EQU $89E8 Entry into LINE INPUT routine, used by DOS |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
845 CmdRenum EQU $8A09 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
846 IndKeyInput EQU $A000 Indirect keyboard input jsr() |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
847 IndCharOutput EQU $A002 Indirect Character output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
848 IndCasOnRead EQU $A004 Indirect prepare cassette for read |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
849 IndCasBlockIn EQU $A006 Indirect Read cassette block |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
850 IndCasBlockOut EQU $A008 Indirect Write cassete block |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
851 IndJoystickIn EQU $A00A Indirect joystick in |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
852 IndCasWriteLead EQU $A00C Indirect Write cassette leader |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
853 CmdHexS EQU $8BDD Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
854 CmdDload EQU $8C18 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
855 TextWaitKeyCurs EQU $8CC6 Same as TextWaitKey, but with cursor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
856 PixMaskTable2Col EQU $92DD Pixel mask table 2 colour mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
857 PixMaskTable4Col EQU $92E5 Pixel mask table 4 colour mode |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
858 CmdPPoint EQU $9339 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
859 CmdPset EQU $9361 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
860 CmdPReset EQU $9365 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
861 CmdLine EQU $93BB Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
862 CmdPCls EQU $9532 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
863 GrClearGrScreen EQU $9539 Clears grapics screen to value in B |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
864 CmdColor EQU $9546 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
865 GrSetColours EQU $959A Sets up colours in low memory |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
866 GrSelectDisplay EQU $95AA Sets Text or Graphics screen, if Z=1 then text |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
867 TextResetVDU EQU $95AC Resets to text mode and screen base address of $400 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
868 GrSetVDGMode EQU $95FB Set VDG to mode in A register |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
869 GrSetVDGOffset EQU $960F Set VDG offset to page in A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
870 GrSelectVDGColSet EQU $9616 Select colour set from data in GrColourSet |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
871 CmdPmode EQU $9621 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
872 GrSelectPage EQU $9653 On entry B contains Pmode page to be used |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
873 CmdScreen EQU $9670 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
874 GrSelectColourSet EQU $9682 Selects colour set dependent on B |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
875 CmdPClear EQU $968B Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
876 GrReserveGrRam EQU $9695 Reserves memory for graphics, no graphics pages in B |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
877 BasLocateScreen EQU $96EC Initialise beginning of basic after graphics screen, no of pages in A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
878 CmdPcopy EQU $9723 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
879 CmdGet EQU $9755 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
880 CmdPut EQU $9758 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
881 CmdPaint EQU $98EC Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
882 CmdPlay EQU $9A22 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
883 SndPlayNote EQU $9AFF Plays a note from the A register (ASCII) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
884 GrDraw EQU $9CB6 Draw on pmode screen as in DRAW command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
885 CmdDraw EQU $9CB6 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
886 CmdCircle EQU $9E9D Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
887 SysReset EQU $A027 Perform soft reset, as if reset button pressed |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
888 BasBootBasic EQU $A0B6 Restart basic, as if power on, also deletes current program |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
889 WarmStart EQU $80C0 Warm start routine |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
890 BasSignonMess EQU $80E7 Signon message address, for CoCo this is for Extended basic. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
891 TextWaitKeyCurs2 EQU $A171 Same as TextWaitKey, but with cursor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
892 TextOutChar EQU $A282 Outputs character in A to screen |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
893 BasInBuffFromX EQU $A39D Read input buffer at X as basic input |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
894 CmdClose EQU $A416 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
895 CasClosFiles EQU $A429 Close any open cassete file |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
896 CmdCsave EQU $A44C Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
897 CasWriteBasic EQU $A469 Write tokenized basic program out, similar to CSAVE |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
898 CmdCload EQU $A498 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
899 CasReadBin EQU $A511 Read in a binary file, similar to CLOADM |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
900 CmdExec EQU $A53E Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
901 CmdInkeyS EQU $A564 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
902 UtilCopyBXtoU EQU $A59A Copy B bytes from X to U |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
903 BasGetDevNo EQU $A5A2 Get dev no from line & validate |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
904 CmdEOF EQU $A5CE Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
905 CmdSkipf EQU $A5EC Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
906 CmdOpen EQU $A5F6 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
907 CmdOpenEntry EQU $A603 Entry into Basic open command used by Dragon/SuperDos |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
908 BasFMError EQU $A616 Print ?FM Error and return to basic |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
909 CasFindFile EQU $A681 Searches a tape for specified filename |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
910 CasReadBlock1 EQU $A701 Turns on motor, reads header and then first block into CasIOBufAddr |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
911 CasBlockIn EQU $A70B Reads a block into the cassete buffer pointed to by CasIOBuffAddr |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
912 CmdMotor EQU $A7BD Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
913 CasWriteBlock1 EQU $A7E5 Turn on motor, write leader and then first block |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
914 CasBlockOut EQU $A7F4 Write a block to cassete pointed to by CasIOBuffAddr |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
915 CmdSet EQU $A880 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
916 GrSetLRGPixel EQU $A88D Sets lo res pixel |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
917 CmdReset EQU $A8B1 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
918 GrResetLRGPixel EQU $A8B5 ReSets lo res pixel |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
919 GrCalcPixelPos EQU $A8D9 Calculates Lo-res pixel pos from data on stack |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
920 CmdPoint EQU $A8F5 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
921 CmdCLS EQU $A910 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
922 TextCls EQU $A928 Clear text mode screen, resets cursor to top left |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
923 TextClsChar EQU $A92A Clears srcrren to character in B register & resets cursor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
924 CmdSound EQU $A94B Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
925 SndBeep EQU $A951 Play a beep duration in B, frequency in SndPitch |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
926 SndDisable EQU $A974 Disables D/A sound output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
927 CasAudioOff EQU $A974 Turn off audio from cassette |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
928 SndEnable EQU $A976 Enables D/A sound output |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
929 SysResetDA EQU $A985 Reset D/A converter to $7E |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
930 SysWriteDA EQU $A987 Write value in A to D/A, bits 0 &1 should be 0 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
931 CmdAudio EQU $A990 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
932 CasAudioOn EQU $A99D Turn on Audio from cassete to speaker |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
933 SndDTOAOn EQU $A99E Turn on audio to D/A converter |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
934 CmdJoystk EQU $A9C6 Basic Command |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
935 SysBoot64 EQU $0000 Dragon 64 only, boots basic into all ram mode, with 48K available to basic. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
936 TextUpdateCurs EQU $A199 Decrements TextCursFlashCnt, if zero resets and flashes cursor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
937 TextScanKbd EQU $A1C1 Scan keyboard, return Char in A, Zero flag set if no key |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
938 TextClearLine EQU $A323 Clears a VDU line from current cursor pos to EOL |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
939 TextVDUOut EQU $A30A Outputs Char in A to VDU, does not reset screen. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
940 PrinterDirOut EQU $0000 Sends character in A register to printer (uncooked) |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
941 PrinterCRLF EQU $0000 Moves printer head to next line. |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
942 PrinterOut EQU $A2BF Sends character in A register to printer |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
943 SysSelJoystick EQU $A9A2 Select joystick alue to read from A |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
944 SysReadJoystick EQU $A9DE Read hardware joystick values & update BasJoyVal0..3 |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
945 CasBitIn EQU $A755 Reads a bity into the 'Z' flag |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
946 CasByteIn EQU $A749 Reads a single byte into the A register |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
947 CasMotorOn EQU $A7CA Turn on motor, and wait for delay in CasMotorDelay |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
948 CasMotorOff EQU $A7EB Turn off cassette motor |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
949 CasReadLeader EQU $A77C Turn on motor and read past leader |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
950 CasByteOut EQU $A82A Write byte in A register to cassete |
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
951 TextSerBaudRate EQU $0095 Serial baud rate, note on Dragon 64, this is the actual hardware baud rate reg. |
1985
4037b23c848d
SuperDos rom, assembalable for Dragon Dos, Dragon Alpha or RS-DOS
afra
parents:
diff
changeset
|
952 |
1987
b2f58a220c08
Greatly expanded, added rom routine defines for compiling as either CoCo or
afra
parents:
1985
diff
changeset
|
953 ENDC |