# The MAME recipe (run 2026-11-26, MAME 0.285) MAME is run, not read. Its Enterprise files (`enterprise/ep64.cpp`, `nick.cpp`, `nick.h`, `dave.cpp`, `dave.h`, `bus/ep64/exp.cpp`, `bus/ep64/exdos.cpp`) are BSD-3-Clause by their `license:` lines (sources.md), so reading them with notice would be allowed; they stay closed in this phase (open decision 6). Tier 5: a detector. ## Devices (`mame -listdevices ep128`, `-listxml ep64 ep128 phc64`) | Device | MAME's model | | --- | --- | | u1 | Zilog Z80 @ 4.00 MHz | | u3 | Intelligent Designs DAVE @ 8.00 MHz | | u4 | Intelligent Designs NICK @ 8.00 MHz | | screen | 800 x 280, 50.000000 Hz | | exp | expansion bus slot (EXDOS: a WD1770 with four floppy connectors, `exdos13.rom`) | | others | cartridge slot, two cassettes, Centronics, RS-232; software lists `ep64_cart` (15), `ep64_cass` (3), `ep64_flop` (164), CC0-1.0 | Sets: `ep64` (Enterprise Sixty Four), `ep128` (Enterprise One Two Eight, 1986, a clone of ep64), `phc64` (the Mephisto PHC 64 rebadge, same ROM as ep64). All present. ## The commands ```sh python -I scripts/mame_trace.py --driver ep128 --frames 300 --trace 3 # OUT log, 3-frame trace, PNG python -I scripts/mame_trace.py --driver ep64 --frames 300 ``` Same recipe as the family's other MAME runs: `-video none -sound none -nothrottle -noreadconfig -skip_gameinfo -log -seconds_to_run N -autoboot_script run.lua` (plus `-debug -debugger none` with `--trace`); a write tap on the Z80's `io` space logs `O port value frame seconds`; the trace logs `T pc totalcycles` through `trace T.trace,:u1,noloop,...`. ## What the runs showed (OBSERVED; under 2 s of wall time each, CPUs 24-31) - **ep128**: 10,592 OUTs in about 6 emulated seconds. BF `04` at 9 us (64K, 8 MHz, waits on M1 only), B0 `04` at 13.5 us, B2/B1 `FF` at 34-37 us; a memory test through B1/B2 (6,507 writes); Nick's forced LPT reload at 0.56 s (LPL `90`, LPH `0F` `4F` `CF`); from 4.83 s the keyboard scan (B5 rows 0-9), B4 `16`/`34`, and A0-AF, 80h, 81h zeroed about every 19 ms. Picture: the ENTERPRISE logo and "(c) 1985 Intelligent Software Ltd". Trace: `T 0 0`, `T 1 4` ... 34,773 instructions to total cycle 239,997 in three frame notifications (3 x 80,000 = 240,000 at MAME's 50.000 Hz), no entry at 0038h in that window. - **ep64**: 29,815 OUTs in the same span (EXOS 2.0's boot differs; not analysed further). ## Not run No cartridge, tape or disk was mounted; nothing was run over a library. Output: `reference/mame//` (git-ignored).