ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] Win2k and I/O Port Byte
Dario Greggio
Wed, 02 Aug 2000 00:38:48 +0200

Ingo Pakleppa wrote:
> 
> Just get the Microsoft DDK - that has all the necessary information on how
> to do this. In Windows 95, you can use a VxD, in Windows NT (and presumably
> W2K), you have to write a kernel-mode driver that provides higher-level API
> calls, or you can use a VDD to emulate direct port access (it's very slow,
> though, because it's not real - just emulated).
> 
>  Typically, you should contact the hardware developer for a
> driver.

As I mentioned before, I'm just doing such a thing for a customer in
these days. I hope I will have a little time in august, so... just in
case, Mark, would you tell me to which ports would you need access, at
least at the beginning? Then , if the things works, we could make a more
configurable and wider device driver.
In my idea, a first/beta version would include read and write access to
a couple of ports (that you must define BEFORE, as you install the
driver in NT), and read/write could be performed using Win32 function
DeviceIOControl. BTW, it works in both Win95 and Win98, so this solution
would be good for all platforms.

-- 
Ciao,
Dario
--
ADPM Synthesis sas - Torino
--
http://www.geocities.com/adpm99

  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.