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:
ol.sc
2010-06-16 21:16:14 +00:00
parent 148a6569e5
commit ab068d43e3
3 changed files with 49 additions and 49 deletions

View File

@@ -41,36 +41,36 @@ End:
.rodata
__sys_oserrlist:
sys_oserr_entry $01, "Invalid MLI function code number"
sys_oserr_entry $04, "Incorrect parameter count"
sys_oserr_entry $25, "Interrupt table full"
sys_oserr_entry $01, "Bad system call number"
sys_oserr_entry $04, "Bad system call parameter count"
sys_oserr_entry $25, "Interrupt vector table full"
sys_oserr_entry $27, "I/O error"
sys_oserr_entry $28, "No device connected"
sys_oserr_entry $2B, "Write protected"
sys_oserr_entry $28, "No device detected/connected"
sys_oserr_entry $2B, "Disk write protected"
sys_oserr_entry $2E, "Disk switched"
sys_oserr_entry $2F, "No disk in drive"
sys_oserr_entry $2F, "Device off-line"
sys_oserr_entry $40, "Invalid pathname syntax"
sys_oserr_entry $42, "Too many files open"
sys_oserr_entry $43, "Bad reference number"
sys_oserr_entry $44, "Bad pathname"
sys_oserr_entry $45, "Volume not mounted"
sys_oserr_entry $42, "File Control Block table full"
sys_oserr_entry $43, "Invalid reference number"
sys_oserr_entry $44, "Path not found"
sys_oserr_entry $45, "Volume directory not found"
sys_oserr_entry $46, "File not found"
sys_oserr_entry $47, "File already exists"
sys_oserr_entry $48, "Disk full"
sys_oserr_entry $49, "Directory full"
sys_oserr_entry $4A, "Incompatible ProDOS version"
sys_oserr_entry $4B, "Unsupported storage type"
sys_oserr_entry $4C, "End of file"
sys_oserr_entry $4D, "Position past EOF"
sys_oserr_entry $4E, "Access denied"
sys_oserr_entry $50, "File already open"
sys_oserr_entry $51, "File count bad"
sys_oserr_entry $47, "Duplicate filename"
sys_oserr_entry $48, "Overrun error"
sys_oserr_entry $49, "Volume directory full"
sys_oserr_entry $4A, "Incompatible file format"
sys_oserr_entry $4B, "Unsupported storage_type"
sys_oserr_entry $4C, "End of file has been encountered"
sys_oserr_entry $4D, "Position out of range"
sys_oserr_entry $4E, "Access error"
sys_oserr_entry $50, "File is open"
sys_oserr_entry $51, "Directory count error"
sys_oserr_entry $52, "Not a ProDOS disk"
sys_oserr_entry $53, "Parameter out of range"
sys_oserr_entry $55, "Too many devices mounted"
sys_oserr_entry $53, "Invalid parameter"
sys_oserr_entry $55, "Volume Control Block table full"
sys_oserr_entry $56, "Bad buffer address"
sys_oserr_entry $57, "Duplicate volume name"
sys_oserr_entry $5A, "Damaged disk free space bit map"
sys_oserr_entry $57, "Duplicate volume"
sys_oserr_entry $5A, "Bit map disk address is impossible"
sys_oserr_sentinel "Unknown error"