Appendix C
System Error Codes
The error codes are shown in both hexadecimal and decimal. The
error codes listed include OS-9 system error codes, BASIC error
codes, and standard windowing system error codes.
Code Code Meaning
HEX DEC
$01 001 UNCONDITIONAL ABORT A-n error occurred
from which OS-9 cannot recover. All processes
$02 002 KEYBOARD ABORT You pressed
BREAK
to
terminate the current operation.
$03 003 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 ILLEGAL WINDOW TYPE You tried to
define a text type window for graphics or used
$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 avail
$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.
$BE 190 INTERNAL INTEGRITY CHECK System
modules or data are changed and no longer
$BF 191 BUFFER SIZE IS TOO SMALL The data you
assigned to a buffer is larger than the buffer.
C-1
OS-9 Technical Reference
Code Code Meaning
HEX DEC
$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 window
table to keep track of any more windows or
$C2
194 BAD/UNDEFINED BUFFER NUMBER You
have specified an illegal or undefined buffer
$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
$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.
$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.
C-2
System Error
Codes / C
Code Code Meaning
HEX DEC
$CF 207 MEMORY FULL Process address space is full
or your computer does not have sufficient memory
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.
$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 in the specified directory.
$DD 219 ILLEGAL BLOCK ADDRESS The file struc
ture of the specified device is damaged.
C-3
OS-9 Technical Reference
Code Code Meaning
HEX DEC
$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
$DE 222 SECTOR OUT OF RANGE A disk sector
number was specified that does not exist.
$DF 223 SUICIDE ATTEMPT The current operation
has attempted to return to the memory location
$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
$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
$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.
$E8 232 INCORRECT MODULE CRC The CRC for the
module being accessed is bad.
$E9 233 SIGNAL ERROR The receiving process has a
previous, unprocessed signal pending.
C-4
System Error Codes / C
Code Code Meaning
HEX DEC
$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 available
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 Code Meaning
HEX DEC
$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.
$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.
C-5
OS-9 Technical Reference
Code Code Meaning
HEX DEC
$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-SHAREABLE FILE BUSY Another pro
cess is accessing the requested file.
$FE 254 I/O DEADLOCK Two processes have
attempted to gain control of the same disk area
at the same time.
C-6