public enum DOSErrorCodes extends Enum<DOSErrorCodes>
Enum Constant and Description |
---|
CBMDOS_IPE_COMMAND_LINE_TOO_LONG
32 SYNTAX ERROR (command line too long): A command length has exceeded 58
characters and was sent to the floppy.
|
CBMDOS_IPE_COMMON_SYNTAX_ERROR
30 SYNTAX ERROR (common syntax error): A command that has been send could
not be found or there was an error with the given parameters.
|
CBMDOS_IPE_DIR_ERROR
71 DIR ERROR (BAM is corrupt).
|
CBMDOS_IPE_DISK_FULL
72 DISK FULL: All blocks are occupied or directory is full, which has a
maximum of 144 entries C1541).
|
CBMDOS_IPE_DISK_ID_MISMATCH
29 DISK ID MISMATCH: An uninitialized disk has been accessed.
|
CBMDOS_IPE_FILE_EXISTS
63 FILE EXISTS: An already existing file was attempted to be written.
|
CBMDOS_IPE_FILE_NOT_FOUND
62 FILE NOT FOUND: The requested file is not available on the current
disk.
|
CBMDOS_IPE_FILE_NOT_OPEN
61 FILE NOT OPEN: A file has been accessed before it was opened by DOS.
|
CBMDOS_IPE_FILE_TOO_LARGE
52 FILE TOO LARGE: Disk full.
|
CBMDOS_IPE_FILE_TYPE_MISMATCH
64 FILE TYPE MISMATCH: The requested file type does not match the file
type present in the directory.
|
CBMDOS_IPE_FILENAME_NOT_FOUND
34 SYNTAX ERROR (filename not found): The DOS could not find a filename,
that was expected.
|
CBMDOS_IPE_FILES_SCRATCHED
01 FILES SCRATCHED (no error): The last SCRATCH command has been executed
successfully.
|
CBMDOS_IPE_ILLEGAL_TRACK
66 ILLEGAL TRACK OR SECTOR: An illegal track or sector has been tried to
access.
|
CBMDOS_IPE_ILLEGAL_TRACK_OR_SECTOR
67 ILLEGAL TRACK OR SECTOR: The link of the data block does point to an
illegal track or sector.
|
CBMDOS_IPE_INVALID_COMMAND
31 SYNTAX ERROR (invalid command): The DOS could not recognize a command.
|
CBMDOS_IPE_INVALID_COMMAND2
39 SYNTAX ERROR (invalid command): The DOS could not recognize a command.
|
CBMDOS_IPE_INVALID_USE_OF_A_JOKER
33 SYNTAX ERROR (invalid use of a joker sign): A joker sign within a
filename was not allowed for the command that was sent.
|
CBMDOS_IPE_NO_CHANNEL
70 NO CHANNEL: Either all channels are used or there was an attempt to
re-use an already used channel.
|
CBMDOS_IPE_NO_NLOCK
65 NO BLOCK: A block should be occupied by the use of a B-A command.
|
CBMDOS_IPE_NOT_READY
74 DRIVE NOT READY: There was no disk in drive, when there was an attempt
to access it.
|
CBMDOS_IPE_OK
OK (no error): The last command has been executed successfully.
|
CBMDOS_IPE_OVERFLOW_IN_RECORD
51 OVERFLOW IN RECORD: There was an attempt to write more than the
expected count of characters into a record.
|
CBMDOS_IPE_READ_ERROR_BCHK
27 READ ERROR (checksum error in block header): During the check of the
header checksum it was detected a difference.
|
CBMDOS_IPE_READ_ERROR_BNF
20 READ ERROR (block header not found): The header of a data block could
not be found by the disk controller.
|
CBMDOS_IPE_READ_ERROR_CHK
23 READ ERROR (checksum error in data block): The checksum of the data
block does not match with the read data.
|
CBMDOS_IPE_READ_ERROR_DATA
22 READ ERROR (data block not found): The data block after the header
could not be identified.
|
CBMDOS_IPE_READ_ERROR_GCR
24 READ ERROR (error during GCR-recoding): During the recoding process of
a data block invalid values occurred.
|
CBMDOS_IPE_READ_ERROR_SYNC
21 READ ERROR (SYNC was not detected): A sync marker on a track could not
be detected within the tolerated time window.
|
CBMDOS_IPE_RECORD_NOT_PRESENT
50 RECORD NOT PRESENT: A REL file marker was positioned behind the last
record.
|
CBMDOS_IPE_STARTUP_MESSAGE
73 CBM DOS V2.6 1541 (start-up or error message): There was an attempt to
use a disk of an unknown format or the floppy has been turned on.
|
CBMDOS_IPE_WRITE_ERROR_BIG
28 WRITE ERROR (block too long): After writing a data block a sync marker
could not been detected within the tolerated time window.
|
CBMDOS_IPE_WRITE_ERROR_VER
25 WRITE ERROR (error during verify): During the comparison of a recently
written block with the buffer a difference was detected.
|
CBMDOS_IPE_WRITE_FILE_OPEN
60 WRITE FILE OPEN: There was an attempt to read an unclosed file.
|
CBMDOS_IPE_WRITE_PROTECT_ON
26 WRITE PROTECT ON: (A write protected disk could not be written), you
should remove the write protection.
|
Modifier and Type | Method and Description |
---|---|
int |
getErrorCode()
Get error code.
|
static DOSErrorCodes |
valueOf(int d64ErrorCode)
Map D64 error block info to DOS error code.
|
static DOSErrorCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DOSErrorCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DOSErrorCodes CBMDOS_IPE_OK
public static final DOSErrorCodes CBMDOS_IPE_FILES_SCRATCHED
public static final DOSErrorCodes CBMDOS_IPE_READ_ERROR_BNF
public static final DOSErrorCodes CBMDOS_IPE_READ_ERROR_SYNC
public static final DOSErrorCodes CBMDOS_IPE_READ_ERROR_DATA
public static final DOSErrorCodes CBMDOS_IPE_READ_ERROR_CHK
public static final DOSErrorCodes CBMDOS_IPE_READ_ERROR_GCR
public static final DOSErrorCodes CBMDOS_IPE_WRITE_ERROR_VER
public static final DOSErrorCodes CBMDOS_IPE_WRITE_PROTECT_ON
public static final DOSErrorCodes CBMDOS_IPE_READ_ERROR_BCHK
public static final DOSErrorCodes CBMDOS_IPE_WRITE_ERROR_BIG
public static final DOSErrorCodes CBMDOS_IPE_DISK_ID_MISMATCH
public static final DOSErrorCodes CBMDOS_IPE_COMMON_SYNTAX_ERROR
public static final DOSErrorCodes CBMDOS_IPE_INVALID_COMMAND
public static final DOSErrorCodes CBMDOS_IPE_COMMAND_LINE_TOO_LONG
public static final DOSErrorCodes CBMDOS_IPE_INVALID_USE_OF_A_JOKER
public static final DOSErrorCodes CBMDOS_IPE_FILENAME_NOT_FOUND
public static final DOSErrorCodes CBMDOS_IPE_INVALID_COMMAND2
public static final DOSErrorCodes CBMDOS_IPE_RECORD_NOT_PRESENT
public static final DOSErrorCodes CBMDOS_IPE_OVERFLOW_IN_RECORD
public static final DOSErrorCodes CBMDOS_IPE_FILE_TOO_LARGE
public static final DOSErrorCodes CBMDOS_IPE_WRITE_FILE_OPEN
public static final DOSErrorCodes CBMDOS_IPE_FILE_NOT_OPEN
public static final DOSErrorCodes CBMDOS_IPE_FILE_NOT_FOUND
public static final DOSErrorCodes CBMDOS_IPE_FILE_EXISTS
public static final DOSErrorCodes CBMDOS_IPE_FILE_TYPE_MISMATCH
public static final DOSErrorCodes CBMDOS_IPE_NO_NLOCK
public static final DOSErrorCodes CBMDOS_IPE_ILLEGAL_TRACK
public static final DOSErrorCodes CBMDOS_IPE_ILLEGAL_TRACK_OR_SECTOR
public static final DOSErrorCodes CBMDOS_IPE_NO_CHANNEL
public static final DOSErrorCodes CBMDOS_IPE_DIR_ERROR
public static final DOSErrorCodes CBMDOS_IPE_DISK_FULL
public static final DOSErrorCodes CBMDOS_IPE_STARTUP_MESSAGE
public static final DOSErrorCodes CBMDOS_IPE_NOT_READY
public static DOSErrorCodes[] values()
for (DOSErrorCodes c : DOSErrorCodes.values()) System.out.println(c);
public static DOSErrorCodes valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static final DOSErrorCodes valueOf(int d64ErrorCode)
d64ErrorCode
- D64 error infopublic int getErrorCode()
Copyright © 2018 Ken Händel. All rights reserved.