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





$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.









$BB 187 ILLEGAL ARGUMENT You have used an
argument with a command that is inappropriate.







OS-9 Technical Reference

Code Code Meaning
HEX DEC








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








$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



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.























$E9 233 SIGNAL ERROR The receiving process has a
previous, unprocessed signal pending.
C-4



HEX DEC
$EA 234 NON-EXISTENT MODULE The system can
not locate the specified module.







$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.



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















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