Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Ralf Brown's Interrupt List (Part 1,2) - int 21 - dos 3+ - create unique file http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 21 - DOS 3+ - CREATE UNIQUE FILE
        AH = 5Ah
        DS:DX -> ASCIZ directory path name ending with a '\' + 13 bytes to
                 receive generated filename
        CX = file attributes (only bits 0,1,2,5 may be set)
Return: CF set on error
            AX = error code (03h,05h) (see AH=59h)
        CF clear if successful
            AX = file handle
        DS:DX -> path name
Notes:  the file created is not truly temporary; it MUST be removed by the user
        COMPAQ DOS 3.31 hangs if the pathname is at XXXXh:0000h; it apparently
          wraps around to the end of the segment
SeeAlso: AH=3Ch,AH=5Bh

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson