by Tomi Engdahl on Mon Jan 26, 2009 9:11 am
I read that if I go to device manager and check the port properties I should see something like "Input/Output Range 0378 - 037F", but when I do that I get this:"Input/Output Range DC80 - DC87". The port is set for LPT1 and now I'm puzzled because I don't know what address to put in the C program that I use to control the pins.
In think you should try to put DC80 to that C program.
It could work or not. At least worth to try.
If the hardware of your parallel port is similar to traditional parallel port in PCs or very close to it, just sitting in different address, then putting DC80 to the C program should work. If the hardware is something different then it might not work.
The PCI bus parallel port notes could be also good idea to read
http://www.epanorama.net/circuits/paral ... tml#pcibus"I have not played much with parallel port card that plug to PCI bus, but I have seen cases where the parallel port that plugs to PCI bus does not work properly with legacy software, meaning a software that control parallel port directly at I/O bus level. It seems that the PCI parallel ports are different hardware than normal parallel ports, at leasts sit at different I/O address. The parallel port driver (comes with the card or built into Windows) makes the parallel port card to look like normal parallel port to high level applications, enven though the internal operation is different than in traditional ports. I have bene told that in systems where there was both ISA and PCI bus, the I/O address range normally used for parallel ports was limited to be only accessable though ISA bus, meaning that the ports on PCI bus needed to be on different I/O address (higher I/O address). Nowadays when the ISA bus has practically dissapeared from desktop computers, and things could be different."
[quote]I read that if I go to device manager and check the port properties I should see something like "Input/Output Range 0378 - 037F", but when I do that I get this:"Input/Output Range DC80 - DC87". The port is set for LPT1 and now I'm puzzled because I don't know what address to put in the C program that I use to control the pins.[/quote]
In think you should try to put DC80 to that C program.
It could work or not. At least worth to try.
If the hardware of your parallel port is similar to traditional parallel port in PCs or very close to it, just sitting in different address, then putting DC80 to the C program should work. If the hardware is something different then it might not work.
The PCI bus parallel port notes could be also good idea to read
http://www.epanorama.net/circuits/parallel_output.html#pcibus
"I have not played much with parallel port card that plug to PCI bus, but I have seen cases where the parallel port that plugs to PCI bus does not work properly with legacy software, meaning a software that control parallel port directly at I/O bus level. It seems that the PCI parallel ports are different hardware than normal parallel ports, at leasts sit at different I/O address. The parallel port driver (comes with the card or built into Windows) makes the parallel port card to look like normal parallel port to high level applications, enven though the internal operation is different than in traditional ports. I have bene told that in systems where there was both ISA and PCI bus, the I/O address range normally used for parallel ports was limited to be only accessable though ISA bus, meaning that the ports on PCI bus needed to be on different I/O address (higher I/O address). Nowadays when the ISA bus has practically dissapeared from desktop computers, and things could be different."