System_Error_Codes

BASIC09 Error Codes

Code
Symbol
Code Meaning

HEX
DEC
 
 

$0A
10
E$UnkSym
Unknown symbol

$0B
11
E$ExcVrb
Excessive verbage

$0C
12
E$IllStC
Illegal statement construction

$0D
13
E$ICOvf
I-code overflow

$0E
14
E$IChRef
Illegal channel reference

$0F
15
E$IllMod
Illegal mode

$10
16
E$IllNum
Illegal number

$11
17
E$IllPrf
Illegal prefix

$12
18
E$IllOpd
Illegal operand

$13
19
E$IllOpr
Illegal operator

$14
20
E$IllRFN
Illegal record field name

$15
21
E$IllDim
Illegal dimension

$16
22
E$IllLit
Illegal literal

$17
23
E$IllRet
Illegal relational

$18
24
E$IllSfx
Illegal type suffix

$19
25
E$DimLrg
Dimension too large

$1A
26
E$LinLrg
Line number too large

$1B
27
E$NoAssg
Missing assignment statement

$1C
28
E$NoPath
Missing path number

$1D
29
E$NoComa
Missing comma

$1E
30
E$NoDim
Missing dimension

$1F
31
E$NoDO
Missing DO Statement

$20
32
E$MFull
Memory full

$21
33
E$NoGoto
Missing GOTO

$22
34
E$NoLPar
Missing left parenthesis

$23
35
E$NoLRef
Missing line reference

$24
36
E$NoOprd
Missing operand

$25
37
E$NoRPar
Missing right parenthesis

$26
38
E$NoTHEN
Missing THEN statement

$27
39
E$NoTO
Missing TO statement

$28
40
E$NoVRef
Missing variable reference

$29
41
E$EndQou
Missing end quote

$2A
42
E$SubLrg
Too many subscripts

$2B
43
E$UnkPrc
Unknown procedure

$2C
44
E$MulPrc
Multiply defined procedure

$2D
45
E$DivZer
Divide by zero

$2E
46
E$TypMis
Operand type mismatch

$2F
47
E$StrOvf
String stack overflow

$30
48
E$NoRout
Unimplemented routine

$31
49
E$UndVar
Undefined variable

$32
50
E$FltOvf
Floating overflow

$33
51
E$LnComp
Line with compiler error

$34
52
E$ValRng
Value out of range for destination

$35
53
E$SubOvf
Subroutine stack overflow

$36
54
E$SubUnd
Subroutine stack overflow

$37
55
E$SubRng
Subscript out of range

$38
56
E$ParmEr
Parameter error

$39
57
E$SysOvf
System stack overflow

$3A
58
E$IOMism
I/O type mismatch

$3B
59
E$IONum
I/O numeric input format bad

$3C
60
E$IOConv
I/O conversion: number of out range

$3D
61
E$IllInp
Illegal input format

$3E
62
E$IOFRpt
I/O format repeat error

$3F
63
E$IOFSyn
I/O format syntax error

$40
64
E$IllPNm
Illegal path number

$41
65
E$WrSub
Wrong number of subscripts

$42
66
E$NonRcO
Non-record type operand

$43
67
E$IllA
Illegal argument

$44
68
E$IllCnt
Illegal control structure

$45
69
E$UnmCnt
Unmatched control structure

$46
70
E$IllFOR
Illegal FOR variable

$47
71
E$IllExp
Illegal expression type

$48
72
E$IllDec
Illegal declarative statement

$49
73
E$ArrOvf
Array size overflow

$4A
74
E$UndLin
Undefined line number

$4B
75
E$MltLin
Multiply defined line number

$4C
76
E$MltVar
Multiply defined variable

$4D
77
E$IllIVr
Illegal input variable

$4E
78
E$SeekRg
Seek out of range

$4F
79
E$NoData
Missing data statement

C. System Error Codes

The error codes are show in both hexadecimal and decimal. The error codes listed include NitrOS-9 system error codes, BASIC error codes, and standard windowing system error codes.

Code
Symbol
Code Meaning

HEX
DEC
 
 

$01
1
 
UNCONDITIONAL ABORT—An error occurred from which NitrOS-9 cannot recover. All processes are terminated.

$02
2
 
KEYBOARD ABORT—You pressed BREAK to terminate the current operation.

$03
3
 
KEYBOARD INTERRUPT—You pressed SHIFT-BREAK either to cause the current operation to function as a background task with no video display or to cause the current task to terminate.

$B7
183
E$IWTyp
Illegal Window Type—You tried to define a text type window for graphics or used illegal parameters.

$B8
184
E$WADef
Window Already Defined—You tried to create a window that is already established.

$B9
185
E$NFont
Font Not Found—You tried to use a window font that does not exist.

$BA
186
E$StkOvf
Stack Overflow—Your process (or processes) requires more stack space than is available on the system.

$BB
187
E$IllArg
Illegal Argument—You have used an argument with a command that is inappropriate.

$BD
189
E$ICoord
Illegal Coordinates—You have given coordinates to a graphics command that are outside the screen boundaries.

$BE
190
E$Bug
Internal Integrity Check—System modules or data are changed and are no longer reliable.

$BF
191
$BufSiz
Buffer Size Too Small—The data you assigned to a buffer is larger than the buffer.

$C0
192
E$IllCmd
Illegal Command—You have issued a command in a form unacceptable to NitrOS-9.

$C1
193
E$TblFul
SCREEN OR WINDOW TABLE IS FULL—You do not have enough room in the system window table to keep track of any more windows or screens.

$C2
194
E$BadBuf
BAD/UNDEFINED BUFFER NUMBER—You have specified an illegal or undefined buffer number.

$C3
195
E$IWDef
ILLEGAL WINDOW DEFINITION—You have tried to give a window illegal parameters.

$C4
196
E$WUndef
WINDOW UNDEFINED—You have tried to access a window that you have not yet defined.

$C5
197
E$Up
Up arrow pressed on SCF I$ReadLn with PD.UP enabled

$C6
198
E$Dn
Down arrow pressed on SCF I$ReadLn with PD.DOWN enabled

$C7
199
E$Alias
 

$C8
200
E$PthFul
PATH TABLE FULL—NitrOS-9 cannot open the file because the system path table is full.

$C9
201
E$BPNum
ILLEGAL PATH NUMBER—The path number is too large or you specified a non-existent path.

$CA
202
E$Poll
INTERRUPT POLLING TABLE FULL—Your system cannot handle an interrupt request because the polling table does not have room for more entries.

$CB
203
E$BMode
ILLEGAL MODE—The specified device cannot perform the indicated input or output function.

$CC
204
E$DevOvf
DEVICE TABLE FULL—The device table does not have enough room for another device.

$CD
205
E$BMID
ILLEGAL MODULE HEADER—NitrOS-9 cannot load the specified module because its sync code, header parity, or Cyclic Redundancy Code is incorrect.

$CE
206
E$DirFull
MODULE DIRECTORY FULL—The module directory does not have enough room for another module entry.

$CF
207
E$MemFul
MEMORY FULL—Process address space is full or your computer does not have sufficient memory to perform the specified task.

$D0
208
E$UnkSvc
ILLEGAL SERVICE REQUEST—The current program has issued a system call containing an illegal code number.

$D1
209
E$ModBsy
MODULE BUSY—Another process is already using a non-shareable module.

$D2
210
E$BPAddr
BOUNDARY ERROR—NitrOS-9 has received a memory allocation or deallocation request that is not on a page boundary.

$D3
211
E$EOF
END OF FILE—A read operation has encountered an end-of-file character and has terminated.

$D4
212
 
RETURNING NON-ALLOCATED MEMORY—The current operation has attempted to deallocate memory not previously assigned.

$D5
213
E$NES
NON-EXISTING SEGMENT—The file structure of the specified device is damaged.

$D6
214
E$FNA
NO PERMISSION—The attributes of the specified file or device do not permit the requested access.

$D7
215
E$BPNam
BAD PATHNAME—The specified pathlist contains a syntax error; for instance, an illegal character.

$D8
216
E$PNNF
PATH NAME NOT FOUND—The system cannot find the specified pathlist.

$D9
217
E$SLF
SEGMENT LIST FULL—The specified file is too fragmented for further expansion.

$DA
218
E$CEF
FILE ALREADY EXISTS—The specified filename already exists in the specified directory.

$DB
219
E$IBA
ILLEGAL BLOCK ADDRESS—The file structure of the specified device is damaged.

$DC
220
E$HangUp
PHONE HANGUP-DATA CARRIER LOST—The data carrier detect is lost on the RS-232 port.

$DD
221
E$MNF
MODULE NOT FOUND—The system received a request to link a module that is not in the specified directory.

$DE
222
 
SECTOR OUT OF RANGE—A disk sector number was specified that does not exist.

$DF
223
E$DelSP
SUICIDE ATTEMPT—The current operation has attempted to return to the memory location of the stack.

$E0
224
E$IPrcID
ILLEGAL PROCESS NUMBER—The specified process does not exist.

$E2
226
E$NoChild
NO CHILDREN—The system has issued a wait service request but the current process has no dependent process to execute.

$E3
227
E$ISWI
ILLEGAL SWI CODE—The system received a software interrupt code that is less than 1 or greater than 3.

$E4
228
E$PrcAbt
PROCESS ABORTED—The system received a signal Code 2 to terminate the current process.

$E5
229
E$PrcFul
PROCESS TABLE FULL—A fork request cannot execute because the process table has no room for more entries.

$E6
230
E$IForkP
ILLEGAL PARAMETER AREA—A fork call has passed incorrect high and low bounds.

$E7
231
E$KwnMod
KNOWN MODULE—The specified module is for internal use only.

$E8
232
E$BMCRC
INCORRECT MODULE CRC—The CRC for the module being accessed is bad.

$E9
233
E$USigP
SIGNAL ERROR—The receiving process has a previous, unprocessed signal pending.

$EA
234
E$EMod
NON-EXISTENT MODULE—The system cannot locate the specified module.

$EB
235
E$BNam
BAD NAME—The specified device, file, or module name is illegal.

$EC
236
E$BMHP
BAD HEADER—The specified module header parity is incorrect.

$ED
237
E$NoRAM
RAM FULL—No free system random access memory is available: the system address space is full, or there is no physical memory available when requested by the operating system in the system state.

$EE
238
E$DNE
Directory not empty

$EF
239
E$NoTask
No available task number

Device Driver Errors

I/O device drivers generate the following error codes. In most cases, the codes are hardware-dependent. Consult your device manual for more details.

Code
Symbol
Code Meaning

HEX
DEC
 
 

$F0
240
E$Unit
UNIT ERROR—The specified device unit does not exist.

$F1
241
E$Sect
SECTOR ERROR—The specified sector number is out of range.

$F2
242
E$WP
WRITE PROTECT—The specified device is write-protected.

$F3
243
E$CRC
CRC ERROR—A Cyclic Redundancy Code error occurred on a read or write verify.

$F4
244
E$Read
READ ERROR—A data transfer error occurred during a disk read operation, or there is a SCN (terminal) input buffer overrun.

$F5
245
E$Write
WRITE ERROR—An error occurred during a write operation.

$F6
246
E$NotRdy
NOT READY—The device specified has a not ready status.

$F7
247
E$Seek
SEEK ERROR—The system attempted a seek operation on a non-existent sector.

$F8
248
E$Full
MEDIA FULL—The specified media has insufficient free space for the operation.

$F9
249
E$BTyp
WRONG TYPE—An attempt is made to read incompatible media (for instance an attempt to read double-side disk on single-side drive).

$FA
250
E$DevBsy
DEVICE BUSY—A non-shareable device is in use.

$FB
251
E$DIDC
DISK ID CHANGE—You changed diskettes when one or more files are open.

$FC
252
E$Lock
RECORD IS LOCKED-OUT—Another process is accessing the requested record.

$FD
253
E$Share
NON-SHAREABLE FILE BUSY—Another process is accessing the requested file.

$FE
254
E$DeadLk
I/O DEADLOCK— Two processes have attempted to gain control of the same disk area at the same time.


Related

Old Wiki: NitrOS-9_Technical_Reference

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.