home *** CD-ROM | disk | FTP | other *** search
- INCLUDE MODEL.INC
- ;
- ;---------------------------------------------------------------------------
- ; Function: void _bye_rxflush()
- ;
- ; Parms: void
- ;
- ; Purpose: Removes characters waiting in the Rx-queue and
- ; resets the Rx-character counter to 0. This is
- ; used to reset after a buffer overflow and before
- ; starting any data transfers to remove any trash
- ; from the Rx-queue.
- ;
- ; Return: void
- ;---------------------------------------------------------------------------
- ;
- PUBLIC __bye_rxflush
-
- __bye_rxflush PROC
-
- mov ah,5 ;AH=5 for rx flush
- int BYE_VECT
- ret
-
- __bye_rxflush ENDP
- END
-