From: "Alexei A. Frounze" Newsgroups: comp.os.msdos.djgpp Subject: Re: com1 programming .... a lot of question Date: Fri, 19 May 2000 03:36:15 +0400 Organization: MTU-Intel ISP Lines: 35 Message-ID: <39247E6F.1E74D4BD@mtu-net.ru> References: <3923FCF4 DOT DC4FBBAD AT mtu-net DOT ru> <37o8isgacarhus3cs90u00js9ioi88501d AT 4ax DOT com> NNTP-Posting-Host: ppp97-185.dialup.mtu-net.ru Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit X-Trace: gavrilo.mtu.ru 958717247 39280 212.188.97.185 (19 May 2000 06:20:47 GMT) X-Complaints-To: usenet-abuse AT mtu DOT ru NNTP-Posting-Date: 19 May 2000 06:20:47 GMT X-Mailer: Mozilla 4.72 [en] (Win95; I) X-Accept-Language: ru,en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com If you take a look at my program that works with COM port, you may notice it uses TxD and RxD only. Btw, does BIOS assume more than just these 2 signals (read/write) with null-modem cable? Neither RB Int list nor TechHelp nor HelpPC says how many signals are in use in BIOS service functions. -- Alexei A. Frounze ----------------------------------------- Homepage: http://alexfru.chat.ru Mirror: http://members.xoom.com/alexfru Jason Green wrote: > > Eli Zaretskii wrote: > > > On Thu, 18 May 2000, Alexei A. Frounze wrote: > > > > > Btw, I usually connect 2nd and 3rd pins of the serial cable/connector in > > > order to test I/O on a single computer. Could this situation be problematic > > > for BIOS? > > > > I don't think so, but I'm not really a hardware person. Anybody? > > I don't know about BIOS functions, but only looping pins 2&3 (Tx/Rx) > could definitely lead to different behaviours between programs. > > If some code is looking for a handshake line to be asserted then it > could appear to hang, if some other code ignores the handshake lines > then it will appear to work but could drop bytes. > > Loop-back the handshake lines, DTR-DSR and/or RTS-CTS. And make sure > you also assert the outgoing handshake lines DTR & RTS.