home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 December
/
simtel1292_SIMTEL_1292_Walnut_Creek.iso
/
msdos
/
modem
/
byepc300.arc
/
BYEXLIB.ARC
/
PUTC.ASM
< prev
next >
Wrap
Assembly Source File
|
1987-10-25
|
873b
|
35 lines
INCLUDE MODEL.INC
;
;---------------------------------------------------------------------------
; Function: int _bye_putc(c)
;
; Parms: int c; character to send
;
; Purpose: Send the character to the modem via BYE-PC. Note
; that if nulls are in effect that these will not be
; sent a line feed character. The user must handle any
; nulls that are needed by 'get_nulls()'.
;
; Return: EOF = timeout error
; 0 = Tx ok
;---------------------------------------------------------------------------
;
PUBLIC __bye_putc
__bye_putc PROC
push bp ;standard 'C' function entry
mov bp,sp
mov ax,ARG1 ;char to tx in AL
mov ah,1 ;AH=1 for putc
int BYE_VECT
mov sp,bp ;standard 'C' exit
pop bp
ret
__bye_putc ENDP
END