Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:docs:dos:api:int21:3b [2021/03/24 02:02] – created prokushev | en:docs:dos:api:int21:3b [2025/07/20 05:43] (current) – prokushev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{page> | {{page> | ||
| - | ====== Int 21H, AH=3AH ====== | + | ====== Int 21H, AH=3BH ====== |
| ===== Version ===== | ===== Version ===== | ||
| Line 13: | Line 13: | ||
| ===== Family API ===== | ===== Family API ===== | ||
| + | [[en: | ||
| ===== Input ===== | ===== Input ===== | ||
| - | | + | * AH = 3Bh |
| - | DS:DX -> ASCIZ pathname to become current directory (max 64 bytes) | + | |
| ===== Return ===== | ===== Return ===== | ||
| - | CF clear if successful | + | * CF clear if successful |
| - | AX destroyed | + | |
| - | CF set on error | + | |
| - | AX = error code (03h) (see #01680 at AH=59h/ | + | |
| ===== Notes ===== | ===== Notes ===== | ||
| - | | + | if new directory name includes a drive letter, the default drive is not changed, only the current directory on that drive |
| - | | + | |
| - | changing the current directory also changes the directory in which | + | changing the current directory also changes the directory in which FCB file calls operate |
| - | | + | |
| - | under the FlashTek X-32 DOS extender, the pointer is in DS:EDX | + | |
| | | ||
| ===== See also ===== | ===== See also ===== | ||
| - | AH=47h, | + | AH=[[en: |
| ===== Note ===== | ===== Note ===== | ||




