TURBOC bios question

Todd Howard ohoward at wyatt.ksu.ksu.edu
Sun Mar 10 03:07:19 AEST 1991


ohoward at matt.ksu.ksu.edu (Todd Howard) writes:

>I'm am trying to get turboc 1.5 to interface with a serial port using    
>BIOSCOM.  It seems that bioscom doesn't actually send (or receive) the data
>that I request or send.  Is this a problem with the version I'm running?
>Any help would be appreciated.  I was sure to include the stdio.h, bios.h, and
>dos.h (just in case).  The syntax I used is shown below:

>int q,d;
>char ch;

>...
>/*  Send a byte */
>bioscom (1,ch,2);

>...

>I know that the COM2 port works, as I have a modem installed and working.
>Please mail replies directly to me.  Thanks.

I forgot to include that I HAD set up the COM port for the correct line
settings in an earlier BIOSCOM command (although I'm not sure that worked
either). 

Todd

--
================================================================================
"The tree of liberty must be refreshed from |           Todd Howard 
time to time with the blood of patriots and | INTERNET: ohoward at matt.ksu.ksu.edu
tyrants."     --Thomas Jefferson            |   BITNET: ohoward at ksuvm.ksu.edu 



More information about the Comp.lang.c mailing list