Function 07H (7): Flush Input Buffers

The flush-input-buffers function applies only to character devices, and in block-device drivers it should do nothing except set the done flag. This function causes any data waiting in the input buffer to be discarded.

The flush-input-buffers function is called with

RH + 2 BYTE Command code = 7

It returns

RH + 3 WORD Status