User`s guide

t2': System attribute - This attribute, if set, identifies the file as a CP/M 3 system
file. System files are not usually displayed by the CP/M 3 DIR command. In
addition, user-zero system files can be accessed on a read-only basis from other
user numbers.
t3': Archive attribute - This attribute is designed for user written archive programs.
When an archive program copies a file to backup storage, it sets the archive
attribute of the copied files. The file system automatically resets the archive
attribute of a directory FCB that has been issued a write command. The archive
program can test this attribute in each of the file's directory FCBs via the BDOS
Search and Search Next functions. If all directory FCBs have the archive attri-
bute set, it indicates that the file has not been modified since the previous
archives Note that the CP/M 3 PIP utility supports file archival.
Attributes fl' through f4' are available for definition by the user.
The interface attributes are indicated by bits f5' through f8' and cannot be used as
file attributes. Interface attributes f5' and f6' can request options for BDOS Make
File, Close File, Delete File, and Set File Attributes functions. Table 2-3 defines options
indicated by the f5' and f6' interface attribute bits for these functions.
Table 2-3. BDOS Interface Attributes
BDOS Function Interface Attribute Definition
16. Close File f5' 1 Partial Close
19. Delete File f5' 1 Delete file XFCBs
only
22. Make File f6' = 1 Assign password to
file
30. Set File Attributes f6' = 1 Set file byte count
Section 3 discusses each interface attribute in detail in the definitions of the above
functions. Attributes f5' and f6' are always reset when control is returned to the
calling program. Interface attributes f7' and f8' are reserved for internal use by the
BDOS file system.
2-17
2.3 BDOS File System CP/M 3 Programmer's Guide