home *** CD-ROM | disk | FTP | other *** search
- 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
-