Repository navigation
Fix: a module meeting a delay buffer is refused as such, and four effects count their real buffer (base 0.7.10) - #1776
Merged
Conversation
…X2 extents (base 0.7.10)
A package whose DSP claims meet a live or planned delay buffer was refused
as RUNTIME_MEMORY ("not enough module memory, remove a module"). On a
tester's unit SC Ringmod was refused that way at the start where Air Chorus
sat on T5 FX2, and admitted while every FX2 ran a stock effect. It now has
its own refusal, RUNTIME_BUFFER (12, "meets a buffer"), whose musician text
says to move the module effect on FX2 of track 1, 5 or 7 to another track.
RUNTIME_MEMORY stays the module pool and the DSP's own limits. An older site
shows its plain refusal text for code 12, and its anonymous count is other.
A module effect's FX2 buffer counted as its whole 16,384-word block, so any
module effect on T1, T5 or T7 met the key bus at +$3E00. The strong policy
bridge (controller_policy.c) now holds reviewed exact extents for four exact
packages, matched by their sha256 and their declared extent: E-Verb 0.1.2
and Mini Verb 0.2.3 (15,870 words), BBD Delay 0.1.2 (8,250) and Vibrato
0.1.0 (2,048; it writes nothing on FX2), with the source and gate evidence
in its comment. Any other package keeps the whole block; Air Chorus (16,384
words) still meets the bus. dsp.c answers which live package holds an
effect handle, appended after the resident patch's hunks
(resident_base_sources.json re-pinned).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
RUNTIME_BUFFER("meets a buffer"). It is no longer reported asRUNTIME_MEMORY(resident_base.patch,loader.h,loader-refusals.json). The musician text: "Another module's effect keeps its delay buffer in the memory this module reads. On the Octatrack that's a module effect on FX2 of track 1, 5 or 7: move it to FX2 of another track, then sync again." The unit's MODULES page shows "MOVE AN FX2 EFFECT" (status.c).RUNTIME_MEMORYnow means the module pool or the DSP limits only. The diagnostics contract and the pull's summary know the new code. An older site shows its plain refusal text for it, and the server accepts it.controller_policy.c; the handle-to-package resolver is indsp.c). The evidence for each, file and line, is in the code comment. Any other version, and Air Chorus, keep the whole block. There is no head proof, so FX2 block 2 stays closed to them as before.test_stock_hook_binding.c(a claim meeting a buffer returns code 12);test_controller_policy.c(E-Verb on T5 FX2 clears the key bus; Air Chorus's whole block meets it; a changed size, another package, no module and a bad core are refused);sdk/tests(48 run, 12 skipped;test_runtime_loader's registry-guard test fails without this change too); the elekloader runtime-slot and DSP-loader tests (20); vitest on the refusal registry, the diagnostics pull, contract and fields and the link (9 files, 167 tests); changelog tests; ESLint.npm run pr:readywas not run, because it requires current main, which belongs onbase/octatrack-nextitself.dsp.cchanged, sosrc/engine/assets/octatrack-base-sources.jsonstill pins the old hash until the draft's base is regenerated. Before the unit run, BBD Delay's extent should be run under a tight 8,250-word guard; it rests on reading the source, because its gate guards only the whole block. The emulator cannot show the clash, because it never finishes placing DSP code, so the cause was confirmed from the package's claims, the base's admission code and the unit's own log.sdk/runtime/loader/README.mdlisted the refusal codes without one for a claim meeting a buffer; it now has code 12.🤖 Generated with Claude Code