# v30mz-python > **Lineage:** **v30mz-python** (Phase 0) · fixes start here and flow down by merges · > [family charter](https://github.com/alewman/emulator-lineage/blob/main/docs/charter.md) The NEC V30MZ, the CPU inside the WonderSwan's SoCs (ASWAN, SPHINX, SPHINX2), as a readable Python core for Aubrey's emulator family. **Status: Phase 0 (research and groundwork), 2026-11-26. There is no core code yet.** The package will be `v30mz_python`; its first board is [wonderswan-python](../wonderswan-python) (Phase 0 done the same day). The V30MZ is not a V30. NEC's own manual (A13761EJ1V1UM00, section 1.3) says it drops the V20/V30's extensions (the bit and BCD-string instructions, REPC/REPNC, BRKEM and the 8080 emulation mode), keeps the 80186 instruction set, runs a 16-byte prefetch pipeline with its own clock table (Appendix A: most register operations in 1 clock), and may leave different values in undefined flags. That is why it is its own repository and not a milestone of [i8086-python](../i8086-python) (itself still Phase 0 only): see [docs/start-here.md](docs/start-here.md) and the open decisions in [docs/handoff-brief.md](docs/handoff-brief.md). What is here: - [`docs/`](docs/README.md): the CPU as the core will model it, the timing model and its contradictions, flags and undocumented behaviour, the source survey, the oracle ladder, the MAME recipe as run, and the handoff brief. - [`scripts/`](scripts): `fetch_references.py` (NEC's manual from Renesas, the V20/V30 manual from bitsavers, eight WSdev wiki pages by revision, FluBBa's CPU and timing test sources, his WSCpuTest release, and ares' V30MZ directory, into the git-ignored `reference/`, each pinned by SHA-256 or commit), `mame_trace.py` (MAME 0.285 as a closed-box detector). ```sh python -I scripts/fetch_references.py --verify # or without --verify to download (~12 MB) MAME_ROMPATH=... python -I scripts/mame_trace.py --machine wswan --frames 1 ``` No boot ROM or cartridge is fetched or committed; MAME reads its own sets from `$MAME_ROMPATH`. ## Licence MIT (see `LICENSE`), for what is in this repository. Fetched material keeps its own terms, recorded per entry in `scripts/pinned_*.json` and in [docs/sources.md](docs/sources.md).