# Key customs, protection and the other customs ## What is known - Every System 1 game has a **key custom** on its ROM board, a small device the main program reads and writes; a board with the wrong key does not run the game (common repair knowledge; no document in hand). MAME 0.285 has **no device** for the keys: no key appears in any set's device list or ROM list (OBSERVED, `-listxml`), so MAME emulates them inside the driver, and their behaviour is in `namcos1.cpp`/`namcos1_m.cpp` (BSD-3-Clause, closed for this Phase 0). - HYPOTHESIS: the key sits at the CUS117 space's $2F8000-$2F9FFF (an 8 KB read/write handler in a region that holds nothing else MAME names; [memory-map.md](memory-map.md)). - The chip numbers per game (the "CUS1xx" key parts) were **not found** in any permitted source: the multigame.com custom-chip index (contributors Clay Cowgill, Greg Kam, Brian Johnson, Dave Grohowski, Kevin Klop; updated 2000) covers earlier Namco boards only; system16.com, which might list them, blocks AI crawlers (set aside, site's wishes). ## How a key will be specified without MAME's source Each key is an **observable device**: a trace of every main-CPU access to its window (address, value, direction, cycle) during boot and play, from MAME as a detector, gives the challenge/response pairs a game uses. A model that answers every observed pair is a functional model (axis B: functional), tagged FITTED, with the trace as its test. That needs the C117 bank translation first (U1), because the 6809 sees the key through a bank window. Open decision 1 decides whether MAME's BSD-3-Clause key code may be read instead (faster, and permitted by its licence). ## The other customs | Part | Known from | Role (as stated there) | | --- | --- | --- | | CUS117 | MAME device `namco_c117` | MMU, interrupts, resets ([memory-map.md](memory-map.md)) | | CUS120 | a replacement-board seller (Tindie / Lectronz "CUS120 replacement") listing Youkai Douchuuki, Dragon Spirit, Blazer, Quester, Pac-Mania, Galaga '88, World Stadium | not stated | | CUS121 | named in a MAME comment quoted by a web search summary ("the sound CPU watchdog is probably in CUS121") | HYPOTHESIS: watchdog | | CUS27 | a search-result snippet of an arcade-projects forum post on mid/late-80s Namco customs (not opened) | not stated; **not confirmed on System 1** | None of these has a die or schematic source in hand; the board models their observable effects only.