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 Functions 01h, 07h, and 08h
 Summary                                   Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The character is echoed to the standard output device for Function
     01h, but not for Functions 07h and 08h.
 
     Functions 01h and 08h are filtered for CTRL+C. If the standard
     input is not redirected, BREAK is OFF, and the character read is
     CTRL+C, an Int 23h is executed. Function 07h treats CTRL+C the
     same as any other key.
 
     To read extended ASCII codes (such as the special function keys F1
     to F10) on the IBM PC and compatibles, you must call this function
     twice. The first call returns the value 00h to signal the presence
     of an extended code.
 
     You can also read the keyboard by issuing the Read File or Device
     function using the predefined handle for the standard input (0) if
     input has not been redirected. Or you can read using a handle
     obtained by opening the logical device CON.
                                    -♦-