Reads a fixed length block of data from a device.
On Entry:
AH
=
F_GET_BLOCK (OCH)
DH
=
Major number
DL
=
Minor number
ES:DI
=
Command Block
Word 0,1:
Data transfer address
Word
2:
Block count
Word
3:
Block address LSW
Word
4:
Block address MSW (for some devices this word is ignored).
BP
=
Driver's vector address
On Exit:
AH
=
Return Status Code
BX
=
Operation status
This is a generic put word of data function. If the destination device is byte wide then the byte in
the DL register is written first followed by the byte in the DH register.
On Entry:
AH
=
F_PUT_WORD (OEH)
DX
=
Data word
BP
=
Driver's vector address
On Exit:
AH
=
Return Status Code
This is a generic get word of data function. If the source device is byte wide then the first byte is
read into the DL register and the second byte is read into the DH register.
On Entry:
AH
=
F_GET_WORD (1 OH)
,.
BP
=
Driver's vector address
On Exit:
AH
=
Return Status Code
DX
=
Data word
Driver Writer's Guide 439
Need help?
Do you have a question about the Vectra and is the answer not in the manual?