From: wsimpson AT my-deja DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: _bios_serialcom() in djgpp Date: Thu, 02 Mar 2000 16:41:18 GMT Organization: Deja.com - Before you buy. Lines: 18 Message-ID: <89m5jc$og6$1@nnrp1.deja.com> References: <89m367$mjn$1 AT nnrp1 DOT deja DOT com> NNTP-Posting-Host: 193.62.250.209 X-Article-Creation-Date: Thu Mar 02 16:41:18 2000 GMT X-Http-User-Agent: Mozilla/4.7 [en] (X11; U; Linux 2.2.12-20 i686; Nav) X-Http-Proxy: 1.0 x35.deja.com:80 (Squid/1.1.22) for client 193.62.250.209 X-MyDeja-Info: XMYDJUIDwsimpson To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > > char data; > ... > data=_bios_serialcomm(_COM_INIT,0,0); /*read from com1*/ typo: data=_bios_serialcom(_COM_RECEIVE,0,0); /*read from com1*/ > then data will contain the word (8 bits) I read from com1. If > unsuccessful, bit 9, 10, 11, or 15 is set. I don't know how to check > this. Please show me how (code fragment). > Sent via Deja.com http://www.deja.com/ Before you buy.