I'm updating the wiki to add some missing information and clarify some stuff that confused me the first time I was reading it.
I'm currently looking at the http://wiki.nesdev.com/w/index.php/Standard_controller page and the way the controller strobe works in particular. Does the following sound right?
Edit: s/bottom/button/
I'm currently looking at the http://wiki.nesdev.com/w/index.php/Standard_controller page and the way the controller strobe works in particular. Does the following sound right?
Quote:
Bits 2-0 of $4016/write are stored in internal latches in the 2A03/07. While $4016:0 (strobe) is high, the shift registers in the controllers are continuously reloaded from the button states, and reading $4016/$4017 will return the state of the first button (A) over and over. Once $4016:0 goes low, the reloading will stop. This is why a 1/0 write sequence is required to get the button states.
Edit: s/bottom/button/