TRACKLAYOUT

TRACKLAYOUT STRUC

tklSectors dw SECTORS ;number of sectors on track

tklNumSize dd SECTORS dup(?) ;array of sector numbers and sizes

TRACKLAYOUT ENDS

The TRACKLAYOUT structure contains an array of numbers and sizes for the sectors on a track.

Fields

tklSectors

Specifies the number of sectors.

tklSecNumSize

Contains an array of sector numbers and sizes. Each element of the array has the following form:

tklSectorNum dw ?

tklSectorSize dw ?

Field Description

tklSectorNum Specifies the number of the sector. Each sector number must be unique and in the range 1 through the the number of sectors specified in tklSectors.
tklSectorSize Specifies the size of the sector, in bytes.

The tklSectors field specifies the number of elements in this field.

Comments

All sector sizes must be equal.

See Also

Interrupt 21h Function 440Dh Minor Code 40h Set Device Parameters