08-19-2008, 07:06 AM
Maybe this relates to my problem...
From http://blogs.msdn.com/ericgu/archive/200...-port.aspx
"EPP ports aren't automatically configured for input. You need to set bit 5 in the control register (at the base address + 2) to turn it on."
How do I do this? Would this be 0x37a for the port address? What would be the correct value to send to output?
So is this talking about Pin 1 (nStrobe)? I think I remember somewhere else saying something about this toggling between read and writing data.
I don't know...still don't get this stuff, but I am on the edge of understanding.
Also, what's a quick way to convert a number into the 8 bit binary that I would see from the parallel port inputs....for example 255 is 11111111 which would be all high...right?
Thanks,
Jimmy Vig
From http://blogs.msdn.com/ericgu/archive/200...-port.aspx
"EPP ports aren't automatically configured for input. You need to set bit 5 in the control register (at the base address + 2) to turn it on."
How do I do this? Would this be 0x37a for the port address? What would be the correct value to send to output?
So is this talking about Pin 1 (nStrobe)? I think I remember somewhere else saying something about this toggling between read and writing data.
I don't know...still don't get this stuff, but I am on the edge of understanding.
Also, what's a quick way to convert a number into the 8 bit binary that I would see from the parallel port inputs....for example 255 is 11111111 which would be all high...right?
Thanks,
Jimmy Vig