en:docs:dos:api:int21:01

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

2018/09/07 05:04 · prokushev · 0 Comments

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

2018/09/04 17:23 · prokushev · 0 Comments