Repository navigation
Conversation
…overload the frame, and the pick box shows its CPU A module effect's package carries its CPU price in its FX page recipe (bytes 46-47, from resources.cpuPrice; older bases ignore them). The base keeps the frame interrupt's share from the frame guard's sums and refuses a pick with CPU FULL when that share plus the price, less the price of the effect the slot runs, reaches mw_frame_line (60 %, measured on an MKII). The box after a pick shows CPU in place of POOL. Effects without a price are judged by the meter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…after #1418); build.py and page-script pins refreshed Generated base files take main's side and are regenerated next. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…bound packages re-bound; sizes recorded (+880 since 0.7.8, 48,556 free) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e host test compiles under -Werror #1711 moved every use of it behind #ifndef MODWERK_HOST; the host build then failed on an unused variable (test_recipe.py's test_status.c, the red module-suites (sdk) check). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…kages re-bound, sizes recorded (+776 since 0.7.8, 48,660 free) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 18, 2026
Owner
Author
|
Folded into #1745, the single Octatrack base 0.7.9 release. The frame share and the CPU row in the pick box are in it. The price inside the package is not: once #1709 writes prices into manifests it would change released packages. Refusing a pick by its CPU price comes next, with the price carried in the module set, so a price still needs no new release. Closing in favour of #1745. |
Zac-Kyoti
pushed a commit
to Zac-Kyoti/modwerk
that referenced
this pull request
Nov 19, 2026
…on by price comes with set-carried prices The in-package price (repeat98#1711's recipe bytes) would change released packages once repeat98#1709 writes prices into manifests, so the packers are back to main's; fxpage.c keeps no price. status.c keeps the frame share and the pick box's CPU row. 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.
resources.cpuPricefor aframe-interruptmeasure, in tenths of a percent rounded up, in the FX page recipe's spare bytes 46-47 (build.pypage_section,scripts/octatrack-module-page.mjs, the dev packer's copy). Older bases never read those bytes, and every current effect declares 0 or none, so no released package changes.status.c) keeps the frame interrupt's share of each frame from the frame guard's own sums, twice a second over four seconds, and the last play's figure while stopped, as for the meter.mw_frame_line. The 85 % meter refusal stays as it was. Effects without a price are judged by the meter alone.7214d65f…): the next free number after Octatrack base: DSP hook chains, so several packaged DSP machines share a hook site #1418's 0.7.8 onmain. Refreshed on 18 November 2026:mainmerged, the base regenerated (+776 container bytes since 0.7.8, 48,660 free), the base-bound packages re-bound (their bytes unchanged; Sidechain 0.2.2 no longer lags since Octatrack base: DSP hook chains, so several packaged DSP machines share a hook site #1418), andstatus.cdeclares its drawing surface only in the device build, so the host testtest_status.ccompiles under-Werroragain (it was this PR's redmodule-suites (sdk)).build.pyand the page script by hash, so both are re-pinned to the new sources, as Improvement: Octatrack base 0.7.5 never removes a module whose window is open, and drops the stock-run scans #1475 did. Please review that part.test_status.ccovers the frame share, the refusal at and under the line, swaps, stock and NONE, stopped picks and the pick box's CPU row; they fail with the line moved by one.test_fxpage.creads the price.npm run pr:ready: Ready.8100c69d(line 70 %): three Tape Echos and Amiga playing. Mean frame share 43.9 %, frame max ~87 %, CPU meter 65-67 %, nothing skipped. Guard share lowered: 70 % and 65 % skipped 0; 60 % skipped 114 in 5 s; 50 % about 2,800.f5550969(line 60 %), with a private copy of Tape Echo 0.1.6 whose recipe names a 30 % price: playing,pick:T6:FX2:TAPE_ECHOwas refused, with "CPU FULL T6 FX2 / TAPE ECHO NEEDS +50% / CPU 123% / CHANGE ONE FIRST". T6 FX2 stayed NONE. Bank A Part 1's working copy was byte-equal before and after the test, and its saved copy was untouched.7214d65f…itself, and the pick box's CPU row on the screen. On the twin the box after a pick did not open for any pick (Air Chorus, Vibrato, stopped or playing). That box is older than this change: it compares the slot's id when the loader reports the selection complete, and the slot changed about 114 ms later. This needs its own fix.docs/MODULE_PERFORMANCE.mdsaid the base reads no effect price. It now says where an effect's price goes and how the base admits it, with the MKII figures. The base's README notes the frame admission.Follow-ups, not in this pull request:
npm run device:price -- tapeecho) in its own release; until then the base still judges it by the meter.🤖 Generated with Claude Code