Talk:Standard controller
Microphone
How to do microphone? --Zzo38 19:18, 16 September 2012 (MDT)
- Nevermind I found it on the other page it says $4016 bit2 is microphone. --Zzo38 19:19, 16 September 2012 (MDT)
SNES-in-NES reads
It says "all subsequent reads will return D=1 on an authentic controller but may return D=0 on third party controllers", and what happen on Super Nintendo controllers? --Zzo38 17:50, 27 September 2012 (MDT)
- After the first eight bits, the Super NES controller returns A, X, L, R, four zero bits, then all 1. --98.226.71.46 18:22, 27 September 2012 (MDT)
Bit deletion detection?
Official controllers have the correct 8 bits, then all 1s. Couldn't you detect the absence of a bit deletion by seeing if the 8th bit is 0 and the 9th bit is 1? This only works while right is not pressed, but ... —Lidnariq (talk) 12:12, 8 February 2013 (MST)
- Reading 9 bits to skip rereading if Right is not held could work provided that you're sure that the user isn't using a Four Score, an official Super NES controller, or an unlicensed controller that has all 0s after its report. The Four Score and Super NES controller have longer reports (24-bit and 16-bit respectively), but these reports likewise end with a transition from 0 to 1. In any case, in games that don't use players 3 and 4, it'd be quicker just to re-read than to look for the Four Score signature. --Tepples (talk) 13:34, 8 February 2013 (MST)
Open bus
Lidnariq: Some more details on the difference between 'x' and '0' in the $4016/$4017 diagrams would be nice, and on what M/F read as on NES. -Ulfalizer (talk) 01:22, 19 March 2013 (MDT)
- Done, but my presentation is lousy. I'm not certain if it's even possible to reunify the diagrams anymore.—Lidnariq (talk) 02:05, 19 March 2013 (MDT)
Famicom 2nd controller missing Select and Start
The article says
Button status for each controller is returned as an 8-bit report in the following order: A, B, Select, Start, Up, Down, Left, Right. The Select and Start buttons are completely missing on the second controller of the plain Famicom.
So reading $4017 bit 0 on a Famicom returns which one of the following?:
- a 6-bit report: A, B, Up, Down, Left, Right
- an 8-bit report: A, B, 0, 0, Up, Down, Left, Right
- an 8-bit report: A, B, 1, 1, Up, Down, Left, Right
- something else?
--Bavi H (talk) 17:23, 19 March 2013 (MDT)
- The 2nd of those three. I've updated the article to state this explicitly.—Lidnariq (talk) 17:58, 19 March 2013 (MDT)
Bit deletion in other input devices
Does bit deletion still do in controllers that don't use the shift registers (such as the light gun and keyboard)? From the instructions, it seems to me it is safe to use DPCM if using the light gun or keyboard, but I am unable to test this, and the article should probably be made clear. --Zzo38 (talk) 12:35, 25 August 2013 (MDT)
- The article does say that the CLK line is what causes bit deletions; devices that don't use it (such as the zapper, keyboard, data recorder, Oeka Kids tablet, &c) won't be affected. I'm uncertain how to edit this to make that more explicit. —Lidnariq (talk) 12:53, 25 August 2013 (MDT)
Distinguishing hardware variant
It says bit3 and bit4 of $4016 is "Open bus on traditional Famicom, all 0s on AV Famicom". Does this mean that a code like this might be able to distinguish the traditional Famicom from other hardware?
LDX #$17 LDA $3FFF,X AND #$18
I don't know exactly know how open bus works though, but maybe someone is able to test this. --Zzo38 (talk) 12:54, 7 January 2014 (MST)
- Yes, that is what it means. Well, not exactly that, because the page wrapping of the LDA abs,X should cause a read from $3F16 before the useful read, which will pre-seed open bus to whatever the PPU's internal open bus is. So I think something like
LDX #$FF STX $2002 LDA $3F17,X AND #$18
A controller MUST NOT toggle the button states on each strobe pulse; that'll break any game that rereads the controller.
Is this wiki targeted at controller manufacturers? Or is it for emulators that simulate turbo controllers? In all cases this sentence comes out weird in this context, especially with the strong emphasis on the all caps 'must not'.