Connectors Commodore VIC 20
There are 2 types of power connecters, a 2 sprong 9 Volt AC and a 7 pin DIN connector.
The 2 pin connector is used on th first revision vic-20 mainboard, while the 7 pin DIN was used on the later vic-20 cr (cost reduced) mainboards.
You could use a Commodore 64 power supply on the 7 pin connector.
Audio / Video Connector
The +6 Volt on the video connector is used to power an external rf modulator.
Pin 4 and 5 are on most revisions connected together.
Pin 4 is often used to for the s-video mod
The userport PB0-PB7 is connected to the VIA 1 port B and is controllable by setting the right direction bits in the Data Direction Register Byte (DDRB) on address 37138 ($9112).
And writing or reading the port on address 37136 ($9110).