Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| en:docs:dos:api:int21:01 [2020/12/07 02:28] – created prokushev | en:docs:dos:api:int21:01 [2024/04/27 06:50] (current) – prokushev | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | INT 21 - DOS 1+ - READ CHARACTER FROM STANDARD INPUT, WITH ECHO | + | {{page> |
| - | AH = 01h | + | |
| - | Return: AL = character read | + | ====== Int 21H, AH=01H ====== |
| - | Notes: | + | |
| - | ^P toggles the DOS-internal echo-to-printer flag | + | ===== Version ===== |
| - | ^Z is not interpreted, | + | |
| - | character is echoed to standard output | + | 1 and higher |
| - | standard input is always the keyboard and standard output the screen | + | |
| - | under DOS 1.x, but they may be redirected under DOS 2+ | + | ===== Brief ===== |
| - | SeeAlso: | + | |
| + | READ CHARACTER FROM STANDARD INPUT, WITH ECHO | ||
| + | |||
| + | ===== Family API ===== | ||
| + | |||
| + | [[en: | ||
| + | |||
| + | ===== Input ===== | ||
| + | |||
| + | | ||
| + | |||
| + | ===== Return | ||
| + | |||
| + | | ||
| + | |||
| + | ===== Macro ===== | ||
| + | |||
| + | <code asm> | ||
| + | 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, | ||
| + | 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=[[en: | ||
| + | |||
| + | ===== Note ===== | ||
| + | |||
| + | Text based on [[http:// | ||
| + | |||
| + | {{page> | ||
| + | |||
| + | {{page> | ||
| + | |||




