# The Peripheral Expansion System (PEB): later rows Sources: **[CTD]** sections B.2 (expansion unit requirements), C (file management), D (DSR specification) and the PEB schematics; **[PES]** Peripheral Expansion System Theory of Operation and Technical Training Guide (TI, 1982-09-03, 112 pages, OCR layer); **[DSR]** DSR Specification v2.0 (1983); **[IOB]** I/O Bus Specification, drawing 1037185 (1979). All tier 2. ## Shape The PEB is a box of card slots joined to the console's I/O port by a cable and a "flex cable interface" card; each card answers memory at 4000-5FFF only while its CRU ROM-select bit is set, and owns 128 CRU bits at 1000-1FFE (memory-and-bus.md, CRU map). Two signals beyond the console's port: RDBENA* (enables the data-bus drivers at the console end for any memory cycle to a PEB card) and a burn-in disable line [CTD B.2.1]. Only interrupt level A (INTA*) is supported by the console [CTD B.2, line "THIS IS THE ONE YOU MUST USE"]. ## Rows (each a later milestone; each an add-on board or a card behind the I/O-port socket) | Row | What | Evidence in hand | Notes | | --- | --- | --- | --- | | 32K memory expansion | 8 KiB at 2000-3FFF + 24 KiB at A000-FFFF, on the 8-bit bus (so 4 wait states per access) | [CTD] A.3, B.1.2 maps; [PES] ch. on the memory card | needed by most assembly programs and Extended BASIC programs; no ROM | | Disk controller (TI, CRU 1100) | Western Digital FD1771 single-density controller, 8 KiB DSR ROM (two 4 KiB chips), up to three drives; "DSR ROMs / 1771 trap" and READY control in [PES] 12.2 | [PES] ch. 12; [CTD] C, D; DSR ROM SHA-1s in census.md | the FD1771 is a second chip with a family question of its own (other boards use WD177x/179x: an extraction candidate under the chip rule when a second board needs it) | | RS232/PIO card (CRU 1300/1500) | two TMS9902 UARTs and a parallel port | [PES] ch. on the RS232 card; TMS9902 data sheet (pinned in neither repository yet) | low priority | | p-code card (CRU 1F00) | 12 KiB DSR ROM (4 KiB + 2 × 4 KiB paged by CRU >1F80) and eight GROMs on their own GROM base | [PES] ch. 12 lines 1674-1993 | exercises the GROM base decoding (grom.md U11) | | Speech Synthesizer | not a PEB card: a sidecar on the I/O port (speech.md) | | its own add-on board | ## What the base board must offer for these rows (sockets) - `io_port`: every memory cycle (address, data, read/write, the MEMEN/DBIN/WE phases as the multiplexer produces them), every CRU cycle (CRUCLK, CRUOUT, CRUIN), READY from the card, EXT INT, LOAD, RESET, SBE, AUDIO IN; a card decides whether it answers. A pass-through card (the speech synthesizer passes the port on) implements the same socket on its far side. - `cartridge`: GROM bus (address writes, data reads/writes, READY), the 6000-7FFF ROM/RAM select, the write strobe a banked cartridge decodes. - `keyboard`, `joysticks`, `cassette`. - The DSR polling of CRU 1000-1F00 (16 reads of >4000, OBSERVED in MAME's bus census) must see "no card" as the open bus value the console's real port shows (U24).