Int 15H [PC] Function 03H Write cassette

Writes one or more 256-byte blocks of data from memory to the cassette tape drive.

Call with:

AH = 03H

CX = number of bytes to write

ES:BX = segment:offset of buffer

Returns:

If function successful

Carry flag = clear

CX = 00H

ES:BX = segment:offset + 1 of last byte written

If function unsuccessful

Carry flag = set

AH = status

80H if invalid command

86H if cassette not present

Note:

This function is available only on the PC and on the PCjr. It is not supported on the PC/XT and all subsequent models.