The Commodore Serial Bus

Often called "SIO" by hobbyists, though Commodore itself just called it the serial bus — the real SIO port belongs to Atari's 8-bit computers.

The 6-pin DIN connector on the back of the C64 is how it talks to disk drives, printers and other peripherals. Officially it's the serial bus (sometimes called the IEC bus, since it borrows its connector and some electrical ideas from IEC specifications, though it was never an actual IEC standard). Up to several devices daisy-chain off a single port, each with its own address, with cables running from the computer to the first drive and on to the next.

Pinout

The connector is a 6-pin DIN:

  • Pin 1 — SRQ: service request, unused on the C64 (repurposed as a fast clock line on the C128)
  • Pin 2 — GND: ground
  • Pin 3 — ATN: attention — the computer pulls this to address a specific device
  • Pin 4 — CLK: clock
  • Pin 5 — DATA: data
  • Pin 6 — RESET: resets attached devices

All signals are active low, and every device exposes two of these ports so it can be chained to the next one down the line.

Why it's so slow

This is the bus's defining trait, and the story behind it is one of the more famous footnotes in Commodore history. The serial bus was designed around the 6522 VIA chip's built-in hardware shift register, which should have moved data about as fast as the older parallel bus on the PET. Shortly before the VIC-20 shipped, with the boards already in production, engineers discovered a timing bug in the 6522: if an edge arrived within a few nanoseconds of the system clock's own edge, a bit could silently get lost. There was no time left to fix the hardware, so Commodore's engineers rewrote the KERNAL to shift data one bit at a time in software instead, with heavy handshaking on every single bit.

The C64 moved on to the improved 6526 CIA chip, whose shift register worked correctly — but the 1541 disk drive kept the older 6522 for compatibility with existing VIC-20 peripherals, so the slow software routine stuck around. The result became legendary: loading a full disk's worth of data over the stock bus could take minutes, which is exactly why an entire industry of "fastloader" cartridges and custom drive firmware (like JiffyDOS) sprang up to bypass the stock KERNAL routines, in some cases reaching well over ten times the stock speed. The Commodore 128, together with the 1571 and 1581 drives, later added a proper fast-serial protocol that finally fixed the problem in hardware.

Versatility

Slow as it is, the bus's addressing scheme is flexible: every device listens for its own address (floppy drives default to 8, with a second drive or printer typically set to 9 or above), so several peripherals can share the same two-wire chain without any extra cabling. Over its lifetime it carried everything from the classic 1541/1571/1581 floppy drives to dot-matrix printers like the 1525 and MPS-801, and it's still exactly what modern SD-card drive emulators (like the SD2IEC and Pi1541) speak to this day.

What plugged in here

  • Floppy disk drives — 1540, 1541, 1571, 1581
  • Printers — 1525, MPS-801 and other Commodore-compatible dot-matrix models
  • Modern replacements — SD2IEC, Pi1541 and similar SD-card-based drive emulators, which speak the same protocol (including the faster variants)