Ok, i may be far off here, because i only used J5 for a few LEDs, but i was looking at the mbsid setup asm file, and it says
;; 1: J5 used for analog inputs - A0..A4 control Knob#1..#5 , A5..A7 are not used at all
Then i took a look in the MBSID manual, where there is a chapter on the front panel. Scrolling down to ‘Complete Control Surface — OSC section’, there you can see that the 5 knobs are named #1 to #5, and the description says:
The knob layer gives you access to 5 customizable parameters, which can be assigned to two different sound parameters, and which are also available as modulation sources. A Min/Max range can be specified for each knob individually. Assignments and ranges are stored within the patch structure - so, each patch can have its own set. This feature is intended for ergnomic usage during live playing, but also for easy MIDI automation (activate the CC function to send knob movements, so that they can be recorded with a sequencing software).
Then, i looked at the chapter about Lead Engine. Scrolling down to ‘KNoBs menu’ (there are a similar paragraph in the chapters for Bassline, Drums and Multi too):
Knob values can not only be changed within the KNB menu, but also with the 5 rotary encoders of the OSC assign layer. In addition, they can be controlled via analog pots connected to J5.A0..A4 (DEFAULT_J5_FUNCTION set to 1), and via MIDI, giving access to the parameters on a generic way (e.g. for automation). Knob1 is assigned to CC#1 (Modulation Wheel), and Knob2-5 to CC#16-19
In that same chapter it says everything needed to know about the parameters involed, how to adjust them to taste and evrything else.
I hope that you get your knobs working, so you can start tweak some nice sounds and enjoy your MBSID fully
But as i said in the start of the post, i did not play with this stuff myself, so i cross my fingers for your success.
PS. how did you connect these pots to J5? Which lugs on the pots goes to which pins on J5?