Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbnewsh!rkl From: rkl@cbnewsh.att.com (kevin.laux) Newsgroups: comp.os.msdos.programmer Subject: Re: defeating time-out on com ports? Message-ID: <1991Apr9.131628.10372@cbnewsh.att.com> Date: 9 Apr 91 13:16:28 GMT References: <3603@naucse.cse.nau.edu> Distribution: na Organization: AT&T Bell Laboratories Lines: 16 In article <3603@naucse.cse.nau.edu>, rrw@naucse.cse.nau.edu (Robert Wier) writes: > 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 > know it can be done. The four bytes at 40:7Ch contain the timeout values for COM1-4. I'm not sure what the units are so you will have to relate the value to your 1.5 second timeout. -- ________________________________________________________________________________ R. Kevin Laux Email: rkl1@hound.att.com AT&T Bell Labs Voice: (908) 949-1160 Holmdel, NJ 07733 Fax: (908) 949-0959