Article View: comp.os.msdos.programmer
Article #5677defeating time-out on com ports?
From: Robert Wier
Date: Tue, 09 Apr 1991 08:58
Date: Tue, 09 Apr 1991 08:58
36 lines
1875 bytes
1875 bytes
Ok, you guys did really well with answers on my EGA gray scale
question (the general consensus was that you can get 4 shades of
gray with an EGA, but you really need to do to a VGA to get more).
Now, working on the same project I've run into a snag using the
COM port. We have a situation where we don't know when the
data will appear - it can be anywhere from 100 ms to 11 seconds
after the previous carriage return.
The problem we are having (my students are currently using
Quick-C) is that when you go out to read a character and there
isn't one there yet, the port seems to "time out" in 1.5 seconds
or so. I can't find any way to defeat this, although I certainly
see why in most circumstances it would be useful.
I know it CAN be done, because Kermit does it. The big K just
sits waiting patiently for something to arrive and display it on
the screen.
Does anyone know how to do this? Does it require going directly
to the UART and bypassing the built in routines? Or is there
something actualy in the hardware in the nature of a switch
which has to be reset?
Please E-Mail or post.
THANKS
- Bob Wier
-------------- insert favorite standard disclaimers here ----------
College of Engineering
Northern Arizona University / Flagstaff, Arizona
Internet: rrw@naucse.cse.nau.edu | BITNET: WIER@NAUVAX | WB5KXH
or uucp: ...arizona!naucse!rrw
Technical Details
Message-ID:
<3603@naucse.cse.nau.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!noao!arizona!naucse!rrwShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rutgers!noao!arizona!naucse!rrw From: rrw@naucse.cse.nau.edu (Robert Wier) Newsgroups: comp.os.msdos.programmer,alt.msdos.programmer Subject: defeating time-out on com ports? Message-ID: <3603@naucse.cse.nau.edu> Date: 9 Apr 91 08:58:51 GMT Followup-To: comp.os.msdos.programmer Organization: Northern Arizona University, Flagstaff AZ Lines: 36