Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Int 16h Function 05h
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   16h     Function:   05h
 
  Title:       Push Character and Scan Code
 
  Description:                                               [AT] [PS/2]
 
     Places a character and scan code in the keyboard type-ahead
     buffer. This function can be used by keyboard enhancers and other
     utilities to interpolate keys into the data stream seen by
     application programs.
 
     Input              Output
 
     AH = 05h           If function successful
     CH = Scan code       Carry flag: clear
     CL = Character       AL = 00h
 
                        If function unsuccessful
                        (type-ahead buffer is full)
                          Carry flag: set
                          AL = 01h
                                    -♦-