DOS_SET_ATTRIBUTES
Set a files attributes
Categories:
Function | Address | Description |
---|---|---|
DOS_SET_ATTRIBUTES | 0148 | Set 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 | Attribute | Bit | Attribute | |
---|---|---|---|---|
0 | t3 | Archive | 3 | f4 |
1 | t2 | System | 4 | f3 |
2 | t1 | Read Only | 5 | f2 |
6 | f1 |
Last modified November 24, 2021: DOS attributes, fix blb class (8c71b69)