Monday, December 21, 2009
NES - Arduino shield bit shift / potentiometer test
The potentiometer test worked without a hitch. The first video is running a diagnostic tool I found on nesdev (nestress). The problem was that the test would end when you hit select and start on either controller, so as I was testing the full range of values it would just quit! So I wrote up my own code in the second video to spit out the values. I had to make a few adjustments to the Arduino code to ensure that all of the outputs would be changed simultaneously, otherwise it's possible that the NES could latch halfway through a change. I'll post all code/schematics once I sort everything out, until then feel free to contact me if you have any questions!
I've also been working on additional input via the second port to GlitchNES. Right now I have the potentiometer cycle the first color of the palette, it's not much different than changing the hue on your TV, but it's still pretty cool. I'll take some pictures of it tonight.