Int 25/CX=FFFFh

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

DOS 3.31+ - ABSOLUTE DISK READ (32M-2047M hard-disk partition)

CX = FFFFh
AL = drive number (0=A, 1=B, etc)
DS:BX -> disk read packet (see #02548)

Return:
CF clear if successful CF set on error AH = status (see #02547) AL = error code (same as passed to INT 24 in DI) AX = 0207h for FAT32 drive -- use INT 21/AX=7305h may destroy all other registers except segment registers; Win9X always sets SI to 0000h due to an apparent coding bug

Notes: Partition is potentially >32M (and requires this form of the call) if bit 1 of the device attribute word in the device driver is set. Original flags are left on stack, and must be removed by caller. This call bypasses the DOS filesystem. For FAT32 drives (which may be up to 2TB in size), use INT 21/AX=7305h

See Also: INT 13/AH=02h - INT 25 - INT 26/CX=FFFFh - INT

Format of disk read packet: Offset Size Description (Table 02548) 00h DWORD sector number 04h WORD number of sectors to read 06h DWORD transfer address

See Also: #02552

Category: DOS Kernel - Int 25h - D

rbline.gif

lup.gif ldown.gif Interrups Categories Contents