Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!maverick.ksu.ksu.edu!wyatt.ksu.ksu.edu!ohoward From: ohoward@wyatt.ksu.ksu.edu (Todd Howard) Newsgroups: comp.lang.c Subject: Re: TURBOC bios question Keywords: TURBOC Message-ID: <1991Mar9.170719.12616@maverick.ksu.ksu.edu> Date: 9 Mar 91 17:07:19 GMT References: <1991Mar8.210556.20493@maverick.ksu.ksu.edu> Sender: news@maverick.ksu.ksu.edu (The News Guru) Organization: Kansas State University Lines: 32 ohoward@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@matt.ksu.ksu.edu tyrants." --Thomas Jefferson | BITNET: ohoward@ksuvm.ksu.edu