Forgetting about actual four player support entirely for the moment, what I want to know is what in the above code causes player 3 and player 4's input to go to controllers 1 and 2 with a famicom four player adapter attached. That's what I am trying to avoid, at least for now. The Four Score option doesn't interfere at all. I'm only reading from each register ($4016, $4017) 8 times right now, and am not even trying to get input from player 3 or 4. Four Score behaves for two players. Famicom does not. How are they different?
I don't see a setting in FCEUX for whether the famicom 4 player adapter that I'm having trouble with is in 2 or 4 player mode, nor have an actual famicom to test on. Is it an FCEUX quirk, or is there a wiki article about the famicom 4 player adapter I have missed that explains how its read from?
Am I correct in assuming when I read $4016, what's returned is something like this:
Code: Select all
%000000XY
Where Y is joypad 1's bit for the current button, and X is joypad 3's?