Status Information

Status information is returned from the line status register (LSR) and the modem status register (MSR) of the UART. On transmit and receive functions, only bits 1-4 of the LSR register are returned, and bit 7 is replaced by a time-out bit.

AH = 00h: Initialize Serial Port

AH = 01h: Transmit One Character

AH = 02h: Receive One Character

AH = 03h: Get Serial Port Status