home *** CD-ROM | disk | FTP | other *** search
- INCLUDE MODEL.INC
- ;
- ;---------------------------------------------------------------------------
- ; Function: int _bye_rxsize()
- ;
- ; Parms: void
- ;
- ; Purpose: Test for characters waiting in the Rx-queue and
- ; returns the number of characters in the queue. If
- ; 'size' is > 0 and '__bye_getch()' returns and EOF,
- ; a buffer overflow occured and 'rx_flush' must be
- ; called to reset counts.
- ;
- ; Return: Returns the number of characters in the Rx-queue
- ;---------------------------------------------------------------------------
- ;
- PUBLIC __bye_rxsize
-
- __bye_rxsize PROC
-
- mov ah,6 ;AH=6 for get rx size
- int BYE_VECT
- ret
-
- __bye_rxsize ENDP
- END
-