On Exit:
AH
=
Line status (see table 7.5)
AL
=
Modem status (see table 7.6)
Registers Altered:
AX
Example:
MOV AX,
F14_EXINIT
MOV
BX, 0000000100011010B
MOV
DX,1
INT
INT_SERIAL
; (AH
=
6F01 H)
,. Port attributes
,. 19.2 K baud
,. parity even
,. 1
stop bit
,. 7
bit character
,. Port
1
specification
,. Call serial driver (lNT 14H)
This function transmits data from a buffer as long as there is data in the data buffer and no error
is encountered.
For each data byte transferred, the function enables the REQUEST-TO-SEND and
DATA-TERMINAL-READY signals, and then waits on the DATA-SET-READY, CLEAR-TO-SEND, and
REGISTER-EMPTY signals until the character is transferred or a timeout occurs. The timeout count
is reset for each byte transferred.
On Entry:
AX
=
F14_PUT_BUFFER (6F02H)
CX
=
number of characters in the data buffer
DX
=
Port number (0, 1, 2, 3)
ES:DI
=
Pointer to a data buffer of characters
On Exit:
AH
=
Line status (see table 7.5)
AL
=
Modem status (see table 7.6)
Normal Completion:
CX
=
Number of bytes transferred successfully
ES:DI
=
Base of data buffer
Error Completion (bit 7 of AH register non-zero):
CX
=
Number of bytes transferred successfully
ES:DI
=
pointer to next byte to be transferred
Registers Altered:
AX,
ex,
DI, ES
228
Serial and Parrallel I/O
Need help?
Do you have a question about the Vectra and is the answer not in the manual?
Questions and answers