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 2+ - get current directory http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 21 - DOS 2+ - GET CURRENT DIRECTORY
        AH = 47h
        DL = drive (0=default, 1=A, etc.)
        DS:SI points to 64-byte buffer area
Return: CF set on error
            AX = error code (0Fh) (see AH=59h)
        CF clear if successful
            AX destroyed (0100h)
Notes:  the returned path does not include a drive or the initial backslash
        many Microsoft products for Windows rely on AX being 0100h on success
SeeAlso: AH=3Bh

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