Mail Archives: djgpp/2001/01/06/08:02:00
> From: "Peter Remmers" <Peter DOT Remmers AT t-online DOT de>
> Newsgroups: comp.os.msdos.djgpp
> Date: Sat, 6 Jan 2001 09:42:32 +0100
>
> Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> schrieb...
>
> > > I wonder if it would be possible
> > > to write a library that would allow you to call the Windows functions
> > > to access the COM ports
> >
> > It's possible, but someone needs to crack down the backdoor into the
> > Windows VxD which controls the COM port, in the same manner as they
> > did with Winsock.
>
> 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 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).
- Raw text -