Use MLI error names from ProDOS 8 Technical Reference Manual (and ProDOS 8 Technical Note #21).
git-svn-id: svn://svn.cc65.org/cc65/trunk@4722 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -28,35 +28,35 @@ __osmaperrno:
|
||||
|
||||
.rodata
|
||||
|
||||
ErrTab: .byte $01, ENOSYS ; Invalid MLI function code number
|
||||
.byte $04, EINVAL ; Incorrect parameter count
|
||||
.byte $25, ENOMEM ; Interrupt table full
|
||||
ErrTab: .byte $01, ENOSYS ; Bad system call number
|
||||
.byte $04, EINVAL ; Bad system call parameter count
|
||||
.byte $25, ENOMEM ; Interrupt vector table full
|
||||
.byte $27, EIO ; I/O error
|
||||
.byte $28, ENODEV ; No device connected
|
||||
.byte $2B, EACCES ; Write protected
|
||||
.byte $28, ENODEV ; No device detected/connected
|
||||
.byte $2B, EACCES ; Disk write protected
|
||||
; .byte $2E, EUNKNOWN ; Disk switched
|
||||
.byte $2F, ENODEV ; No disk in drive
|
||||
.byte $2F, ENODEV ; Device off-line
|
||||
.byte $40, EINVAL ; Invalid pathname syntax
|
||||
.byte $42, EMFILE ; Too many files open
|
||||
.byte $43, EINVAL ; Bad reference number
|
||||
.byte $44, ENOENT ; Bad pathname
|
||||
.byte $45, ENOENT ; Volume not mounted
|
||||
.byte $42, EMFILE ; File Control Block table full
|
||||
.byte $43, EINVAL ; Invalid reference number
|
||||
.byte $44, ENOENT ; Path not found
|
||||
.byte $45, ENOENT ; Volume directory not found
|
||||
.byte $46, ENOENT ; File not found
|
||||
.byte $47, EEXIST ; File already exists
|
||||
.byte $48, ENOSPC ; Disk full
|
||||
.byte $49, ENOSPC ; Directory full
|
||||
; .byte $4A, EUNKNOWN ; Incompatible ProDOS version
|
||||
.byte $4B, EINVAL ; Unsupported storage type
|
||||
; .byte $4C, EUNKNOWN ; End of file
|
||||
.byte $4D, ESPIPE ; Position past EOF
|
||||
.byte $4E, EACCES ; Access denied
|
||||
.byte $50, EINVAL ; File already open
|
||||
; .byte $51, EUNKNOWN ; File count bad
|
||||
.byte $47, EEXIST ; Duplicate filename
|
||||
.byte $48, ENOSPC ; Overrun error
|
||||
.byte $49, ENOSPC ; Volume directory full
|
||||
; .byte $4A, EUNKNOWN ; Incompatible file format
|
||||
.byte $4B, EINVAL ; Unsupported storage_type
|
||||
; .byte $4C, EUNKNOWN ; End of file has been encountered
|
||||
.byte $4D, ESPIPE ; Position out of range
|
||||
.byte $4E, EACCES ; Access error
|
||||
.byte $50, EINVAL ; File is open
|
||||
; .byte $51, EUNKNOWN ; Directory count error
|
||||
.byte $52, ENODEV ; Not a ProDOS disk
|
||||
.byte $53, ERANGE ; Parameter out of range
|
||||
.byte $55, EMFILE ; Too many devices mounted
|
||||
.byte $53, ERANGE ; Invalid parameter
|
||||
.byte $55, EMFILE ; Volume Control Block table full
|
||||
.byte $56, EINVAL ; Bad buffer address
|
||||
; .byte $57, EUNKNOWN ; Duplicate volume name
|
||||
; .byte $5A, EUNKNOWN ; Damaged disk free space bit map
|
||||
; .byte $57, EUNKNOWN ; Duplicate volume
|
||||
; .byte $5A, EUNKNOWN ; Bit map disk address is impossible
|
||||
|
||||
ErrTabSize = (* - ErrTab)
|
||||
|
||||
Reference in New Issue
Block a user