Int 13H [PC] Function 0FH (15) Write sector buffer

Transfers data from system memory to the fixed disk adapter's internal sector buffer. No data is written to the physical disk drive.

Call with:

AH = 0FH

ES:BX = segment:offset of buffer

Returns:

If function successful

Carry flag = clear

If function unsuccessful

Carry flag = set

AH = status (see Int 13H Function 01H)

Notes:

This function is supported by the PC/XT's fixed disk adapter only. It is not defined for fixed disk adapters on the PC/AT or PS/2.

This function should be called to initialize the contents of the sector buffer before formatting the drive with Int 13H Function 05H.