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+ - move file read/write pointer (lseek) http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 21 - DOS 2+ - MOVE FILE READ/WRITE POINTER (LSEEK)
        AH = 42h
        AL = method
            00h offset from beginning of file
            01h offset from present location
            02h offset from end of file
        BX = file handle
        CX:DX = offset in bytes
Return: CF set on error
            AX = error code (01h,06h) (see AH=59h)
        CF clear if successful
            DX:AX = new absolute offset from beginning of file
SeeAlso: AH=24h,INT 2F/AX=1228h

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