[comp.sys.apple2] MLI/ProDOS 8 Error Codes

kjs39186@uxa.cso.uiuc.edu (Kent Squires) (04/02/91)

Could somebody please post/email a list of all the MLI and/or ProDOS 8
Error Codes? Thanks.
 _________________________________________________________________________
| Move over Rover &  |Email Addresses: Kent Squires                       |
| let Jimi take over!|                Internet: kjs39186@uxa.cso.uiuc.edu |
| -------------------|                 ProLine: kents@pro-apa             |
| I wouldn't do it   |_______   America OnLine: kents12                   |
| for all the farms in Cuba! |         FidoNet: 233/15  Kent Squires      |
|____________________________|____________________________________________|
                                 

tabn9@CCVAX.IASTATE.EDU (04/03/91)

In article <1991Apr2.081508.3086@ux1.cso.uiuc.edu>, kjs39186@uxa.cso.uiuc.edu
 (Kent Squires) writes:
>Could somebody please post/email a list of all the MLI and/or ProDOS 8
>Error Codes? Thanks.

For Kent and all others who need it:

MLI Error codes (These codes are returned in the accumulator)

$00 - No errors
$01 - Function code does not correspond to any MLI function
$04 - Wrong number of parameters for the function call
$25 - ProDOS interrupt handler vector table is full (Only 4 addresses can be
     held there)
$27 - I/O Error (Check disk drive, disk, connections, etc.)
$28 - No device is connected to the unit number specified
$2B - Disk is write protected
$2E - A disk with open files was replaced by another volume (ONLINE)
$40 - Invalid syntax in the pathname
$42 - Eight files are already open and MLI's File Control Block table has no
     room for a ninth entry
$43 - The reference number for open files does not have an open file specified
     to it
$44 - Path to file (subdirectory) not found (A subdirectory specified in the
     pathname may not exist)
$45 - Volume name is not in any drive
$46 - File not found in final directory specified
$47 - File name already exists (CREATE, RENAME)
$48 - Disk is full (so says the Volume Bit Map)
$49 - Volume directory is full (can only hold 51 entries) (subdirectories can
     hold virtually an unlimited number of entries)
$4A - An earlier version of the MLI being used to read a file created using
     a later version
$4B - Storage type is not supported by ProDOS (Not $01(seedling),$02(sapling),
     $03(tree), or $0D(directory))
$4C - READ attempted past a file's End Of File mark
$4D - You tried to move file position past End Of File
$4E - Access to file not allowed (WRITE to a write-protected file, DELETE a
     locked file, etc.)
$50 - You tried to OPEN, RENAME, or DESTROY a file that was already opened
$51 - Directory damaged (More active files found than actual entries)
$52 - Disk volume is not a ProDOS disk
$53 - Parameter value(s) were not within its acceptable range of values
$55 - Attempt to have ProDOS recognize a ninth "mounted" volume.  Only 8
     can be mounted
$56 - Address of I/O buffer passed is invalid (Not in caller's memory, below
     $200, already assigned, etc.)
$57 - Two volumes with same name found
$5A - Volume bit map is damaged

Source: _Beneath Apple ProDOS_, by Don Worth and Pieter Lechner

Hope this helps!

"Good day!" -- Paul Harvey

Tony Neyens, a student at Iowa State University
(TABN9@CCVAX.IASTATE.EDU or TABN9@ISUVAX.BITNET)