INT 21 - DOS 2+ - GET CURRENT DIRECTORY                    

Input

DOS1 N DOS2 Y

DOS3

Y DOS5 Y

Output

AX

47h   Error Code AX

BX

  Drive(0=Def,1=A)     BX

CX

        CX

DX

        DX

DS:SI

Pointer to 64 byte buffer Set if Error CF
Note:   The returned path does not include the initial backslash

See Also 39h 3Ah 3Bh 59h Error Codes


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .