home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
modem
/
byepc300.arc
/
BYEXLIB.ARC
/
RXINT.ASM
< prev
next >
Wrap
Assembly Source File
|
1987-10-26
|
833b
|
33 lines
INCLUDE MODEL.INC
;
;---------------------------------------------------------------------------
; Function: int _bye_rxint(mode) (BYE vers 2.00 required)
;
; Parms: int mode; -> 0=off, 1=on receive interrupts
;
; Purpose: Enables and disables the receive interrupts from
; the modem. If this function is set to off, all
; received from the modem is ignored.
;
; Return: void
;---------------------------------------------------------------------------
;
PUBLIC __bye_rxint
__bye_rxint PROC
push bp ;standard 'C' function entry
mov bp,sp
mov ax,ARG1 ;rx int state in AL
mov ah,19 ;AH=19 for set rx int
int BYE_VECT
mov sp,bp ;standard 'C' exit
pop bp
ret
__bye_rxint ENDP
END