VIC 20

From Grahams Wiki
Jump to: navigation, search

Contents

Specifications

Memory map

Hardware

pinouts

Expansion port

   1   2   3   4   5   6   7   8   9   10  11  12  13  14  15  16  17  18  19  20  21  22  
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ | 
|                                                                                         |
| +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ | 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   A   B   C   D   E   F   H   J   K   L   M   N   P   R   S   T   U   V   W   X   Y   Z


Pin (top) Desc pin (bottom) desc
1 Gnd A Gnd
2 D0 B A0
3 D1 C A1
4 D2 D A2
5 D3 E A3
6 D4 F A4
7 D5 H A5
8 D6 J A6
9 D7 K A7
10 /Blk 1 ($2000-$3FFF) L A8
11 /Blk 2 ($4000-$5FFF) M A9
12 /Blk 3 ($6000-$7FFF) N A10
13 /Blk 5 ($A000-$BFFF) P A11
14 /Ram 1 ($0400-$07FF) R A12
15 /Ram 2 ($0800-$0BFF) S A13
16 /Ram 3 ($0C00-$0FFF) T /IO2 ($9800-$9BFF)
17 VIC R/W U /IO3 ($9C00-$9FFF)
18 CPU R/W V S02 (system clk 2)
19 /IRQ W /NMI
20 n/c X /Reset
21 +5V Y N/C
22 0v Z 0v

Audio/video

Din5-nocenter.png

Pin Desc Electrical
1 +6V 10ma Max
2 Video low
3 Gnd
4 Video high
5 Audio

Serial

DIN6.png

Pin Desc Job
1 SERIAL SRQ Serial service request.
2 Gnd Signal ground
3 Serial ATN Device needs servicing...
4 Serial Clk Clock (Bi-directional)
5 Serial data Data (Bi-directional)
6 Serial Reset Reset.

See https://www.c64-wiki.com/index.php/Serial_Bus

Cassette

The top and bottom pins of the connector are joined. This is the same as the Vic 20.

2x6edgeconnector.png

Pin Desc
1 Signal ground
2 +5v power
3 Motor
4 Read
5 Write
6 Sense

Userport

   1   2   3   4   5   6   7   8   9   10  11  12    
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ | 
|                                                 |
| +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ +-+ | 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   A   B   C   D   E   F   H   J   K   L   M   N  

Note, the PB and CB pins are directly connected to the PB of the VIA chip 1.

the Port is as $9110 and the DDR is at $9112.


Pin (top) Desc pin (bottom) desc
1 Gnd A Gnd
2 +5v (100mA max) B CB1
3 /Reset (Will force a restart) C PB0
4 Joy 0 D PB1
5 Joy 1 E PB2
6 Joy 2 F PB3
7 Light pen (Also acts as Joystick fire) H PB4
8 Cassette switch J PB5
9 ATN (Serial ATN in) K PB6
10 +9V AC (+ phase) L PB7
11 +9V AC (- phase) M CB2
12 Gnd N Gnd

Gameport

Looking at the cable:

     1 2 3 4 5
  |-------------|
   \ o o o o o /
    \ o o o o /
     ---------
      6 7 8 9
Pinout
Pin # Joystick Paddle light pen
1 /up n/c n/c
2 /down n/c n/c
3 /left Paddle fire X n/c
4 /right Paddle fire Y n/c
5 n/c Y pot n/c
6 /button Light pen in
7 +5v max 100ma
8 ground
9 n/c X Pot n/c

Power

Din7.png

(At the cable connector...)

Pin Desc Job
1 Gnd
2 Gnd (for the 5v supply)
3 Gnd
4 +5v (OR n/c)
5 +5V 7.5A
6 9vAC in (-)
7 9vAC in (+)