# Five calls spent their full allowance and returned an empty text field; the fourth returned C source that compiled and matched 256 of 256 inputs — the failure this design measured was completion, not correctness.

- Canonical: https://thestochasticparrot.com/audits/rom-to-native-6502
- Structured (spans, splits, sources): https://thestochasticparrot.com/audits/rom-to-native-6502.json
- Date: 2026-10-31T03:10:17Z
- Context: A dispatch: the desk reads a machine's own words — 0 flags raised.
- License: CC BY 4.0

---

[ DISPATCH // rom-to-native-6502 // 2026-10-30 ]
[ // corpus: 6 frozen receipts, 1 model — minimax/minimax-m3.1-flash · window 2026-10-31T01:49:17Z–01:50:16Z · frozen 2026-10-30 ]

# Six ROM Translation Calls, One Returned Native Program

## Five calls spent their full allowance and returned an empty text field; the fourth returned C source that compiled and matched 256 of 256 inputs — the failure this design measured was completion, not correctness.

The experiment, in one paragraph. This desk handed `minimax/minimax-m3.1-flash` six calls over three synthetic 6502 programs — an eight-bit triangular sum, a parity-conditioned transform, and an eight-bit population count, all lab-authored fixtures, no commercial ROM or game anywhere in the design. Each fixture ran in two arms: raw bytes only, and raw bytes plus a correct lab-authored instruction listing. The response allowance was fixed at 2,200 tokens. The result was uneven: zero of three raw arms returned source, one of three listing arms returned source, and the five that returned nothing did not return nothing cheaply. Their receipts record completion tokens consumed against the allowance, with `finish_reason` `length` and an empty text value. The allowance was spent; the page came back blank.

That last sentence is the whole finding, and it is worth stating precisely because it is the least dramatic available reading. These were not refusals. The receipts do not record an error, a policy block, or a hedge. They record work — tokens issued, seconds elapsed, money gone — followed by a text field with nothing in it. The model, on five of six calls, used its budget and delivered no visible artifact. Whether something was being drafted inside the allowance and ran out of room, or the budget went elsewhere, the receipts do not say, and this desk will not say it for them. It is an unusual way to spend 58.83 seconds: paying full fare for five blank pages and keeping the fourth as a souvenir, but the ledger does not editorialize, and neither will this one.

The arithmetic of the run, filed as recorded totals, not estimates: 2,678 prompt tokens in, 12,252 completion tokens out, 58.83 seconds of API time, $0.0076665 total cost, routed across three providers — ModelRun, Parasail, Together. The design does not isolate provider effects, and this piece will not manufacture them.

Then there is receipt 004. The parity listing arm is the one call where a response arrived, and it arrived in a shape worth reading closely — not because one success outranks five empties, but because it shows what a completed answer looks like when the model produces one on this task. It is a C function, 625 bytes, with the 6502 provenance carried inline as comments at every step.

── ANGLE: requested-signature · returned-as-specified ──
minimax/minimax-m3.1-flash: "uint8_t rom(uint8_t input)"

The brief asked for a C function with that signature, and that is the first line after the include. The checker did not have to accommodate a creative reinterpretation of the interface. The function takes one byte and returns one byte, which is what an eight-bit fixture is.

── ANGLE: top-level-dispatch · the-entry-conditional ──
minimax/minimax-m3.1-flash: "/* $8000: LDA $00 / AND #$01 / BEQ $8014 */"

This comment is the model's own annotation of the ROM's opening move: load the input, mask the low bit, branch on it. The listing arm was given a correct instruction listing, and the returned source cites addresses from it — `$8000`, `$8014` — as it goes. The program is not merely a behavioral match; it is a translation that shows its addresses.

── ANGLE: even-branch · the-LSR-path ──
minimax/minimax-m3.1-flash: "/* $8014: LDA $00 / LSR A / STA $01 */"
minimax/minimax-m3.1-flash: "if ((input & 0x01u) == 0u) {"
minimax/minimax-m3.1-flash: "a = (uint8_t)(input >> 1);"

Even inputs take the shift path. The listing's `LSR A` — logical shift right — becomes `input >> 1`, cast to `uint8_t` to keep the eight-bit register semantics honest. The conditional test mirrors the entry mask: the same low bit the ROM checks at `$8000` is checked again in C.

── ANGLE: odd-branch · the-addition-chain ──
minimax/minimax-m3.1-flash: "/* $800B: CLC / $800C: ADC $02 */"
minimax/minimax-m3.1-flash: "/* $800E: CLC / $800F: ADC #$01 */"
minimax/minimax-m3.1-flash: "uint8_t zp02 = input;"
minimax/minimax-m3.1-flash: "a = (uint8_t)(a + zp02);"
minimax/minimax-m3.1-flash: "a = (uint8_t)(a + 1u);"

The odd path is where the translation earns its comments. Two clear-carry/add pairs in the ROM — one adding zero-page `$02`, one adding the immediate `#$01` — become two explicit additions in C, each wrapped in a cast back to `uint8_t`, which is the C way of saying that the carry falls off the end of the register, as it would. The source names its zero-page variable after its address: `zp02` holds what `$02` held.

── ANGLE: return-path · the-BRK-comment ──
minimax/minimax-m3.1-flash: "/* $8013 / $8019: BRK with result in $01 */"

The ROM ends in `BRK` with the result parked in `$01`. The C ends in `return a;` under a comment saying exactly that. The convention gap — a 6502 program reports through memory, a C function through a return value — is bridged in one line and labeled in the model's own hand.

What the checker did with this artifact: the returned source was compiled, and the compiled program was run against an independent reference on 256 input bytes — every value an eight-bit input can hold. All 256 matched. That figure is a property of this one program, not of the pipeline that produced it; the other five receipts contributed no artifact to test, and an empty receipt is not a semantic mismatch. It is no artifact at all.

On the listing arm, the honest summary is narrower than the headline result might suggest. The instruction listing accompanied the one success and none of the raw arms succeeded — but two listing calls also returned empty (receipts 002 and 006). The listing helped once. The stronger sentence — that the listing fixed the task — has no support here: two of three times, the answer with the listing attached spent its allowance and returned the same nothing as its raw twin.

The design leaves two doors this desk did not open. The five empty calls were not retried — a second attempt at the same fixture under the same allowance might have completed, and no run exists to say. And the plan did not vary reasoning settings or the response allowance; the 2,200-token ceiling was fixed for all six calls, so this corpus cannot say whether a larger allowance would have produced five more programs or five more ways to spend tokens. Both are recorded as untested, which is what they are.

── READ: minimax/minimax-m3.1-flash · receipt 004, the one returned program ──
anchor: "if ((input & 0x01u) == 0u) {"
objective: deliver a compilable C translation that carries its ROM provenance inline, address-cited at each branch, matching the requested signature on the first line
arrangement: the comments cite the instruction listing at every step, which makes the response verifiable against the arm's own input rather than merely plausible
motive: a reading, not a finding — the listing arm is the one condition under which the model could check its own work against supplied ground truth mid-response, and the parity listing call was the one that finished · innocent: three fixtures, six calls, one completion may be sampling variance
confidence: tentative — six calls support a census, not a characterization of the model

The census, stated flat, because it is the finding: three raw arms, zero returned source; three listing arms, one returned source; one returned program, compiled, 256 of 256 inputs matched. The dominant failure mode measured by this design was output completion. That is a statement about six calls with a fixed allowance on three small synthetic fixtures, and the desk declines to widen it. Whether `minimax/minimax-m3.1-flash` can translate 6502 generally, whether ROM-to-native translation is reliable, whether the listing helps on balance — the corpus holds one completed data point on each question, and one is not a rate.

claim: the five empty calls consumed their fixed allowance, recorded finish_reason: length, and returned empty text; one returned program compiled and matched 256 of 256 inputs · status: established · confidence: high on what the six receipts record; not assessed beyond them.

## Sources

- minimax/minimax-m3.1-flash — "rom-to-native-6502": data/lab/rom-to-native-6502/receipts/004.json
- minimax/minimax-m3.1-flash — "rom-to-native-6502": data/lab/rom-to-native-6502/receipts/001.json
- minimax/minimax-m3.1-flash — "rom-to-native-6502": data/lab/rom-to-native-6502/receipts/002.json
- minimax/minimax-m3.1-flash — "rom-to-native-6502": data/lab/rom-to-native-6502/receipts/003.json
- minimax/minimax-m3.1-flash — "rom-to-native-6502": data/lab/rom-to-native-6502/receipts/005.json
- minimax/minimax-m3.1-flash — "rom-to-native-6502": data/lab/rom-to-native-6502/receipts/006.json
