home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
modem
/
byepc300.arc
/
BYEXLIB.ARC
/
RXFLUSH.ASM
< prev
next >
Wrap
Assembly Source File
|
1987-10-25
|
676b
|
28 lines
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