# MAME as a detector (closed box, tier 5) MAME 0.285's `ps2` machine and its devices, BIOS sets and licence lines are described in `../ee-python/docs/mame-oracle.md` (the CPU trace recipe; the EE and IOP traces from reset). This page holds the board-level recipe, run here. ## The board recipe: writes to the EE's registers and the GS (run 2026-11-26) ```sh export MAME_ROMPATH="" # holds ps2.zip python -I scripts/mame_run.py --bios scph10000_t --frames 120 # 384 writes in 120 frames (last write in frame 6) to .../tests/mame_traces/ee-writes.log ``` The script runs `mame ps2 -bios scph10000_t -video none -sound none -nothrottle -noreadconfig -skip_gameinfo -autoboot_script run.lua` in `tests/mame_traces/` (git-ignored), without the debugger, with Lua write taps on the EE's program space over 12000000h-12001FFFh (GS privileged registers) and 10000000h-1000FFFFh (EE registers), held in globals. Each line is `frame address data mask`. Result: 141 writes in frame 0, 243 in frame 6, **none after**: MAME's BIOS run stops there. The writes went to the RDRAM controller (1000F430h MCH_DRD 95 times, 1000F440h MCH_RICM 65), a dozen registers at 1000F100h-1000F500h that our sources do not name (the SIF block at 1000F200h was not touched), INTC_MASK once, GIF_CTRL once, and **204 bytes to KPUTCHAR (1000F180h)**, the BIOS's console: ``` # Initialize memory (rev:3.17, ctm:393Mhz, cpuclk:295Mhz ) # Total accessable memory size: 32 MB (B:2:8:0) # TLB spad=0 kernel=1:12 default=13:30 extended=31:38 # Initialize Start. # Initialize GS ... ``` So MAME 0.285 boots SCPH-10000 through memory and TLB initialisation and stops at the GS (OBSERVED). The console text is M1's exit test (validation.md): the BIOS prints its own measurement of the EE clock (`cpuclk:295Mhz`, consistent with 294.912 MHz, DOC) and the RDRAM's (`ctm:393Mhz`). No GS write reached 12000000h in the window; no picture exists (the screenshot at frame 120 was not produced: nothing was displayed). ## What MAME can decide here Nothing (tier 5, preliminary). It detects: the BIOS's early register writes and their order; the console text. It cannot reach the GS, the IOP's module loading, the browser, discs or games. Play! (BSD-2-Clause, HLE BIOS) and PCSX2 (GPL-3.0, closed box from emu-tools-gpl) are the detectors that reach games; neither is fetched or built here.