Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:docs:dos:api:int21:43:00 [2024/05/02 08:20] – prokushev | en:docs:dos:api:int21:43:00 [2025/08/02 06:58] (current) – prokushev | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| ===== Family API ===== | ===== Family API ===== | ||
| + | [[en: | ||
| ===== Input ===== | ===== Input ===== | ||
| - | | + | * AX = 4300h |
| - | DS:DX -> ASCIZ filename | + | |
| ===== Return ===== | ===== Return ===== | ||
| - | CF clear if successful | + | * CF clear if successful |
| - | CX = file attributes | + | |
| - | AX = CX (DR DOS 5.0) | + | |
| - | CF set on error | + | |
| - | AX = error code (01h, | + | |
| + | |||
| + | Bitfields for file attributes: | ||
| + | ^ Bit(s) ^ Description ^ | ||
| + | | 15-6 | unused | | ||
| + | | 5 | archive | | ||
| + | | 4 | directory | | ||
| + | | 3 | volume label | | ||
| + | | 2 | system | | ||
| + | | 1 | hidden | | ||
| + | | 0 | read-only | | ||
| + | |||
| ===== Macro ===== | ===== Macro ===== | ||
| Line 32: | Line 45: | ||
| ===== Notes ===== | ===== Notes ===== | ||
| - | under the FlashTek X-32 DOS extender, the filename pointer is in DS:EDX | ||
| - | | ||
| under DR DOS 3.41 and 5.0, attempts to change the subdirectory bit are simply ignored without an error | under DR DOS 3.41 and 5.0, attempts to change the subdirectory bit are simply ignored without an error | ||
| Line 40: | Line 51: | ||
| ===== See also ===== | ===== See also ===== | ||
| - | AX=[[en: | + | AX=[[en: |
| ===== Note ===== | ===== Note ===== | ||




