|
|
1.1 root 1: #ifndef _atarierr_h
2:
3: #define _atarierr_h
4:
5:
6:
7: #define E_OK 0
8:
9:
10:
11: /* BIOS errors */
12:
13:
14:
15: #define ERROR -1 /* generic error */
16:
17: #define EDRVNR -2 /* drive not ready */
18:
19: #define EUNCMD -3 /* unknown command */
20:
21: #define E_CRC -4 /* crc error */
22:
23: #define EBADRQ -5 /* bad request */
24:
25: #define E_SEEK -6 /* seek error */
26:
27: #define EMEDIA -7 /* unknown media */
28:
29: #define ESECNF -8 /* sector not found */
30:
31: #define EPAPER -9 /* out of paper */
32:
33: #define EWRITF -10 /* write fault */
34:
35: #define EREADF -11 /* read fault */
36:
37:
38:
39: #define EWRPRO -13 /* device write protected */
40:
41: #define E_CHNG -14 /* media change detected */
42:
43: #define EUNDEV -15 /* unknown device */
44:
45: #define EBADSF -16 /* bad sectors on format */
46:
47: #define EOTHER -17 /* insert other disk request */
48:
49:
50:
51: /* GEMDOS errors */
52:
53:
54:
55: #define EINVFN -32 /* invalid function */
56:
57: #define EFILNF -33 /* file not found */
58:
59: #define EPTHNF -34 /* path not found */
60:
61: #define ENHNDL -35 /* no more handles */
62:
63: #define EACCDN -36 /* access denied */
64:
65: #define EIHNDL -37 /* invalid handle */
66:
67: #define ENSMEM -39 /* insufficient memory */
68:
69: #define EIMBA -40 /* invalid memory block address */
70:
71: #define EDRIVE -46 /* invalid drive specification */
72:
73: #define EXDEV -48 /* cross device rename */
74:
75: #define ENMFIL -49 /* no more files (from fsnext) */
76:
77: #define ELOCKED -58 /* record is locked already */
78:
79: #define ENSLOCK -59 /* invalid lock removal request */
80:
81: #define ERANGE -64 /* range error */
82:
83: #define EINTRN -65 /* internal error */
84:
85: #define EPLFMT -66 /* invalid program load format */
86:
87: #define ENOEXEC EPLFMT
88:
89: #define EGSBF -67 /* memory block growth failure */
90:
91:
92:
93: #define ENAMETOOLONG ERANGE /* a filename component is too long */
94:
95: #define ELOOP -80 /* too many symbolic links */
96:
97:
98:
99: /* this isn't really an error at all, just an indication to the kernel
100:
101: * that a mount point may have been crossed
102:
103: */
104:
105:
106:
107: #define EMOUNT -200
108:
109:
110:
111: #endif /* _atarierr_h */
112:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.