PEQ+DIST+DELAY — signal-flow flowchart

Image rep algo 98 · slots 98 · unit 0 (I-RAM load 84) · family combi · confidence high.

PEQ + distortion + delay

92 words, 28 class-A coefficient multiplies (25 named), 0 instructions still opaque, 17 of 92 not yet decoded. Landmarks detected: 2 biquad DF-I section(s), 3 DRAM read/write word(s), 2 waveshaper LUT selector(s), 2 class-8 post-sum step(s).

flowchart TD
    N0["Stereo input (L / R)"]
    N1["Biquad tone/EQ<br/>2 Direct-Form-I sections (1 band(s) &times; 2 ch)<br/>b1,b0,b2,&minus;a1,&minus;a2, make-up"]
    N0 --> N1
    N2["controls: BAND EMPHASIS FC, BAND EMPHASIS Q, BAND EMPHASIS G"]
    N1 -.-> N2
    N3["Waveshaper transfer curve<br/>3-word LUT idiom, class-6 curve select (&times;2)"]
    N1 --> N3
    N4["controls: DRIVE, ADJUST"]
    N3 -.-> N4
    N5["External delay line (DRAM)<br/>3 read/write word(s) (880.1.60 = READ, 880.1.20 = WRITE)"]
    N3 --> N5
    N6["controls: DELAY DRY/WET, DELAY L, DELAY R, FEEDBACK L, FEEDBACK R"]
    N5 -.-> N6
    N7["VOLUME<br/>output level"]
    N5 --> N7
    N8["REV SEND<br/>to reverb bus"]
    N7 --> N8
    N9["Output (RETURN to kernel epilogue)"]
    N8 --> N9

    classDef io fill:#e8eef7,stroke:#33475b,stroke-width:1px,color:#111;
    classDef proven fill:#d7f0d7,stroke:#2e7d32,stroke-width:2px,color:#111;
    classDef measured fill:#dbe9fb,stroke:#1565c0,stroke-width:1.5px,color:#111;
    classDef inferred fill:#fdf0d5,stroke:#b8860b,stroke-width:1.5px,color:#111;
    classDef open fill:#eeeeee,stroke:#888,stroke-width:1px,color:#333,stroke-dasharray:5 5;
    classDef ctrl fill:#f3e8fb,stroke:#6a1b9a,stroke-width:1px,color:#111;
    class N0,N9 io;
    class N1 measured;
    class N2,N4,N6,N7,N8 ctrl;
    class N3,N5 inferred;

Classic-topology match

Most likely textbook topology: Union of the sub-effect topologies, in name order.

E.g. PEQ+DIST+DELAY = DF-I biquad(s) → waveshaper → delay line; the shape is the concatenation of the named stages.

Instruction hint: each named stage contributes its own idiom (biquad ACT 0x12/13/14, waveshaper class-6 LUT, delay class-1 ESC, LFO cell).

UI parameters (MEASURED, notes/kn5000-dsp-paramlist.md): BAND EMPHASIS FC, BAND EMPHASIS Q, BAND EMPHASIS G, DRIVE, ADJUST, DELAY DRY/WET, DELAY L, DELAY R, FEEDBACK L, FEEDBACK R, VOLUME, REV SEND.

Per-instruction detail: ../disasm/prog98_peq_dist_delay.dsm. Confidence legend and method: README.md. Narrative: the MAME development blog, KN5000 effects-DSP series (Parts 78-84). Reference: the project docs site, /effects-dsp/.