home *** CD-ROM | disk | FTP | other *** search
- INCLUDE MODEL.INC
- ;
- ;---------------------------------------------------------------------------
- ; Function: int _bye_stdin(flag)
- ;
- ; Parms: flag = 1 Chars from modem merged with stdin
- ; flag = 0 Chars from modem not merged with stdin
- ;
- ; Purpose: This is used to temporarily toggle the input from
- ; the remote station on/off. The rx-queue is still active
- ; and continues to collect data while modem is not
- ; being merged.
- ;
- ; Return: void
- ;---------------------------------------------------------------------------
- ;
- PUBLIC __bye_stdin
-
- __bye_stdin PROC
-
- push bp ;standard 'C' function entry
- mov bp,sp
-
- mov ax,ARG1 ;stdin state in AL
- mov ah,9 ;AH=9 for set stdin mode
- int BYE_VECT
-
- mov sp,bp ;standard 'C' exit
- pop bp
- ret
-
- __bye_stdin ENDP
- END
-