# Start here The Commodore VIC-20 (VIC-1001 in Japan, VC-20 in Germany), 1980-81: a MOS 6502 at about 1 MHz, the MOS 6560 (NTSC) or 6561 (PAL) "VIC" for picture and sound, two MOS 6522 VIAs, 5K of RAM (3.5K free to BASIC), a 4-bit colour RAM, 20K of ROM (8K BASIC V2, 8K KERNAL, 4K characters), a 44-contact expansion port for cartridges and RAM, a user port, a Datasette port, a Commodore serial (IEC) port for the 1540/1541 drive and printers, and one VCS-style control port (PRG pp. 110-118, SCH-E). ## The machine in one paragraph The VIC generates the clocks. In phase 1 of every cycle it fetches one 12-bit word (a screen byte with its colour nybble, or a character pattern byte) through its own 14-bit address bus; in phase 2 the CPU reads or writes. Nobody waits: there is no DMA, no RDY, no cycle stealing (memory-map.md). VIA1 ($9110) carries the joystick, the serial inputs, the RESTORE key and the user port, and its interrupt is the CPU's **NMI**; VIA2 ($9120) scans the keyboard, drives the serial outputs and the tape, and its timer 1 is the 60 Hz **IRQ** (via.md). Cartridges are ROM chips on decoded 8K blocks, mostly BLK5 at $A000 with an autostart signature (expansion-cartridges.md). ## Evidence tags DOC (a manufacturer document), MEASURED (a measurement on real units, e.g. Mäkelä's), TEST ROM (a program's verdict on real units), OBSERVED (seen in a detector such as MAME), FITTED, HYPOTHESIS: as the family methodology. Document tags: PRG, VDS, SCH-E, TM, VICI, DSM, VIA-T, SY, VTP (sources.md). ## Map of these documents | If you need | Read | | --- | --- | | the map, decoding, colour RAM, open bus, RAM rows | [memory-map.md](memory-map.md) | | the 6560/6561: timing, registers, fetches, sound, colours | [vic.md](vic.md) | | the VIAs, their wiring and the shared `mos6522-python` | [via.md](via.md) | | cartridges and RAM expansions | [expansion-cartridges.md](expansion-cartridges.md) | | the Datasette | [cassette.md](cassette.md) | | the serial bus and the 1540/1541 | [drive-1541.md](drive-1541.md) | | domains, channels, speed and the no-JIT path | [domains-and-speed.md](domains-and-speed.md) | | judges and detectors | [validation.md](validation.md), [mame-oracle.md](mame-oracle.md) | | the ROM set and firmware | [census.md](census.md) | | where facts came from | [sources.md](sources.md), [provenance.md](provenance.md) | | what to build, in what order | [handoff-brief.md](handoff-brief.md) | ## Siblings (read-only) `../6502-python` (the CPU, pin `81e0eb6`), `../vectrex-python` (the 6522's first user, `docs/via.md`), `../c64-python` (tonight: the 1541, IEC, the VIC-II), `../bbcmicro-python` (tonight: two 6522s), `../a2600-python` and `../famicom-python` (6502 boards stepped per bus cycle).