Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, NewbieZorro), 16,055 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
About parallel port access with port_in #72966
05/02/06 19:57
05/02/06 19:57
Joined: Apr 2005
Posts: 9
J
Joa Offline OP
Newbie
Joa  Offline OP
Newbie
J

Joined: Apr 2005
Posts: 9
I have a problem trying to read from the parallel port using the port_in instruction from the ackport.dll extension.
i need to read from 2 parallel ports at once for my project.
for lpt2 i had to add a pci parallel port card.
so, lpt1 reads just fine, but i can't read lpt2. i think it has to something to do with the port address. windows tells me lpt2 it's at the 0xED68 address, and won't let me change it. and the port_in instruction only accepts a port number of maximum 4096.
so is there any way i will be able to read from the address i have now?
thanks in advance

joaquin

Re: About parallel port access with port_in [Re: Joa] #72967
05/03/06 09:02
05/03/06 09:02
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
I don't think that a port address "0xED68" exists. Normally, lpt1 is 0x378 and lpt2 is 0x278.

The instruction has no 4096 limit, but the Pentium normally has a limit of 4096 ports - although I'm not 100% sure if some new processors don't support more ports.

Re: About parallel port access with port_in [Re: jcl] #72968
10/08/06 20:42
10/08/06 20:42
Joined: Jul 2003
Posts: 85
France
Gandalf Offline
Junior Member
Gandalf  Offline
Junior Member

Joined: Jul 2003
Posts: 85
France
Other port Adress :
3BCh - 3BFh Used for Parallel Ports which were incorporated on to Video Cards - Doesn't support ECP addresses.
The 3BCh base address was originally introduced used for Parallel Ports on early Video Cards. This address then disappeared for a while, when Parallel Ports were later removed from Video Cards. They has now reappeared as an option for Parallel Ports integrated onto motherboards, upon which their configuration can be changed using BIOS.


Moderated by  old_bill, Tobias 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1