Assembly Language Help (alang.hlp) (Table of Contents; Topic list)
Int 21h Function 0Ah
 Detail Example                          Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Interrupt:   21h     Function:   0Ah
 
  Title:       Buffered Keyboard Input
 
  See also:    Read File or Device, Character Input, @GetStr
 
  Description:
 
     Reads a string of bytes from the standard input device, up to and
     including an ASCII carriage return (0Dh), and places it in a
     user-designated buffer. The characters are echoed to the standard
     output device. Input may be redirected. However, if input has been
     redirected, there is no way to detect EOF.
 
     Input                                Output
 
     AH = 0Ah                             None
     DS:DX = segment:offset of buffer
                                    -♦-