Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Platform:Namco System 1

From ReverseEngineering.wiki
Platform
Vendor Namco
Endianness big (6809, 63701)
On this wiki Facts · Code · Notes · Topics

Namco System 1 (1987): three MC6809E CPUs (main, sub, sound) and an HD63701 I/O MCU, with the CUS117 MMU banking 8 KiB windows of a 4 MiB program ROM space, a CUS30 wavetable sound chip and YM2151.

Hardware

CPU clocks are derived from a 49.152 MHz crystal: main, sub and sound MC6809E at /32 (1.536 MHz), HD63701 MCU at /8 (6.144 MHz); YM2151 at 3.579545 MHz; CUS30 wavetable sound chip. Custom ICs per the driver header: CUS117 main/sub CPU MMU, CUS116 display output, CUS39/CUS48 sprite generator (same as System 86), CUS123/CUS133 tilemaps, CUS121 sound address decoder, CUS64 MCU, CUS151 per-game protection key. Games: Shadow Land, Dragon Spirit, Pac-Mania, Galaga '88, Splatterhouse, World Stadium and others.

Memory maps

  • Main and sub 6809 see a 64 KiB window handled by the CUS117 MMU (main_r/main_w, sub_r/sub_w). Each CPU's 64 KiB space is divided into eight 8 KiB banks, each of which can point anywhere in the virtual space below (c117.cpp header and bankswitch(): bank offset = value * 0x2000, with the top bits selecting the 0x200000-granular ROM area; the last bank is effectively read-only and holds the 6809 vectors; MAME, commit d404316732).
  • Virtual space (virtual_map): 0x2E0000 palette (CUS116), 0x2F0000 tilemap video RAM, 0x2FC000 scratchpad RAM, 0x2FC800 sprite RAM, 0x2FD000 tilemap control, 0x2FE000 CUS30 sound registers (shared with the sound CPU), 0x2FF000 2 KiB shared RAM, 0x300000 work RAM, 0x400000-0x7FFFFF program ROM.
  • Sound 6809: 0x0000 banked ROM, 0x4000 YM2151, 0x5000 CUS30 registers, 0x7000 shared RAM, 0x8000 sound RAM, 0xC000 bank select write, 0xE000 IRQ ack, ROM at 0xC000-0xFFFF.
  • MCU: 0x1000 DIP switches, 0x1400/0x1401 controls, 0x4000-0xBFFF banked external voice ROM, 0xC000 shared RAM, 0xC800 EEPROM, 0xD000/0xD400 DAC outputs, 0xD800 bank select.

ROM set layout (example: shadowld)

  • "audiocpu": 128 KiB, two 64 KiB chips.
  • "mainrom": 4 MiB region filled with 512 KiB chips at 0x000000, 0x080000, ...; some slots are left empty; banked at virtual 0x400000.
  • "mcu": 4 KiB internal ROM of the CUS64 (63701); "voice": external sample ROMs read by the MCU.
  • "c123tmap": character graphics (8 x 128 KiB) plus a character mask ROM; "sprite": sprite graphics in 128 KiB chips.

Sources

mamedev/mame src/mame/namco/namcos1.cpp at d404316732fb5970cc0170aefc69ef1a85e14fce (BSD-3-Clause). See Tool:MAME.

Code & repositories

  • https://github.com/mamedev/mame @ d404316732fb5970cc0170aefc69ef1a85e14fce · license: GPL-2.0-or-later AND BSD-3-Clause (declared by the contributor for the files used; GitHub reports Zlib (read from COPYING; GitHub's detector did not classify it) for the repository)
    MAME emulator; src/mame/<maker>/*.cpp drivers document arcade memory maps and ROM sets
    Tested on: source read, not run: read the driver sources · checked 2026-10-18; last activity 2026-10-18; Note: the latest release ships binaries; the wiki links only the source, never the binaries