RWBLOCK

RWBLOCK STRUC

rwSpecFunc db 0 ;special functions (must be zero)

rwHead dw ? ;head to read/write

rwCylinder dw ? ;cylinder to read/write

rwFirstSector dw ? ;first sector to read/write

rwSectors dw ? ;number of sectors to read/write

rwBuffer dd ? ;address of buffer for read/write data

RWBLOCK ENDS

The RWBLOCK structure contains information that specifies the sectors that are to be read or written.

Fields

rwSpecFunc

Must be zero.

rwHead

Specifies the head number used to determine the track to read from or write to.

rwCylinder

Specifies the cylinder number used to determine the track to read from or write to.

rwFirstSector

Specifies the number of the first sector (relative to the beginning of the track) to read or write.

rwSectors

Specifies the number of sectors to read or write.

rwBuffer

Specifies a 32-bit address (segment:offset) of the buffer that receives the data to read or that contains the data to write.

See Also

Interrupt 21h Function 440Dh Minor Code 61h Read Track on Logical Drive
Interrupt 21h Function 440Dh Minor Code 41h Write Track on Logical Drive