[Addressed Listing] [Alphabetical Listing]

KERNAL ERROR CODES

The following is a list of error messages which can occur when using the KERNAL routines. If an error occurs during a KERNAL routine, the carry bit of the accumulator is set, and the number of the error message is returned in the accumulator.

NOTE: Some KERNAL I/O routines do not use these codes for error messages. Instead, errors are identified using the KERNAL READST routine.

NUMBER MEANING
0
1
2
3
4
5
6
7
8
9
240
Routine terminated by the <STOP> key
Too many open files
File already open
File not open
File not found
Device not present
File is not an input file
File is not an output file
File name is missing
Illegal device number
Top-of-memory change RS-232 buffer allocation/deallocation


[Addressed Listing] [Alphabetical Listing]