home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programming
/
powerprogramming1994.iso
/
progtool
/
modem
/
byepc300.arc
/
BYEXLIB.ARC
/
RXSIZE.ASM
< prev
next >
Wrap
Assembly Source File
|
1987-10-25
|
733b
|
28 lines
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