The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages
> C Programming
|
Port Address
Discuss Port Address in the C Programming forum on Dev Shed. Port Address C programming forum discussing all C derivatives, including C#, C++, Object-C, and even plain old vanilla C. These languages are low level languages, and used on projects such as device drivers, compilers, and even whole computer operating systems.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

August 5th, 2002, 02:00 AM
|
 |
Contributing User
|
|
Join Date: Aug 2002
Location: Philippines
Posts: 30
Time spent in forums: 1 h 5 m 34 sec
Reputation Power: 11
|
|
|
Port Address
I was thinking of creating a program in C that can determine port addresses, which will be used in inport() and outport() functions. I need to have the port address of input and output of the printer port. My problem is, I don't have any idea or any reference in doing so. Any help will do.
__________________
btw,
I'll be using the program to simulate Bitwise Operations with the use of LEDs (Light Emmiting Diodes) [outport()]. And evaluate incoming signals from the printer port [inport()].
Thnx!
|

August 5th, 2002, 02:44 AM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
|

August 9th, 2002, 01:46 AM
|
 |
Contributing User
|
|
Join Date: Aug 2002
Location: Philippines
Posts: 30
Time spent in forums: 1 h 5 m 34 sec
Reputation Power: 11
|
|
|
Thnx for the Info. It's just what I need.
One thing I may ask?... What book or other URL would you sugges me when it comes to Serial and Parallel Programming in C/C++?
|

August 9th, 2002, 03:31 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
That is a very good question. Personally, I haven't done any port programming in years, but when I did it, I learned by trial and error really. All I had was a good book that had all the documented (and undocumented) BIOS calls for an IBM PC architecture. The book also had a very good set of diagrams for serial and parallel port. This book was written way back in 1989 or so and I don't remember the name now, but there are several similar books (and now free documents on the web) available now, that contain the information. Maybe you should try google to see if you can find the information. If not, I'll dig into my pile of books and see if I can still find it. 
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|