# Cartridges ("Videocarts") A Channel F cartridge has no address bus to plug into: it carries **F8 memory chips** that sit on the ROMC lines and the data bus like the console's BIOS PSUs, each answering its own page and each keeping its own PC0, PC1 and DC0 (`../f8-python/docs/romc-and-the-psus.md`). The connector (J5 on SCH sheet 1) brings ROMC0-4, DB0-7, phi, WRITE, INT REQ and power. ## Kinds (OBSERVED: MAME's software list, `hash/channelf.xml`, CC0-1.0, via `mame -getsoftlist channelf`; VW pages as cited) | MAME `slot` | Titles in No-Intro | ROM | Extra hardware | How it is reached | | --- | --- | --- | --- | --- | | `std` | 28 | 2, 3 or 4 KB at 0800h | none | memory reads through PC0/DC0 | | `maze` | 2 (Maze, VC-10, and its alt) | 2 KB | 1 K x 1 static RAM (2102) | I/O ports 24h/25h (VW "Port") | | `hangman` | 3 (Hangman VC-18, Ordtaevling, Rat' Mal) | 3 KB | 1 K x 1 RAM | I/O ports 20h/21h (VW) | | `chess` | 1 (Schach, SABA Videoplay 20) | 6 KB | 2 KB RAM (four 2114) at 2800h-2FFFh; an LED (libpressf and VW mention it) | memory reads and writes through DC0 (VW "Schach RAM") | | `multi_old`, `multi` | 0 (homebrew, 256 KB, not in No-Intro) | 256 KB EPROM, banked | Schach-style RAM; bank latch written at 3000h | memory | ## What sits on the cartridge (partly U) - **Which F8 chip each cartridge uses is not recorded anywhere the family has read.** A 2 KB `std` cartridge is two F3851s (1 KB each) or one F3856 (2 KB). This matters: an F3856 has DC1 and swaps it on XDC, an F3851 does not (`../f8-python`, U12 settled), so a game that uses XDC behaves differently depending on the chips (the console's BIOS PSUs are F3851s). U7 in the brief; photographs of opened cartridges would settle it per title. - **RAM read through DC0 needs a memory chip that follows ROMC**: a 2114 SRAM has an address bus, the F8 has none, so the Schach cartridge must carry an interface that keeps its own PC0/DC0 (an F3853 SMI, or an F3856 used as interface, or custom logic). HYPOTHESIS: an F3853. MAME has an F3853 device (`machine/f3853.cpp`, BSD-3-Clause line, closed). The 3853 also brings a timer and a programmable interrupt (ports 0Ch-0Fh), which homebrew could use through the cartridge's INT REQ pin. - **The port RAMs** (Maze, Hangman): the ports must belong to a cartridge chip that decodes the port address on ROMC 1A/1B, i.e. an F3851 whose port base is 20h or 24h (mask option) with the 2102 on its port pins, or discrete logic. U8. - The homebrew multi-cart's latch at 3000h is written as memory (an ST through DC0), so its logic also follows ROMC (its builders reused Schach boards: VW "Homebrew:RAM test"). ## Format and start-up - No-Intro images are raw ROM bytes from 0800h up; sizes 2,048 (26), 3,072 (4), 4,096 (3), 6,144 (1) ([census.md](census.md)). There is no header in the file; the board needs the cartridge kind, taken from the image's SHA-1 (a table generated from the CC0 software list is allowed) with a size-based default. - The first byte at 0800h is **55h**, "valid cart indicator", and the code starts at 0802h (VW homebrew listings: `.byte $55, $FB` then code; the multi-cart's `db $55`). The BIOS checks for it and runs its built-in games when it is absent (MAME screenshots: the BIOS alone shows its "G?" prompt; with a cartridge the cartridge's screen). - Cartridges call BIOS routines (VW listings: `pushk = $0107`, `popk = $011E`), so a cartridge never runs without the BIOS (bios.md).