Skip to content

Improvement: Octatrack base 0.7.10 offers to make room when an effect pick is refused - #1735

Closed
repeat98 wants to merge 3 commits into
mainfrom
improvement/pick-make-room
Closed

repeat98 wants to merge 3 commits into
mainfrom
improvement/pick-make-room

Conversation

@repeat98

Copy link
Copy Markdown
Owner

What changes for players

When an effect pick is refused with DSP FULL, DSP MEMORY FULL or NO ROOM, the box now looks for one other effect on the same four tracks that would make room, and offers it:

DSP FULL            T4 FX2
LOFI2 NEEDS +18%
T1 FX2 LOFI2
YES: THAT TO NONE

YES sets that slot to NONE, then makes the pick. NO or any other key changes nothing. RELOAD PART brings the saved Part back.

  • Only working offers. Each candidate is judged by manager.c's own prepare (dl_dry_fits: the allocator and the Y buffer plan on copies, the two picks in turn), so the box never offers a swap that would be refused again. If the pick is refused all the same, the slot gets its effect back.
  • Which slot. Same DSP core only. The other slot on your own track first, else the effect that costs least.
  • Safety. YES only counts half a second after the offer shows, so a second tap in the FX list can't empty another track. While an offer shows, the box waits for an answer instead of closing after 3 s. The box appears once the search is done (about 0.1 s).
  • Machines are never changed for room. CPU FULL now names the tracks whose machines hold the budget ("HELD BY T1 T2 T3").
  • Play once first, less often. A machine changed while stopped moves the figure a stopped unit is judged by at once. Effects declare no price the base reads yet, so they still need one play.
  • Diagnostics. New dsp and swap incidents. DSP refusals were not recorded at all before, while the CPU refusals that were recorded number 188 on 26 units between 12 and 18 November.

Base 0.7.10 (9d84acf9): #1711 and #1678 both claim 0.7.9. #1711 also changes the pick box's CPU display, so whichever merges second reconciles status.c.

Evidence

Not tested on a unit: the exact base 9d84acf9 has not run yet, only its dev twin 61f4e1a8 (below). The owner user-tests this build next, so it stays a draft.

Unit (owner's MKII, dev twin 61f4e1a8 of this base, RAM-booted, LOFI2 0.1.1 in a 300 s trial):

  • LOFI2 fit on T1-T3 FX2; the fourth, on T4 FX2, was refused with the box above (real LCD capture).
  • YES set T1 FX2 to NONE and put LOFI2 on T4 FX2. The selection stayed on T4, and the base recorded the swap as made.
  • The trial verdict logged no crash, stall, freeze or skipped track.

Host:

  • test_status.c (offer search, swap, put-back, give-up, arming, no timeout, holders, played-figure moves; also under ASan/UBSan)
  • test_machine_registry.c (holders mask, price moves)
  • test_diag.c (new kinds)
  • test_dsp, test_fxpage, test_selftest, test_recipe
  • device-log.test.ts
  • Board mode 67 (test_resident_engines_board.py): the dry run against real picks for code memory, including a fragmented case where freed words are not contiguous, and for DSP time. Every candidate's dry answer matches what the two real picks then do, and the live plan is untouched.

Not tested:

  • An early YES being ignored, and the put-back after a refused pick (host only).
  • The NO ROOM offer.
  • Whether the slot set to NONE loses its knob settings for good. Stock's FX setter may load defaults; the LOFI2s in this run had default knobs anyway.
  • CPU FULL "HELD BY" on a unit.
  • This exact build (9d84acf9); only its dev twin ran. Hence draft.

What the guides lacked

docs/OCTATRACK_DRIVING.md had nothing on YES in a refusal box acting on another track. It now says to close refusals with NO when a test doesn't mean the swap. scripts/device.mjs's pick: took its refusal screenshot before the box appeared and then closed it with NO; it now waits 0.4 s.

🤖 Generated with Claude Code

repeat98 and others added 3 commits November 18, 2026 13:01
… pick is refused

When a pick is refused with DSP FULL, DSP MEMORY FULL or NO ROOM, the box looks
for one other slot on the same DSP core that, set to NONE first, lets the pick
through (manager.c's dl_dry_fits runs the real allocator and buffer plan on
copies), and offers it: "T3 FX2 DARK REV", "YES: THAT TO NONE". YES makes both
picks through the selector's own path and puts the slot back if the pick is
still refused. YES only counts half a second after the offer shows, and the
offer waits for an answer.

CPU FULL for a machine names the tracks whose machines hold the budget, and a
machine changed while stopped moves the figure a stopped unit is judged by.
Diagnostics record DSP refusals and the offer's swaps (kinds dsp and swap).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the enhancement New feature or request label Nov 18, 2026
@repeat98 repeat98 closed this Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant