* add cap filters to pin 7 of the port. Basically filter the power going out to the joystick so it isn't as noisy when it comes back thru the pot.
* Increase decoupling on pin 40 of UB7. If the 6560 has a noisy supply, the internal A/D will have noise no matter how clean you make the POTX and POTY inputs.
* Instead of removing the caps that were on POTX and POTY and replacing with different values, you might want to consider having a couple in parallel (ie- 0.001 and 0.01). That will filter noise at different frequencies.
Not sure how fast the POTX and POTY ports are sampled, but if you increase the capacitance too much it may be a problem.
Anyhow, I'm still on the road so no way to experiment on my machine to see what helps. Good luck!
The capacitors on the POTX and POTY lines are part of the RC timing circuit, the paddles being the R part, that is used to determint the paddle position. Altering the value of these capacitors will alter the measurement range of the paddles.
I'm guessing that a good start for fixing the jitter would be to filter the +5V paddle supply with a series 100 ohm resistor and a parallel 470uF electrolytic capacitor.
This could be done on a short male/female adapter that goes between the VIC and the paddles saving modifying either.
Great help thanks. I hadn't considered the power supply.
I especially like the external adapter idea as I just purchased a set of 50 female and 50 male 9 pin D connectors for <£12 for a maplin speech card rework using 8 bit baby and SP0256, it uses the adaptor for access to potx.
If the external power cleanup works I will aim to develop a low cost fix for about 20-30 Vics to go between port and paddles.
Vic20-Ian
The best things in life are Vic-20
Upgrade all new gadgets and mobiles to 3583 Bytes Free today! Ready
I've considered it but there's not much that can easily be done if it is.
You could add extra filtering to the VIC chip supply and, if that doesn't help, add series resistors to the address lines and P01 to reduce the driving current. This could also help with reducing noise on the video output.
The problem with this is it means either modification to the VIC board or mounting the VIC chip on a small daughterboard with all the problems that entails.