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