delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/16/07:30:11

From: Andrew Cottrell <andnews AT ihug DOT com DOT oz DOT au>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Serial port (RS232C) open
Date: Wed, 16 Oct 2002 21:17:17 +1000
Organization: ECLiPSE
Lines: 18
Message-ID: <5fiqqug0v3pj1vk9qrfao8rqq66abr79qf@4ax.com>
References: <3DACF5E5 DOT 80105 AT kordi DOT re DOT kr> <Pine DOT SUN DOT 3 DOT 91 DOT 1021016083016 DOT 20518G-100000 AT is>
NNTP-Posting-Host: p156-tnt4.syd.ihug.com.au
Mime-Version: 1.0
X-Trace: lust.ihug.co.nz 1034767039 16550 203.173.134.156 (16 Oct 2002 11:17:19 GMT)
X-Complaints-To: abuse AT ihug DOT co DOT nz
NNTP-Posting-Date: Wed, 16 Oct 2002 11:17:19 +0000 (UTC)
X-Newsreader: Forte Agent 1.92/32.572
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

>On Wed, 16 Oct 2002, jou wrote:
>
>> I want to read data from serial port (RS232C).
>> Not possible to open /dev/ttyS0 in DOS.
>
>Open /dev/aux or COM1 (or COM2, as the case might be) instead.
If yuo want to run faster than 9600 baud then you may want to check
out one of the many comms libraries in the V2TK directory.

Some of the comms libraries are in assembly, some support multiple
comm ports, some support wakeup mode (9 bit parity), and some are not
maintained any more.

If you need timing libraries then there are also some in the V2TK
directory and don't forget Allegro also has timing functions which I
have stipped out and used in comms programs.

Andrew

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019