DOS_SET_ATTRIBUTES

Set a files attributes
Function AddressDescription
DOS_SET_ATTRIBUTES 0148Set a files attributes

Synopsys

Set a file's attributes.

Only the file attributes f1'...f4', t1'...t3' can be set or cleared. The interface attributes f5'...f8' are always 0.

This routine first sets the attributes specified in D, then clears those attributes specified in E, i.e. E has priority.

Entry Parameters

Register Content
D Attributes to set
E Attributes to clear
HL Address of filename, wildcards permitted

Exit Parameters

If OK
Carry true
A corrupt
Otherwise:
Carry false
A = Error code
Always:
BC DE HL IX corrupt, all other registers preserved.
Bit definitions for Attributes
Bit Attribute Bit Attribute
0t3Archive 3f4
1t2System 4f3
2t1Read Only 5f2
6f1
Last modified November 24, 2021: DOS attributes, fix blb class (8c71b69)