en:docs:dos:api:int21:01

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:dos:api:int21:01 [2020/12/07 02:33] – [Notes] prokusheven: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
 +</code>
  
 ===== 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, thus not causing an EOF if input is redirected+ ^Z is not interpreted, thus not causing an EOF if input is redirected
 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=07h,AH=08h,AH=0Ah+AH=[[en:docs:dos:api:int21:06|06h]],AH=[[en:docs:dos:api:int21:07|07h]],AH=[[en:docs:dos:api:int21:08|08h]],AH=[[en:docs:dos:api:int21:0a|0Ah]]
  
 ===== Note ===== ===== Note =====