Read from LPT3

0 pts.
Tags:
C
Development
Hardware
Programming Languages
Software
VB.NET
Visual Basic
Hello there. I have a little problem, I added a second parallel port to my PC and when I try to read from it the computer always crash..! The actual settins from the additional LPT port is I/O Range C888-C88F The sentence that I'm using is: PortIn(Val(&HC888)) I'm programming on VB.NET and read from the motherboard integrated LPT port is not a problem, the I/O Range from this is 0378-037F and everything is fine with this. The sentence "PortIn(Val(&H378))" works just fine. Could anyone help me out with this..?? Why the C888 address makes this conflic..? I'm doing something wrong..?? Thanks.
ASKED: May 3, 2006  11:43 AM
UPDATED: May 3, 2006  1:22 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

C888-C88F is way out of the allowable range for I/O ports.
00h to FFh is allowed for Motherboard and chipset.
100h to FFFFh is allowed for other devices, BUT any address that uses 4 digits is problematic and very crash prone. 1F0h to 1F7h is the primary IDE, 220h to 233h is the Sound Blaster ports, 378h to 37Fh is the LPT1 ports. FF00h to FFAFh are reserved for system bus interfacing. 3BC to 3BF is noramlly to LPT3 ports. The remainder of the ports 0400 to FEFF are used for stack registers, programming hooks and BIOS links. Reference IBM Hardware interfaces.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following