The wiki shows registers $4016/17 in two different ways.
1 -link-
2 -link-
- After all, how does $4016/17 work exactly, specially on reads? Could someone clarify it?
1 -link-
Code:
Input ($4016 write)
7 bit 0
---- ----
xxxx xxxS
|
+- Controller shift register strobe
Output ($4016/$4017 read)
7 bit 0
---- ----
xxxx xxxD
|
+- Serial controller data
7 bit 0
---- ----
xxxx xxxS
|
+- Controller shift register strobe
Output ($4016/$4017 read)
7 bit 0
---- ----
xxxx xxxD
|
+- Serial controller data
2 -link-
Code:
$4016 (R) ---4.3--0 Read data from controller port #1.
- After all, how does $4016/17 work exactly, specially on reads? Could someone clarify it?