PDA

View Full Version : ports



ihsir
01-10-2002, 08:39 PM
how may ports are there usually on a system??

how do i use the outpw() and inpw() in c++ if i want to access a particular port?

ihsir
01-12-2002, 03:42 AM
No replies so far... i wonder why.... .... ....

AAHA, i got it, i should post this in c++ forum.

Salem
01-12-2002, 04:24 AM
> No replies so far... i wonder why.
Because you're far too impatient to wait for a reply

> how may ports are there usually on a system?
The intel processors have a port address space of 65536 - but normally, very few are used.

> how do i use the outpw() and inpw() in c++
That would depend on your operating system. Ports typically have direct access to the hardware, so protected operating systems do not allow direct access - you have to use a provided driver.

A good source of information on what each port does is here
http://www-2.cs.cmu.edu/afs/cs/user/ralf/pub/WWW/files.html

ihsir
01-13-2002, 03:16 AM
>Because you're far too impatient to wait for a reply

Actually not, i'm so impressed by the quick response to the doubts of so many people (i might as well add correct answers too) that i was wondering what happened :confused:

A lot of time when i think that i know the answer to this ques. somebody has already answered and i think that was a fast reply man.. :)

This is what makes this so good...


BTW thanks for the info, Salem.

i hope the "..far too impatient.." wasn't a :mad: ;)

ihsir
01-14-2002, 02:51 AM
In the above post i said
"This is what makes this so good... "
what i mean is this site is so good ( a typo )

I would also want to thank Bubba and others who helped me with
the password program post.

It's quite late :o though. Sorry about that.

VirtualAce
01-14-2002, 10:13 AM
No problem.

If you want another doc about ports you can get Ralph Brown's Interrupt List and download all the files for it. Also get the RBIL viewer for Win9X - this viewer can also compile the ports listings into one master list - very nice.