Controller port registers: Difference between revisions

From NESdev Wiki
Jump to navigationJump to search
m (Created page with '=== NES === {| border=1 ! Addr || <tt>7654.3210</tt> || Function |- |rowspan=2| $4016 (W) || <tt>----.---A</tt> || Output data (strobe) to both controllers. |- | <tt>----.-CBA</t...')
 
(merge into Controller reading)
 
Line 1: Line 1:
=== NES ===
#REDIRECT [[Controller reading]]
{| border=1
! Addr || <tt>7654.3210</tt> || Function
|-
|rowspan=2| $4016 (W) || <tt>----.---A</tt> || Output data (strobe) to both controllers.
|-
| <tt>----.-CBA</tt> || Output data to the expansion port.
|-
|rowspan=2| $4016 (R) || <tt>---4.3--0</tt> || Read data from controller port #1.
|-
| <tt>---4.3210</tt> || Read data from expansion port.
|-
|rowspan=2| $4017 (R) || <tt>---4.3--0</tt> || Read data from controller port #2.
|-
| <tt>---4.3210</tt> || Read data from expansion port.
|}
 
=== Famicom ===
{| border=1
! Addr || <tt>7654.3210</tt> || Function
|-
|rowspan=2| $4016 (W) || <tt>----.---A</tt> || Output strobe to both controllers.
|-
| <tt>----.-CBA</tt> || Output data to the expansion port.
|-
|rowspan=2| $4016 (R) || <tt>----.-M-0</tt> || Read data from controller #1 and microphone state from controller #2
|-
| <tt>----.--1-</tt> || Read data from expansion port.
|-
|rowspan=2| $4017 (R) || <tt>----.---0</tt> || Read data from controller #2.
|-
| <tt>---4.3210</tt> || Read data from expansion port.
|}

Latest revision as of 23:28, 20 April 2019

Redirect to: