en:docs:macrolib:auxrecievechar

Note: This IBM PC BIOS API call is for DOS/Win16 personality only. Use Family API for portability.

Note: osFree Macro Library provides macros for most of functions

2022/03/13 05:41 · prokushev · 0 Comments

@AuxRecieveChar

Brief

Recieve char from serial port

BIOS Interrupt

INTH: H

Family API

Syntax

@AuxRecieveChar

Parameters

none

Return

  • AL = received character if AH bit 7 clear
  • AH bit 7 clear if successful
  • AH bit 7 set on error
  • AH bits 6-0 = port status:
Bit(s) Description
7 timeout
6 transmit shift register empty
5 transmit holding register empty
4 break detected
3 framing error
2 parity error
1 overrun error
0 receive data ready