Int 21/AH=06h/DL=FFh

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

DOS 1+ - DIRECT CONSOLE INPUT

AH = 06h
DL = FFh

Return:
ZF set if no character available AL = 00h ZF clear if character available AL = character read

Notes: ^C/^Break are NOT checked. 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. This function reads from standard input, which is always the keyboard under DOS 1.x, but may be redirected under DOS 2+. Although the return of AL=00h when no characters are available is not documented, some programs rely on this behavior

See Also: AH=0Bh

Category: DOS Kernel - Int 21h - D

rbline.gif

lup.gif ldown.gif Interrups Categories Contents