INT 21 - DOS - CLEAR KEYBOARD BUFFER                     

Input

DOS1 Y DOS2 Y

DOS3

Y DOS5 Y

Output

AX

0Ch 01,06,07,08,0A     AX

BX

        BX

CX

        CX

DX

        DX

ES:DI

    CF
Note:   Flushes all typeahead input, then executes function specified
        by AL (effectively moving it to  AH and repeating the  INT 21
        call).  If AL  contains a  value not  in the  list above, the
        keyboard buffer is flushed and no other action is taken.

See Also 01h 06h 07h 08h 0Ah


Copyright © 1985 to 2022 Beta Systems                            Last modified: Wednesday, January 05, 2022 .