1626
|
1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
2 ; errno
|
|
3 ;
|
|
4 ; $Id$
|
|
5 ;
|
|
6 ; Edt/Rev YYYY/MM/DD Modified by
|
|
7 ; Comment
|
|
8 ; ------------------------------------------------------------------
|
|
9 ; 2004/07/02 Boisy G. Pitre
|
|
10 ; Started
|
|
11
|
|
12 .title NitrOS-9 Error Definitions
|
|
13
|
|
14 .area ERRNO (ABS)
|
|
15
|
|
16 ;
|
|
17 ; Basic09 Error Codes
|
|
18 ;
|
|
19 .org 10
|
|
20 E$UnkSym:: .rmb 1 ; Unknown symbol
|
|
21 E$ExcVrb:: .rmb 1 ; Excessive verbage
|
|
22 E$IllStC:: .rmb 1 ; Illegal statement construction
|
|
23 E$ICOvf:: .rmb 1 ; I-code overflow
|
|
24 E$IChRef:: .rmb 1 ; Illegal channel reference
|
|
25 E$IllMod:: .rmb 1 ; Illegal mode
|
|
26 E$IllNum:: .rmb 1 ; Illegal number
|
|
27 E$IllPrf:: .rmb 1 ; Illegal prefix
|
|
28 E$IllOpd:: .rmb 1 ; Illegal operand
|
|
29 E$IllOpr:: .rmb 1 ; Illegal operator
|
|
30 E$IllRFN:: .rmb 1 ; Illegal record field name
|
|
31 E$IllDim:: .rmb 1 ; Illegal dimension
|
|
32 E$IllLit:: .rmb 1 ; Illegal literal
|
|
33 E$IllRet:: .rmb 1 ; Illegal relational
|
|
34 E$IllSfx:: .rmb 1 ; Illegal type suffix
|
|
35 E$DimLrg:: .rmb 1 ; Dimension too large
|
|
36 E$LinLrg:: .rmb 1 ; Line number too large
|
|
37 E$NoAssg:: .rmb 1 ; Missing assignment statement
|
|
38 E$NoPath:: .rmb 1 ; Missing path number
|
|
39 E$NoComa:: .rmb 1 ; Missing coma
|
|
40 E$NoDim:: .rmb 1 ; Missing dimension
|
|
41 E$NoDO:: .rmb 1 ; Missing DO statement
|
|
42 E$MFull:: .rmb 1 ; Memory full
|
|
43 E$NoGoto:: .rmb 1 ; Missing GOTO
|
|
44 E$NoLPar:: .rmb 1 ; Missing left parenthesis
|
|
45 E$NoLRef:: .rmb 1 ; Missing line reference
|
|
46 E$NoOprd:: .rmb 1 ; Missing operand
|
|
47 E$NoRPar:: .rmb 1 ; Missing right parenthesis
|
|
48 E$NoTHEN:: .rmb 1 ; Missing THEN statement
|
|
49 E$NoTO:: .rmb 1 ; Missing TO statement
|
|
50 E$NoVRef:: .rmb 1 ; Missing variable reference
|
|
51 E$EndQou:: .rmb 1 ; Missing end quote
|
|
52 E$SubLrg:: .rmb 1 ; Too many subscripts
|
|
53 E$UnkPrc:: .rmb 1 ; Unknown procedure
|
|
54 E$MulPrc:: .rmb 1 ; Multiply defined procedure
|
|
55 E$DivZer:: .rmb 1 ; Divice by zero
|
|
56 E$TypMis:: .rmb 1 ; Operand type mismatch
|
|
57 E$StrOvf:: .rmb 1 ; String stack overflow
|
|
58 E$NoRout:: .rmb 1 ; Unimplemented routine
|
|
59 E$UndVar:: .rmb 1 ; Undefined variable
|
|
60 E$FltOvf:: .rmb 1 ; Floating Overflow
|
|
61 E$LnComp:: .rmb 1 ; Line with compiler error
|
|
62 E$ValRng:: .rmb 1 ; Value out of range for destination
|
|
63 E$SubOvf:: .rmb 1 ; Subroutine stack overflow
|
|
64 E$SubUnd:: .rmb 1 ; Subroutine stack underflow
|
|
65 E$SubRng:: .rmb 1 ; Subscript out of range
|
|
66 E$ParmEr:: .rmb 1 ; Parameter error
|
|
67 E$SysOvf:: .rmb 1 ; System stack overflow
|
|
68 E$IOMism:: .rmb 1 ; I/O type mismatch
|
|
69 E$IONum:: .rmb 1 ; I/O numeric input format bad
|
|
70 E$IOConv:: .rmb 1 ; I/O conversion: number out of range
|
|
71 E$IllInp:: .rmb 1 ; Illegal input format
|
|
72 E$IOFRpt:: .rmb 1 ; I/O format repeat error
|
|
73 E$IOFSyn:: .rmb 1 ; I/O format syntax error
|
|
74 E$IllPNm:: .rmb 1 ; Illegal path number
|
|
75 E$WrSub:: .rmb 1 ; Wrong number of subscripts
|
|
76 E$NonRcO:: .rmb 1 ; Non-record type operand
|
|
77 E$IllA:: .rmb 1 ; Illegal argument
|
|
78 E$IllCnt:: .rmb 1 ; Illegal control structure
|
|
79 E$UnmCnt:: .rmb 1 ; Unmatched control structure
|
|
80 E$IllFOR:: .rmb 1 ; Illegal FOR variable
|
|
81 E$IllExp:: .rmb 1 ; Illegal expression type
|
|
82 E$IllDec:: .rmb 1 ; Illegal declarative statement
|
|
83 E$ArrOvf:: .rmb 1 ; Array size overflow
|
|
84 E$UndLin:: .rmb 1 ; Undefined line number
|
|
85 E$MltLin:: .rmb 1 ; Multiply defined line number
|
|
86 E$MltVar:: .rmb 1 ; Multiply defined variable
|
|
87 E$IllIVr:: .rmb 1 ; Illegal input variable
|
|
88 E$SeekRg:: .rmb 1 ; Seek out of range
|
|
89 E$NoData:: .rmb 1 ; Missing data statement
|
|
90
|
|
91 ;
|
|
92 ; System Dependent Error Codes
|
|
93 ;
|
|
94
|
|
95 ; Level 2 windowing error codes
|
|
96 .org 183
|
|
97 E$IWTyp:: .rmb 1 ; Illegal window type
|
|
98 E$WADef:: .rmb 1 ; Window already defined
|
|
99 E$NFont:: .rmb 1 ; Font not found
|
|
100 E$StkOvf:: .rmb 1 ; Stack overflow
|
|
101 E$IllArg:: .rmb 1 ; Illegal argument
|
|
102 .rmb 1 ; reserved
|
|
103 E$ICoord:: .rmb 1 ; Illegal coordinates
|
|
104 E$Bug:: .rmb 1 ; Bug (should never be returned)
|
|
105 E$BufSiz:: .rmb 1 ; Buffer size is too small
|
|
106 E$IllCmd:: .rmb 1 ; Illegal command
|
|
107 E$TblFul:: .rmb 1 ; Screen or window table is full
|
|
108 E$BadBuf:: .rmb 1 ; Bad/Undefined buffer number
|
|
109 E$IWDef:: .rmb 1 ; Illegal window definition
|
|
110 E$WUndef:: .rmb 1 ; Window undefined
|
|
111
|
|
112 E$Up:: .rmb 1 ; Up arrow pressed on SCF I$ReadLn with PD.UP enabled
|
|
113 E$Dn:: .rmb 1 ; Down arrow pressed on SCF I$ReadLn with PD.DOWN enabled
|
|
114 E$Alias:: .rmb 1
|
|
115
|
|
116
|
|
117 ;
|
|
118 ; Standard NitrOS-9 Error Codes
|
|
119 ;
|
|
120 .org 200
|
|
121 E$PthFul:: .rmb 1 ; Path Table full
|
|
122 E$BPNum:: .rmb 1 ; Bad Path Number
|
|
123 E$Poll:: .rmb 1 ; Polling Table Full
|
|
124 E$BMode:: .rmb 1 ; Bad Mode
|
|
125 E$DevOvf:: .rmb 1 ; Device Table Overflow
|
|
126 E$BMID:: .rmb 1 ; Bad Module ID
|
|
127 E$DirFul:: .rmb 1 ; Module Directory Full
|
|
128 E$MemFul:: .rmb 1 ; Process Memory Full
|
|
129 E$UnkSvc:: .rmb 1 ; Unknown Service Code
|
|
130 E$ModBsy:: .rmb 1 ; Module Busy
|
|
131 E$BPAddr:: .rmb 1 ; Bad Page Address
|
|
132 E$EOF:: .rmb 1 ; End of File
|
|
133 .rmb 1
|
|
134 E$NES:: .rmb 1 ; Non-Existing Segment
|
|
135 E$FNA:: .rmb 1 ; File Not Accesible
|
|
136 E$BPNam:: .rmb 1 ; Bad Path Name
|
|
137 E$PNNF:: .rmb 1 ; Path Name Not Found
|
|
138 E$SLF:: .rmb 1 ; Segment List Full
|
|
139 E$CEF:: .rmb 1 ; Creating Existing File
|
|
140 E$IBA:: .rmb 1 ; Illegal Block Address
|
|
141 E$HangUp:: .rmb 1 ; Carrier Detect Lost
|
|
142 E$MNF:: .rmb 1 ; Module Not Found
|
|
143 .rmb 1
|
|
144 E$DelSP:: .rmb 1 ; Deleting Stack Pointer memory
|
|
145 E$IPrcID:: .rmb 1 ; Illegal Process ID
|
|
146 E$BPrcID == E$IPrcID ; Bad Process ID (formerly #238)
|
|
147 .rmb 1
|
|
148 E$NoChld:: .rmb 1 ; No Children
|
|
149 E$ISWI:: .rmb 1 ; Illegal SWI code
|
|
150 E$PrcAbt:: .rmb 1 ; Process Aborted
|
|
151 E$PrcFul:: .rmb 1 ; Process Table Full
|
|
152 E$IForkP:: .rmb 1 ; Illegal Fork Parameter
|
|
153 E$KwnMod:: .rmb 1 ; Known Module
|
|
154 E$BMCRC:: .rmb 1 ; Bad Module CRC
|
|
155 E$USigP:: .rmb 1 ; Unprocessed Signal Pending
|
|
156 E$NEMod:: .rmb 1 ; Non Existing Module
|
|
157 E$BNam:: .rmb 1 ; Bad Name
|
|
158 E$BMHP:: .rmb 1 ; (bad module header parity)
|
|
159 E$NoRAM:: .rmb 1 ; No (System) RAM Available
|
|
160 E$DNE:: .rmb 1 ; Directory not empty
|
|
161 E$NoTask:: .rmb 1 ; No available Task number
|
|
162 ; .rmb 0hF0-. ; reserved
|
|
163 .org 0hF0
|
|
164 E$Unit:: .rmb 1 ; Illegal Unit (drive)
|
|
165 E$Sect:: .rmb 1 ; Bad Sector number
|
|
166 E$WP:: .rmb 1 ; Write Protect
|
|
167 E$CRC:: .rmb 1 ; Bad Check Sum
|
|
168 E$Read:: .rmb 1 ; Read Error
|
|
169 E$Write:: .rmb 1 ; Write Error
|
|
170 E$NotRdy:: .rmb 1 ; Device Not Ready
|
|
171 E$Seek:: .rmb 1 ; Seek Error
|
|
172 E$Full:: .rmb 1 ; Media Full
|
|
173 E$BTyp:: .rmb 1 ; Bad Type (incompatable) media
|
|
174 E$DevBsy:: .rmb 1 ; Device Busy
|
|
175 E$DIDC:: .rmb 1 ; Disk ID Change
|
|
176 E$Lock:: .rmb 1 ; Record is busy (locked out)
|
|
177 E$Share:: .rmb 1 ; Non-sharable file busy
|
|
178 E$DeadLk:: .rmb 1 ; I/O Deadlock error
|
|
179
|