User:Bavi H/Input devices table: Difference between revisions
From NESdev Wiki
Jump to navigationJump to search
(draft revision to input devices table) |
(added down rules, separate description of /OE1 and /OE2 access method via footnotes; Family Trainer Mat doesn't use /OE2, removed) |
||
Line 2: | Line 2: | ||
|- | |- | ||
!rowspan="2" style="text-align: right;" valign="bottom"|signal | !rowspan="2" style="text-align: right;" valign="bottom"|signal | ||
!colspan="3"|output | !colspan="3" style="border-left: 2px solid black;"|output | ||
!colspan="6"|Joypad 1 | !colspan="6" style="border-left: 2px solid black;"|Joypad 1 | ||
!colspan="6"|Joypad 2 | !colspan="6" style="border-left: 2px solid black;"|Joypad 2 | ||
!audio output | !style="border-left: 2px solid black;"|audio output | ||
|- | |- | ||
!OUT2 | !style="border-left: 2px solid black;"|OUT2 | ||
!OUT1 | !OUT1 | ||
!OUT0 | !OUT0 | ||
!/OE1 | !style="border-left: 2px solid black;"|/OE1 | ||
!D4 | !style="border-left: 2px solid gray;"|D4 | ||
!D3 | !D3 | ||
!D2 | !D2 | ||
!D1 | !D1 | ||
!D0 | !D0 | ||
!/OE2 | !style="border-left: 2px solid black;"|/OE2 | ||
!D4 | !style="border-left: 2px solid gray;"|D4 | ||
!D3 | !D3 | ||
!D2 | !D2 | ||
!D1 | !D1 | ||
!D0 | !D0 | ||
!AUDIO | !style="border-left: 2px solid black;"|AUDIO | ||
|- | |- | ||
|access method | |access method | ||
|colspan="3" style="text-align: center;"|write $0416 | |colspan="3" style="text-align: center; border-left: 2px solid black;"|write $0416 | ||
|colspan=" | |style="border-left: 2px solid black;"|<ref>/OE1 is activated by reading $4016</ref> | ||
|colspan=" | |colspan="5" style="text-align: center; border-left: 2px solid gray;"|read $0416 | ||
| | |style="border-left: 2px solid black;"|<ref>/OE2 is activated by reading $4017</ref> | ||
|colspan="5" style="text-align: center; border-left: 2px solid gray;"|read $0417 | |||
|style="border-left: 2px solid black;"| | |||
|- | |- | ||
!style="text-align: left;"|available at | !style="text-align: left;"|available at | ||
!colspan="3"| | !colspan="3" style="border-left: 2px solid black;"| | ||
!colspan=" | !style="border-left: 2px solid black;"| | ||
!colspan=" | !colspan="5" style="border-left: 2px solid gray;"| | ||
! | !style="border-left: 2px solid black;"| | ||
!colspan="5" style="border-left: 2px solid gray;"| | |||
!style="border-left: 2px solid black;"| | |||
|- | |- | ||
|NES [[Controller port pinout|controller port]] 1 | |NES [[Controller port pinout|controller port]] 1 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|yes | |style="border-left: 2px solid black;"|yes | ||
|yes | |style="border-left: 2px solid gray;"|yes | ||
|yes | |yes | ||
| | | | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
| | |||
|- | |- | ||
|Famicom controller 1 internal connection | |Famicom controller 1 internal connection | ||
|style="border-left: 2px solid black;"| | |||
| | | | ||
|yes | |yes | ||
| | |style="border-left: 2px solid black;"|yes | ||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
| | |||
|- | |- | ||
|AV Famicom controller port 1 | |AV Famicom controller port 1 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|yes | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"| | ||
| | | | ||
| | | | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
| | |||
|- | |- | ||
|NES [[Controller port pinout|controller port]] 2 | |NES [[Controller port pinout|controller port]] 2 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"|yes | ||
| | |||
|yes | |||
|yes | |yes | ||
| | | | ||
| | | | ||
|yes | |yes | ||
| | |style="border-left: 2px solid black;"| | ||
|- | |- | ||
|Famicom controller 2 internal connection | |Famicom controller 2 internal connection | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
| | |style="border-left: 2px solid black;"| | ||
| | |style="border-left: 2px solid gray;"| | ||
| | | | ||
|yes | |yes | ||
| | | | ||
| | | | ||
|yes | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"| | ||
| | | | ||
| | | | ||
| | | | ||
|yes | |yes | ||
| | |style="border-left: 2px solid black;"| | ||
|- | |- | ||
|AV Famicom controller port 2 | |AV Famicom controller port 2 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"| | ||
| | |||
| | |||
| | | | ||
| | | | ||
| | | | ||
|yes | |yes | ||
| | |style="border-left: 2px solid black;"| | ||
|- | |- | ||
|NES [[Expansion port#NES|expansion port]] | |NES [[Expansion port#NES|expansion port]] | ||
|style="border-left: 2px solid black;"|yes | |||
|yes | |yes | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"|yes | |||
|style="border-left: 2px solid gray;"|yes | |||
|yes | |yes | ||
|yes | |yes | ||
|yes | |yes | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"|yes | |||
|style="border-left: 2px solid gray;"|yes | |||
|yes | |yes | ||
|yes | |yes | ||
|yes | |yes | ||
|yes | |yes | ||
| | |style="border-left: 2px solid black;"|yes | ||
|yes | |||
|- | |- | ||
|Famicom [[Expansion port#Famicom|expansion port]] | |Famicom [[Expansion port#Famicom|expansion port]] | ||
|style="border-left: 2px solid black;"|yes | |||
|yes | |yes | ||
|yes | |yes | ||
|yes | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"| | ||
| | |||
| | | | ||
| | | | ||
|yes | |yes | ||
| | | | ||
|style="border-left: 2px solid black;"|yes | |||
|style="border-left: 2px solid gray;"|yes | |||
|yes | |yes | ||
|yes | |yes | ||
|yes | |yes | ||
|yes | |yes | ||
| | |style="border-left: 2px solid black;"|yes | ||
|yes | |||
|- | |- | ||
!style="text-align: left;"|used by | !style="text-align: left;"|used by | ||
!colspan="3"| | !colspan="3" style="border-left: 2px solid black;"| | ||
!colspan=" | !style="border-left: 2px solid black;"| | ||
!colspan=" | !colspan="5" style="border-left: 2px solid gray;"| | ||
! | !style="border-left: 2px solid black;"| | ||
!colspan="5" style="border-left: 2px solid gray;"| | |||
!style="border-left: 2px solid black;"| | |||
|- | |- | ||
|[[Standard controller|Controller]] 1 | |[[Standard controller|Controller]] 1 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|yes | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"| | ||
| | | | ||
| | | | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
| | |||
|- | |- | ||
|[[Standard controller|Controller]] 2 | |[[Standard controller|Controller]] 2 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
| | |style="border-left: 2px solid black;"| | ||
| | |style="border-left: 2px solid gray;"| | ||
| | | | ||
|<ref>$4016 D2 is used by Famicom controller 2 for microphone input.</ref> | |<ref>$4016 D2 is used by Famicom controller 2 for microphone input.</ref> | ||
| | | | ||
| | | | ||
|yes | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"| | ||
| | | | ||
| | | | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|- | |- | ||
|Famicom expansion [[Standard controller|controller]] 1 | |Famicom expansion [[Standard controller|controller]] 1 | ||
|style="border-left: 2px solid black;"| | |||
| | | | ||
|yes | |yes | ||
| | |style="border-left: 2px solid black;"|yes | ||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
|yes | |yes | ||
| | | | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"|<ref>A Famicom expansion controller may connect the audio output signal to a headphone jack (for example: IQ502 joypad).</ref> | ||
|<ref>A Famicom expansion controller may connect the audio output signal to a headphone jack (for example: IQ502 joypad).</ref> | |||
|- | |- | ||
|Famicom expansion [[Standard controller|controller]] 2 | |Famicom expansion [[Standard controller|controller]] 2 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
|style="border-left: 2px solid black;"|yes | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
|yes | |yes | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
| | |||
|- | |- | ||
|NES [[Four Score]] controller 1 & 3 | |NES [[Four Score]] controller 1 & 3 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|yes | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"| | ||
| | | | ||
| | | | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
| | |||
|- | |- | ||
|NES [[Four Score]] controller 2 & 4 | |NES [[Four Score]] controller 2 & 4 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"| | ||
| | |||
| | |||
| | | | ||
| | | | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|- | |- | ||
|[[Four Score|Hori 4 Players Adapter]] controller 1 & 3 | |[[Four Score|Hori 4 Players Adapter]] controller 1 & 3 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|yes | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"| | ||
| | | | ||
| | | | ||
|yes | |yes | ||
| | | | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
| | |||
|- | |- | ||
|[[Four Score|Hori 4 Players Adapter]] controller 2 & 4 | |[[Four Score|Hori 4 Players Adapter]] controller 2 & 4 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
|style="border-left: 2px solid black;"|yes | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
|yes | |yes | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
| | |||
|- | |- | ||
|NES [[Zapper]] in port 2 | |NES [[Zapper]] in port 2 | ||
|style="border-left: 2px solid black;"| | |||
| | | | ||
| | | | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
| | |style="border-left: 2px solid gray;"|yes | ||
| | |||
| | |||
|yes | |yes | ||
| | | | ||
| | | | ||
| | | | ||
|style="border-left: 2px solid black;"| | |||
|- | |- | ||
|Famicom [[Zapper]] | |Famicom [[Zapper]] | ||
|style="border-left: 2px solid black;"| | |||
| | | | ||
| | | | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
|style="border-left: 2px solid gray;"|yes | |||
| | |||
| | |||
|yes | |||
|yes | |yes | ||
| | | | ||
| | | | ||
| | | | ||
|<ref>A Famicom zapper may use the audio output signal to emit gunshot sounds (for example: Casel Zapper).</ref> | |style="border-left: 2px solid black;"|<ref>A Famicom zapper may use the audio output signal to emit gunshot sounds (for example: Casel Zapper).</ref> | ||
|- | |- | ||
|NES [[Power Pad]] in port 2 | |NES [[Power Pad]] in port 2 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"|yes | ||
| | |||
|yes | |||
|yes | |yes | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
|- | |- | ||
|[[Power Pad#Family Trainer Mat|Family Trainer Mat]] | |[[Power Pad#Family Trainer Mat|Family Trainer Mat]] | ||
|style="border-left: 2px solid black;"|yes | |||
|yes | |yes | ||
|yes | |yes | ||
| | |style="border-left: 2px solid black;"| | ||
| | |style="border-left: 2px solid gray;"| | ||
| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
|yes | |style="border-left: 2px solid gray;"|yes | ||
|yes | |yes | ||
|yes | |yes | ||
|yes | |yes | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
|- | |- | ||
|NES [[Arkanoid controller]] in port 2 | |NES [[Arkanoid controller]] in port 2 | ||
| | |style="border-left: 2px solid black;"| | ||
| | | | ||
|yes | |yes | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"|yes | ||
|yes | |yes | ||
| | | | ||
| | | | ||
| | | | ||
|style="border-left: 2px solid black;"| | |||
|- | |- | ||
|Famicom [[Arkanoid controller]] | |Famicom [[Arkanoid controller]] | ||
| | |style="border-left: 2px solid black;"| | ||
|yes | |yes | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
| | |style="border-left: 2px solid gray;"| | ||
| | | | ||
| | | | ||
|yes | |yes | ||
| | | | ||
|yes | |style="border-left: 2px solid black;"|yes | ||
| | |style="border-left: 2px solid gray;"| | ||
| | | | ||
| | | | ||
|yes | |yes | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
|- | |- | ||
|[[Family BASIC Keyboard]] | |[[Family BASIC Keyboard]] | ||
|style="border-left: 2px solid black;"|yes | |||
|yes | |yes | ||
|yes | |yes | ||
| | |style="border-left: 2px solid black;"| | ||
| | |style="border-left: 2px solid gray;"| | ||
| | |||
| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"|yes | |||
|yes | |yes | ||
|yes | |yes | ||
|yes | |yes | ||
| | | | ||
|style="border-left: 2px solid black;"| | |||
|- | |- | ||
|[[Famicom 3D glasses]] | |[[Famicom 3D glasses]] | ||
| | |style="border-left: 2px solid black;"| | ||
|yes | |yes | ||
| | | | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
|style="border-left: 2px solid black;"| | |||
|style="border-left: 2px solid gray;"| | |||
| | | | ||
| | | | ||
| | | | ||
| | | | ||
| | |style="border-left: 2px solid black;"| | ||
| | |||
|} | |} | ||
<references/> | <references/> |
Revision as of 20:15, 1 January 2022
signal | output | Joypad 1 | Joypad 2 | audio output | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OUT2 | OUT1 | OUT0 | /OE1 | D4 | D3 | D2 | D1 | D0 | /OE2 | D4 | D3 | D2 | D1 | D0 | AUDIO | |
access method | write $0416 | [1] | read $0416 | [2] | read $0417 | |||||||||||
available at | ||||||||||||||||
NES controller port 1 | yes | yes | yes | yes | yes | |||||||||||
Famicom controller 1 internal connection | yes | yes | yes | |||||||||||||
AV Famicom controller port 1 | yes | yes | yes | |||||||||||||
NES controller port 2 | yes | yes | yes | yes | yes | |||||||||||
Famicom controller 2 internal connection | yes | yes | yes | yes | ||||||||||||
AV Famicom controller port 2 | yes | yes | yes | |||||||||||||
NES expansion port | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes |
Famicom expansion port | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | yes | ||||
used by | ||||||||||||||||
Controller 1 | yes | yes | yes | |||||||||||||
Controller 2 | yes | [3] | yes | yes | ||||||||||||
Famicom expansion controller 1 | yes | yes | yes | [4] | ||||||||||||
Famicom expansion controller 2 | yes | yes | yes | |||||||||||||
NES Four Score controller 1 & 3 | yes | yes | yes | |||||||||||||
NES Four Score controller 2 & 4 | yes | yes | yes | |||||||||||||
Hori 4 Players Adapter controller 1 & 3 | yes | yes | yes | |||||||||||||
Hori 4 Players Adapter controller 2 & 4 | yes | yes | yes | |||||||||||||
NES Zapper in port 2 | yes | yes | ||||||||||||||
Famicom Zapper | yes | yes | [5] | |||||||||||||
NES Power Pad in port 2 | yes | yes | yes | yes | ||||||||||||
Family Trainer Mat | yes | yes | yes | yes | yes | yes | yes | |||||||||
NES Arkanoid controller in port 2 | yes | yes | yes | yes | ||||||||||||
Famicom Arkanoid controller | yes | yes | yes | yes | ||||||||||||
Family BASIC Keyboard | yes | yes | yes | yes | yes | yes | yes | |||||||||
Famicom 3D glasses | yes |
- ↑ /OE1 is activated by reading $4016
- ↑ /OE2 is activated by reading $4017
- ↑ $4016 D2 is used by Famicom controller 2 for microphone input.
- ↑ A Famicom expansion controller may connect the audio output signal to a headphone jack (for example: IQ502 joypad).
- ↑ A Famicom zapper may use the audio output signal to emit gunshot sounds (for example: Casel Zapper).