INT 21 - DOS 2+ - CREATE A FILE WITH HANDLE (CREAT)              

Input

DOS1 N DOS2 Y

DOS3

Y DOS5 Y

Output

AX

3Ch   Handle / Error Code AX

BX

        BX

CX

 File Type     CX
          DX

DS:DX

ASCIIZ Path Name Set if Error CF
File Type:      0 = Normal
                2 = Hidden
                4 = System
                6 = Hidden & System

See Also 16h 43h/00h 43h/01h 5Ah 5Bh File Attributes Error Codes


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