; File:  E16.GSOS
;
;
; Copyright Apple Computer, Inc. 1986-90
; All Rights Reserved
;
;
readEnableAllowWrite GEQU $0000 ; 
readEnable GEQU $0001 ; 
writeEnable GEQU $0002
readWriteEnable GEQU $0003
fileInvisible GEQU $0004 ; Invisible bit
backupNeeded GEQU $0020 ; backup needed bit: CreateRec/ OpenRec access  field. (Must be 0 in requestAccess field )
renameEnable GEQU $0040 ; rename enable bit: CreateRec/ OpenRec access and requestAccess fields
destroyEnable GEQU $0080 ; destroy enable  bit: CreateRec/ OpenRec access and requestAccess fields
startPlus GEQU $0000 ; base -> setMark = displacement
eofMinus GEQU $0001 ; base -> setMark = eof - displacement
markPlus GEQU $0002 ; base -> setMark = mark + displacement
markMinus GEQU $0003 ; base -> setMark = mark - displacement
cacheOff GEQU $0000 ; do not cache blocks invloved in this read
cacheOn GEQU $0001 ; cache blocks invloved in this read if possible
badSystemCall GEQU $0001 ; bad system call number
invalidPcount GEQU $0004 ; invalid parameter count
gsosActive GEQU $0007 ; GS/OS already active
  AIF  C:devNotFound,.past ; device not found
devNotFound GEQU $10
.past
invalidDevNum GEQU $11 ; invalid device number
drvrBadReq GEQU $20 ; bad request or command
drvrBadCode GEQU $0021 ; bad control or status code
drvrBadParm GEQU $0022 ; bad call parameter
drvrNotOpen GEQU $0023 ; character device not open
drvrPriorOpen GEQU $0024 ; character device already open
irqTableFull GEQU $0025 ; interrupt table full
drvrNoResrc GEQU $0026 ; resources not available
drvrIOError GEQU $0027 ; I/O error
drvrNoDevice GEQU $0028 ; device not connected
drvrBusy GEQU $0029 ; call aborted; driver is busy
drvrWrtProt GEQU $002B ; device is write protected
drvrBadCount GEQU $002C ; invalid byte count
drvrBadBlock GEQU $002D ; invalid block address
drvrDiskSwitch GEQU $002E ; disk has been switched
drvrOffLine GEQU $002F ; device off line/ no media present
badPathSyntax GEQU $0040 ; invalid pathname syntax
invalidRefNum GEQU $0043 ; invalid reference number
  AIF  C:pathNotFound,.past ; subdirectory does not exist
pathNotFound GEQU $44
.past
volNotFound GEQU $0045 ; volume not found
  AIF  C:fileNotFound,.past ; file not found
fileNotFound GEQU $0046
.past
dupPathname GEQU $0047 ; create or rename with existing name
volumeFull GEQU $0048 ; volume full error
volDirFull GEQU $0049 ; volume directory full
badFileFormat GEQU $004A ; version error (incompatible file format)
  AIF  C:badStoreType,.past ; unsupported (or incorrect) storage type
badStoreType GEQU $004B
.past
  AIF  C:eofEncountered,.past ; end-of-file encountered
eofEncountered GEQU $004C
.past
outOfRange GEQU $004D ; position out of range
invalidAccess GEQU $004E ; access not allowed
buffTooSmall GEQU $004F ; buffer too small
fileBusy GEQU $0050 ; file is already open
dirError GEQU $0051 ; directory error
unknownVol GEQU $0052 ; unknown volume type
  AIF  C:paramRangeErr,.past ; parameter out of range
paramRangeErr GEQU $0053
.past
outOfMem GEQU $0054 ; out of memory
dupVolume GEQU $0057 ; duplicate volume name
notBlockDev GEQU $0058 ; not a block device
  AIF  C:invalidLevel,.past ; specifield level outside legal range
invalidLevel GEQU $0059
.past
damagedBitMap GEQU $005A ; block number too large
badPathNames GEQU $005B ; invalid pathnames for ChangePath
notSystemFile GEQU $005C ; not an executable file
osUnsupported GEQU $005D ; Operating System not supported
  AIF  C:stackOverflow,.past ; too many applications on stack
stackOverflow GEQU $005F
.past
dataUnavail GEQU $0060 ; Data unavailable
endOfDir GEQU $0061 ; end of directory has been reached
invalidClass GEQU $0062 ; invalid FST call class
resForkNotFound GEQU $0063 ; file does not contain required resource
invalidFSTID GEQU $0064 ; error - FST ID is invalid
devNameErr GEQU $0067 ; device exists with same name as replacement name
resExistsErr GEQU $0070 ; cannot expand file, resource already exists
resAddErr GEQU $0071 ; cannot add resource fork to this type file
proDOSFSID GEQU $0001 ; ProDOS/SOS 
dos33FSID GEQU $0002 ; DOS 3.3
dos32FSID GEQU $0003 ; DOS 3.2
dos31FSID GEQU $0003 ; DOS 3.1
appleIIPascalFSID GEQU $0004 ; Apple II Pascal
mfsFSID GEQU $0005 ; Macintosh (flat file system)
hfsFSID GEQU $0006 ; Macintosh (hierarchical file system)
lisaFSID GEQU $0007 ; Lisa file system
appleCPMFSID GEQU $0008 ; Apple CP/M
charFSTFSID GEQU $0009 ; Character FST
msDOSFSID GEQU $000A ; MS/DOS
highSierraFSID GEQU $000B ; High Sierra
iso9660FSID GEQU $000C ; ISO 9660
appleShareFSID GEQU $000D ; ISO 9660
characterFST GEQU $4000 ; character FST
ucFST GEQU $8000 ; SCM should upper case pathnames before passing them to the FST
onStack GEQU $8000 ; place state information about quitting program on the quit return stack
restartable GEQU $4000 ; the quitting program is capable of being restarted from its dormant memory
seedling GEQU $0001 ; standard file with seedling structure
standardFile GEQU $0001 ; standard file type (no resource fork)
sapling GEQU $0002 ; standard file with sapling structure
tree GEQU $0003 ; standard file with tree structure
pascalRegion GEQU $0004 ; UCSD Pascal region on a partitioned disk
extendedFile GEQU $0005 ; extended file type (with resource fork)
directoryFile GEQU $000D ; volume directory or subdirectory file
minorRelNumMask GEQU $00FF ; minor release number
majorRelNumMask GEQU $7F00 ; major release number
finalRelNumMask GEQU $8000 ; final release number
isFileExtended GEQU $8000 ; GetDirEntryGS
resetDevice GEQU $0000
formatDevice GEQU $0001
eject GEQU $0002
setConfigParameters GEQU $0003
setWaitStatus GEQU $0004
setFormatOptions GEQU $0005
assignPartitionOwner GEQU $0006
armSignal GEQU $0007
disarmSignal GEQU $0008
setPartitionMap GEQU $0009
