Functions
|
&FD | Read file system
information. The attributes field is returned holding the sector
start address.
|
&FE | Verifies a file. The control
block is as for A=&FF, LOAD. If the verification is
successful, A is returned holding &01 and the control block
holds the file information, as with function call &05. If the
verification fails, A is returned holding &00 and the load
address is returned holding the address where the verification
failed. If the file does not exist or is a directory or does not
have read access, then an error is generated.
|
&FF | Loads a file into memory. If
the low byte of the execution address is zero, the file's own load
address is used, otherwise the supplied address is used to load
to. If the filename does not exist, or is a directory, or an
execute-only file, or does not have read access, then an error is
generated.
|
&00 | Saves a file. If a file already
exists with the same name, it is overwritten, with the file access
and the case of the name staying the same. If the file is locked,
or a directory exists with the same name, or the file is open,
then an error is generated.
|
&01 | Write an object's reload address,
execution address and attributes.
|
&02 | Write an object's reload address.
|
&03 | Write an object's execution
address.
|
&04 | Write an object's attributes.
|
&05 | Read object's catalogue
information into the control block.
|
&06 | Delete object. If the object does
not exist, A returned as &00. If the object is locked, or is
not owned, or is a directory that is not empty, or is open, then
an error is generated.
|
&07 | Create an empty file of defined
length. Block as for SAVE. The supplied start address is usually
passed as &0 and the end address as the required length. No
data is transfered, and the file does not necessarily contain
zeros. Some file systems may deliberately overwrite any existing
data in the file. If a file already exists with the same name, it
is overwritten, with the file access and the case of the name
staying the same. If the file is locked, or a directory exists
with the same name, or the file is open, then an error is
generated.
|
&08 | Create a directory. The length
field is passed holding a suggested minimum number of entries
required, or zero for a default number. If a directory already
exists, there is no error. The created directory is locked. If a
file already exists, an error is generated.
|