2 ; Ullrich von Bassewitz, 18.07.2002
3 ; Christian Groessler, 24.07.2002
5 ; Defines the platform specific error list.
7 ; The table is built as a list of entries
13 ; and terminated by an entry with length zero that is returned if the
14 ; error code could not be found.
17 .export __sys_oserrlist
19 ;----------------------------------------------------------------------------
20 ; Macros used to generate the list (may get moved to an include file?)
23 .macro sys_oserr_entry code, msg
25 Start: .byte End - Start
32 .macro sys_oserr_sentinel msg
33 .byte 0 ; Length is always zero
34 .byte 0 ; Code is unused
38 ;----------------------------------------------------------------------------
39 ; The error message table
44 sys_oserr_entry 1, "no error"
45 sys_oserr_entry 128, "BREAK key abort"
46 sys_oserr_entry 129, "IOCB already open"
47 sys_oserr_entry 130, "device not found"
48 sys_oserr_entry 131, "IOCB write only"
49 sys_oserr_entry 132, "invalid command"
50 sys_oserr_entry 133, "IOCB not open"
51 sys_oserr_entry 134, "invalid IOCB index"
52 sys_oserr_entry 135, "IOCB read only"
53 sys_oserr_entry 136, "end-of-file"
54 sys_oserr_entry 137, "record truncated"
55 sys_oserr_entry 138, "device timeout"
56 sys_oserr_entry 139, "device nak"
57 sys_oserr_entry 140, "SIO frame error"
58 sys_oserr_entry 141, "cursor out of range"
59 sys_oserr_entry 142, "SIO data overrun"
60 sys_oserr_entry 143, "SIO checksum mismatch"
61 sys_oserr_entry 144, "general device failure"
62 sys_oserr_entry 145, "bad screen mode"
63 sys_oserr_entry 146, "invalid function"
64 sys_oserr_entry 147, "insufficient memory for mode"
65 sys_oserr_entry 148, "invalid disk format"
66 sys_oserr_entry 149, "disk format version mismatch"
67 sys_oserr_entry 150, "R: already open/dir not found"
68 sys_oserr_entry 151, "concurrent mode not enabled/file exists"
69 sys_oserr_entry 152, "concurrent mode invalid buffer address/not binary"
70 sys_oserr_entry 153, "concurrent mode enabled"
71 sys_oserr_entry 154, "concurrent mode not active/loader symbol not defined"
72 sys_oserr_entry 156, "invalid parameter"
73 sys_oserr_entry 158, "insufficient memory"
74 sys_oserr_entry 160, "drive number error"
75 sys_oserr_entry 161, "too many open files"
76 sys_oserr_entry 162, "no space left on device"
77 sys_oserr_entry 163, "unrecoverable system data I/O error"
78 sys_oserr_entry 164, "file number mismatch"
79 sys_oserr_entry 165, "invalid file name"
80 sys_oserr_entry 166, "point data length error"
81 sys_oserr_entry 167, "file read-only"
82 sys_oserr_entry 168, "invalid command for disk"
83 sys_oserr_entry 169, "directory full"
84 sys_oserr_entry 170, "file not found"
85 sys_oserr_entry 171, "invalid point command"
86 sys_oserr_entry 173, "bad disk"
87 sys_oserr_entry 176, "invalid disk format"
88 sys_oserr_sentinel "unknown error"