# segasys1-python > **Lineage:** **segasys1-python** (Phase 0) · fixes start here and flow down by merges · > [family charter](https://github.com/alewman/emulator-lineage/blob/main/docs/charter.md) Sega's System 1 and System 2 arcade boards (1983-1988: Flicky, Pitfall II, Wonder Boy, Choplifter, Brain, Wonder Boy in Monster Land) for Aubrey's emulator family, as a readable Python specification. **Status: Phase 0 (research and groundwork), 2026-11-26. There is no emulator code yet.** The package will be `segasys1_python`. It will embed [z80-python](../z80-python) twice (the 4 MHz main CPU, in most sets behind a Sega opcode decryption, and the 4 MHz sound CPU), [sn76489-python](../sn76489-python) twice (MAME fits two SN76489A PSGs at 2 and 4 MHz), and a future `mcs51-python` for the 8751 MCU on three System 2 sets. What is here: - [`docs/`](docs/README.md): the board family (System 1 and System 2 as MAME's machines group them), the memory and port maps MAME's closed box shows, video, sound, the protection (Sega's 315-5xxx/317-xxxx opcode decryption in two observed classes, the MC-8123, the 8751), the cores it needs and its relatives (sms-python's SG-1000 is the era-mate), domains and speed, the source survey, the oracle ladder, the MAME recipe, the romset census and the handoff brief ending with the open decisions. - [`scripts/`](scripts): `fetch_references.py` (Intel's MCS-51 manual, Zilog's Z80 PIO manual, the MiSTer core's README, each pinned by SHA-256, into the git-ignored `reference/`), `census.py` (MAME's `system1.cpp` romsets, read in place by environment variable), `mame_trace.py` (MAME 0.285 as a closed-box detector, with a mode that measures how MAME's opcode and data views of an encrypted ROM differ, writing counts only). ```sh python -I scripts/fetch_references.py --verify # or without --verify to download (~18 MB) MAME_ROMPATH=... python -I scripts/census.py MAME_ROMPATH=... python -I scripts/mame_trace.py wboyu --frames 3 --ports MAME_ROMPATH=... python -I scripts/mame_trace.py flicky --views 0,8000 ``` No program, tile, sprite, PROM, MCU or key ROM is fetched or committed: the player supplies their own MAME romsets, identified by name and CRC/SHA-1 from MAME's own lists. ## Credits Intel's and Zilog's manuals are cited by page for facts only. MAME 0.285 is run as a closed box (its System 1 files are BSD-3-Clause by their `license:` lines: Jarek Parchanski, Nicola Salmoria, Mirko Buffoni and the other holders in [docs/sources.md](docs/sources.md)); nothing of its source was read beyond those lines. ## Licence MIT (see `LICENSE`), for what is in this repository. Fetched material keeps its own terms, recorded per entry in `scripts/pinned_files.json`.