been working more on this, but definitely need some outside expertise
i connected a desoldered output cable to a 4021 by attaching the colored wires to the directly to the usual pins: Y-3, O-9, R-10, B-11, W-16 (where the A button pin is 1 and the Vdd pin is 16). with just this i could successfully control a NES by tapping on pin 4 for up, pin 5 for down, etc. i assume this was me grounding each pin.
with only an unmodified controller plugged into the NES, I got normal behavior. when i piggybacked the modified chip on top of the controller chip, i got undefined behavior, usually as if someone was constantly pressing up. this happened even without plugging in the output cable from the modified chip.
this led to further experimentation. i started with a controller and a 4021. stacking the 4021 on the controller chip, with every 4021 pin touching its counterpart, led to normal behavior in the controller. i then bent back one pin at a time on the 4021, testing the piggybacked combination each time. the controller chip and the 4021 were thus connected on one fewer pin with each iteration.
16 shared; none unshared -- normal behavior
15 shared; Data (pin3) unshared -- normal
14 shared; Data (pin3), GND (pin11) unshared -- normal
13 shared; Data (pin3), GND (pin11), CLK (pin10) unshared -- normal
12 shared; Data (pin3), GND (pin11), CLK (pin10), Latch (pin9) -- error
on that last iteration, the controller again behaved as if someone was pressing and holding the up button. thoughts? is the latch indeed responsible? would i correct this behavior by bending the power supply pin on the 4021?
just saw during preview reply that nickmaynard got this exact arrangement to work; now i'm really stumped. does yours work with either controller plugged in to a system and the other not? how about both into the same NES?
edit: i realized during dinner that i am a dumbass and didn't unify grounds on this last iteration. let's see if that helps
Last edited by toomuchjuice (May 7, 2011 1:47 am)