delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/19/17:11:58

From: "David Christensen" <dchristensen AT california DOT com>
Newsgroups: comp.os.msdos.djgpp,comp.lang.perl.misc
References: <37b4a540 AT news5 DOT newsfeeds DOT com> <37bb1289 AT news5 DOT newsfeeds DOT com>
Subject: Re: djgpp, Win98, Perl, and serial port
Date: Thu, 19 Aug 1999 12:05:02 -0700
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: 209.3.225.63
Message-ID: <37bc52c7@news5.newsfeeds.com>
X-Trace: 19 Aug 1999 13:53:59 -0500, 209.3.225.63
X-Report: Report abuse to abuse AT newsfeeds DOT com
X-Abuse-Info: Please be sure to forward a copy of ALL headers, INCLUDING the body
X-Abuse-Info2: ALL Spam complaints are acted upon within 24 hours!
Organization: Newsfeeds.com http://www.newsfeeds.com 72,000+ UNCENSORED Newsgroups. Instant access!!
Lines: 68
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

<Permission to post obtained from author -- David>

-----Original Message-----
From: Bbirthisel AT aol DOT com <Bbirthisel AT aol DOT com>
To: dchristensen AT california DOT com <dchristensen AT california DOT com>
Date: Tuesday, August 17, 1999 9:01 AM
Subject: Re: djgpp, Win98, Perl, and serial port


In [various messages] Shigenobu Okuyama writes:

|>   I found some serial port libraries on GNU sites.
|>
|>   - v2tk/bcsio20.zip    Bill Currie's Serial Comms Package
|>   - v2tk/pmcom10.zip    Peter Marinov's serial com port toolkit
|>   - v2tk/svas011b.zip   Samuel Vincent's serial port library

|>   In this weekend, I wrote some extended functions of perl by XS
language which provides only the low level interface to Peter
Marinov's kit. I am trying the functions of sending/receiving a
char. and a string with some perl scripts. That's successful for
now.

A fourth choice!


|>   Peter Marinov's kit (uploaded on 98-10-27) is a good one. If
you are interested in it I think you should try to use it. I can
test it now by perl scripts through the low level interface.

|>   Last week, I started to write some middle level functions. In
my plan, almost low level functions are arranged to some middle
level functions. These are written by XS language. The low level
functions will be unnecessary in future, which will be hidden to
reduce code size.
|>
|>   The middle level functions I wrote are;
|>
|>  comopen()   open a serial port
|>  comclose()  close serial ports
|>  comsetprm() set transmit parameters of a serial port
|>  comgetprm() get transmit parameters of a serial port
|>  comwrite()  write to a serial port
|>  comread()   read from a serial port
|>  comsetmcr() set MCR (modem control register) of a serial port
|>  comgetmsr() get MSR (modem status register) of a serial port
|>
|>   I feel the set of these functions is incomplete. Because
simple binary level transmfer can be executed by using comwrite()
and comread(), but text level transmfer requires many cares.

And there are a bunch of timing and buffer management issues as
well. In
his case, he needed a compact (runs on ramdisk or floppy) solution
and
was willing to trade off performance for it. I don't think that is
your
situation.







  -----------== Posted via Newsfeeds.Com, Uncensored Usenet News ==----------
   http://www.newsfeeds.com       The Largest Usenet Servers in the World!
------== Over 73,000 Newsgroups - Including  Dedicated  Binaries Servers ==-----

- Raw text -


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