Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:docs:dos:api:int21:01 [2020/12/07 02:33] – [Notes] prokushev | en:docs:dos:api:int21:01 [2024/04/27 06:50] (current) – prokushev | ||
|---|---|---|---|
| Line 22: | Line 22: | ||
| AL = character read | AL = character read | ||
| + | |||
| + | ===== Macro ===== | ||
| + | |||
| + | <code asm> | ||
| + | INCLUDE DOS.INC | ||
| + | |||
| + | READ_KBD_AND_ECHO | ||
| + | </ | ||
| ===== Notes ===== | ===== Notes ===== | ||
| - | ^C/^Break are checked, and INT 23 executed if read | + | ^C / ^Break are checked, and INT 23 executed if read |
| - | ^P toggles the DOS-internal echo-to-printer flag | + | ^P toggles the DOS-internal echo-to-printer flag |
| - | ^Z is not interpreted, | + | ^Z is not interpreted, |
| character is echoed to standard output | character is echoed to standard output | ||
| standard input is always the keyboard and standard output the screen | standard input is always the keyboard and standard output the screen | ||
| Line 36: | Line 44: | ||
| ===== See also ===== | ===== See also ===== | ||
| - | AH=06h, | + | AH=[[en: |
| ===== Note ===== | ===== Note ===== | ||




