EasyManua.ls Logo

Tandy 1000 HX - Page 404

Tandy 1000 HX
426 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Transmit Character
Transmit (output) the character in AL (which is preserved).
Entry Conditions:
AH = 1
AL = character to transmit
DX = port number (0 or 1)
Exit Conditions:
AH = RS-232 status; see Get Current Comm Status (AH = 3)
below (If bit 7 is set, the routine was unable to transmit
the character because of a timeout error.)
AL is preserved.
Receive Character
Receive (input) a character in AL (wait for a character, if neces-
sary).
On exit, AH will contain the RS-232 status, except that
only the error bits (1,2,3,4,7) may be set; the timeout bit (7), if
set, indicates that data set ready was not received and the bits
in AH are not meaningful. Thus, AH is non-zero only when an
error occurred.
Entry Conditions:
AH = 2
DX = port number (0 or 1)
Exit Conditions:
AL = character received
AH = RS-232 status; see Get Current Comm Status (AH = 3)
below
Get Current Comm Status
Read the communication status into AX.
Entry Conditions:
AH = 3
DX = port number (0 or 1)
14

Related product manuals