# The MAME recipe (run 2026-11-26, MAME 0.285) MAME is a closed box (run, never read), tier 5. ## Devices (`mame -listxml`) snk68 sets: `maincpu` MC68000 @ 9 MHz, `soundcpu` Z80 @ 4 MHz, `screen`, `gfxdecode`, `alpha68k_palette`, `snk68_spr`, `speaker`, two `generic_latch_8`, `ymsnd` YM3812 @ 4 MHz, `upd` uPD7759 @ 640 kHz. prehisle sets: `maincpu`, `audiocpu`, `palette` (not Alpha's), one latch, the same sound chips. Screen 256 x 224 visible, 6 MHz, 384 x 264, 59.185606 Hz on all. ## The commands, as run ```sh python -I scripts/mame_trace.py --map --set pow # also streetsm ikari3 searchar prehisle python -I scripts/mame_trace.py --frames 2 --set pow python -I scripts/mame_trace.py --snap 20 --set pow ``` | Run | Wall time | Result | | --- | --- | --- | | `--map`, five sets | under 1 s each | [memory-map.md](memory-map.md) | | 68000, 2 frames | under 1 s | 20,677 trace lines; the reset code tests $0E0000 and $0E8000, masks interrupts, writes $080000 | | untraced, 20 s | about 1 s (3,473 % speed) | the P.O.W. title screen at frame 1200 | The script is snk-python's with the tags changed (`:maincpu`, `:soundcpu`, or `:audiocpu` on prehisle) and the map dump widened to 24-bit addresses; options and traps are the same (snk-python's mame-oracle.md): a `{logerror}` action on a trace prints stale values, so the bare trace is kept; `streetsm` warns about its undumped PAL and runs.