Assembly Language Help (alang.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 Functions 00h and 10h
 Example                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   16h     Functions:  00h and 10h
 
  Title:       Read Character from Keyboard
 
  See also:    Int 16h Functions 01h and 11h, Keyboard Scan Codes,
               ASCII Chart, Character Input, Keyboard Data Memory
 
  Description:                                          [PC] [AT] [PS/2]
 
     Reads a character and scan code from the keyboard type-ahead
     buffer. Use Function 10h if the code must handle the additional
     keys of the enhanced keyboard (such as F11, F12, and cursor
     control keys).
 
     You can use the keyboard data byte at 0000:0496h to
     determine if the extended keyboard is available.
 
     Input                                  Output
 
     AH = 00h to read any keyboard          AH = Keyboard scan code
        = 10h to read extended keyboard     AL = ASCII character
                                    -♦-