# MAME as a detector for the board (closed box, tier 5) The recipe lives with the CPU: `../x86-p3-python/scripts/mame_trace.py` and `../x86-p3-python/docs/mame-oracle.md` (run 2026-11-26). This page records what it means for the board. ## The machine `mame -listxml xbox` (MAME 0.285): source `microsoft/xbox.cpp`, driver status "preliminary", emulation "preliminary", save states unsupported. Devices named in its device list: the Pentium III, two AM9517A DMA controllers, a Motorola DSP56362 for the APU's GP at 10 MHz, `mcpx_isalpc`, `mcpx_smbus`, `mcpx_ohci`, `mcpx_eth`, `mcpx_apu`, `mcpx_ac97_audio`, `mcpx_ac97_modem`, `mcpx_ide`, a `pic16lc` (the SMC), a `cx25871` (the video encoder), an `eeprom`, a debug `superio_device`, an IDE hard disk and an ATAPI CD-ROM, a 640x480 raster screen at 60 Hz. Firmware from `MAME_ROMPATH` (census.md). The `// license:` lines of its Xbox files read BSD-3-Clause (tag `mame0285`); closed box by this Phase 0's choice. ## What the runs showed (OBSERVED) - BIOS 4134 (`-bios bios0`): the MCPX ROM runs 354,373 instructions, the flash's code takes over, and the kernel has paging on (CR0 = 80010031h) within two frames: 20.46 M instructions in 1/30 s. - BIOS 4817 (`-bios bios3`): a reset loop of about 647,159 instructions per round, 20 rounds in two frames. Not investigated (a MAME pairing of MCPX version and BIOS, HYPOTHESIS). - MAME's model runs the CPU at 614 M instructions per emulated second in the 4134 boot window. ## Uses and limits - **M1 detector**: the order and values of PCI configuration writes, I/O port accesses and MMIO touches during the MCPX ROM and x-code phase, as the trace's disassembly shows them (`out`, `in`, and memory operands at FD000000h+). The board's sequence is compared with MAME's and every difference classified; MAME is never the judge. - **Not a judge of anything NV2A or APU**: its driver is preliminary, and its GP DSP is a stand-in part. - One MAME process at a time, two frames at most (a 1 GB trace, four minutes). - Traces are Microsoft's code executing: git-ignored, never quoted.