Error Codes
The +3DOS Error Codes
Categories:
When a call to a +3DOS API fails then the carry flag will be false and the Accumulator will contain the error code. The errors are in two categories, Recoverable (Green) and Non-recoverable (Red):
Code | Error | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 | 0x00 | Drive not ready | |||||||
1 | 0x01 | Disk is write protected | |||||||
2 | 0x02 | Seek fail | |||||||
3 | 0x03 | CRC data error | |||||||
4 | 0x04 | No data | |||||||
5 | 0x05 | Missing address mark | |||||||
6 | 0x06 | Unrecognised disk format | |||||||
7 | 0x07 | Unknown disk error | |||||||
8 | 0x08 | Disk changed whilst +3DOS was using it | |||||||
9 | 0x09 | Unsuitable media for drive | |||||||
20 | 0x14 | Bad filename | |||||||
21 | 0x15 | Bad parameter | |||||||
22 | 0x16 | Drive not found | |||||||
23 | 0x17 | File not found | |||||||
24 | 0x18 | File already exists | |||||||
25 | 0x19 | End of file | |||||||
26 | 0x1A | Disk full | |||||||
27 | 0x1B | Directory full | |||||||
28 | 0x1C | Read-only file | |||||||
29 | 0x1D | File number not open (or open with wrong access) | |||||||
30 | 0x1E | Access denied (file is in use already) | |||||||
31 | 0x1F | Cannot rename between drives | |||||||
32 | 0x20 | Extent missing (which should be there) | |||||||
33 | 0x21 | Uncached (software error) | |||||||
34 | 0x22 | File too big (trying to read or write past 8 megabytes) | |||||||
35 | 0x23 | Disk not bootable (boot sector is not acceptable to DOS BOOT) | |||||||
36 | 0x24 | Drive in use (trying to re-map or remove a drive with files open) |
Last modified November 24, 2021: Start of +3DOS documentation (253d8cc)