en:docs:dos:api:int21:01

Note: This API call is for DOS personality only. Use Family API for portability.

2018/09/07 07:04 · prokushev

Int 21H, AH=01H

Version

1 and higher

Brief

READ CHARACTER FROM STANDARD INPUT, WITH ECHO

Family API

Input

AH = 01h

Return

AL = character read

Macro

INCLUDE DOS.INC
 
READ_KBD_AND_ECHO

Notes

^C / ^Break are checked, and INT 23 executed if read

^P toggles the DOS-internal echo-to-printer flag

^Z is not interpreted, thus not causing an EOF if input is redirected character is echoed to standard output standard input is always the keyboard and standard output the screen under DOS 1.x, but they may be redirected under DOS 2+

See also

AH=06h,AH=07h,AH=08h,AH=0Ah

Note


en/docs/dos/api/int21/01.txt · Last modified: 2020/12/08 06:59 by prokushev