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+ - read from file with handle http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 21 - DOS 2+ - READ FROM FILE WITH HANDLE
        AH = 3Fh
        BX = file handle
        CX = number of bytes to read
        DS:DX -> buffer
Return: CF set on error
            AX = error code (05h,06h) (see AH=59h)
        CF clear if successful
            AX = number of bytes read (0 if at EOF before call)
Notes:  the returned AX may be smaller than the request in CX if a partial
          read occurred
        if reading from CON, read stops at first CR
SeeAlso: AH=27h,AH=40h,INT 2F/AX=1108h,1229h

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