qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Int 16H Function 05H
   Summary  Notes  Back
──────────────────────────────────────────────────────────────────────────────
 
  Description:  Push Character and Scan Code      [AT] [PS/2]
 
  Places a character and scan code in the keyboard type-ahead buffer.
 
  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
                                    -♦-