Slashdot Mirror


Parallel Port I/O Access Under Win2K?

stumped-by-MS asks: "I'm having a tough time accessing my parallel port under Win 2K. I'm working off of a Dell Precision P4 workstation, and using Microsoft ASseMbler to run simple programs involving IN and OUT commands. Initially I read about 2K's strict I/O control, and found the PortTalk driver to get around it. This driver, when coupled with the supplied allowio.exe, is supposed to give any program User level 0 to any specified port. Using the program (syntax: allowio test.exe 0x378 ) allows access to the base address just fine, however with base+1 (0x379), the input port, is still unresponsive. Using allowio to specifically give access to that port also fails, as well as giving my program access to all ports, which I would rather not do in the first place. " Is there some hidden set of permissions a program must have before they are allowed access to certain I/O ports under Windows 2000?

"Am I missing some concept here? As I understand it, allowing access to base=0378H should give access beyond 0x380! If anyone knows what I am doing wrong, or the location of some software that does things right, it would help me a lot."

1 of 10 comments (clear)

  1. You are posting this on Slashdot????? by duffbeer703 · · Score: 1, Troll

    Not only are you using Windows 2000, but you are also using the evil (tm) Pentium 4 chip....

    What has Ask Slashdot stooped to now?

    --
    Conformity is the jailer of freedom and enemy of growth. -JFK