MOS Technology 6522
I/O controller chip for 6502 microprocessors
The MOS Technology 6522 is an integrated circuit that manages input and output for 6502 family processors. Designed by MOS Technology, it features timers and ports for data transfer. It powered many 1980s computers and game systems.
- Features two 16-bit timers and an 8-bit shift register
- Used in Apple Macintosh, BBC Micro, and Commodore computers
- Successor to the 6532 RIOT and predecessor to the CIA
- Second sourced by Rockwell and Synertek
- CMOS version W65C22 produced by Western Design Center
What it is
The MOS Technology 6522 Versatile Interface Adapter, often called the VIA, is a chip that handles input and output tasks for computers using the 6502 processor family. MOS Technology designed and built this component to act as a bridge between the central processor and external devices. It offers programmable ports for data exchange, precise timing functions, and serial communication capabilities. Unlike its predecessor, the 6532 RIOT, the VIA does not contain any built-in memory. This design choice allowed it to focus entirely on managing data flow and control signals efficiently. It became a standard part of many computing systems in the 1980s due to its flexibility and robust feature set.
How it came about
MOS Technology created the 6522 as an improved version of the earlier 6532 RIOT chip. The goal was to provide better input and output control without including static or read-only memory. Other manufacturers, such as Rockwell and Synertek, also produced the chip under license. Later, the Western Design Center developed a high-speed CMOS variant known as the W65C22. This evolution helped extend the life of the design in modern embedded applications. The chip served as a key component until more advanced custom interface adapters replaced it in later systems.
Inside the chip
The chip features two eight-bit parallel ports that can send or receive data. Each bit direction is programmable, allowing flexible connections to various hardware. Four control lines manage handshaking and interrupts, ensuring smooth data transfer. Two sixteen-bit timers handle counting tasks. One timer can generate square waves or pulses, while the other can count external events. An eight-bit shift register supports serial communication, converting data between serial and parallel formats. This register can use internal or external clock sources. The interrupt request output allows the chip to signal the processor when tasks complete or errors occur.
How it was made
MOS Technology originally manufactured the device using NMOS technology. Second sources included Rockwell and Synertek, which helped meet demand during the peak years of home computing. The Western Design Center later produced a CMOS version, the W65C22, which offered lower power consumption and higher speeds. Some variants addressed specific electrical issues found in the original design, such as the output driver type for interrupt signals. These manufacturing variations ensured the chip remained available for legacy and new designs alike.
Where it went
This chip appeared in many popular computers from the 1980s. Commodore machines relied heavily on it for peripheral control. Apple used it in the Apple III and the original Macintosh. The BBC Micro and Oric systems also incorporated the VIA into their designs. Beyond computers, it powered the Vectrex video game console and the digital dashboard of Corvettes from 1984 to 1989. Its ability to handle diverse input and output tasks made it suitable for both consumer electronics and automotive applications.
Versions and family
The W65C22 by Western Design Center is a notable CMOS successor. It corrected some electrical characteristics, such as the interrupt pin behavior, to prevent circuit conflicts. California Micro Devices produced the G65SC22, which fixed a serial shift register bug present in the original NMOS version. The MOS 6526, used in later Commodore models, also resolved this issue. These variants maintained compatibility while improving reliability and performance for specific use cases.
Why it matters
The 6522 defined how many early personal computers handled external devices. Its widespread adoption in major brands like Apple and Commodore established it as a de facto standard for I/O control in the 6502 ecosystem. Engineers valued its programmable nature, which reduced the need for additional discrete logic components. The chip's longevity is evident in its continued production in CMOS form for embedded systems today.
Problems and reception
Designers noted a defect where rapid clock edges could cause data loss in the shift register. A hardware workaround involving a flip-flop was often required to ensure reliable serial communication. Another issue involved potential register corruption when used with non-6502 processors like the Motorola 68000. These bugs were addressed in later CMOS versions and alternative chips, but they remain a known aspect of the original NMOS implementation.

Questions people ask about MOS Technology 6522
What is the main function of the MOS 6522?
It acts as an input and output controller for 6502 microprocessors. It manages parallel data ports, timers, and serial communication through a shift register.
Which famous computers used this chip?
It was used in the Apple III, Apple Macintosh, BBC Micro, Commodore machines, and the Oric-1. It also appeared in the Vectrex game console.
Does the 6522 have internal memory?
No, unlike the earlier 6532 RIOT, the 6522 does not include any internal static RAM or ROM. It focuses solely on interface and timing functions.
Are there modern versions of this chip?
Yes, the Western Design Center produces the W65C22, a high-speed CMOS version. It fixes some electrical issues and is still used in embedded projects.
Good reading and sources
- MOS Technology 6522 on WikipediaEncyclopedia
- More photos on Wikimedia CommonsPhotos
- Wikidata recordOpen data
The facts on this page come from the Wikipedia article "MOS Technology 6522", written by its contributors and used under the CC BY-SA 4.0 licence, and from its Wikidata record (CC0). EveryChip rewrote the text in its own words, with AI assistance, and compares every page with the article to make sure no passage is copied. It may be reused under the same CC BY-SA 4.0 licence with a link back.
It may contain mistakes, and figures change over time. Nothing here is investment or buying advice. If something is wrong, tell us. Last refreshed 2026-11-14.
Like MOS Technology 6522
All microcontrollers
🇺🇸 United StatesMOS Technology 6502
Low-cost 8-bit microprocessor that powered the home computer revolutionCPU · Other · 1975
More from MOS Technology
All of them
WorldMOS Technology 8502
An 8-bit CPU from MOS Technology that powered the Commodore 128CPU · 8-bit
🇺🇸 United StatesMOS Technology TED
Video and sound chip for Commodore 16 and Plus/4 computersAnalog