🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #31

Re: bioscom

#31
From: Ian D. Gay
Date: Thu, 29 Oct 1992 18:02
30 lines
1441 bytes
bjmiller@phy.duke.edu (Brian Miller) writes:


>I am attempting to send data through a serial port using the command
>bioscom
>in Borland Turbo C. No information is coming out of the serial port. 
>Can anyone please give me any suggestions? I tried to write a simple
>program to act as a terminal emmulator with no luck. The program came
>directly out of the Turbo C manual. I used
>bioscom(1,character,0) 

What is on the other end of your wire? bioscom is a direct interface 
to the bios int 14 routines. These test for DSR and CTS both high 
before transmitting. If they are not high within a reasonable time, 
the routine just times out and transmits nothing. 

The routine does, however, assert DTR and RTS before looking for DSR & 
CTS. So if you have to deal with a really dumb device, you can do it 
with a special cable which connects DTR, say, to both DSR and CTS at 
the PC end.




>Thanks,
>Brian Miller
>-- 
> My Name     1-919-684-XXXX
> Duke University Dept. of Physics change_this@phy.duke.edu
> Durham, N.C.      27706   
Technical Details
Message-ID: <gay.720381765@sfu.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!newsserver.sfu.ca!sfu.ca!gay
References: <6453@news.duke.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!cs.ubc.ca!newsserver.sfu.ca!sfu.ca!gay
From: gay@selkirk.sfu.ca (Ian D. Gay)
Subject: Re: bioscom
Message-ID: <gay.720381765@sfu.ca>
Sender: news@sfu.ca
Organization: Simon Fraser University, Burnaby, B.C., Canada
References: <6453@news.duke.edu>
Date: Thu, 29 Oct 1992 18:02:45 GMT
Lines: 30