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 02h
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     If CTRL+C is detected at the keyboard after the requested
     character is output, an Int 23h is executed.
 
     If the standard output has not been redirected, a backspace code
     (08h) causes the cursor to move left one position. If output has
     been redirected, the backspace code does not receive any special
     treatment.
 
     You can send strings to the display by performing a write (Int 21h
     Function 40h) using the predefined handle for the standard output
     (0001h) if output has not been redirected. You can also perform a
     write using a handle obtained by opening the logical device CON.
                                    -♦-