[Wine] Need help to get LCDHype flying with Parallel-Port

Martin Gregorie martin at gregorie.org
Wed Jan 27 11:34:05 CST 2010


On Wed, 2010-01-27 at 10:18 -0600, lsmod wrote:
> Thanks.
> 
> Currently the question is how to access /dev/lp0 directly in the test-program?
> 
> The Test-program is based on this article: http://logix4u.net/Legacy_Ports/Parallel_Port/A_tutorial_on_Parallel_port_Interfacing.html
> 
Did you look at the second page of that article? 
The one that deals with InpOut32.dll? 
Your obvious first step is to write/download a test program using it.
Read this:
http://logix4u.net/Legacy_Ports/Parallel_Port/Inpout32.dll_for_Windows_98/2000/NT/XP.html

Download InpOut32.dll and try using it with one of the test programs
referenced from it. If that works, you're home and dry. Just change
LCDHype and its dll to work with InpOut32.dll
 
> So the access to the parport is coded through the _inp() and _outp() functions.
> It is not clear what the libraries are doing here?
> 
I think they are very simple functions that make direct access to
parallel ports for DOS/Windows systems.

> We are working now in the grey area between Windows and Linux and this is very special.
> You don't find many informations about such topics ...
> 
Actually, there's rather a lot available and its rather easy to find.

Here's some reading about the Linux side:
http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Documentation/parport.txt
http://people.redhat.com/twaugh/parport/html/x916.html

These were found with an Altavista search on "/dev/parport" and were the
top two items on the first page of search results. Google may or may not
be your friend (Altavista finds fewer useless comparison sites and
doesn't show adverts) but you should make more use of them.


Martin





More information about the wine-users mailing list