Int 16H [AT] [PS/2] Function 05H Push character and scan code

Places a character and scan code in the keyboard type-ahead buffer.

Call with:

AH = 05H

CH = scan code

CL = character

Returns:

If function successful

Carry flag = clear

AL = 00H

If function unsuccessful (type-ahead buffer is full)

Carry flag = set

AL = 01H

Note:

This function can be used by keyboard enhancers and other utilities to interpolate keys into the data stream seen by application programs.