Outils pour utilisateurs

Outils du site


back2root:ibm-pc-ms-dos:interrupts:int_21:int_21_06_ff

Table des matières

INT 0x21 - 0x06 - Direct console input (Sub Function FFh)

Request/Call:

reg value descr
AH 0x06
DL 0xFF

Return:

if ZF=1 : no character is available

if ZF=0 : character is available in AL

reg descr
AL character read

Notes & Comments

  • does NOT check ^C/^Break
  • if the returned character is 00h, the user pressed a key with an extended keycode, which will be returned by the next call of this function
  • reads from standard input, which is always the keyboard under DOS 1.x, but may be redirected under DOS 2+

SeeAlso: AH=08h

Back

back2root/ibm-pc-ms-dos/interrupts/int_21/int_21_06_ff.txt · Dernière modification : 2024/10/25 14:30 de frater