delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/01/06/10:36:34

From: "Peter Remmers" <Peter DOT Remmers AT t-online DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Async COM managing
Date: Sat, 6 Jan 2001 16:19:37 +0100
Organization: T-Online
Lines: 36
Message-ID: <937csu$pst$06$1@news.t-online.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001224081539 DOT 7747E-100000 AT is> <9250eb$a84$00$1 AT news DOT t-online DOT com> <h2ob5t4eb075dfi877bu18r88kug5qq66i AT 4ax DOT com> <557-Fri05Jan2001203419+0200-eliz AT is DOT elta DOT co DOT il> <936lkf$7mj$01$1 AT news DOT t-online DOT com> <6137-Sat06Jan2001145950+0200-eliz AT is DOT elta DOT co DOT il>
Mime-Version: 1.0
X-Trace: news.t-online.com 978794206 06 26525 BKejdeGScY8cj 010106 15:16:46
X-Complaints-To: abuse AT t-online DOT com
X-Sender: 320094726121-0001 AT t-dialin DOT net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> schrieb...

> > I think it's not even too hard, since it's documented in the Win98 DDK.
> > 
> > Windows 98 DDK
> >   Related Driver Documentation
> >     Windows 95 Documentation
> >       Design Guide
> >         Virtual Communications Device Drivers
> >           Virtual Communications Driver
> >             Protected-Mode Application Programming Interface
> 
> Are the values to put into registers documented there in enough detail
> to allow one to write a non-trivial code which uses the COM port?

The documentation is terse. But the PM-API is basically just a wrapper for
the VXD-to-VXD interface of VCOMM, which is documented better.
Constants can be looked up in the header files, ans structures are
declared there, too.
What I don't understand is why pointers are passed as 16:16 and not
16:32? Could that mean buffers have to reside in low DOS memory?

> The problem with this interface is not how to access it---this is
> documented in RBIL---but what data structures to use, how to lay them
> out, and what values to use for some of the flags.  If that is
> documented by Microsoft, then the problem is solved (but then I wonder
> how come it took such a long time for Rich Dawe and friends to find
> the way to make the Wsock2 interface work).

That's because the wsock2 PM-API is NOT documented, as far as I can see
(at least not in the DDK). The DDK documents only the VCOMM PM-API.

Peter


- Raw text -


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