Skip to content

0029 / 0022: full parameter names on SEND FX P2..P5 (0x51) - #18

Open
twwwy wants to merge 3 commits into
trigcondition:devfrom
twwwy:feat/sendfx-long-names
Open

twwwy wants to merge 3 commits into
trigcondition:devfrom
twwwy:feat/sendfx-long-names

Conversation

@twwwy

@twwwy twwwy commented Nov 16, 2026 •

Copy link
Copy Markdown

Closes #14: the effect's full parameter name in the upper left while turning SEND FX P2..P5, instead of "Send FX 1" / "Send FX 2". The Sidecar half is trigcondition/sidecar-firmware#45. #15's PRs build on this one (#19, trigcondition/sidecar-firmware#46).

What

  • 0022: the sfx router also passes 0x51 to 0029's mailbox.
  • 0029 storage: it keeps the names beside each TYPE's labels, in fields appended to struct sfu_x (the emulator tests' offsets don't move).
  • 0029 display: relabel points the P2..P5 records' long name (field 10) at the names. With no 0x51 (an older Sidecar, an effect without names) it keeps l_fx1 / l_fx2.
  • 0x24 is unchanged.
  • Cost: +1224 B .bss; elekloader RAM still has 12124 B spare on OS 1.74.
  • Details: design.md section 12.

Tests

  • Host check: sfu.c compiled for macOS with REC as an array. 14 checks pass:
    • a 24 alone, and after its 51;
    • a name cut at 16 characters;
    • the other FX on another TYPE;
    • a new 24 without a 51;
    • a 51 with no 24, and a short 51;
    • a 51 for P5..;
    • a 21 replace.
  • Emulator (OS 1.74 port): new test sfu_emu.py sfxui fullnames, 15/15. It checks the P2..P5 records' long names for RINGS and STUTTER, the "Send FX n" fallbacks, and a 51 sent before its 24. Screen: PITCH in the upper left while P2 turns.
  • Whole suite sfu_emu.py sfxui all: 233 pass, 2 fail in ext (PLAITS ENG, 0021). Unchanged rc5b fails the same 2.
  • On 1.74 the suites need a small rytm-emu change: its strict mode allows a list of stock PCs to touch address 0, and that list holds 1.73's only, so the 1.74 OS faults from the first instruction. A per-OS list (1.74's 15 PCs, translated with re/os/1.74.toml) fixes it. It is Strict mode: the Rytm MKII OS 1.74's page-0 PCs analog-emu#17.
  • Hardware (Rytm MKII OS 1.74 + Pi 4, a ZOIA port as UFX1): the upper left shows the full names while P2..P5 turn.

🤖 Generated with Claude Code

twwwy and others added 3 commits November 16, 2026 01:37
…SENDFX FULL NAMES, trigcondition#14)

The host sends 51 after each TYPE's 24: per knob the 4-character label and a full name of up to 16
characters. 0022's sfx router passes 51 to 0029. 0029 keeps the names beside the TYPE's labels and
points P2..P5's record long names at them when the TYPE or the labels change, so the upper left shows
"Pre-delay" rather than "Send FX 1" while turning. With no 51 (an older Sidecar, a built-in without
names) it stays "Send FX n". 24 is unchanged, so an older 0029 keeps its labels.

Parsing and relabel were checked on the host; the emulator suites were not run (they do not reach
SEND FX on the OS 1.74 port, even before this change). design.md section 12.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hecks, OS 1.74 port)

Full names after 21 + 24 + 51 (RINGS, STUTTER), "Send FX n" without a 51 or for a TYPE without one, a 51 before
its 24 not used. design.md section 12: the emulator results (fullnames 15/15; the whole suite 233 pass, 2 ext
failures that unchanged rc5b has too) and the rytm-emu strict-mode fix 1.74 needs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… 1.74 + Pi 4)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant