OS-9 Error Codes
The following table shows OS-9 error codes in hexadecimal and
decimal. Error codes other than those listed are generated by
programming languages or user programs.
OS-9 Error Codes
Code
HEX DEC Code Meaning
$01 001 UNCONDITIONAL ABORT. An error occurred
from which OS-9 cannot recover. All processes
are terminated.
$02 002 KEYBOARD ABORT. You pressed
BREAK
to
terminate the current operation.
$03 003 KEYBOARD INTERRUPT. You pressed
sHm
eR~a,K
either to cause the current opera
tion to function as a background task with no
video display or to cause the current task to
terminate.
$B7 183 ILLEGAL WINDOW TYPE. You tried to
define a text type window for graphics or used
illegal parameters.
$B8 184 WINDOW ALREADY DEFINED. You tried to
create a window that is already established.
$B9 185 FONT NOT FOUND. You tried to use a win
dow font that does not exist.
$BA 186 STACK OVERFLOW. Your process (or pro
cesses) requires more stack space than is
available on the system.
$BB 187 ILLEGAL ARGUMENT. You have used an
argument with a command that is
inappropriate.
$BD 189 ILLEGAL COORDINATES. You have given
coordinates to a graphics command which are
outside the screen boundaries.
A-1
OS-9 Commands Reference
Code
HEX DEC Code Meaning
$BE 190 INTERNAL INTEGRITY CHECK. System
modules or data are changed and no longer
reliable.
$BF 191 BUFFER SIZE IS-TOO SMALL. The data you
assigned to a buffer is larger than the buffer.
$CO 192 ILLEGAL COMMAND. You have issued a
command in a form unacceptable to OS-9.
$C1 193 SCREEN OR WINDOW TABLE IS FULL. You
do not have enough room in the system win
dow table to keep track of any more windows
or screens.
$C2 194 BAD/UNDEFINED BUFFER NUMBER. You
have specified an illegal or undefined buffer
number.
$C3 195 ILLEGAL WINDOW DEFINITION. You have
tried to give a window illegal parameters.
$C4 196 WINDOW UNDEFINED. You have tried to
access a window that you have not yet defined.
$C8 200 PATH TABLE FULL. OS-9 cannot open the
file because the system path table is full.
$C9 201 ILLEGAL PATH NUMBER. The path number
is too large, or you specified a non-existent
path.
$CA 202 INTERRUPT POLLING TABLE FULL. Your
system cannot handle an interrupt request,
because the polling table does not have room
for more entries.
$CB 203 ILLEGAL MODE. The specified device cannot
perform the indicated input or output function.
$CC 204 DEVICE TABLE FULL. The device table does
not have enough room for another device.
A-2
OS-9 Error Codes / A
Code
HEX DEC Code Meaning
$CD 205 ILLEGAL MODULE HEADER. OS-9 cannot
load the specified module because its sync
code, header parity, or cyclic redundancy code
is incorrect.
$CE 206 MODULE DIRECTORY FULL. The module
directory does not have enough room for
another module entry.
$CF 207 MEMORY FULL. Process address space is full
or your computer does not have sufficient mem
ory to perform the specified task.
$DO 208 ILLEGAL SERVICE REQUEST. The current
program has issued a system call containing
an illegal code number.
$D1 209 MODULE BUSY. Another process is already
using a non-shareable module.
$D2 210 BOUNDARY ERROR. OS-9 has received a
memory allocation or deallocation request that
is not on a page boundary.
$D3 211 END OF FILE. A read operation has encoun
tered an end-of-file character and has
terminated.
$D4 212 RETURNING NON-ALLOCATED MEMORY.
The current operation has attempted to deallo
cate memory not previously assigned.
$D5 213 NON-EXISTING SEGMENT. The file struc
ture of the specified device is damaged.
$D6 214 NO PERMISSION. The attributes of the speci
fied file or device do not permit the requested
access.
$D7 215 BAD PATHNAME. The specified pathlist con-
' tains a syntax error, for instance an illegal
character.
$D8 216 ' PATH NAME NOT FOUND. The system can
not find the specified pathlist.
A-3
OS-9 Commands Reference
Code
HEX DEC Code Meaning
$D9 217 SEGMENT LIST FULL. The specified file is
too fragmented for further expansion.
$DA 218 FILE ALREADY EXISTS. The specified file
name already exists m the specified directory.
$DD 219 ILLEGAL BLOCK ADDRESS. The file struc
ture of the specified device is damaged.
$DC 220 PHONE HANGUP - DATA CARRIER LOST.
The data carrier detect is lost on the RS-232
port.
$DD 221 MODULE NOT FOUND. The system received
a request to link a module that is not in the
specified directory.
$DF 223 SUICIDE ATTEMPT. The current operation
has attempted to return to the memory loca
tion of the stack.
$EO 224 ILLEGAL PROCESS NUMBER. The specified
process does not exist.
$E2 226 NO CHILDREN. The system has issued a
wait service
request but the current process
has no dependent process to execute.
$E3 227 ILLEGAL SWI CODE. The system received a
software interrupt code that is less than 1 or
greater than 3.
$E4 228 PROCESS ABORTED. The system received a
signal Code 2 to terminate the current
process.
$E5 229 PROCESS TABLE FULL. A fork request can
not execute because the process table has no
room for more entries.
$E6 230 ILLEGAL PARAMETER AREA. A fork call
has passed incorrect high and low bounds.
$E7 231 KNOWN MODULE. The specified module is
for internal use only.
A-4
OS-9 Error Codes / A
Code
HEX DEC Code Meaning
$E8 232 INCORRECT MODULE CRC. The cyclic
redundancy code for the module being
accessed is bad.
$E9 233 SIGNAL ERROR. The receiving process has a
previous, unprocessed signal pending.
$EA 234 NON-EXISTENT MODULE. The system can
not locate the specified module.
$EB 235 BAD NAME. The specified device, file, or mod
ule name is illegal.
$EC 236 BAD HEADER. The specified module header
parity is incorrect.
$ED 237 RAM FULL. No free system random access
memory is available: the system address space
is full, or there is no physical memory avail
able when requested by the operating system
-- in the system state.
$EE 238 UNKNOWN PROCESS ID. The specified pro
cess ID number is incorrect.
$EF 239 NO TASK NUMBER AVAILABLE. All avail
able task numbers are in use.
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
HEX DEC Code Meaning
$FO 240
UNIT ERROR. The specified device unit
doesn't exist.
$F1 241
SECTOR ERROR. The specified sector number
is out of range.
$F2 242
WRITE PROTECT. The specified device is
write-protected.
A-5
OS-9 Commands Reference
Code
HEX DEC Code Meaning
$F3 243 CRC ERROR. A cyclic redundancy code error
occurred on a read or write verify.
$F4 244 READ ERROR. A data transfer error occurred
during a disk read operation, or there is a
SCF (terminal) input buffer overrun.
$F5 245 WRITE ERROR. An error occurred during a
write operation.
$F6 246 NOT READY. The device specified has a not
ready status.
$F7 247 SEEK ERROR. The system attempted a seek
operation on a non-existent sector.
$F8 248 MEDIA FULL. The specified media has insuf
ficient free space for the operation.
$F9 249 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 DEVICE BUSY. A non-shareable device is in
use.
$FB 251 DISK ID CHANGE. You changed diskettes
when one or more files are open.
$FC 252 RECORD IS LOCKED-OUT. Another process
is accessing the requested record.
$FD 253 NON-SHARABLE FILE BUSY. Another pro
cess is accessing the requested file.
A-6