Parallel Bus Interface (PBI) and Enhanced Cartridge Interface (ECI)

Year
1983
Type
Interface
Category
Technical reference — XL/XE expansion bus
Manufacturer
Atari, Inc. / Atari Corp.
Two photos: the wide 'Parallel Bus' edge connector on the back of an 800XL, and the cartridge slot beside the small 'Expansion' connector on a 130XE

Overview

The cartridge slot only reaches three small windows of memory and has no interrupt line, so for the XL range Atari added a true expansion bus. The Parallel Bus Interface (PBI) is a 50-contact card-edge connector on the back of the 600XL and 800XL (and inside the unreleased 1400XL/1450XLD). It carries the full 16-bit address bus, the data bus, interrupt and DMA-style control lines, and lets a peripheral replace part of the OS with its own driver ROM. Atari planned to use it for the 1090 XL Expansion System, the 1064 memory module for the 600XL, a CP/M module, and the 1450XLD's built-in disk drive.

When the XE series replaced the XLs in 1985, the PBI was dropped. The 130XE, 800XE and later 65XE boards have the Enhanced Cartridge Interface (ECI) instead: a small 14-contact connector right beside the cartridge slot that supplies the PBI signals the cartridge slot lacks. Together, cartridge slot plus ECI do everything the PBI does, so third-party makers sold one device with two adapters.

How a parallel device works

Address Use
$D1FF (write) PDVS device-select register: set bit n to select parallel device n (0–7), write 0 to deselect all
$D1FF (read) PDVI interrupt status: bit n = 1 means device n is requesting an IRQ
$D100–$D1FE The selected device's hardware registers
$D600–$D7FF Device RAM, ROM or I/O
$D800–$DFFF Device driver ROM, replacing the OS floating-point package while the device is selected

When a program sets a bit in PDVS, the device asserts /MPD (Math Pack Disable) and its own 2 KiB firmware appears where the floating-point routines normally live. The XL/XE OS has built-in support for this scheme, so a device's driver travels in the device itself — a hard-disk interface, for example, can boot the machine as D1: with no driver disk. A device can also overlay RAM anywhere by pulling /EXTSEL, which inhibits the computer's own memory for that access. The catch, noted in the OS documentation, is that the floating-point package is not available to parallel-device code, because the device's ROM has displaced it.

Atari's own design documents reserved $D600–$D7FF in 32-byte slots per device, required devices to keep working with a cartridge inserted, and gave parallel devices priority over SIO devices of the same generic name. They also listed the peripherals Atari had in mind: disk controllers, 300/1200-baud modems, Votrax speech, an 80-column display, IEEE-488, an Apple card, a VCS adapter, hard disk and Corvus interfaces, a RAM disk, battery-backed CMOS RAM, even Ethernet. Early drafts call the target computer the "S-16" ("Sweet 16"), and their pin numbering differs from the connector that shipped.

For most owners the PBI stayed a mystery until Antic's four-part "Parallel Bus Revealed" series (January–April 1985) by Earl Rice, formerly head of user-group support at Atari and project leader of the cancelled 1450XL. It walked readers through the decode logic a home-built device needs — respond to EXTENB, decode the $D1xx registers, the 2 KiB ROM at $D8xx–$DFxx and the select latch at $D1FF, and return MPD when the ROM is addressed — and quoted transfer rates around 100,000 bytes per second.

PBI pinout (600XL / 800XL)

Pins Signals
3–9, 11–18, 20 A0–A15 (outputs)
21–28 D0–D7
2 /EXTSEL external select (input)
31 Buffered Φ2 clock
34 /RST reset (output)
35 /IRQ (input)
36 RDY (input) — can halt the CPU
38 EXTENB external decoder enable
40, 41, 44 /REF, /CAS, /RAS (DRAM timing)
43 /MPD Math Pack Disable (input)
46 Latched R/W
47, 48 +5 V on the 600XL; reserved on the 800XL
49 Audio in
1, 10, 19, 29, 30, 32, 42, 45, 50 Ground

ECI pinout (130XE, 800XE, later 65XE)

Pin Signal Pin Signal
1 /EXTSEL (input) A Reserved
2 /RST (output) B /IRQ (input)
3 D1xx chip select (input) C /HALT (input)
4 /MPD (input) D–F A13, A14, A15
5 Audio in H Ground
6 /REF
7 +5 V

The ECI needs only the extra lines: the address bits A0–A12 and the data bus come from the adjacent cartridge slot.

Devices

Of Atari's own PBI products, the 1090 expansion box and the CP/M module never shipped; the 1064 memory module for the 600XL did. Third parties used the bus far more: Supra's hard-disk interface (with a separate "XE-XL Buss" adapter for cartridge+ECI), the BTL SASI hard-disk adapter (offered with a PBI or a cartridge+ECI connector), ICD's Multi I/O board (RAM disk, SCSI, printer and serial ports), and CSS's Black Box, which has both connectors. Modern devices continue the tradition.

Using it today / Known issues & tips

  • Know which 65XE you have. Early 65XEs (NTSC and PAL) have no ECI; later boards, shared with the 800XE and late 130XE, include it. The 1200XL has neither PBI nor ECI.
  • The connectors are not compatible. PBI devices need an adapter on an XE, and vice versa.
  • Careful with indexed reads. A stray read of $D5xx while addressing $D6xx can switch a cartridge bank; PBI registers sit right next to the cartridge control area.
  • 130XE extended memory uses the same internal RAM-inhibit signal, so a parallel device can overlay it.
  • Emulation. Altirra emulates several PBI devices (Black Box, ICD MIO, the 1090 80-column card and the 1400XL/1450XLD internals).

Credits