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 21h Function 0Ch
 Detail Example                          Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   0Ch
 
  Title:       Flush Input Buffer and Then Input
 
  See also:    Character Input, Direct Console I/O,
               Buffered Keyboard Input
 
  Description:
 
     Clears the standard input buffer and then invokes one of the
     character input functions. Input can be redirected.
 
     Input                                  Output
 
     AH = 0Ch                               If called with AL = 01h, 06h,
     AL = Number of input function          07h, or 08h
          to be invoked after resetting       AL = 8-bit input data
          buffer (must be 01h, 06h,
          07h, 08h, or 0Ah)                 If called with AL = 0Ah
                                              None
     If AL = 0Ah
       DS:DX = segment:offset of
               input buffer
                                    -♦-