INT 14h, 02h (2) Receive One Character
Receives one character at the specified serial port.
On entry: AH 02h
DX Serial port number (0 - COM1, 1 - COM2, etc.)
Returns: AL Character
AH Line status (See service 03h)
--------------------------------------------------------------------------
Notes: This service waits for a character. If no character
is available or an error occurs, no character is
returned and bit 7 of AH is set.
If an error occurs, bit 7 of AH is set. SInce bit 7
is used as a general error flag, this service is
unable to identify a time-out error. For complete
diagnostic information, use Service 03h (Get serial
port status).
Seealso:
This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster