Originally Posted by
_izua_
Because such a device is seen by the system as a printer. I want to have direct control over the individual bits, for using software such as relais timer, mach 3, etc.
I already built the hardware (gadget) and corresponding software for it, all I need now is to simply get what other applications are writing to the port. The problem is that, I want to emulate the parallel port, so I can connect other stuff to it - so I'm building the converter. There is no converter as of now, that can be addresed in the same way the parallel port is addressed. And that's my problem - I need to address the converter (gadget, as you call it, but another gadget wil attach to it) from software that normally addresses the parallel port.
To write to the parallel port, you simply put some data at RAM address 0x378. I think that is under the convetional memory limit. That's it - nothing special happens in software, just that the hardware on the mobo copies that value to the physical port.
I need a method of reading address 0x378 in windows.