ChipsI/O & supportParallel I/O (PIA/VIA/PPI) › MOS 6522 VIA

MOS 6522 VIA

1977

MOS Technology's Versatile Interface Adapter, offering parallel ports, timers and a shift register for 6502-based systems.

Machines

Reference & documentation

External technical references for programming MOS 6522 VIA and for writing emulators.

ResourceTypeNotes
MOS 6522 Preliminary Datasheet (Nov 1977) ↗DatasheetOriginal MOS spec: registers, timers, timing diagrams
WDC W65C22S VIA Datasheet (2004) ↗DatasheetModern CMOS variant; detailed electrical and timing specs
6522 Interrupt Sources & Priority ↗Interrupt listSeven IFR sources; bit-scan priority ordering
6522 VIA Register Reference (zimmers) ↗Memory mapAll 16 registers, addresses and bit meanings
MOS 6522 Datasheet - Pinout & Signals ↗Pinout40-pin package, port and control-line signals
6522 VIA Programming Guide (zimmers) ↗ProgrammingLatching, handshake, timer and shift-register modes
Investigating Interrupts (6502.org tutorial) ↗ProgrammingIFR/IER setup with timer ISR examples
6522 VIA Emulation Discrepancies (stardot) ↗ReferenceHardware-tested timer and IRQ cycle edge cases
MOS Technology 6522 - Wikipedia ↗ReferenceOverview of ports, timers, shift register, known bugs
6522 Interrupt Identification (6502.org) ↗SourceAssembly routine identifying the seven interrupt sources
6522 ACR Writes vs Timer IRQ (stardot) ↗Test suiteReal-hardware regression tests for emulator conformance