2 ; Stefan Haubenthal, 2004-05-25
3 ; Ullrich von Bassewitz, 18.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, "File not found"
45 sys_oserr_entry 2, "Invalid command end"
46 sys_oserr_entry 3, "No drive number"
47 sys_oserr_entry 4, "Bad drive number"
48 sys_oserr_entry 5, "Invalid filename"
49 sys_oserr_entry 6, "fderr=(error number)"
50 sys_oserr_entry 7, "Illegal attribute"
51 sys_oserr_entry 8, "Wildcard(s) not allowed"
52 sys_oserr_entry 9, "File already exists"
53 sys_oserr_entry 10, "Insufficient disc space"
54 sys_oserr_entry 11, "File open"
55 sys_oserr_entry 12, "Illegal quantity"
56 sys_oserr_entry 13, "End address missing"
57 sys_oserr_entry 14, "Start address > end address"
58 sys_oserr_entry 15, "Missing 'to'"
59 sys_oserr_entry 16, "Renamed file not on same disc"
60 sys_oserr_entry 17, "Unknown array"
61 sys_oserr_entry 18, "Target drive not source drive"
62 sys_oserr_entry 19, "Destination not specified"
63 sys_oserr_entry 20, "Cannot merge and overwrite"
64 sys_oserr_entry 21, "Single target file illegal"
65 sys_oserr_entry 22, "Syntax"
66 sys_oserr_entry 23, "Filename missing"
67 sys_oserr_entry 24, "Source file missing"
68 sys_oserr_entry 25, "Type mismatch"
69 sys_oserr_entry 26, "Disc write-protected"
70 sys_oserr_entry 27, "Incompatible drives"
71 sys_oserr_entry 28, "File not open"
72 sys_oserr_entry 29, "File end"
73 sys_oserr_sentinel "Unknown error"