How to determine the port numbers for peripheral devices?
Posted
by smwikipedia
on Stack Overflow
See other posts from Stack Overflow
or by smwikipedia
Published on 2010-04-25T12:54:36Z
Indexed on
2010/04/25
13:13 UTC
Read the original article
Hit count: 225
I know that peripheral devices such as a hard driver, a floppy driver, etc are controlled by reading/writing certain control registers on their device controllers.
I am wondering about the following questions:
- Is it true that when these peripheral devices are plugged onto the computer, the addresses(port numbers) of their control registers are thus determined by how they are attached to the address bus (i.e. the hard-wiring rules, not any soft things)?
- Who makes the scheme of the port number assignment?
- If I was given a naked computer(with no operating system and with many peripheral devices), how could I figure out the port number assignment so I can use them to control peripheral deveices.
At last and as usual, thanks for your patience and reply. 8^)
© Stack Overflow or respective owner