# The expansion port, its sockets, and what is out of scope The 60-pin expansion connector "outputs the entire CPU bus, CPU control lines and selected inputs to the RF modulator" [TM]. On the redrawn schematic it carries A0-A15, D0-D7, `/RD`, `/WR`, `/MREQ`, `/IORQ`, `/M1`, `/RFSH`, `/WAIT`, `/INT`, `/NMI`, `/RESET`, the CPU clock, the unused memory selects (`$2000`, `$4000`), **`/MEMMAPOVR` and `/IOMAPOVR`** (inputs that switch off the console's two decoders), an audio input and the video switch for an external picture [SCH sheets 2, 7, 9]. Dan Boris's tracing (sheet 7, "Expansion Connectors", pins 1-60) lists the same bus and control lines, the CPU clock, `EN_20`/`EN_40`, `EX_AUD`, `EX_VID`/`EX_VID_EN`, a VDP reset, the spinner interrupt node `EX-9`, and the decoder disables under his names `EX_DEC_EN` (memory) and `EX_IO_EN` (I/O) (sheet 2). I/O ports `$00-$7F` are free for it (the console decodes only A7 high). ## Sockets (the family's add-on shape) The base board defines these and ships test-only fakes; an add-on board pins the base and plugs in. With every socket empty the board must behave byte for byte as it does when tagged. | Socket | Line(s) | Who uses it | | --- | --- | --- | | `MemoryOverride` | claim a read or write anywhere in `$0000-$7FFF` before the console's decode | Super Game Module (RAM over the BIOS and over `$2000-$7FFF`), ADAM | | `IOPorts` | claim ports `$00-$7F` | Super Game Module (`$50-$53`, `$7F`), ADAM (`$20-$7F`) | | `AudioSource` | a sample stream summed with the SN76489A | Super Game Module's AY-3-8910 | | `InterruptLines` | pull `/INT`, `/NMI` | MAME routes both from its expansion device; no base-library user | | `WaitLine` | hold the CPU | none known | | `VideoSwitch` | replace the picture | Expansion Module 1 (out of scope) | | `ControllerPort` x2 | the 9-pin ports: strobes in, 5 inputs and 2 spinner phases out | hand controller, Super Action Controller, Roller Controller, driving module ([controllers.md](controllers.md)) | | `CartridgeSlot` | accesses to `$8000-$FFFF` with the four selects (a read returns the cartridge's byte; a write is seen as an access with no way to tell it from a read, plus a write hook for boards modelled the emulators' way) | [cartridge.md](cartridge.md) | ## Super Game Module (Opcode Games, 2012): a later add-on From MAME's `expansion/sgm.cpp` (BSD-3-Clause; tier 5). Gearcoleco's source was read to agree before the 2026-11-14 rule (HYPOTHESIS for that agreement; its source is no longer fetched, 2026-11-24). Opcode's own specification was not fetched: - **AY-3-8910** at 1.789772 MHz (crystal / 4): port `$50` register select, `$51` data write, `$52` data read. - **24K RAM** over `$2000-$7FFF`, enabled by port `$53` bit 0 (it replaces the console's 1K and its mirrors). - **8K RAM** over `$0000-$1FFF` in place of the BIOS, when port `$7F` bit 1 is **0**. - At reset both are off: an unaware cartridge sees a plain console. Ports `$53` and `$7F` are the ADAM's memory-control addresses, by design: the module makes a ColecoVision look like an ADAM's memory to a game. The family already has the chip: `ay8910-python` (private, `5abe2df`, AY-3-8910/YM2149/Sunsoft 5B as variants, judged against a die model). The add-on would be `colecovision-sgm-python` or a package of this repository behind the sockets (open decision 6). **The local library holds no image that needs it** (47 entries of MAME's homebrew list do; none is in our sets). ## Out of scope **Expansion Module 1, the Atari 2600 adapter.** A complete 2600 (its own 6507, TIA, RIOT and cartridge slot) in a box that borrows the ColecoVision's power, RF modulator and video switch. It runs no ColecoVision code and the ColecoVision runs none of its. The family's 2600 is `a2600-python`; emulating the module would mean running that board and flipping the `VideoSwitch` socket. Not planned. **Expansion Module 2** is the driving module: a controller, in scope with the controllers. **The ADAM** (Expansion Module 3, or the stand-alone computer) is a different machine built around the same four chips. What it adds, from MAME's `adam.cpp` header and the ADAM Technical Reference Manual (pinned; read only for this list): - 64K RAM in place of 1K, with a memory controller (the manual's port table: `7FH` "Memory Map Control"; MAME decodes the whole block `$60-$7F` to it) that switches the lower 32K between the SmartWriter ROM, RAM, the OS-7 ROM and expansion RAM, and the upper 32K between RAM, the cartridge and expansion ROM/RAM; - its own ROMs: EOS (the operating system, copied to the top 8K of RAM at boot), SmartWriter (the word processor), on top of OS-7; - **ADAMnet**: a serial bus run by a master 6801 microcontroller, with a 6801 in every device (keyboard, daisy-wheel printer, two data-pack tape drives, disk drives); the Z80 talks to it through device control blocks in RAM and port `3FH` ("Network reset; EOS enable" in the manual's table; MAME decodes the block `$20-$3F` to ADAMnet). Emulating it means a 6801-family core (the family has `m6800-python`; the 6801 adds a timer, serial port and on-chip ROM) and the devices' mask ROMs (the local MAME sets include `adam.zip`, `adam_kb`, `adam_ddp`, `adam_prn`, `adam_fdc`); - three internal slots (the manual's table lists an optional modem at `5EH`-`5FH`, an optional auto dialer at `1EH` and "expansion connector #2" at `4FH`; MAME models a 64K memory expander and others as slot cards); the manual reserves `80H` through `FFH` "for ColecoVision use"; - NMI and the VDP are as on the console, so an ADAM board would pin this board's chips, not this board: its memory decode replaces the console's. It would be a third consumer of the video chip.