diff --git a/sdk/drafts/fract-machine/CHANGELOG.json b/sdk/drafts/fract-machine/CHANGELOG.json index a8977d17b0..60438072a7 100644 --- a/sdk/drafts/fract-machine/CHANGELOG.json +++ b/sdk/drafts/fract-machine/CHANGELOG.json @@ -1,4 +1,38 @@ [ + { + "version": "0.1.7-experimental", + "date": "2026-11-27", + "changes": [ + "Allows the single FRACT owner on any audio track T1\u2013T8, including both DSP cores.", + "Keeps the two-grain engine and saved Part format; exact-build qualification is in progress." + ] + }, + { + "version": "0.1.6-experimental", + "date": "2026-11-27", + "changes": [ + "Uses two overlapping grains with the existing POS, SIZE, REVS, SPRD, SHPE, PTCH, PAN and SRNG controls.", + "Retains saved Part compatibility; the texture and output level change from the three-grain prototype.", + "Remains an unlisted candidate while full hardware qualification is completed." + ] + }, + { + "version": "0.1.5-experimental", + "date": "2026-11-27", + "changes": [ + "Reduces work during SIZE and PAN modulation, shortest Hann grains and waveform drawing while preserving sample output and controls.", + "Remains an unlisted draft; USB-audio stress still fails and release qualification is incomplete." + ] + }, + { + "version": "0.1.4-experimental", + "date": "2026-11-26", + "changes": [ + "Declares a measured 40% CPU budget for the three-grain machine.", + "Prepares FRACT for Modwerk base 0.8.2.", + "Remains an unlisted draft while hardware qualification is completed." + ] + }, { "version": "0.1.3-experimental", "date": "2026-11-25", diff --git a/sdk/drafts/fract-machine/README.md b/sdk/drafts/fract-machine/README.md index c3b92289e8..2fcfdbdc99 100644 --- a/sdk/drafts/fract-machine/README.md +++ b/sdk/drafts/fract-machine/README.md @@ -1,10 +1,16 @@ # FRACT source draft -Version 0.1.3-experimental · author @ex1010 +Version 0.1.7-experimental · author @ex1010 + +Two live readers retain the 128-byte/three-slot Part ABI. One FRACT owner may use +any T1-T8. Development125c passed the four-format matrix and a 122-second active +MAIN+CUE USB case without new guarded render skips. It also passed T1/T5 and +12 Part-transition checks. This remains an unpublished candidate: released-base +audio, full qualification and the human stage are pending. See [current evidence](release/hardware-20261127-iteration18.md). ## Overview -FRACT is a three-grain sample track machine. POS moves through the sample from +FRACT is a two-grain sample track machine. POS moves through the sample from left to right; SIZE expands the grain span around that center and wraps at the sample edges. It uses native FLEX for pitch and voice playback. This replaces the earlier FX2/SPACE proposal in the consolidated draft submission #926. @@ -33,13 +39,16 @@ and bounded pitch editor. Defaults below are the saved values. | SETUP A | PAN | 0 | Random grain stereo width; 0 keeps both channels balanced. | | SETUP C | SRNG | FULL | Spread range: FULL source, or LOCAL capped at 88,200 source frames. | -Three grains overlap at fixed maximum density. Finite AMP envelopes silence the +The overview shows the whole sample's amplitude envelope. A steady-level tone +can appear as a solid band; changes in amplitude remain visible. + +Two grains overlap at fixed maximum density. Finite AMP envelopes silence the voice; INF sustains. Disabled SETUP slots are not user controls. There is no active SPACE processor or FX2 effect. ## Usage -On a compatible private paired build, select one track T1–T4, open SRC SETUP and +On a compatible private paired build, select one track T1–T8, open SRC SETUP and choose FRACT. Open its sample browser and select a loaded FLEX-pool sample. Return to MAIN for POS/SIZE and the remaining controls. Only one FRACT owner is admitted at a time. These controls are present in the tested private candidate; @@ -54,7 +63,7 @@ this source draft cannot be installed from the public configurator. ## Compatibility and limitations Target OS is Octatrack 1.40C. The registry has eight audio-track slots; the -current FRACT admission policy allows one owner on T1–T4 only. This is an +current FRACT admission policy allows one owner on T1–T8. This is an intentional private prototype limit, not eight simultaneous instances. START dispatch from #1029 is merged. The inherited native-FLEX reader fix is @@ -64,8 +73,9 @@ the author completed the short physical check on base `9b3ba417` with a private paired FRACT build; USB confirmed that exact base and module set after power-on. See TESTING.md for identities, reported observations and limits. No active catalogue entry or public package exists. The earlier 0.1.1 candidate has the 6 November functional hardware report in TESTING.md. The historical 0.1.2 candidate has a named-build functional hardware report. -Current 0.1.3 is relinked for released base0.8.1 and has updated shared page -controls; current-build hardware, timing/stress and qualification remain pending. +Current 0.1.6 targets released base0.8.2 and declares a 40% CPU budget after +physical four-format measurements found the implicit 12% charge insufficient. +The current development125c matrix observed at most33.5added mean points; see [the named hardware record](release/hardware-20261127-iteration18.md). Full qualification and first-release approval remain pending. Historical 0.1.1 results remain in TESTING.md. The historical 0.1.2 candidate's Part and project reload, lifecycle and cold boot are scoped in diff --git a/sdk/drafts/fract-machine/TESTING.md b/sdk/drafts/fract-machine/TESTING.md index 9551357416..5a2c993b8d 100644 --- a/sdk/drafts/fract-machine/TESTING.md +++ b/sdk/drafts/fract-machine/TESTING.md @@ -1,6 +1,43 @@ # FRACT testing -## Current preparation — 25 November 2026 +## Current 0.1.7 observations — 27 November 2026 + +**Expanded stage1 failed:**9973new guarded skips across the dense FM Synth/Mini Verb/activeUSB4 quartet trial;1new skip at9.445seconds with FRACT plus a private fixed20channelUSB companion. Both stopped/undone; see [failure receipt](release/expanded-failures-20261127-iteration18.json). The earlier standalone4channel results do not cover these loads. Two-reader optimization is under investigation; no full pass or release approval. + +One FRACT owner may now use any T1–T8; two live readers and the Part ABI are unchanged. The actual admission function passes all eight owners, 64 exclusion pairs, invalid tracks and Part immutability checks. Ten module tests, 52 SDK cases (four historical skips), nine runtime cases and seven probe cases pass. macOS and isolated Linux release packages are byte-identical. See [the exact-build record](release/qualification-20261127-iteration18.md). + +Development125c on base46 passed fixed T1/T5 and 12 Part checks, the 2400-operation control soak, all eight single-owner track picks, 20 four-format windows and 122 seconds of active MAIN+CUE four-channel USB stress with no new guard skips. CPU FULL refusals before refreshed native playback, CPU warning notes and failed probe attempts are retained. Private89411 timing is separate from normal125c. See [the hardware report](release/hardware-20261127-iteration18.md). + +**Full stage1 remains incomplete.** The procedure's price step was a false success with a misidentified filename; its partial rest data are not a valid curve. A correctly named single-owner repeat is recorded separately. Exact public f806/base24e install/integrity/Undo passed45seconds; released-base audio, remaining lifecycle/companion cases, listening, exact-version Keep/reboot and first-release approval remain pending. No waiver is granted. + + + +Shared SDK checks are separate contributions: #2283 removes stale reconstruction constants; #2294 checks the declared live-reader count. The qualification worktree includes those corrections, where the 52 SDK cases and nine runtime cases pass. On unmodified main the old checks reproduce their hardcoded three-reader/nine-copy failures; the module-only draft intentionally leaves shared gates unchanged and waits for those PRs to merge. + +## Historical0.1.6 two-reader adoption —27 November2026 + +Native inputs are committed at `0de973642fbd33e28f46de8f310419f74458dd5e`. [Exact-build preparation](release/qualification-20261127-iteration17.md) names release8c96 and development9b86. The normal development package passed20four-format windows (maxmean addition33.5points vsprice40),122.233s active MAIN+CUE4chUSB stress with22control windows/guard0→0,12settledPart transitions, and allowedT1–T4/second-owner refusal checks. + +**Full stage1 remains incomplete.** The fixed procedure failed its mandatoryT5pick and onePart4transition. The unchanged policy permits one owner onT1–T4; the missedPart4cause is not established. MIDIsoak, full companion matrix, released-base audio, listening and persistence remain pending. TwoCPU>=90%/1s notes and digital-recording uncertainties are retained in [the hardware report](release/hardware-20261127-iteration17.md). NoKeep/NORwrite/waiver/releaseapproval. + +The source has two live readers and unchanged128-byte/three-slot storage. The varying-envelope fixture retained108columns. F16M/BENCH has the same constant peak in all108bins, so its full envelope is a rectangle; initial sparse sampling gives the temporary toothed preview. This does not alter samplePCM. Original8Parts and28CFfiles were verified on restoration; independent final readback confirmed base0.8.2,normal,emptyinventory/missing and unchanged confirmedNORslots. All ownedlinks are closed and the queue is free. + +## Historical0.1.5 —27 November2026 + +The iteration11 three-reader twin failed active4chUSB (+4trial skips); the later small-span three-reader variant failed with+9. See [historical hardware record](release/hardware-20261127.md). Those results remain scoped to their old packages. + +## Historical 0.1.4 hardware result — 26–27 November 2026 + +**Stage 1 failed.** Unlisted0.1.4 corrects the declared CPU price to40; its +separately named development build completed the four-format measurement matrix +but skipped renders under parameter locks, LFOs and USB audio on both 20- and +4-channel layouts. See the [named-build report](release/hardware-20261126.md). +The unit, original project and card files were restored; owned links are closed. +Performance must be fixed and stage 1 repeated before user listening/Keep/reboot. +The released-base package itself remains physically untested. No first-release +approval, module Keep or physical reboot is claimed for this build. + +## Historical preparation — 25 November 2026 Unlisted `0.1.3-experimental` is prepared from released main/base 0.8.1. Normal package SHA-256 `c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29`, diff --git a/sdk/drafts/fract-machine/build_private.py b/sdk/drafts/fract-machine/build_private.py index 3808a863fe..0dcb40397d 100644 --- a/sdk/drafts/fract-machine/build_private.py +++ b/sdk/drafts/fract-machine/build_private.py @@ -105,7 +105,7 @@ def compile_source(args, base, work): '-fno-unwind-tables', '-fomit-frame-pointer', '-ffunction-sections', '-fdata-sections', '-Wall', '-Wextra', '-Werror', '-DOG_MACHINE_PROTOTYPE', '-DOG_MACHINE_START_EXTENSION', '-DOG_NATIVE_STAGE_ONE', '-DOG_MACHINE_BASE_BOUND', - '-DOG_MACHINE_GRAIN_ONLY', + '-DOG_MACHINE_GRAIN_ONLY', '-DOG_MACHINE_ALL_TRACKS', *['-I' + str(p) for p in includes]] run = lambda argv: subprocess.run(list(map(str, argv)), check=True, capture_output=True) sources = [DRAFT / (n + '.c') for n in @@ -117,8 +117,8 @@ def compile_source(args, base, work): objects = [] for source in sources: obj = work / (source.stem + '.o') - # The bounded packet renderer is a frame hot path. Other units use Os. - optimize = ['-O2'] if source.stem == 'render' else [] + # Packet adaptation and grain mixing both run in the frame interrupt. + optimize = ['-O2'] if source.stem in ('render', 'grain') else [] run([args.cross + 'gcc', *flags, *optimize, '-I' + str(work), '-c', source, '-o', obj]) objects.append(obj) m68k_codegen.check_mcf54455(objects, args.cross + 'objdump') diff --git a/sdk/drafts/fract-machine/chunk.h b/sdk/drafts/fract-machine/chunk.h new file mode 100644 index 0000000000..123fabd37c --- /dev/null +++ b/sdk/drafts/fract-machine/chunk.h @@ -0,0 +1,51 @@ +/* Shared chunk implementation: native render inlines it; the external + * entry retains the same validation and behavior for other callers. */ +#ifndef FRACT_MACHINE_CHUNK_H +#define FRACT_MACHINE_CHUNK_H +#include "machine.h" +#include "grain.h" +#include "sizes.h" +#include "cpu_profile.h" + +static inline __attribute__((always_inline)) int og_machine_chunk_inline(unsigned track, const OgSource *source, + const OgMachineControls *controls, int32_t *audio, + unsigned count) { + if (track >= 8 || count - 1u >= 64) return OG_MACHINE_IGNORED; + if (!source || source->frames - 1u >= 44860416u || source->slot >= 128 || + !source->identity || (source->bytes != 2 && source->bytes != 3) || + (source->channels != 1 && source->channels != 2) || source->little) { + og_machine_leave(track); + return OG_MACHINE_IGNORED; + } + if (!controls || !audio) return OG_MACHINE_IGNORED; + if (og_owner < 8 && og_owner != track) return OG_MACHINE_BUSY; + + unsigned density = controls->density; + unsigned forwards = controls->forwards; + uint8_t params[OG_PARAMS] = { + og_densities[density > 127 ? 127 : density], + controls->size, controls->position, controls->scan, controls->spread, + controls->pan, controls->shape, + (uint8_t)(127 - (forwards > 127 ? 127 : forwards)) + }; + uint32_t identity = source->identity ^ (source->slot << 24); + if (og_owner == 8 || og_state.identity != identity) + og_reset(&og_state, identity); + og_owner = track; + og_state.pitch = 0; + og_state.spread_mode = controls->local_spread == 1; + + /* The endpoint cache is local to this chunk, just as in source.c. */ + OgSource src = *source; + src.join_mode = src.frames >= 2048; +#ifdef OG_MACHINE_CPU_PROFILE + uint32_t at=og_cpu_clock(); +#endif + og_engine(&og_state, &src, params, audio, count); +#ifdef OG_MACHINE_CPU_PROFILE + og_cpu_grain_end(at,count); +#endif + return OG_MACHINE_RENDERED; +} + +#endif diff --git a/sdk/drafts/fract-machine/engine/grain.c b/sdk/drafts/fract-machine/engine/grain.c index 28f19b40c9..ffab738820 100644 --- a/sdk/drafts/fract-machine/engine/grain.c +++ b/sdk/drafts/fract-machine/engine/grain.c @@ -1,5 +1,9 @@ /* Sample coordinates stay in frames, including at long sample lengths. */ #include "grain.h" +/* Two live readers share the existing three-slot, 128-byte storage ABI. */ +#define OG_ENGINE_READERS 2 +enum { OG_LIVE_GRAINS=OG_ENGINE_READERS }; +_Static_assert(OG_ENGINE_READERS<=OG_MAX_GRAINS,"Live readers fit the storage ABI"); #include "sizes.h" #include "window.h" #ifdef OG_MACHINE_CPU_PROFILE @@ -8,7 +12,7 @@ #ifdef OG_NATIVE_STAGE_ONE #include "source.h" #endif -/* Density is the first control: 127, three heads a third of a length +/* Density is the first control: 127, two heads a half of a length * apart, is what DENS 127 gives (source.c, og_densities); lower densities * space births og_hop apart, the historical DENS schedule. OG_FIXED_DENSITY * pins it at 127 for a scalar differential oracle. */ @@ -18,6 +22,9 @@ #define DENSITY(p) ((unsigned)(p)[0]) #endif #define SPREAD(p) ((unsigned)(p)[4]) +#ifdef OG_NATIVE_STAGE_ONE +#define OG_NATIVE_PAN_TABLE +#endif #include "pan.h" OgGrain og_state={0}; uint32_t og_owner=8; @@ -31,13 +38,13 @@ uint32_t og_size(unsigned value) { return og_length((value>127?127:value)>>1); } #endif -/* Birth spacing: a third of the length at density 127 (no division), else - * ceil(127*length/(3*density)); 0 schedules no birth. length*127 stays +/* Birth spacing: a half of the length at density 127 (no division), else + * ceil(127*length/(2*density)); 0 schedules no birth. length*127 stays * below 2^24. */ uint32_t og_hop(uint32_t length,unsigned density) { if (!density) return 0; - return density==127?(length+OG_MAX_GRAINS-1u)/OG_MAX_GRAINS: - (length*127u+OG_MAX_GRAINS*density-1u)/(OG_MAX_GRAINS*density); + return density==127?(length+OG_LIVE_GRAINS-1u)/OG_LIVE_GRAINS: + (length*127u+OG_LIVE_GRAINS*density-1u)/(OG_LIVE_GRAINS*density); } static uint32_t scale(uint32_t n,unsigned v) { return (n/127)*v+(n%127)*v/127; @@ -90,10 +97,10 @@ static void advance_scan(OgGrain *s,uint32_t frames,int rate,unsigned count) { s->scan=(uint32_t)next; } #endif -/* A successful birth puts its reader's index in *born (OG_MAX_GRAINS: none). */ +/* A successful birth puts its reader's index in *born (OG_LIVE_GRAINS: none). */ static uint32_t birth(OgGrain *s,uint32_t frames,const uint8_t *p,unsigned *born) { uint32_t wait=~0u; - for (unsigned g=0;ghead+g; if (h->length) { uint32_t remaining=h->length-h->age; @@ -136,7 +143,9 @@ static uint32_t birth(OgGrain *s,uint32_t frames,const uint8_t *p,unsigned *born /* POS (plus SCAN/SPRD) is the span's centre. An even number of * frames has its centre half a frame to the right. Reduce before * subtracting: a grain may circle a source shorter than SIZE. */ - uint32_t left=((h->length-1u)/2u)%frames; + uint32_t distance=h->length-1u; + uint32_t left=distance/2u; + if (left>=frames) left%=frames; target=target>=left?target-left:frames-(left-target); h->start=h->cursor=target; /* SHPE: the window this grain keeps for life, so an edit never @@ -153,10 +162,17 @@ static uint32_t birth(OgGrain *s,uint32_t frames,const uint8_t *p,unsigned *born x^=(x<<7)&65535u;x^=x>>9;x^=(x<<8)&65535u; h->rev_seed=(uint16_t)x; reverse=(x*127u>>16)start=h->cursor=(target+h->length-1u)%frames; + if (reverse) { + /* Both reduced coordinates are below frames, so one + * subtraction wraps the endpoint without a division. */ + if (distance>=frames) distance%=frames; + uint32_t endpoint=target+distance; + if (endpoint>=frames) endpoint-=frames; + h->start=h->cursor=endpoint; + } } h->reverse=(uint8_t)reverse; - h->step=(1u<<31)/(h->length-1); + h->step=og_step(p[1]>>1); pan_birth(s,h,p[5]); /* Round upward so an odd-length head retires before reuse. */ return og_hop(h->length,DENSITY(p)); @@ -169,6 +185,9 @@ static uint32_t birth(OgGrain *s,uint32_t frames,const uint8_t *p,unsigned *born * link no libgcc): exact while c*a fits 32 bits, else c drops just enough * low bits, a relative error below 2^-8. */ static uint32_t rescale(uint32_t c,uint32_t a,uint32_t b) { + /* a <= 2^23 by the velocity bound above: this product cannot overflow. + * Short pending births avoid the overflow-test division. */ + if (c<512u) return c*a/b; unsigned shift=0; while ((c>>shift)>0xffffffffu/a) ++shift; return ((c>>shift)*a/b)<params[1]>>1; + unsigned step=length==og_length(size)?og_step(size):(1u<<31)/(length-1u); + unsigned live=0,wait=~0u; + for(unsigned g=0;ghead+g; if(!h->length)continue; unsigned own=step; if(h->shape) { uint32_t shortest=og_length(og_shape_floor[h->shape-1]); - if(lengthshape-1]); } unsigned life=((1u<<31)-h->phase)/own+1; h->length=h->age+life;h->step=own;live=1; if(lifecountdown) s->countdown=rescale(s->countdown,(1u<<31)/(og_length(old_size)-1),step); + if(live && s->countdown) s->countdown=rescale(s->countdown,og_step(old_size),step); if(DENSITY(s->params)==127 && s->countdown>wait)s->countdown=wait; } @@ -290,7 +311,15 @@ static unsigned mix_head( else {cursor+=n;if (cursor==frames) cursor=0;} for (unsigned end=j+n;jfill) k=fill-j; + if (jfill) { + unsigned tail=j+k-fill; + if (tail<=2) { + /* Adding to a zeroed new tail is the same sum as storing + * there. Avoid a second tiny call at the fill boundary. */ + for(unsigned z=fill;zpcm=a;span->acc=acc+2*j;span->phase=phase; span->frames=(uint16_t)k;span->first=(uint8_t)(j>=fill); mix(span); @@ -303,9 +332,8 @@ static unsigned mix_head( place->page=page;place->remaining=remaining; return fill; } -/* The native engine: the same schedule, births, retiming, SCAN clock, PAN - * and entry ramp as 0.9.6's packet engine at unity, frame for frame. Births - * fall on span starts; within a span every live head mixes independently. +/* The two-reader native engine follows the per-frame scalar schedule below. + * Births fall on span starts; within a span each live head mixes independently. * Each head's fields are read once a span and written back once. */ void og_engine(OgGrain *s,const OgSource *src,const uint8_t *p,int32_t *audio,unsigned count) { uint32_t frames=src->frames; @@ -316,9 +344,9 @@ void og_engine(OgGrain *s,const OgSource *src,const uint8_t *p,int32_t *audio,un #endif /* The clamped controls go to the state, as 0.9.6 kept them; the call * reads its stack copy. */ - uint8_t q[OG_PARAMS]; + uint8_t q[OG_PARAMS] __attribute__((aligned(4))); for (unsigned k=0;k127?127:p[k]; - for (unsigned k=0;k<6;++k) s->params[k]=q[k]; + __builtin_memcpy(s->params,q,sizeof s->params); if (size!=(unsigned)(q[1]>>1)) retime(s,size,og_size(q[1])); /* A density edit keeps the pending birth's place in its interval (the * historical DENS rule): the wait scales by old/new, rounded up. @@ -335,8 +363,8 @@ void og_engine(OgGrain *s,const OgSource *src,const uint8_t *p,int32_t *audio,un uint32_t countdown=s->countdown; OgJoin join={0,{0,0}}; OgSpan span; - OgPlace places[OG_MAX_GRAINS]; - for (unsigned g=0;ghead+g; + if (!h->length) break; + ++occupied; + uint32_t wait=h->length-h->age; + if (waitcountdown) m=countdown; countdown-=m; } - for (unsigned g=0;ghead+g; uint32_t length=h->length; if (!length) continue; @@ -483,12 +526,12 @@ void og_grain_all(OgGrain *s,uint32_t frames,const uint8_t *p,int32_t *audio, #ifndef OG_FIXED_DENSITY unsigned previous_density=s->params[0]; #endif - uint8_t q[OG_PARAMS]; + uint8_t q[OG_PARAMS] __attribute__((aligned(4))); for (unsigned k=0;k127?127:p[k]; #ifdef OG_FIXED_DENSITY q[0]=127; #endif - for (unsigned k=0;k<6;++k) s->params[k]=q[k]; + __builtin_memcpy(s->params,q,sizeof s->params); p=q; unsigned density=DENSITY(p); /* Preserve the pending launch phase through density automation. Repeated @@ -512,7 +555,7 @@ void og_grain_all(OgGrain *s,uint32_t frames,const uint8_t *p,int32_t *audio, --s->countdown; } int32_t sum[2]={0,0}; - for (unsigned g=0;ghead+g; if (!h->length) continue; int32_t pcm[2];read(context,h->cursor,pcm); diff --git a/sdk/drafts/fract-machine/engine/kernel.s b/sdk/drafts/fract-machine/engine/kernel.s index bb75128e41..ad9469b45c 100644 --- a/sdk/drafts/fract-machine/engine/kernel.s +++ b/sdk/drafts/fract-machine/engine/kernel.s @@ -39,7 +39,8 @@ | | Registers in the loop: a0 the PCM, a1 the accumulator, a2 the segment's | end in it, a3 the step (negative falling), a4 left << 16, a5 the span, a6 -| the loop; d0 env, d1/d3 samples, d2 the phase p, d4 delta, d5 the next +| the loop (or cached coefficient in the short loop); d0 env, d1/d3 +| samples, d2 the phase p (shifted in the short loop), d4 delta, d5 the next | segment's phase, d6 gain_l, d7 gain_r. 44(sp) holds the span's end. | d2-d7/a2-a6 are saved and restored. Only addressing forms make | image-check admits: no scale-8, word-index or memory-indirect operands. No @@ -55,6 +56,21 @@ add.l %a3,%d2 .endm +| Short windows cross segments every few samples. Compute the +| interpolation directly instead of dividing to find each segment's end. +| Cache a coefficient until its segment changes. a6 points at it, +| d4 holds its delta in the low word, a4 is left << 16. d2 is the low +| 24 phase bits shifted left 8, a3 the signed step shifted left 8. ADD.L +| sets carry on a rising wrap and clears carry on a falling borrow. Test +| the span end before reloading, including when the final phase is zero. + .macro SHORT_ENV + move.l %d2,%d0 + swap %d0 + mulu.w %d4,%d0 + add.l %a4,%d0 + swap %d0 + .endm + | One channel of one frame: the sample in the low word of \reg. .macro PUT reg, gain, scaled, op .if \scaled @@ -70,8 +86,14 @@ | predecrementing reads. Chosen once a span: a6 takes the loop, then the | first segment; each segment's frames end at a2. | One frame, shared by the odd prefix and paired body. - .macro FRAME fmt, scaled, op, dir=0 + .macro FRAME fmt, scaled, op, dir=0, direct=0 + .if \direct != 2 + .if \direct + SHORT_ENV + .else ENV + .endif + .endif .if \fmt == 0 .if \dir move.b (%a0),%d1 @@ -131,6 +153,91 @@ .endif .endm + +| Advance a cached coefficient; only after the caller proves a sample +| remains. On a paired body's first frame that follows from the even tail. + .macro SHORT_LOAD fall + .if \fall + subq.l #2,%a6 + .else + addq.l #2,%a6 + .endif + mvz.w (%a6),%d0 + mvz.w 2(%a6),%d4 + sub.l %d0,%d4 + swap %d0 + movea.l %d0,%a4 + .endm + +| One optional odd frame, then pairs. The first frame of each pair needs +| no end comparison: the second frame is guaranteed by the even tail. + .macro SHORT_LOOP fmt, scaled, op, dir, fall + move.l %a2,%d0 + sub.l %a1,%d0 + btst #3,%d0 + beq.w .Lshort_pair\@ + FRAME \fmt,\scaled,\op,\dir,1 + add.l %a3,%d2 + .if \fall + bcc.s .Lshort_odd_cross\@ + .else + bcs.s .Lshort_odd_cross\@ + .endif + cmpa.l %a2,%a1 + beq.w .Lspan_next + bra.w .Lshort_pair\@ +.Lshort_odd_cross\@: + cmpa.l %a2,%a1 + beq.w .Lspan_next + SHORT_LOAD \fall +.Lshort_pair\@: + FRAME \fmt,\scaled,\op,\dir,1 + add.l %a3,%d2 + .if \fall + bcs.s .Lshort_second\@ + .else + bcc.s .Lshort_second\@ + .endif + SHORT_LOAD \fall +.Lshort_second\@: + FRAME \fmt,\scaled,\op,\dir,1 + add.l %a3,%d2 + .if \fall + bcc.s .Lshort_pair_cross\@ + .else + bcs.s .Lshort_pair_cross\@ + .endif + cmpa.l %a2,%a1 + bne.w .Lshort_pair\@ + bra.w .Lspan_next +.Lshort_pair_cross\@: + cmpa.l %a2,%a1 + beq.w .Lspan_next + SHORT_LOAD \fall + bra.w .Lshort_pair\@ + .endm + +| A constant segment (including the one-frame peak) needs no phase or +| interpolation in its sample loop. Lspan_go already advanced d5 for the +| next segment; Lspan_fit consumes the entire call. d0 stays the gain. + .macro FLAT_LOOP fmt, scaled, op, dir + move.l %a4,%d0 + swap %d0 + move.l %a2,%d3 + sub.l %a1,%d3 + btst #3,%d3 + beq.w .Lflat_pair\@ + FRAME \fmt,\scaled,\op,\dir,2 + cmpa.l %a2,%a1 + beq.w .Lspan_next +.Lflat_pair\@: + FRAME \fmt,\scaled,\op,\dir,2 + FRAME \fmt,\scaled,\op,\dir,2 + cmpa.l %a2,%a1 + bne.w .Lflat_pair\@ + bra.w .Lspan_next + .endm + .macro LOOP fmt, scaled, op, dir=0 .if \dir && \fmt == 1 addq.l #6,%a0 @@ -141,12 +248,28 @@ .if \dir && \fmt == 3 addq.l #4,%a0 .endif + move.l 12(%a5),%d0 + cmpi.l #0x00280000,%d0 + bcs.w .Lshort_normal\@ + bsr.w og_short_setup + tst.l %d0 + beq.w .Lshort_normal\@ + cmpi.l #2,%d0 + beq.w .Lflat\@ + tst.l %d0 + bmi.w .Lshort_fall\@ + SHORT_LOOP \fmt,\scaled,\op,\dir,0 +.Lshort_fall\@: + SHORT_LOOP \fmt,\scaled,\op,\dir,1 +.Lshort_normal\@: move.l 12(%a5),%d0 cmpi.l #0x00020000,%d0 bhi.w 3f lea 1f(%pc),%a6 bra.w .Lspan_seg -1: move.l %a2,%d0 +1: tst.l %d4 + beq.w .Lflat\@ + move.l %a2,%d0 sub.l %a1,%d0 btst #3,%d0 beq.w 2f @@ -160,10 +283,14 @@ bra.w .Lspan_next 3: lea 4f(%pc),%a6 bra.w .Lspan_seg -4: FRAME \fmt,\scaled,\op,\dir +4: tst.l %d4 + beq.w .Lflat\@ +5: FRAME \fmt,\scaled,\op,\dir cmpa.l %a2,%a1 - bne.s 4b + bne.s 5b bra.w .Lspan_next +.Lflat\@: + FLAT_LOOP \fmt,\scaled,\op,\dir .endm | The four formats for one PAN scaling and add/store; the format is in d0. @@ -182,16 +309,16 @@ LOOP 1,\scaled,\op,\dir .endm -| The span into registers (above), its end on the stack; the format is +| Entry preflight supplied a0=span,d0=count. Save the loop registers and +| the span end on the stack; the format is | left in d0. .macro PROLOGUE lea -48(%sp),%sp movem.l %d2-%d7/%a2-%a6,(%sp) - movea.l 52(%sp),%a5 + movea.l %a0,%a5 movea.l (%a5),%a0 movea.l 4(%a5),%a1 move.l 8(%a5),%d5 - mvz.w 32(%a5),%d0 lsl.l #3,%d0 lea (%a1,%d0.l),%a2 move.l %a2,44(%sp) @@ -222,12 +349,20 @@ .even .global og_mix_span og_mix_span: + movea.l 4(%sp),%a0 + mvz.w 32(%a0),%d0 + cmpi.l #1,%d0 + beq.w og_mix_one PROLOGUE ENTRY 0 .even .global og_mix_span_reverse og_mix_span_reverse: + movea.l 4(%sp),%a0 + mvz.w 32(%a0),%d0 + cmpi.l #1,%d0 + beq.w og_mix_one PROLOGUE ENTRY 1 @@ -242,11 +377,9 @@ og_mix_span_reverse: move.l #0x00ffffff,%d0 and.l %d2,%d0 movea.l 16(%a5),%a4 | the attack half -| Long windows usually keep a whole source span in one envelope segment. -| Check its LAST used phase; if it fits, the next segment phase is unused -| and neither the division nor the segment-end construction is needed. - cmpi.l #0x00020000,%d1 - bhi.s .Lspan_rising_split +| Check the LAST used phase at every SIZE. Native pitch and trig splits +| often leave a short span even when the window step is large. If it fits, +| neither division nor segment-end construction is needed. move.l 44(%sp),%d3 sub.l %a1,%d3 lsr.l #3,%d3 @@ -291,8 +424,6 @@ og_mix_span_reverse: move.l #0x00ffffff,%d0 and.l %d2,%d0 movea.l 20(%a5),%a4 | the release half - cmpi.l #0x00020000,%d1 - bhi.s .Lspan_falling_split move.l 44(%sp),%d3 sub.l %a1,%d3 lsr.l #3,%d3 @@ -339,6 +470,174 @@ og_mix_span_reverse: lea 48(%sp),%sp rts +| Private assembly helper, called after the mixer's register save. Its +| custom convention clobbers d0-d5/a3-a4/a6; no additional save frame. It +| accepts a whole span strictly inside one half, so the direct loop never +| reads beyond a table's peak entry or needs a segment continuation. + .global og_short_setup + .hidden og_short_setup +og_short_setup: + move.l 8(%a5),%d5 + move.l 12(%a5),%d1 + cmpi.l #0x00800000,%d1 + bcc.w .Lshort_reject + cmp.l 24(%a5),%d5 + beq.w .Lshort_reject + bcc.s .Lshort_falling + mvz.w 32(%a5),%d3 + subq.l #1,%d3 + mulu.l %d1,%d3 + add.l %d5,%d3 + cmp.l 24(%a5),%d3 + bcc.w .Lshort_reject + move.l %d5,%d2 + movea.l %d1,%a3 + movea.l 16(%a5),%a6 + moveq #1,%d1 + bra.s .Lshort_prepare +.Lshort_falling: + move.l #0x80000000,%d2 + sub.l %d5,%d2 + neg.l %d1 + movea.l %d1,%a3 + movea.l 20(%a5),%a6 + moveq #-1,%d1 +.Lshort_prepare: + move.l %d2,%d3 + moveq #24,%d0 + lsr.l %d0,%d3 + lea (%a6,%d3.l*2),%a6 + mvz.w (%a6),%d0 + mvz.w 2(%a6),%d4 + sub.l %d0,%d4 + swap %d0 + movea.l %d0,%a4 +| Authored SHPE halves are monotone. If both end segments are the same +| constant pair, every phase between them has exactly this gain. Restrict +| the shortcut to our table; arbitrary caller tables retain the direct loop. + tst.l %d4 + bne.w .Lshort_variable + move.l %a6,%d3 + subi.l #og_shape_gain,%d3 + cmpi.l #6240,%d3 + bcc.w .Lshort_variable + mvz.w 32(%a5),%d3 + subq.l #1,%d3 + move.l %a3,%d0 + mulu.l %d0,%d3 + add.l %d2,%d3 + move.l %d2,%d0 + moveq #24,%d5 + lsr.l %d5,%d0 + lsr.l %d5,%d3 + sub.l %d0,%d3 + move.l (%a6,%d3.l*2),%d5 + move.l %a4,%d0 + move.l %d0,%d3 + swap %d3 + or.l %d3,%d0 + cmp.l %d0,%d5 + bne.s .Lshort_variable + moveq #2,%d0 + rts +.Lshort_variable: + lsl.l #8,%d2 + move.l %a3,%d0 + lsl.l #8,%d0 + movea.l %d0,%a3 + move.l %d1,%d0 + rts +.Lshort_reject: + moveq #0,%d0 + rts + +| One sample has no PCM direction or segment continuation. Use only +| caller-saved d0/d1/a0/a1, with one four-byte temporary (first left, then +| envelope). PAN keeps the same intermediate signed truncation, including +| exact unity256. No callee-saved register frame is needed on this path. + .even + .global og_mix_one + .hidden og_mix_one +og_mix_one: + move.l 8(%a0),%d0 + cmp.l 24(%a0),%d0 + beq.w .Lone_peak + bcs.s .Lone_rising + move.l #0x80000000,%d1 + sub.l %d0,%d1 + move.l %d1,%d0 + movea.l 20(%a0),%a1 + bra.s .Lone_interp +.Lone_rising: + movea.l 16(%a0),%a1 +.Lone_interp: + move.l %d0,%d1 + lsr.l #8,%d1 + lsr.l #8,%d1 + lsr.l #8,%d1 + lea (%a1,%d1.l*2),%a1 + mvz.w (%a1)+,%d1 + move.l %d1,-(%sp) + mvz.w (%a1),%d1 + sub.l (%sp),%d1 + lsr.l #8,%d0 + mulu.w %d1,%d0 + swap %d0 + add.l (%sp)+,%d0 + bra.s .Lone_decode +.Lone_peak: + move.l %d0,%d1 + lsr.l #8,%d1 + lsr.l #8,%d1 + lsr.l #8,%d1 + movea.l 16(%a0),%a1 + mvz.w (%a1,%d1.l*2),%d0 +.Lone_decode: + move.l %d0,-(%sp) + movea.l (%a0),%a1 + mvz.b 34(%a0),%d0 + cmpi.l #2,%d0 + bcs.s .Lone_24 + beq.s .Lone_mono16 + move.l (%a1),%d0 + move.l %d0,%d1 + swap %d0 + bra.s .Lone_pan +.Lone_mono16: + move.w (%a1),%d0 + move.l %d0,%d1 + bra.s .Lone_pan +.Lone_24: + tst.l %d0 + beq.s .Lone_mono24 + move.w (%a1),%d0 + move.l 2(%a1),%d1 + lsr.l #8,%d1 + bra.s .Lone_pan +.Lone_mono24: + move.b (%a1),%d0 + lsl.l #8,%d0 + move.b 1(%a1),%d0 + move.l %d0,%d1 +.Lone_pan: + muls.w 28(%a0),%d0 + asr.l #8,%d0 + muls.w 30(%a0),%d1 + asr.l #8,%d1 + muls.w 2(%sp),%d0 + muls.w 2(%sp),%d1 + addq.l #4,%sp + movea.l 4(%a0),%a1 + tst.b 35(%a0) + beq.s .Lone_add + move.l %d0,(%a1) + move.l %d1,4(%a1) + rts +.Lone_add: + add.l %d0,(%a1) + add.l %d1,4(%a1) + rts + | Exact fused source-end seam: same Q31 window segments and PAN as above. | Decode PCM and apply the accepted 128-frame convex source-end crossfade | directly before PAN/window accumulation, avoiding the intermediate pairs. @@ -459,7 +758,8 @@ og_mix_span_reverse: SEAM_LOOP 1,\scaled,\op,\dir .endm -| The span into registers (above), its end on the stack; the format is +| Entry preflight supplied a0=span,d0=count. Save the loop registers and +| the span end on the stack; the format is | left in d0. .macro SEAM_PROLOGUE lea -56(%sp),%sp diff --git a/sdk/drafts/fract-machine/engine/pitch.c b/sdk/drafts/fract-machine/engine/pitch.c index 962de42a5a..de9be67fe3 100644 --- a/sdk/drafts/fract-machine/engine/pitch.c +++ b/sdk/drafts/fract-machine/engine/pitch.c @@ -7,6 +7,8 @@ #include "window.h" #ifdef OG_NATIVE_STAGE_ONE #include "kernel.h" +#define OG_PAN_STORAGE +#include "pan_gains.h" #ifndef U8 #define U8(a) (*(volatile uint8_t *)(uintptr_t)(a)) #define U16(a) (*(volatile uint16_t *)(uintptr_t)(a)) diff --git a/sdk/drafts/fract-machine/evidence/hardware-20261126.json b/sdk/drafts/fract-machine/evidence/hardware-20261126.json new file mode 100644 index 0000000000..63cf578f49 --- /dev/null +++ b/sdk/drafts/fract-machine/evidence/hardware-20261126.json @@ -0,0 +1,554 @@ +{ + "hardware": true, + "base": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", + "package": "0169b957850b303f0d18f42d0e4b776391a3f70f9b5e7698aa2996ee88b20193", + "limits": "Diagnostic wrapper includes native FLEX and timer overhead; own peaks are lifetime since probe install, frame peaks since named guard reset; no release qualification.", + "cases": [ + { + "label": "16m-flex", + "sounding": true, + "slot": 12, + "mode": 2, + "controls": [ + 64, + 0, + 0, + 127, + 0, + 79 + ], + "setup": [ + 2, + 0, + 0, + 0, + 0, + 64 + ], + "collectorExit": 0, + "output": "16m-flex.json", + "windows": 20, + "frameMeanPercent": 30.4, + "framePeakPercent": 66.6, + "skips": 0, + "idleMeanPercent": 56.820605064403345, + "ownBlockPeakSinceInstallUs": 0, + "maxClockRelativeError": 0.00017315263626471733, + "rawSha256": "d84d82d634a11899a8f1a915d65738778392da5d8601a9057130580b579a72ff", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 12 + }, + { + "label": "16m-fract-default", + "sounding": true, + "slot": 12, + "mode": 2, + "controls": [ + 18, + 86, + 127, + 0, + 64, + 64 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "16m-fract-default.json", + "windows": 19, + "frameMeanPercent": 61.4, + "framePeakPercent": 92.2, + "skips": 0, + "idleMeanPercent": 31.08612645722851, + "ownBlockPeakSinceInstallUs": 154.6818181818182, + "maxClockRelativeError": 6.930114853020974e-05, + "rawSha256": "f0c8d040890221d27ab345d7548820e53d782284e739eb7e0990b4cf87182b9d", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 12 + }, + { + "label": "16m-fract-extreme", + "sounding": true, + "slot": 12, + "mode": 2, + "controls": [ + 0, + 0, + 0, + 127, + 127, + 124 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "16m-fract-extreme.json", + "windows": 20, + "frameMeanPercent": 66.6, + "framePeakPercent": 95.5, + "skips": 0, + "idleMeanPercent": 25.731698084587148, + "ownBlockPeakSinceInstallUs": 175.74242424242425, + "maxClockRelativeError": 9.046119892253124e-05, + "rawSha256": "e9f511c0b3ad507e079df7a00e893a532be7d9b75eef3e43a193cbdf326705d8", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 12 + }, + { + "label": "16m-fract-quiet", + "sounding": false, + "slot": 12, + "mode": 2, + "controls": [ + 0, + 0, + 0, + 127, + 127, + 124 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "16m-fract-quiet.json", + "windows": 20, + "frameMeanPercent": 30.5, + "framePeakPercent": 49.3, + "skips": 0, + "idleMeanPercent": 55.05348188380677, + "ownBlockPeakSinceInstallUs": 175.74242424242425, + "maxClockRelativeError": 0.00018090810169157923, + "rawSha256": "7fcc57a907f8478cc6d70f74742fe9f85a81dd0339a1a9508f91222df0e93134", + "voiceActiveVerified": false, + "voiceSampleSlotVerified": null + }, + { + "label": "16s-flex", + "sounding": true, + "slot": 13, + "mode": 3, + "controls": [ + 64, + 0, + 0, + 127, + 0, + 79 + ], + "setup": [ + 2, + 0, + 0, + 0, + 0, + 64 + ], + "collectorExit": 0, + "output": "16s-flex.json", + "windows": 19, + "frameMeanPercent": 30.5, + "framePeakPercent": 64.0, + "skips": 0, + "idleMeanPercent": 56.625856468552215, + "ownBlockPeakSinceInstallUs": 175.74242424242425, + "maxClockRelativeError": 0.00021192996339880477, + "rawSha256": "312954933fbe2a62837f8710761b84e26ae66df284a59d87fd87a690946e68d1", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 13 + }, + { + "label": "16s-fract-default", + "sounding": true, + "slot": 13, + "mode": 3, + "controls": [ + 18, + 86, + 127, + 0, + 64, + 64 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "16s-fract-default.json", + "windows": 20, + "frameMeanPercent": 61.6, + "framePeakPercent": 91.2, + "skips": 0, + "idleMeanPercent": 30.802466105337565, + "ownBlockPeakSinceInstallUs": 175.74242424242425, + "maxClockRelativeError": 7.519392424781834e-05, + "rawSha256": "61b4733adde08f011bd532cf9271962899ad88b3134feb97dc875c2c41b762a0", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 13 + }, + { + "label": "16s-fract-extreme", + "sounding": true, + "slot": 13, + "mode": 3, + "controls": [ + 0, + 0, + 0, + 127, + 127, + 124 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "16s-fract-extreme.json", + "windows": 21, + "frameMeanPercent": 68.0, + "framePeakPercent": 95.5, + "skips": 0, + "idleMeanPercent": 24.273920085291824, + "ownBlockPeakSinceInstallUs": 178.16666666666666, + "maxClockRelativeError": 6.726679196766838e-05, + "rawSha256": "3d43903c7fa8d41cd767e2d4fd69a9b8ca3adcea22024e3ea305257f30efedff", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 13 + }, + { + "label": "16s-fract-quiet", + "sounding": false, + "slot": 13, + "mode": 3, + "controls": [ + 0, + 0, + 0, + 127, + 127, + 124 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "16s-fract-quiet.json", + "windows": 20, + "frameMeanPercent": 30.5, + "framePeakPercent": 49.0, + "skips": 0, + "idleMeanPercent": 55.06977544032839, + "ownBlockPeakSinceInstallUs": 178.16666666666666, + "maxClockRelativeError": 0.00018090810169157923, + "rawSha256": "258259c404da9e4cd7e66e66ea5184024a6612b9df66af9eba79b964282ab3bb", + "voiceActiveVerified": false, + "voiceSampleSlotVerified": null + }, + { + "label": "24m-flex", + "sounding": true, + "slot": 17, + "mode": 0, + "controls": [ + 64, + 0, + 0, + 127, + 0, + 79 + ], + "setup": [ + 2, + 0, + 0, + 0, + 0, + 64 + ], + "collectorExit": 0, + "output": "24m-flex.json", + "windows": 19, + "frameMeanPercent": 30.5, + "framePeakPercent": 60.8, + "skips": 0, + "idleMeanPercent": 56.71173816261449, + "ownBlockPeakSinceInstallUs": 178.16666666666666, + "maxClockRelativeError": 0.00017315263626471733, + "rawSha256": "04bbb5f8a868ddbbe97b54c8c7976b3c3a85eccaea48a1bfaebdbc9da3d71191", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 17 + }, + { + "label": "24m-fract-default", + "sounding": true, + "slot": 17, + "mode": 0, + "controls": [ + 18, + 86, + 127, + 0, + 64, + 64 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "24m-fract-default.json", + "windows": 20, + "frameMeanPercent": 61.6, + "framePeakPercent": 90.5, + "skips": 0, + "idleMeanPercent": 30.877614746896956, + "ownBlockPeakSinceInstallUs": 178.16666666666666, + "maxClockRelativeError": 7.693206151460075e-05, + "rawSha256": "4d3be1536bac096547b4dd5385d5b68901bb5d9a771bb58f6de5f45e8b9b66f8", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 17 + }, + { + "label": "24m-fract-extreme", + "sounding": true, + "slot": 17, + "mode": 0, + "controls": [ + 0, + 0, + 0, + 127, + 127, + 124 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "24m-fract-extreme.json", + "windows": 20, + "frameMeanPercent": 67.4, + "framePeakPercent": 97.6, + "skips": 0, + "idleMeanPercent": 24.939431091958017, + "ownBlockPeakSinceInstallUs": 179.99242424242425, + "maxClockRelativeError": 8.282756158517479e-05, + "rawSha256": "b6d41cf46f93c9d506a2c0197226c3123ff7d8cbccde7a32b01252aab7810b3a", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 17 + }, + { + "label": "24m-fract-quiet", + "sounding": false, + "slot": 17, + "mode": 0, + "controls": [ + 0, + 0, + 0, + 127, + 127, + 124 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "24m-fract-quiet.json", + "windows": 20, + "frameMeanPercent": 30.5, + "framePeakPercent": 48.9, + "skips": 0, + "idleMeanPercent": 55.04889148565664, + "ownBlockPeakSinceInstallUs": 179.99242424242425, + "maxClockRelativeError": 0.00016679757229565162, + "rawSha256": "2a1ae49b7916e32621599330fe891173e677f0407b76bef17e88cb29a33c53cc", + "voiceActiveVerified": false, + "voiceSampleSlotVerified": null + }, + { + "label": "24s-flex", + "sounding": true, + "slot": 15, + "mode": 1, + "controls": [ + 64, + 0, + 0, + 127, + 0, + 79 + ], + "setup": [ + 2, + 0, + 0, + 0, + 0, + 64 + ], + "collectorExit": 0, + "output": "24s-flex.json", + "windows": 20, + "frameMeanPercent": 30.6, + "framePeakPercent": 61.3, + "skips": 0, + "idleMeanPercent": 56.51141069604628, + "ownBlockPeakSinceInstallUs": 179.99242424242425, + "maxClockRelativeError": 0.00014389666028358228, + "rawSha256": "a373c7b0e8bfaffe7ab9da2a046b91a4b1473eafca6f5f9b4142eb1f0782434f", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 15 + }, + { + "label": "24s-fract-default", + "sounding": true, + "slot": 15, + "mode": 1, + "controls": [ + 18, + 86, + 127, + 0, + 64, + 64 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "24s-fract-default.json", + "windows": 19, + "frameMeanPercent": 62.3, + "framePeakPercent": 84.3, + "skips": 0, + "idleMeanPercent": 30.03101136112475, + "ownBlockPeakSinceInstallUs": 179.99242424242425, + "maxClockRelativeError": 9.046119892253124e-05, + "rawSha256": "6ccd03abb507cc0a894a7693e65f531dfa365c46d2160610f9a82bf69a0606b0", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 15 + }, + { + "label": "24s-fract-extreme", + "sounding": true, + "slot": 15, + "mode": 1, + "controls": [ + 0, + 0, + 0, + 127, + 127, + 124 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "24s-fract-extreme.json", + "windows": 20, + "frameMeanPercent": 68.6, + "framePeakPercent": 98.1, + "skips": 0, + "idleMeanPercent": 23.58907869055767, + "ownBlockPeakSinceInstallUs": 184.34848484848484, + "maxClockRelativeError": 7.519392424781834e-05, + "rawSha256": "c0cc3548f7164ba8e8321459543974a453d983e3a8e054e5d72a57850d73b1e0", + "voiceActiveVerified": true, + "voiceSampleSlotVerified": 15 + }, + { + "label": "24s-fract-quiet", + "sounding": false, + "slot": 15, + "mode": 1, + "controls": [ + 0, + 0, + 0, + 127, + 127, + 124 + ], + "setup": [ + 0, + 64, + 0, + 127, + 0, + 168 + ], + "collectorExit": 0, + "output": "24s-fract-quiet.json", + "windows": 19, + "frameMeanPercent": 30.5, + "framePeakPercent": 49.6, + "skips": 0, + "idleMeanPercent": 55.0388414205493, + "ownBlockPeakSinceInstallUs": 184.34848484848484, + "maxClockRelativeError": 0.0003179969513184, + "rawSha256": "6510ddcac291e186d148d4d1b2a44496be87b8fcfa704d4a700eb329a7c1e7ce", + "voiceActiveVerified": false, + "voiceSampleSlotVerified": null + } + ], + "moduleVersion": "0.1.3-experimental", + "status": "DIAGNOSTIC_MEASUREMENTS_NOT_RELEASE_QUALIFICATION" +} diff --git a/sdk/drafts/fract-machine/evidence/hardware-20261127-two-reader.json b/sdk/drafts/fract-machine/evidence/hardware-20261127-two-reader.json new file mode 100644 index 0000000000..d7338fef72 --- /dev/null +++ b/sdk/drafts/fract-machine/evidence/hardware-20261127-two-reader.json @@ -0,0 +1,90 @@ +{ + "schema": 1, + "version": "0.1.6-experimental", + "sourceInputsRevision": "0de973642fbd33e28f46de8f310419f74458dd5e", + "developmentPackage": "9b86e74087dc4a7495a86850b0dcc3f45881335285d8519e1b4e3f03366e0a60", + "developmentBase": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", + "releasedBasePackage": "8c9603a42e6a4ab369d8bfe94fe1f5275a9b4a2c48b285323deb829d486294f0", + "releasedBaseHardware": "NOT_RUN", + "stage1": "INCOMPLETE_FAILED_FIXED_PROCEDURE", + "fixedProcedureFailures": [ + "T5 deliberately unsupported by unchanged single-ownerT1\u2013T4 policy", + "OnePart4 switch did not become active; cause not established; separate12withNO/500mssettle passed" + ], + "formatMatrix": { + "status": "FOUR_FORMAT_MEAN_PRICE_CHECK_OBSERVED_PASS", + "packageSha256": "9b86e74087dc4a7495a86850b0dcc3f45881335285d8519e1b4e3f03366e0a60", + "baseIdentity": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", + "rows": [ + { + "format": "16m", + "mode": 2, + "flexMean": 31.6, + "flexQuietMean": 25.1, + "fractQuietMean": 31.0, + "defaultAdded": 28.3, + "extremeAdded": 32.1 + }, + { + "format": "16s", + "mode": 3, + "flexMean": 31.8, + "flexQuietMean": 27.1, + "fractQuietMean": 31.0, + "defaultAdded": 29.0, + "extremeAdded": 32.9 + }, + { + "format": "24m", + "mode": 0, + "flexMean": 31.7, + "flexQuietMean": 27.1, + "fractQuietMean": 31.0, + "defaultAdded": 28.7, + "extremeAdded": 32.2 + }, + { + "format": "24s", + "mode": 1, + "flexMean": 31.7, + "flexQuietMean": 27.1, + "fractQuietMean": 31.0, + "defaultAdded": 29.1, + "extremeAdded": 33.5 + } + ], + "declaredPrice": 40, + "largestObservedActiveMinusQuietMean": 33.5, + "conditions": "Normal package; FR27TW2 banksA\u2013D,Part1native FLEXloop2/TSTRoff,Part3FRACTdefaults/Part4extreme;120BPM64T1trigs;44.1k88200frames;3swarm+6smeasured perwindow;4chUSBcompanion installed,CoreAudio recorder idle. Source mode and voice slot verified eachwindow.", + "limits": "Observed mean charge only; no static worst-case/peak guarantee, listening or whole-system headroom claim." + }, + "activeUsb": { + "seconds": 122.23282695899252, + "controlWindows": 22, + "guardBefore": 0, + "guardAfter": 0, + "recorderExit": 0, + "fourChannelsActiveAtStartAndEnd": true, + "wholeTrial": "standardUndo normalgen4,emptyinventory;twoCPU>=90%/1s notes,nofault logged" + }, + "partTransitions": "12_TRANSITIONS_PASS_WITH500MS_SETTLE", + "allowedTracks": "T2_T3_T4_SINGLE_OWNER_AND_SECOND_REFUSAL_OBSERVED_PASS", + "audio": { + "seconds": 124.65632653061225, + "nonzeroAll4Channels": true, + "allChannelExactZeroFrames": 0, + "repeatedBlockCounts": { + "16": { + "constantBlocks": 2713, + "varyingRepeatedBlocks": 60 + }, + "64": { + "constantBlocks": 1, + "varyingRepeatedBlocks": 0 + } + }, + "interpretation": "Most repeats are constant plateaux;60varying16frame repeats have at most2distinct values perchannel in inspectedexamples. No synchronized audio oracle/listening, so no dropout clearance." + }, + "restoration": "RESTORED:8Parts exact before finalRAMboot,existingPart1difference preserved;28CFhashes exact after clean read-onlyfsck/remount; ownprojectsremoved/ejected. Independent final readback:released0.8.2base24e480c4,normalgen0,inventory[],missing[],set87f28e38,NORrunningconfirmedslot1gen10/oldslot0gen8,nofallback. Released-baseMEMunavailable; no postbootPartdump claimed.", + "approval": "NoKeep/NOR/waiver/releaseapproval" +} diff --git a/sdk/drafts/fract-machine/evidence/hardware-20261127.json b/sdk/drafts/fract-machine/evidence/hardware-20261127.json new file mode 100644 index 0000000000..b624234951 --- /dev/null +++ b/sdk/drafts/fract-machine/evidence/hardware-20261127.json @@ -0,0 +1,107 @@ +{ + "schema": 1, + "hardware": true, + "date": "2026-11-27", + "module": "fract-machine", + "version": "0.1.5-experimental", + "base": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", + "package": "a3200c887f24112f5f4a94d60626458a8b516baf7baf4b5e5abdfe4b41516066", + "releasedBasePackage": "ee63420569f637d78d3eabba6b209366d76db4a1587e460996cfd1a8b7ff8865", + "releasedBasePackageHardware": "NOT_RUN", + "sourceFixture": { + "project": "FRCT27HW", + "pattern": "A06", + "part": 2, + "tempoBpm": 120, + "sampleMode": "16-bit mono", + "sampleFrames": 88200, + "all64TrigAndLockRowsVerified": true, + "lfoSpeedDepth": [ + 20, + 36, + 52, + 32, + 32, + 32 + ], + "lfoDestinationWave": [ + 0, + 1, + 3, + 1, + 1, + 1 + ] + }, + "standalone": { + "state": "OBSERVED_NO_FAULTS_NOT_RELEASE_QUALIFICATION", + "seconds": 120.32516541692894, + "movingControlOperationsCompleted": 22, + "initialSkips": 32, + "lastRecordedSkips": 32, + "newSkips": 0, + "observedFrameMaxPercent": 92.5, + "rawReceiptSha256": "9a0e3a644c174dd99eb270ac026109c6c2d34cfb42183c56422909e74eb6db1e" + }, + "activeFourChannelUsbAudio": { + "state": "STOPPED_NOT_A_PASS", + "seconds": null, + "movingControlOperationsCompleted": 0, + "initialSkips": 35, + "lastRecordedSkips": 36, + "newSkips": 1, + "observedFrameMaxPercent": 105.2, + "rawReceiptSha256": "070651db41a3c7e21d3c2ca51eb7c92fde79c0dc1fe16ac216e7275a21034b7e", + "prePlaybackSkips": 32, + "playbackWarmupNewSkips": 3, + "newSkipsSincePrePlayback": 4, + "newSkipsDuringFirstControlCheck": 1 + }, + "usbTrialTotalNewSkips": 7, + "newCrash": 0, + "newDspStall": 0, + "retainedHistoricalStallSerial": 7, + "qualification": "FAILED_STAGE1_NOT_RELEASE_READY", + "restoration": { + "base": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "phase": "normal", + "inventory": [], + "missing": [], + "setIdentity": "87f28e38d5fe18c3f6133158ddb0369f9b62f2a46b0ada8c8fc19de1ca9885e8", + "slots": { + "layout": "two", + "running": 1, + "fellBack": false, + "confirmed": true, + "slots": [ + { + "generation": 8, + "whole": true, + "confirmed": true, + "tries": 1 + }, + { + "generation": 10, + "whole": true, + "confirmed": true, + "tries": 1 + } + ] + }, + "originalPartCopiesExact": 8, + "originalCfFilesExact": 28, + "originalCfFilesOverwritten": 0, + "removedOwnProject": "FRCT27HW", + "moduleKeep": false, + "physicalPowerCycle": false, + "ownedLinksClosed": true + }, + "limits": [ + "Physical timer observations are not CPU cycles.", + "No current-build full matched price/four-format matrix.", + "Standalone counters are not analog audio capture or listening.", + "Failed USB capture is not MAIN/CUE dropout qualification; CUE routing unverified.", + "No module Keep or physical reboot in this repair.", + "Diagnostic and earlier optimization packages retain separate identities." + ] +} diff --git a/sdk/drafts/fract-machine/evidence/performance.json b/sdk/drafts/fract-machine/evidence/performance.json index a100e0adc5..bce6fe29a8 100644 --- a/sdk/drafts/fract-machine/evidence/performance.json +++ b/sdk/drafts/fract-machine/evidence/performance.json @@ -1,38 +1,53 @@ { "schema": 1, "module": "fract-machine", - "version": "0.1.3-experimental", + "version": "0.1.7-experimental", "kind": "coldfire", "cycles": { "unit": "cycles/event", "static": null, "measured": null, "budget": null, - "method": "NOT MEASURED. Required: observed own render per 16-sample audio block versus the whole-interrupt guard, with its shared base/other-track work explicitly retained. qualification/build_probe.py prepares a separate private wrapper package without changing original renderer instruction sections; it adds timer/call overhead and reports inclusive peaks, not a static worst-case bound or CPU cycles. Hardware capture and owner decision remain pending. Both base prerequisites PR1418/PR1165 have merged; current named-build hardware timing is pending; read the whole-interrupt guard with npm run device -- guard." + "method": "CPU cycles, static WCET and an exclusive module budget remain unmeasured. Private timer probe observed inclusive callback/block peaks; timer ticks are not CPU cycles." }, "load": { - "frameUs": 362.8, - "stockLongestUs": null, - "moduleLongestUs": null, - "stockIdlePercent": null, - "moduleIdlePercent": null, - "method": "NOT MEASURED. Match native FLEX and FRACT on the same base, sample, pitch, tempo, track activity and page. The private read-only probe exposes idle deltas and the base frame peak since boot; that peak is not a reset window maximum. Compare matched fresh-boot cases, retain the upload receipt and clock consistency check, and keep this limitation in owner review. The 11 November probe produced only five active transition windows without a matched FLEX-playing reference; this is not a qualified comparison. Both base prerequisites PR1418/PR1165 have merged. Current matched hardware timing is pending and includes npm run device -- guard." + "frameUs": 362.81179138321994, + "stockLongestUs": 219.13760606060606, + "moduleLongestUs": 322.17581818181816, + "stockIdlePercent": 57.44195205785997, + "moduleIdlePercent": 34.43134735457165, + "method": "Private probe89411/base46: matched 24-bit stereo native FLEX versus FRACT default, PTCH64, same sample/loop/tempo/64 trigs; no USB audio. Three seconds warm, GUARD reset, three seconds settle, five seconds collection. Guard maxima cover settling plus capture; idle is probe-window mean. Observations, not static WCET or public-package qualification." }, "stress": { "floodMessagesPerSecond": null, - "clockBpm": null, - "seconds": null, + "clockBpm": 120, + "seconds": 122.00270175002515, "stuckNotes": null, - "hangs": null, - "dropped": null, - "droppedExplanation": "", - "method": "NOT RUN. FRACT has no MIDI path: use an audio stress project with its supported one owner, three heads, moving controls, p-locks, LFOs, STOP and Part/project reload. MIDI flood fields stay null and do not claim a test. Owner accepted audio stress in PR1274; no waiver granted." + "hangs": 0, + "dropped": 0, + "droppedExplanation": "No new guarded render skips through final STOP in this active MAIN+CUE four-channel USB case. Digital recording has no all-channel exact-zero interval; repeated blocks remain an observation, not a complete dropout detector.", + "method": "Normal development125c/base46; 64 native parameter locks, three LFOs, 22 MAIN/PAN/SRNG control windows. Recorder ran at both endpoints, all four channels nonzero. No new crash/stall; historical base stall marker7 unchanged. No listening approval; MIDI stuck-note/flood fields inapplicable and left null." }, "scope": { - "packageSha256": "c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29", - "baseIdentity": "eb6679620d0c9ed7ad277598fc0df185e767dfbd0e7eb99bb1518ade9df8a4f0", + "packageSha256": "125c0ab3c7ac9b5cf8afc45710bca68ef62f8e55b34c8bb6fa20e6ae2379a165", + "baseIdentity": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", "ownerMethod": "https://github.com/repeat98/modwerk/pull/1274#issuecomment-6705531953", "waiver": "NOT_GRANTED", - "hardware": "NOT_RUN_ON_0.1.3; earlier package6ff/base72 functional checks remain separately scoped in release/hardware-20261110.md" + "hardware": "Development125c: fixed procedure T1/T5 and 12 Part transitions, MIDI/control soak, all-eight-track picks, four-format matrix and active USB capture observed. Price/procedure and release limits are in the exact-build report.", + "probePackageSha256": "89411b02fd8ff18696d18427cb60120247b531d0ddacf6f43b6c923406c63c8f", + "publicPackageSha256": "f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4" + }, + "observedTiming": { + "inclusiveBlockPeakUs": 168.79545454545453, + "inclusiveCallPeakUs": 131.21212121212122, + "callsPerBlockMax": 2, + "wholeInterruptGuardShareUs": 290.24242424242425, + "maxTimerFrameRelativeError": 0.00015764170541099354, + "scope": "Private probe; original eleven executable units preserved. Includes native FLEX and timer/call overhead, excludes trailing probe bookkeeping. Whole-ISR share also pays base/other work; it is not module headroom. Lifetime callback maxima across twelve cases. No waiver granted." + }, + "additionalWorkloads": { + "result": "EXPANDED_STAGE1_FAILED", + "record": "../release/expanded-failures-20261127-iteration18.json", + "method": "Separate expanded workloads failed; stress fields above describe only the earlier standalone4channel run." } } diff --git a/sdk/drafts/fract-machine/fract_ui.c b/sdk/drafts/fract-machine/fract_ui.c index 318872c949..be4fc04022 100644 --- a/sdk/drafts/fract-machine/fract_ui.c +++ b/sdk/drafts/fract-machine/fract_ui.c @@ -137,13 +137,26 @@ static void ui_pixel(uint32_t frame[256], unsigned x, unsigned y, unsigned ink) else if (ink) *word |= bit; else *word &= ~bit; } +static void ui_column_bits(uint32_t frame[256], unsigned x, unsigned y, + unsigned bits, unsigned ink) { + if (bits==1u) {ui_pixel(frame,x,y,ink);return;} + if (x < 8u || x >= 120u || y >= 56u) return; + uint32_t lower=0,upper=0; + if (y<32u) { + lower=(uint32_t)bits<25u) upper=(uint32_t)bits>>(32u-y); + } else upper=(uint32_t)bits<<(y-32u); + lower&=~1u;upper&=0x00ffffffu; + if (ink==2) {frame[2u*x+1u]^=lower;frame[2u*x]^=upper;} + else if (ink) {frame[2u*x+1u]|=lower;frame[2u*x]|=upper;} + else {frame[2u*x+1u]&=~lower;frame[2u*x]&=~upper;} +} static void ui_text(uint32_t frame[256], unsigned x, unsigned y, const char *s, unsigned ink) { for (;*s;++s) { unsigned c=(unsigned char)*s,w=ui_width(c);uint32_t glyph=ui_glyph(c); for (unsigned col=0;col>=5) - for (unsigned row=0;row<5;++row) - if (glyph&(1u<active&(1u<frames) {ui_text(frame,44,28,"LOAD SAMPLE",1);return;} unsigned peak=1; @@ -219,7 +232,8 @@ void fract_ui_overview_draw(uint32_t frame[256], const FractUiOverview *v) { for (unsigned i=0;i<108u;++i) { unsigned distance=i>centre?i-centre:centre-i; if (v->length>=v->frames || distance<=radius || 108u-distance<=radius) { - ui_pixel(frame,10u+i,17,1);ui_pixel(frame,10u+i,43,1); + frame[2u*(10u+i)+1u]|=1u<<17; + frame[2u*(10u+i)]|=1u<<11; } } if (v->sounding) for (unsigned g=0;g<3;++g) if (v->readers[g]frames) { @@ -227,9 +241,7 @@ void fract_ui_overview_draw(uint32_t frame[256], const FractUiOverview *v) { unsigned sum=v->left[g]+v->right[g]; unsigned y=24u+(sum?v->right[g]*12u/sum:6u); for (unsigned xx=x-1;xx<=x+1;++xx) - for (unsigned yy=y-1;yy<=y+1;++yy) - if (!v->reverse[g] || xx==x-1 || xx==x+1 || yy==y-1 || yy==y+1) - ui_pixel(frame,xx,yy,2); + ui_column_bits(frame,xx,y-1u,v->reverse[g] && xx==x?5u:7u,2); } } static FractUiOverview fract_ui_overview = { diff --git a/sdk/drafts/fract-machine/machine.c b/sdk/drafts/fract-machine/machine.c index 40d2797383..34e193caa9 100644 --- a/sdk/drafts/fract-machine/machine.c +++ b/sdk/drafts/fract-machine/machine.c @@ -3,6 +3,7 @@ #include "base_binding.h" #include "sizes.h" #include "cpu_profile.h" +#include "chunk.h" #ifdef OG_MACHINE_SOURCE_STAGE #include "source_stage.h" #endif @@ -21,40 +22,5 @@ void og_machine_leave(unsigned track) { int og_machine_chunk(unsigned track, const OgSource *source, const OgMachineControls *controls, int32_t *audio, unsigned count) { - if (track >= 8 || count - 1u >= 64) return OG_MACHINE_IGNORED; - if (!source || source->frames - 1u >= 44860416u || source->slot >= 128 || - !source->identity || (source->bytes != 2 && source->bytes != 3) || - (source->channels != 1 && source->channels != 2) || source->little) { - og_machine_leave(track); - return OG_MACHINE_IGNORED; - } - if (!controls || !audio) return OG_MACHINE_IGNORED; - if (og_owner < 8 && og_owner != track) return OG_MACHINE_BUSY; - - unsigned density = controls->density; - unsigned forwards = controls->forwards; - uint8_t params[OG_PARAMS] = { - og_densities[density > 127 ? 127 : density], - controls->size, controls->position, controls->scan, controls->spread, - controls->pan, controls->shape, - (uint8_t)(127 - (forwards > 127 ? 127 : forwards)) - }; - uint32_t identity = source->identity ^ (source->slot << 24); - if (og_owner == 8 || og_state.identity != identity) - og_reset(&og_state, identity); - og_owner = track; - og_state.pitch = 0; - og_state.spread_mode = controls->local_spread == 1; - - /* The endpoint cache is local to this chunk, just as in source.c. */ - OgSource src = *source; - src.join_mode = src.frames >= 2048; -#ifdef OG_MACHINE_CPU_PROFILE - uint32_t at=og_cpu_clock(); -#endif - og_engine(&og_state, &src, params, audio, count); -#ifdef OG_MACHINE_CPU_PROFILE - og_cpu_grain_end(at,count); -#endif - return OG_MACHINE_RENDERED; + return og_machine_chunk_inline(track,source,controls,audio,count); } diff --git a/sdk/drafts/fract-machine/manifest.py b/sdk/drafts/fract-machine/manifest.py index defbe2830f..34465f6cc9 100644 --- a/sdk/drafts/fract-machine/manifest.py +++ b/sdk/drafts/fract-machine/manifest.py @@ -10,7 +10,7 @@ name="fract-machine", key="FRACT", kind=Kind.CF_PATCH, category=Category.MACHINES, author="ex1010", author_url="https://github.com/ex1010", - doc="Source draft: three-grain track machine; no public installable package.", + doc="Source draft: two-grain track machine; no public installable package.", proof=Proof.UNTESTED, proof_note="Short private hardware audition reported; exact public build and release lifecycle unqualified.", gates=(Gate("modules/fract-machine/verify.py", remix_arg=False),), diff --git a/sdk/drafts/fract-machine/media/two-reader-20261127-extreme.png b/sdk/drafts/fract-machine/media/two-reader-20261127-extreme.png new file mode 100644 index 0000000000..474514104d Binary files /dev/null and b/sdk/drafts/fract-machine/media/two-reader-20261127-extreme.png differ diff --git a/sdk/drafts/fract-machine/media/two-reader-20261127-main.png b/sdk/drafts/fract-machine/media/two-reader-20261127-main.png new file mode 100644 index 0000000000..c1d05a34ff Binary files /dev/null and b/sdk/drafts/fract-machine/media/two-reader-20261127-main.png differ diff --git a/sdk/drafts/fract-machine/octamod.module.json b/sdk/drafts/fract-machine/octamod.module.json index 86bfe4730e..17d0e0ec78 100644 --- a/sdk/drafts/fract-machine/octamod.module.json +++ b/sdk/drafts/fract-machine/octamod.module.json @@ -3,16 +3,16 @@ "id": "fract-machine", "key": "FRACT", "name": "FRACT", - "version": "0.1.3-experimental", + "version": "0.1.7-experimental", "category": "machines", "source": { "repository": "https://github.com/ex1010/modwerk", - "revision": "4ed908fa76a5fa93cc2f053242af4e39d80c0ccf", + "revision": "afe5084a96f6a91f0fe727d1470eb9de5fa7bb2f", "path": "sdk/drafts/fract-machine" }, "build": { "status": "pending", - "reason": "Current-base 0.1.3 preparation. Current-build hardware, timing/stress, integration and first-release approval remain pending; historical reports retain their original build scope." + "reason": "Expanded development companion/USB20 tests failed with guard skips; performance investigation and full qualification pending." }, "author": { "github": "ex1010", @@ -23,14 +23,14 @@ }, "nativeManifest": "manifest.py", "presentation": { - "label": "Three-grain USB candidate", + "label": "Two-grain USB candidate", "family": "Granular track machine", - "summary": "Three overlapping grains with centered SIZE, wrapping POS and native FLEX pitch.", - "overview": "Three-grain track machine. USB release candidate; publication and exact-package hardware qualification pending.", + "summary": "Two overlapping grains with centered SIZE, wrapping POS and native FLEX pitch.", + "overview": "Two-grain track machine. Unlisted candidate; exact-package qualification and first-release approval pending.", "highlights": [ - "Three grains; SIZE expands around POS and wraps sample edges.", + "Two grains; SIZE expands around POS and wraps sample edges.", "Native pitch at MAIN F, neutral 64.", - "One owner on T1–T4; no active SPACE or FX2 effect." + "One owner on T1\u2013T8; no active SPACE or FX2 effect." ], "usage": [ "On a compatible private paired build, choose FRACT in SRC SETUP on T1 and load a FLEX sample.", @@ -120,20 +120,20 @@ "uiClaims": [], "limitations": [ "Unlisted source draft; not offered by the public configurator.", - "Eight registry slots exist; FRACT admits only one owner on T1–T4.", + "Eight registry slots exist; FRACT admits only one owner on T1\u2013T8.", "USB package requires the base identified by requiredBase; compatible base rebuilds relink imports.", - "Historical functional lifecycle recorded on package6ff/base72; current-build hardware, stress and companion qualification pending." + "Version0.1.7 remains unqualified: development125c tested; private probe timing is separately scoped; exact released-base audio and human/persistence stage remain pending." ] }, "resources": { - "recorded": "25 November 2026; current own memory/stack accounted; hardware/timing pending", + "recorded": "27 November 2026: memory/stack, development audio and separate probe observations", "storage": { "label": "Public package memory", - "display": "31,824 resident pool bytes; 712 own stack bytes per callback", - "value": 31824, + "display": "67,376 resident pool bytes; 616 own stack bytes per callback", + "value": 67376, "unit": "bytes", "method": "static", - "conditions": "One owner, three heads; includes loader header, image/BSS and alignment. Stack separately bounded; samples reuse stock arena.", + "conditions": "One owner, two active readers in three stored slots; includes loader header, image/BSS and alignment. Stack separately bounded; samples reuse stock arena.", "source": "release/resources.md" }, "processing": { @@ -142,16 +142,16 @@ "value": null, "unit": "cycles/block", "method": "unmeasured", - "conditions": "Worst render timing and matched FLEX comparison not measured; functional hardware checks do not measure cycles.", + "conditions": "Static worst-case CPU cycles remain unmeasured. Probe89411 observed inclusive block peak168.80us including native FLEX and timer overhead; this does not qualify public f806 timing.", "source": "TESTING.md" }, "impact": { - "conditions": "One FRACT owner on T1–T4, three grain heads, moving controls and native-pitch packet splits. Stock sample pages are reused. Replacement temporarily retains two module extents.", + "conditions": "One owner on any T1-T8, two live readers in three stored slots. Development125c observed on all eight tracks and in active USB stress; public-package timing and full qualification pending.", "cpu": { "level": "high", - "basis": "source-estimate", - "rationale": "Audio-rate ColdFire work for three interpolated/windowed stereo readers, unlike a key-only feature; native pitch and split packets affect work. No measured processor percentage or headroom claim.", - "source": "release/resources.md" + "basis": "measured-comparison", + "rationale": "Development125c: largest observed active-minus-quiet mean33.5points in20four-format windows versus descriptor40; no worst-case/peak guarantee.", + "source": "release/hardware-20261127-iteration18.md" }, "dsp": { "level": "minimal", @@ -162,19 +162,28 @@ "memory": { "level": "low", "basis": "source-estimate", - "rationale": "31,824 resident pool bytes and up to 712 own stack bytes per callback; no independent sample buffer. Replacement retains two extents.", + "rationale": "67,376 resident pool bytes; 616 own callback stack bytes; no independent sample buffer. Replacement retains two extents.", "source": "release/resources.md" } + }, + "cpuPrice": { + "value": 40, + "unit": "percent-of-frame", + "measure": "machine-render", + "tool": "npm run device -- do guard (through device-send.py on shared serve)", + "date": "2026-11-27", + "conditions": "Development125c/base46:20verified format windows,120BPM,64T1trigs,44.1kHz88200frame16/24-bit mono/stereo. Maximum active-minus-quiet mean33.5points. Descriptor40 unchanged; this is not static/peak headroom or public-package qualification.", + "source": "release/hardware-20261127-iteration18.md" } }, "tests": { "report": "TESTING.md", - "summary": "Current 0.1.3 has source/host and strict original-stock build checks only; hardware and rendered UI pending. Historical package6ff/base72 functional observations are retained separately and do not qualify this build.", - "hardwareStatus": "untested", + "summary": "Expanded stage1 failed: dense FM Synth/Mini Verb/activeUSB4 trial had9973new guard skips; private fixed20channelUSB case had1new skip at9.445s. Prior standalone4channel and format results stay scoped passes. Public f806 install/integrity/Undo passed only. Performance investigation, human stage and first-release review pending.", + "hardwareStatus": "reported", "gates": [ "modules/fract-machine/verify.py" ], - "evidenceRevision": "4ed908fa76a5fa93cc2f053242af4e39d80c0ccf", + "evidenceRevision": "afe5084a96f6a91f0fe727d1470eb9de5fa7bb2f", "documentation": { "tutorial": { "title": "Quick tutorial", @@ -185,9 +194,8 @@ ] }, "screenshots": [ - "media/qualification-20261125-full.png", - "media/qualification-20261125-local.png", - "media/qualification-20261125-main.png" + "media/two-reader-20261127-main.png", + "media/two-reader-20261127-extreme.png" ], "screenshotStyle": "black-and-white" } @@ -269,7 +277,7 @@ { "path": "media/ot-main.png", "captureType": "emulator", - "caption": "Historical 0.1.2 capture. Load a sample from the FLEX pool, then press SRC for MAIN. Turn A (POS) to move the grain center and B (SIZE) to widen the span; set F (PTCH) to 64 for neutral pitch, displayed 0.0—the pictured stored setting is +3.0.", + "caption": "Historical 0.1.2 capture. Load a sample from the FLEX pool, then press SRC for MAIN. Turn A (POS) to move the grain center and B (SIZE) to widen the span; set F (PTCH) to 64 for neutral pitch, displayed 0.0\u2014the pictured stored setting is +3.0.", "alt": "Stopped FRACT MAIN with the PLUCKS1 waveform, POS 18, SIZE 106, REVS 127, SPRD 0, SHPE 64 and PTCH +3.0.", "credit": "ex1010/toli (actual emulator framebuffer capture)", "license": "LicenseRef-OT-UI-Documentation", diff --git a/sdk/drafts/fract-machine/qualification/README.md b/sdk/drafts/fract-machine/qualification/README.md index 69546b6666..5c61cb07a0 100644 --- a/sdk/drafts/fract-machine/qualification/README.md +++ b/sdk/drafts/fract-machine/qualification/README.md @@ -1,13 +1,17 @@ # Offline measurement preparation -Current preparation is `0.1.3-experimental` on released base 0.8.1, identity -`eb6679620d0c9ed7ad277598fc0df185e767dfbd0e7eb99bb1518ade9df8a4f0`. -The normal package reproduces SHA-256 -`c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29`. -The base prerequisites #1418 and #1165 have merged; final preparation can proceed. -Hardware timing, stress, rendered controls and lifecycle tests on this named -build remain open. [Earlier functional evidence](../release/hardware-20261110.md) -belongs to package6ff/base72 only. Nothing here grants release approval. +Current unlisted preparation is0.1.6 on released base0.8.2. It uses two live +readers while retaining the128-byte three-slot storage ABI and saved controls. +The normal9b86 development package completed a current four-format matrix and122.233s active4chUSB stress; its byte-identical earlier prototype completed two targeted active4chUSB runs +without new guard skips. Rebuild and verify the exact adopted source before +reusing that evidence; all changed bytes require a fresh qualification run. +Full format/price/companion/lifecycle and listening/persistence remain open. + +The module's own tests live in qualification/tests and run through verify.py. +They require exactly two live readers, keep the third slot idle, compare scalar +and native audio/state, and retain packet, owner, START, PAN/window/UI contracts. +First-release community notes are staged in release/changelog-entry.json until +catalog promotion: the shared catalog rejects notes for an unlisted key. ## Private probe build @@ -143,11 +147,14 @@ samples at 44.1 kHz. This consistency check is not an external clock calibration The interval includes native FLEX and timer/call overhead; counter bookkeeping after the second timer read is excluded. The base frame high-water includes the -whole wrapper. Neither peak is reset per collection window. Matched fresh boots -with the same load procedure can delimit comparable since-boot observations; -they do not turn the record into a steady-state window maximum. A reset-window -maximum is unavailable in this read-only production-base method. Retain that -limitation for owner review rather than pretending the requirement is closed. +whole wrapper. Neither peak is reset by this collector. On a development base, +the standard `guard` read resets the base frame maximum, busy sum and count. +Wait at least three seconds after that read before collecting: a probe window +spanning the reset is invalid and must remain a failed capture. Attribute the +base peak to the named reset despite the historical `baseFramePeakSinceBootUs` +field name. Own callback peaks remain lifetime since probe installation. +Without that external reset, matched fresh boots can delimit comparable +since-boot observations; they are not steady-state window maxima. Also capture the frame interrupt with `npm run device -- guard` on the matched cases, as requested in review. Verify that the final base supports the read; keep unsupported reads as missing evidence. Do not change the guard share diff --git a/sdk/drafts/fract-machine/qualification/generate_pan_gains.py b/sdk/drafts/fract-machine/qualification/generate_pan_gains.py new file mode 100644 index 0000000000..f7f692e46a --- /dev/null +++ b/sdk/drafts/fract-machine/qualification/generate_pan_gains.py @@ -0,0 +1,41 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: GPL-3.0-or-later +"""Generate the exact integer PAN curve; no firmware or floating point.""" +import argparse +import math +from pathlib import Path + +TARGET = Path(__file__).resolve().parents[1] / 'support/pan_gains.h' + + +def source(): + values = [] + for width in range(129): + for position in range(2 * width + 1): + gain = math.isqrt(((128 + width - position) << 16) // (128 + width)) + # Position0 is exactly unity and decoded explicitly by the caller. + values.append(0 if gain == 256 else gain) + assert len(values) == 129 * 129 and max(values) <= 255 + rows = [' ' + ','.join(str(v) for v in values[i:i + 32]) + ',' + for i in range(0, len(values), 32)] + return '\n'.join([ + '/* SPDX-License-Identifier: GPL-3.0-or-later */', + '/* Generated by qualification/generate_pan_gains.py from integer math.', + ' * Row width starts at width*width, with 2*width+1 positions.', + ' * Position0 is unity256; its stored zero is never used for that endpoint. */', + '#ifndef FRACT_PAN_GAINS_H', '#define FRACT_PAN_GAINS_H', '#include ', + '#ifndef OG_PAN_STORAGE', 'extern const uint8_t og_pan_gains[16641];', '#else', + 'const uint8_t og_pan_gains[16641] = {', *rows, '};', '#endif', '#endif', '']) + + +if __name__ == '__main__': + parser = argparse.ArgumentParser(description=__doc__) + parser.add_argument('--check', action='store_true') + args = parser.parse_args() + expected = source() + if args.check: + if TARGET.read_text() != expected: + raise SystemExit('PAN gains differ from the exact integer construction') + print('PASS: all16641 PAN entries match the integer construction') + else: + TARGET.write_text(expected) diff --git a/sdk/drafts/fract-machine/qualification/probe_decode.mjs b/sdk/drafts/fract-machine/qualification/probe_decode.mjs index 2141250a6f..06c142aa3e 100644 --- a/sdk/drafts/fract-machine/qualification/probe_decode.mjs +++ b/sdk/drafts/fract-machine/qualification/probe_decode.mjs @@ -43,7 +43,7 @@ export class RenderProbeDecoder { wholeInterruptGuardShareUs: w[9] * 1e6 / timerHz, shedsSinceBoot: w[10], peakContext: { track: (w[11] >>> 16 & 7) + 1, start: w[11] >>> 8 & 31, end: w[11] & 31 }, maxCallsPerBlock: w[12], - limits: 'Observed callback intervals include the native FLEX call and timer/call overhead; counter bookkeeping after the second timer read is excluded. The base frame peak includes the full wrapper and is since boot. Own peaks are lifetime values. Guard share also pays base/other-track work. Not CPU cycles, a static bound, a window frame benchmark or automatic qualification.' + limits: 'Observed callback intervals include the native FLEX call and timer/call overhead; counter bookkeeping after the second timer read is excluded. The base frame peak includes the full wrapper and is since boot unless an external guard read reset it; the operator must record that scope. Own peaks are lifetime values. Guard share also pays base/other-track work. Not CPU cycles, a static bound, a window frame benchmark or automatic qualification.' }; } } diff --git a/sdk/drafts/fract-machine/qualification/resources.py b/sdk/drafts/fract-machine/qualification/resources.py index fe36eeafe8..5d61f2b49b 100644 --- a/sdk/drafts/fract-machine/qualification/resources.py +++ b/sdk/drafts/fract-machine/qualification/resources.py @@ -18,52 +18,52 @@ MODULE = Path(__file__).resolve().parents[1] ROOT = MODULE.parents[2] -IMAGE_SHA = 'a80a7032c23c5e76fd1943f3bcd07ba5e3bbca215942bf1e35298f292c87e577' -PACKAGE_SHA = 'c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29' -# Compared with the local native proof for base eb667962. These files govern +IMAGE_SHA = 'f771665a61ca60650ed66a25d70bf69f900e6735e4fb4caf5f9b0bb1e25875bf' +PACKAGE_SHA = 'f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4' +# Base 0.8.2 loader inputs. These files govern # the struct layout/allocation formula but need not change the module image. LOADER_INPUTS = { 'sdk/runtime/loader/loader.h': 'f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01', - 'sdk/runtime/loader/loader.c': '69bbdf33558eddb7cba344f550ce6ab06bfc4d0986ea950b988b681d1ed41d8a', + 'sdk/runtime/loader/loader.c': 'c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc', } # Every register-indirect call in this exact image, resolved against its # containing C/assembly source and the register definitions in the disassembly. # The three assembly JMPs are local loop continuations, not recursive calls. INDIRECT = { - 0x18cc: (), - 0x194e: (), - 0x2502: (), - 0x3528: ('ui_pixel',), - 0x36cc: ('page_text',), - 0x36dc: ('page_text',), - 0x3752: ('modwerk_page_put32.constprop.0',), - 0x375a: ('modwerk_page_put32.constprop.0',), - 0x3780: ('modwerk_page_put32.constprop.0',), - 0x3790: ('modwerk_page_put32.constprop.0',), - 0x3798: ('modwerk_page_put32.constprop.0',), - 0x37ba: ('page_word',), - 0x37c6: ('page_word',), - 0x37e2: ('page_word',), - 0x3c6a: ('og_pool_signed',), - 0x3c7a: ('og_grain_layout_upgrade',), - 0x3f9a: ('ui_unsigned',), - 0x3ff2: ('ui_unsigned',), - 0x4058: ('ui_text',), - 0x40c8: ('ui_text',), - 0x4116: ('ui_text',), - 0x426e: ('ui_pixel',), - 0x427c: ('ui_pixel',), - 0x438a: ('ui_pixel',), - 0x46fc: ('ui_peak',), - 0x475e: ('ui_peak',), - 0x47ae: ('fract_ui_pool_title_context',), - 0x47c8: ('fract_ui_pool_title_context',), - 0x4824: ('og_machine_owns',), - 0x4834: ('fract_ui_machine_icon',), - 0x48e6: ('og_pan_root',), - 0x48f2: ('og_pan_root',), - 0x54b6: ('og_mix_span', 'og_mix_span_reverse', 'og_join_span', 'og_join_span_reverse'), + 0x5854: (), + 0x58ce: (), + 0x65f2: (), + 0x76ca: ('ui_column_bits',), + 0x7866: ('page_text',), + 0x7876: ('page_text',), + 0x78ec: ('modwerk_page_put32.constprop.0',), + 0x78f4: ('modwerk_page_put32.constprop.0',), + 0x791a: ('modwerk_page_put32.constprop.0',), + 0x792a: ('modwerk_page_put32.constprop.0',), + 0x7932: ('modwerk_page_put32.constprop.0',), + 0x7954: ('page_word',), + 0x7960: ('page_word',), + 0x797c: ('page_word',), + 0x7e04: ('og_pool_signed',), + 0x7e14: ('og_grain_layout_upgrade',), + 0x8134: ('ui_unsigned',), + 0x818c: ('ui_unsigned',), + 0x81f2: ('ui_text',), + 0x8262: ('ui_text',), + 0x829e: ('ui_text',), + 0x82e8: ('ui_column_bits',), + 0x84ae: ('ui_column_bits',), + 0x8824: ('ui_peak',), + 0x8886: ('ui_peak',), + 0x88d6: ('fract_ui_pool_title_context',), + 0x88f0: ('fract_ui_pool_title_context',), + 0x894c: ('og_machine_owns',), + 0x895c: ('fract_ui_machine_icon',), + 0x8eba: ('og_mix_span', 'og_mix_span_reverse', 'og_join_span', 'og_join_span_reverse'), + 0x8f20: ('og_mix_span', 'og_mix_span_reverse', 'og_join_span', 'og_join_span_reverse'), + 0x9340: ('og_locate',), + 0x95ce: ('og_locate',), } EXTERNAL = { 0x40004008: 'native FLEX render', @@ -71,10 +71,10 @@ 0x4004d948: 'native browser redraw', 0x40054cd8: 'native parameter publication', 0x4007893c: 'native browser leave', - 0x40ae101c: 'base stock-pool open', + 0x40ae20dc: 'base stock-pool open', } ASM_FRAMES = {'og_mix_span': 48, 'og_mix_span_reverse': 48, - 'og_join_span': 56, 'og_join_span_reverse': 56} + 'og_join_span': 56, 'og_join_span_reverse': 56, 'og_short_setup': 0, 'og_mix_one': 4} def run(argv): @@ -155,7 +155,7 @@ def depth(name, ancestors=()): 'chain': depth(name)[1]} for name in sorted(graph)} return {'method': 'GCC -fstack-usage plus reviewed acyclic own-call graph; ' - '48/56-byte assembly leaves; 4-byte JSR return PCs', + '48/56-byte regular/joined assembly frames, 4-byte single-frame leaf, zero-local short-Hann helper; 4-byte call return PCs', 'perEntry': bounds, 'maxOwnCallbackBytes': max( value['bytesIncludingEntryReturnPC'] for value in bounds.values()), 'externalBoundaries': boundaries, diff --git a/sdk/drafts/fract-machine/qualification/tests/test_fract_admission.py b/sdk/drafts/fract-machine/qualification/tests/test_fract_admission.py new file mode 100644 index 0000000000..99a533afef --- /dev/null +++ b/sdk/drafts/fract-machine/qualification/tests/test_fract_admission.py @@ -0,0 +1,51 @@ +"""The shipped profile admits one independent owner on either native DSP core.""" +from pathlib import Path +import shutil +import subprocess +import sys +import tempfile +import unittest + +MODULE=Path(__file__).resolve().parents[2] +ROOT=next(p for p in MODULE.parents if (p/'sdk/tests/host_flags.py').is_file()) +sys.path.insert(0,str(ROOT/'sdk/tests')) +from host_flags import SANITIZE + +@unittest.skipUnless(shutil.which('cc'),'no host C compiler') +class AllTrackAdmission(unittest.TestCase): + def test_all_tracks_exclusion_invalid_and_immutable_part(self): + with tempfile.TemporaryDirectory(prefix='fract-admission-') as tmp: + folder=Path(tmp);source=folder/'admission.c' + source.write_text(r''' +#define main prior_fixture_main +#include "fract_machine.c" +#undef main +int main(void) { + const struct modwerk_machine *m=&og_machine_descriptor; + uint8_t part[6322],before[6322]; + for(unsigned owner=0;owner<8;++owner) { + memset(part,0,sizeof part); + for(unsigned track=0;track<8;++track)assert(m->admit_track(part,track)); + part[0x22+owner]=1;memcpy(part+0x3c+30*owner,"FR\1",3); + memcpy(before,part,sizeof part); + for(unsigned track=0;track<8;++track) { + assert(m->admit_track(part,track)==(track==owner)); + assert(!memcmp(part,before,sizeof part)); + } + part[0x3e + 30*owner]=2; + for(unsigned track=0;track<8;++track)assert(m->admit_track(part,track)); + } + assert(!m->admit_track(NULL,8));assert(!m->admit_track(NULL,~0u)); + puts("all8owners;64exclusionpairs;invalidtracks;Partimmutable");return 0; +} +''') + cmd=['cc','-std=c11','-O1','-Wall','-Wextra','-Werror',*SANITIZE, + '-fno-sanitize-recover=all','-DOG_NATIVE_STAGE_ONE', + '-DOG_MACHINE_START_EXTENSION','-DOG_MACHINE_GRAIN_ONLY', + '-DOG_FRACT_CURRENT_ENGINE','-DOG_MACHINE_ALL_TRACKS'] + for path in (MODULE/'engine',MODULE/'support',MODULE,ROOT/'sdk/machines/octatrack/include',ROOT/'sdk/tests/fixtures'): + cmd+=['-I',str(path)] + result=subprocess.run([*cmd,str(source),'-o',str(folder/'check')],capture_output=True,text=True) + self.assertEqual(result.returncode,0,result.stderr) + result=subprocess.run([str(folder/'check')],capture_output=True,text=True) + self.assertEqual(result.returncode,0,result.stdout+result.stderr) diff --git a/sdk/drafts/fract-machine/qualification/tests/test_fract_native_adapter.py b/sdk/drafts/fract-machine/qualification/tests/test_fract_native_adapter.py new file mode 100644 index 0000000000..2913eb5cee --- /dev/null +++ b/sdk/drafts/fract-machine/qualification/tests/test_fract_native_adapter.py @@ -0,0 +1,30 @@ +"""The current engine obeys native packet, owner and START contracts.""" +from pathlib import Path +import sys +import unittest + +MODULE = Path(__file__).resolve().parents[2] +ROOT = next(p for p in MODULE.parents if (p / 'sdk/tests/test_fract_machine.py').is_file()) +sys.path.insert(0, str(ROOT / 'sdk/tests')) +import test_fract_machine as adapter # noqa: E402 + +adapter.DRAFT = MODULE +adapter.SUPPORT = MODULE / 'support' +adapter.MODULE = MODULE / 'engine' +adapter.EXTENSION_FLAGS = ['-DOG_MACHINE_START_EXTENSION'] + + +class CurrentNativeAdapter(adapter.FractMachineTests): + PROFILE_FLAGS = ['-DOG_MACHINE_GRAIN_ONLY', '-DOG_FRACT_CURRENT_ENGINE', '-DOG_MACHINE_ALL_TRACKS'] + + +def load_tests(loader, tests, pattern): + # The inherited legacy FX cases remain in the unchanged SDK suite. + names = ( + 'test_native_render_packet_bounds_controls_and_tstr_override', + 'test_pitched_and_split_source_packets_preserve_fetch_boundaries', + 'test_owner_lifecycle_and_invalid_calls', + 'test_pcm_state_and_owner_match_fx_reference', + 'test_proposed_start_translates_and_restores_src_controls', + ) + return unittest.TestSuite(CurrentNativeAdapter(name) for name in names) diff --git a/sdk/drafts/fract-machine/qualification/tests/test_fract_pan_birth.py b/sdk/drafts/fract-machine/qualification/tests/test_fract_pan_birth.py new file mode 100644 index 0000000000..833db551c1 --- /dev/null +++ b/sdk/drafts/fract-machine/qualification/tests/test_fract_pan_birth.py @@ -0,0 +1,66 @@ +"""Every native PAN position must equal the scalar integer law and RNG.""" +from pathlib import Path +import shutil +import subprocess +import tempfile +import unittest +import sys + +MODULE = Path(__file__).resolve().parents[2] +ROOT = next(p for p in MODULE.parents if (p/'sdk/tests/host_flags.py').is_file()) +sys.path.insert(0,str(ROOT/'sdk/tests')) +from host_flags import SANITIZE # noqa: E402 + + +@unittest.skipUnless(shutil.which('cc'), 'no host C compiler') +class PanBirthContract(unittest.TestCase): + def test_all_widths_positions_unity_and_rng_match_integer_law(self): + with tempfile.TemporaryDirectory(prefix='fract-pan-birth-') as directory: + work = Path(directory) + source = work / 'pan.c' + source.write_text(r''' +#define main original_fixture_main +#include "fract_machine.c" +#undef main +static unsigned root(unsigned power) { + unsigned lo=0,hi=257; + while(hi-lo>1) {unsigned m=(lo+hi)/2;if(m*m<=power)lo=m;else hi=m;} + return lo; +} +static uint32_t undo_left(uint32_t value,unsigned shift) { + uint32_t out=value;for(unsigned i=shift;i<32;i+=shift)out^=value<>17;return undo_left(word,13); +} +int main(void) { + for(unsigned value=0;value<128;++value) { + unsigned width=(value*128u+63u)/127u,range=2*width+1; + for(unsigned position=0;position>16)*range)>>16)-(int)width; + assert(head.left==root(((unsigned)(128-pan)<<16)/(128+width))); + assert(head.right==root(((unsigned)(128+pan)<<16)/(128+width))); + } + } + return 0; +} +''') + command = ['cc', '-std=c11', '-O1', '-Wall', '-Wextra', '-Werror', *SANITIZE, + '-fno-sanitize-recover=all', '-DOG_NATIVE_STAGE_ONE', + '-DOG_MACHINE_START_EXTENSION', '-DOG_FRACT_CURRENT_ENGINE', '-DOG_MACHINE_GRAIN_ONLY'] + for path in (MODULE/'engine', MODULE/'support', MODULE, + ROOT/'sdk/machines/octatrack/include', ROOT/'sdk/tests/fixtures'): + command += ['-I', str(path)] + binary = work / 'pan' + r = subprocess.run([*command, str(source), '-o', str(binary)], capture_output=True, text=True) + self.assertEqual(r.returncode, 0, r.stderr) + r = subprocess.run([str(binary)], capture_output=True, text=True) + self.assertEqual(r.returncode, 0, r.stdout + r.stderr) diff --git a/sdk/drafts/fract-machine/qualification/tests/test_fract_size_modulation.py b/sdk/drafts/fract-machine/qualification/tests/test_fract_size_modulation.py new file mode 100644 index 0000000000..ce67a411a0 --- /dev/null +++ b/sdk/drafts/fract-machine/qualification/tests/test_fract_size_modulation.py @@ -0,0 +1,122 @@ +"""Live SIZE modulation must preserve the independent scalar audio/state.""" +from pathlib import Path +import shutil +import subprocess +import tempfile +import unittest +import sys + +MODULE = Path(__file__).resolve().parents[2] +ROOT = next(p for p in MODULE.parents if (p/'sdk/tests/host_flags.py').is_file()) +sys.path.insert(0,str(ROOT/'sdk/tests')) +from host_flags import SANITIZE # noqa: E402 + + +@unittest.skipUnless(shutil.which('cc'), 'no host C compiler') +class SizeModulationContract(unittest.TestCase): + def test_every_size_step_and_continuously_modulated_audio_match_scalar(self): + with tempfile.TemporaryDirectory(prefix='fract-size-modulation-') as directory: + work = Path(directory) + source = work / 'size.c' + source.write_text(r''' +#define main original_fixture_main +#include "fract_machine.c" +#undef main +extern void cpu_reference_all(OgGrain *,uint32_t,const uint8_t *,int32_t *,unsigned, + void (*)(void *,uint32_t,int32_t *),void *); +extern void cpu_reference_reset(OgGrain *,uint32_t); +static void reference_read(void *context,uint32_t frame,int32_t *pcm) { + OgSource *s=context;unsigned remaining; + uintptr_t at=og_locate(s,frame,&remaining);decode(s,at,pcm); + if(s->frames>=2048 && s->frames-1u-frame<128u && at) { + int32_t first[2];uintptr_t start=og_locate(s,0,&remaining);decode(s,start,first); + if(start)for(unsigned c=0;c<2;++c) + pcm[c]=(int16_t)(pcm[c]+(((first[c]-pcm[c])*(int)(128u-(s->frames-1u-frame)))>>7)); + } +} +int main(void) { + _Static_assert(OG_ENGINE_READERS==2 && OG_MAX_GRAINS==3 && sizeof(OgGrain)==128,"Two live readers; unchanged storage ABI"); + for(unsigned i=0;i<64;++i) + assert(og_step(i)==(1u<<31)/(og_length(i)-1u)); + for(unsigned size=0;size<128;++size)for(unsigned density=1;density<128;++density) { + uint32_t length=og_size(size); + assert(og_hop(length,density)==(length*127u+2u*density-1u)/(2u*density)); + } + OgGrain stopped;memset(&stopped,0x5a,sizeof stopped);og_reset(&stopped,17); + for(unsigned g=0;g>25),64, + (uint8_t)(random>>17&127u),(uint8_t)(random>>9&127u), + (uint8_t)(n*7u&127u),(uint8_t)(random>>1&127u)}; + if(n%4==0)p[1]=0; + if(n%4==1)p[1]=127; + if(n%11==0)p[0]=8; + unsigned count=1u+(n%64u); + int32_t got[128],want[128]; + for(unsigned j=0;j<128;++j)got[j]=want[j]=((int)j-64)*65536; + og_engine(&native,&src,p,got,count); + cpu_reference_all(&scalar,src.frames,p,want,count,reference_read,&src); + assert(!memcmp(got,want,sizeof got)); + assert(!memcmp(&native,&scalar,sizeof native));assert(!native.head[2].length); + } + } + /* A failed launch may be coalesced only inside this call. Preserve the + * exact countdown even at its end, before a later SIZE edit rescales it. */ + const unsigned waits[]={0,1,7,8,15,16,24,25,31,32,63,64,100}; + const unsigned counts[]={1,2,7,8,15,16,31,32,63,64}; + for(unsigned format=0;format<4;++format)for(unsigned edit=0;edit<2;++edit) { + fixture(format,2049); + OgSource src={0};assert(og_describe(0,&src));src.join_mode=1; + OgGrain native={0},scalar={0};og_reset(&native,1);cpu_reference_reset(&scalar,1); + uint8_t p[OG_PARAMS]={127,0,18,64,127,127,0,127}; + int32_t got[128],want[128]; + for(unsigned warm=0;warm<52;++warm) { + for(unsigned j=0;j<128;++j)got[j]=want[j]=((int)j-64)*65536; + og_engine(&native,&src,p,got,8); + cpu_reference_all(&scalar,src.frames,p,want,8,reference_read,&src); + assert(!memcmp(got,want,sizeof got));assert(!memcmp(&native,&scalar,sizeof native));assert(!native.head[2].length); + } + for(unsigned g=0;g +#include +#include "fract_ui.c" +int main(void) { + for(unsigned x=0;x<128;++x) for(unsigned y=0;y<64;++y) + for(unsigned bits=0;bits<128;++bits) for(unsigned ink=0;ink<3;++ink) { + uint32_t got[256],want[256]; + for(unsigned i=0;i<256;++i)got[i]=want[i]=0x195c3e87u^(i*0x7b13u); + ui_column_bits(got,x,y,bits,ink); + for(unsigned row=0;row<7;++row)if(bits&(1u<=120 || yy<1 || yy>=56)continue; + uint32_t *word=want+2*x+(yy<32),mask=1u<<(yy&31u); + if(ink==2)*word^=mask;else if(ink)*word|=mask;else *word&=~mask; + } + assert(!memcmp(got,want,sizeof got)); + } + return 0; +} +''') + binary = work / 'columns' + command = ['cc', '-std=c11', '-O1', '-Wall', '-Wextra', '-Werror', + *SANITIZE, '-fno-sanitize-recover=all', '-ffunction-sections', + '-fdata-sections', '-Wl,-dead_strip' if sys.platform == 'darwin' else '-Wl,--gc-sections'] + for path in (MODULE, MODULE/'support'): + command += ['-I', str(path)] + r = subprocess.run([*command, str(source), '-o', str(binary)], capture_output=True, text=True) + self.assertEqual(r.returncode, 0, r.stderr) + r = subprocess.run([str(binary)], capture_output=True, text=True) + self.assertEqual(r.returncode, 0, r.stdout + r.stderr) diff --git a/sdk/drafts/fract-machine/qualification/tests/test_fract_window_tables.py b/sdk/drafts/fract-machine/qualification/tests/test_fract_window_tables.py new file mode 100644 index 0000000000..fcb9c52346 --- /dev/null +++ b/sdk/drafts/fract-machine/qualification/tests/test_fract_window_tables.py @@ -0,0 +1,59 @@ +"""Protect the monotone window-half contract used by the native mixer.""" +import ctypes +from pathlib import Path +import shutil +import subprocess +import tempfile +import unittest + + +MODULE = Path(__file__).resolve().parents[2] + + +class WindowTables(unittest.TestCase): + @classmethod + def setUpClass(cls): + compiler = shutil.which('cc') + if not compiler: + raise unittest.SkipTest('host C compiler unavailable') + directory = tempfile.TemporaryDirectory(prefix='fract-window-tables-') + cls.addClassCleanup(directory.cleanup) + work = Path(directory.name) + source = work / 'tables.c' + source.write_text( + '#define OG_NATIVE_STAGE_ONE\n#define OG_WINDOW_STORAGE\n' + '#include "window.h"\n' + 'const unsigned table_counts[] = {' + 'sizeof og_hann_gain / sizeof *og_hann_gain,' + 'sizeof og_shape_gain / sizeof *og_shape_gain,' + 'sizeof og_shape_rows / sizeof *og_shape_rows};\n') + library = work / 'tables.so' + subprocess.run([compiler, '-std=c11', '-shared', '-fPIC', + '-I' + str(MODULE / 'support'), str(source), + '-o', str(library)], check=True, capture_output=True) + cls.library = ctypes.CDLL(str(library)) + counts = (ctypes.c_uint * 3).in_dll(cls.library, 'table_counts') + cls.hann = (ctypes.c_uint16 * counts[0]).in_dll(cls.library, 'og_hann_gain') + cls.gains = (ctypes.c_uint16 * counts[1]).in_dll(cls.library, 'og_shape_gain') + cls.rows = (ctypes.c_uint32 * counts[2]).in_dll(cls.library, 'og_shape_rows') + + def test_every_authored_window_half_is_monotone(self): + halves = [('Hann', list(self.hann))] + for index, row in enumerate(self.rows, 1): + attack, release = (row >> 8) & 4095, row >> 20 + segments = row & 255 + for name, offset, length in [('attack', attack, segments), + ('release', release, 128 - segments)]: + self.assertLessEqual(offset + length + 1, len(self.gains)) + halves.append((f'SHPE {index} {name}', + list(self.gains[offset:offset + length + 1]))) + for name, values in halves: + with self.subTest(half=name): + self.assertTrue(values) + self.assertTrue(all(left <= right + for left, right in zip(values, values[1:])), + 'equal constant endpoints must bound a constant interval') + + +if __name__ == '__main__': + unittest.main() diff --git a/sdk/drafts/fract-machine/registration.c b/sdk/drafts/fract-machine/registration.c index c802c64d67..2d819a9bd8 100644 --- a/sdk/drafts/fract-machine/registration.c +++ b/sdk/drafts/fract-machine/registration.c @@ -92,7 +92,13 @@ static uint32_t og_machine_page(const volatile uint8_t *slot) { static unsigned og_machine_admit(const volatile uint8_t *part, unsigned track) { if (!og_machine_base_ready()) return 0; #if defined(OG_MACHINE_SOURCE_STAGE) || defined(OG_MACHINE_GRAIN_ONLY) + /* The all-track profile keeps one state owner, on either DSP core. + * Legacy grain/source prototypes retain their four-track contract. */ +#ifdef OG_MACHINE_ALL_TRACKS + if (track >= 8) return 0; +#else if (track >= 4) return 0; +#endif for (unsigned t = 0; t < 8; ++t) { const volatile uint8_t *sig = part + 60u + 30u * t; if (t != track && part[0x22u + t] == 1 && @@ -122,6 +128,8 @@ const struct modwerk_machine og_machine_descriptor = { .pool_open = og_pool_open, .pool_left = og_pool_left, .ui_tick = og_machine_ui_tick, .track_page = og_machine_page, .leave = og_machine_leave, .render = og_machine_render, + /* Rounded above the measured four-format active-minus-quiet mean. */ + .reserved = {40}, #ifdef OG_MACHINE_SOURCE_STAGE /* Executed DSP instruction evidence, not a physical cycle claim. Shared * admission applies its existing markup and stock FX reserves unchanged. */ diff --git a/sdk/drafts/fract-machine/release/README.md b/sdk/drafts/fract-machine/release/README.md index 39c0504331..d3b325a5c1 100644 --- a/sdk/drafts/fract-machine/release/README.md +++ b/sdk/drafts/fract-machine/release/README.md @@ -1,43 +1,7 @@ -# FRACT 0.1.3-experimental qualification preparation +# FRACT 0.1.7 — qualification in progress -FRACT has been relinked against released base 0.8.1, identity -`eb6679620d0c9ed7ad277598fc0df185e767dfbd0e7eb99bb1518ade9df8a4f0`. -Normal package `c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29` -passes byte-exact reconstruction and both strict original-stock scans. Controls -use the SDK page helper, with SRNG as a two-value switch. The module remains -unlisted; there is no approved release or public package. +Released-base package `f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4` requires `24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`. See [exact-build preparation](qualification-20261127-iteration18.md) and [resources](resources.md). -The base prerequisites #1418 and #1165 have merged. Current preparation and -remaining cases are recorded in [the dated run](qualification-20261125.md). -The [resource audit](resources.md) now names this exact build. Hardware timing, -stress, lifecycle, rendered UI and listening on it have not run. The -[10 November functional report](hardware-20261110.md), existing screenshots, -the original package6ff/base72 receipts and rows are retained in -`history/20261110/`. Current `candidate-proof.json` and prospective catalogue/package -rows name 0.1.3 and explicitly record hardware NOT_RUN; none is active or published. +Two live readers retain the three-slot Part ABI. One owner may use any T1–T8; the admission compare is the only changed authored instruction byte. Price40 is unchanged. Software checks and isolated Linux reproduction pass. Development125c passed T1/T5, all8single-owner picks,12Part transitions, four-format and active4chUSB tests. Full stage1 remains incomplete; [the current report](hardware-20261127-iteration18.md) records the costs, refusals and exact package scopes. Historical0.1.6 evidence is retained separately. -The normal recipe still imports only `mw_stock_pool_open` at the reviewed run -origin. Base identity/hash are provenance and admission metadata; no digest -reader is compiled into FRACT. Nine guarded stock-copy references reconstruct -locally from the author's OS. No firmware, extracted code or built image is public. - -## Before promotion - -1. Use the [measurement kit](../qualification/README.md) to reproduce the normal - package and a separately named probe for the exact running base. A development - twin needs its own relinked packages; release-base packages cannot substitute. -2. Complete the fixed test procedure and change-specific cases, including all - controls/screens, stock flows, neighbouring-machine Part reload, active - replacement, exact Undo/inventory/Part restoration, MAIN/CUE dropouts and stress. -3. Measure idle/mean CPU, both DSPs, installation and supported-instance costs, - admission under empty/medium load and worst render/block against the shared - frame guard. FRACT supports one owner; do not claim a four-instance curve. - Retain raw records and current source stamps; performance fields remain null. -4. Have the author perform listening, exact-version Keep and physical reboot - checks after agent stage 1 passes. Earlier reports do not qualify this build. -5. Obtain the owner's first-release decision and any explicitly required waiver; - then move sources to sdk/octatrack/modules, activate current catalogue/package - rows, reproduce final bytes and finish doctor/pr:ready and release checks. - -A preparation PR is not release approval. The author owns the remaining hardware -session; the owner's review follows its evidence, not another base waiting period. +Listening and exact-version Keep/reboot follow stage1; first-release review follows qualification. Catalogue/package rows remain inactive. No release approval or waiver is claimed. Dated history retains the earlier failing candidates. diff --git a/sdk/drafts/fract-machine/release/audio-sanity-20261127-iteration18.json b/sdk/drafts/fract-machine/release/audio-sanity-20261127-iteration18.json new file mode 100644 index 0000000000..90c84205f5 --- /dev/null +++ b/sdk/drafts/fract-machine/release/audio-sanity-20261127-iteration18.json @@ -0,0 +1,41 @@ +{ + "hardware": true, + "packageSha256": "125c0ab3c7ac9b5cf8afc45710bca68ef62f8e55b34c8bb6fa20e6ae2379a165", + "channels": 4, + "rate": 44100, + "frames": 5484032, + "seconds": 124.35446712018141, + "analysedSeconds": 118.35446712018141, + "trimSecondsAtEachEnd": 3, + "peakAbsolute32": [ + 3932160, + 3970048, + 15164416, + 15307008 + ], + "rms32": [ + 1145930.0308787252, + 1144317.576360626, + 4418918.146702343, + 4412673.998016658 + ], + "nonzeroSamples": [ + 5219432, + 5219428, + 5212350, + 5211585 + ], + "longestAllChannelExactZeroFrames": 0, + "longestAllChannelExactZeroMs": 0.0, + "adjacentBlockComparison": { + "16": { + "equalAdjacentBlocks": 3409, + "largestRepeatedChain": 11 + }, + "64": { + "equalAdjacentBlocks": 3, + "largestRepeatedChain": 2 + } + }, + "scope": "Digital capture inspection only; long exact zero and repeated-block observations are not listening, a complete dropout detector or musical approval." +} diff --git a/sdk/drafts/fract-machine/release/candidate-proof.json b/sdk/drafts/fract-machine/release/candidate-proof.json index 9acfe76234..31b26e0efc 100644 --- a/sdk/drafts/fract-machine/release/candidate-proof.json +++ b/sdk/drafts/fract-machine/release/candidate-proof.json @@ -1,30 +1,30 @@ { "schema": 1, "id": "fract-machine", - "bytes": 31948, - "imageBytes": 30416, + "bytes": 67284, + "imageBytes": 65964, "bssBytes": 636, - "relocations": 227, + "relocations": 240, "eventWords": 38, - "sha256": "c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29", - "authoredImageSha256": "a80a7032c23c5e76fd1943f3bcd07ba5e3bbca215942bf1e35298f292c87e577", - "reviewedImageSha256": "d343d813e212ff9d8c4595cac479efb57da0047edd89ce8bd6ef1ff16e828a3f", - "baseIdentity": "eb6679620d0c9ed7ad277598fc0df185e767dfbd0e7eb99bb1518ade9df8a4f0", - "basePackageSha256": "390f74e9b8f362ccd24172cc5672e5262dec1a2877323ed7a8ac368378d4753a", + "sha256": "f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4", + "authoredImageSha256": "f771665a61ca60650ed66a25d70bf69f900e6735e4fb4caf5f9b0bb1e25875bf", + "reviewedImageSha256": "2604a572c063c971b90ec2754727420a552218e7549d956d341d7fc72bdfa618", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "basePackageSha256": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff", "baseRunOrigin": 1084839424, "baseImports": [ { - "offset": 14816, + "offset": 31610, "name": "mw_stock_pool_open", "addend": 0 } ], - "stockCopies": 9, + "stockCopies": 3, "stockFills": 0, "stockVerification": "PASS", - "hardware": "NOT_RUN", - "version": "0.1.3-experimental", - "qualification": "PENDING_CURRENT_BUILD_HARDWARE_TIMING_STRESS_INTEGRATION_AND_FIRST_RELEASE_APPROVAL", - "hardwareReport": "qualification-20261125.md", - "previousHardwarePackage": "6ff37fdcdbfead903a4857482d0f7bd50905175b55c877e62ad7c51422ef5874" + "hardware": "INSTALL_INTEGRITY_UNDO_ONLY", + "version": "0.1.7-experimental", + "qualification": "DEVELOPMENT_AUDIO_OBSERVED_PUBLIC_INSTALL_ONLY_FULL_QUALIFICATION_PENDING", + "hardwareReport": "qualification-20261127-iteration18.md", + "hardwareEvidence": "public-install-20261127-iteration18.json" } diff --git a/sdk/drafts/fract-machine/release/catalog-entry.json b/sdk/drafts/fract-machine/release/catalog-entry.json index 3ee775caee..2a1ae3eb89 100644 --- a/sdk/drafts/fract-machine/release/catalog-entry.json +++ b/sdk/drafts/fract-machine/release/catalog-entry.json @@ -1,5 +1,5 @@ { "id": "fract-machine", - "version": "0.1.3-experimental", - "addedAt": "2026-11-25T16:15:03.716Z" + "version": "0.1.7-experimental", + "addedAt": "2026-11-27T00:00:00.000Z" } diff --git a/sdk/drafts/fract-machine/release/changelog-entry.json b/sdk/drafts/fract-machine/release/changelog-entry.json new file mode 100644 index 0000000000..d43bb7a820 --- /dev/null +++ b/sdk/drafts/fract-machine/release/changelog-entry.json @@ -0,0 +1,10 @@ +[ + { + "version": "0.1.7-experimental", + "date": "2026-11-27", + "changes": [ + "Allows the single FRACT owner on any audio track T1\u2013T8, including both DSP cores.", + "Keeps the two-grain engine and saved Part format; exact-build qualification is in progress." + ] + } +] diff --git a/sdk/drafts/fract-machine/release/expanded-failures-20261127-iteration18.json b/sdk/drafts/fract-machine/release/expanded-failures-20261127-iteration18.json new file mode 100644 index 0000000000..02bd492146 --- /dev/null +++ b/sdk/drafts/fract-machine/release/expanded-failures-20261127-iteration18.json @@ -0,0 +1,41 @@ +{ + "hardware": true, + "module": "fract-machine", + "version": "0.1.7-experimental", + "packageSha256": "125c0ab3c7ac9b5cf8afc45710bca68ef62f8e55b34c8bb6fa20e6ae2379a165", + "baseIdentity": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", + "result": "EXPANDED_STAGE1_FAILED", + "denseCompanions": { + "set": [ + "FRACT0.1.7", + "FM Synth0.1.5", + "Mini Verb0.2.3 on both cores", + "configurableUSB4 with active recording" + ], + "newGuardSkipsAcrossTrial": 9973, + "tracksReported": [ + "T1", + "T2" + ], + "crashOrStallLogged": false, + "limits": "Initial attempt safely refused FM on warmed empty pattern; ordinary selection on another empty pattern succeeded at allowance45/booked44. No guard/allowance/cost-table edits. Main dense case stopped when skips grew; exact first measurement baseline/peak were not retained by that private driver, so9973 describes the entire quartet trial." + }, + "usb20": { + "companionSha256": "2289eecf66f725fece541599324337c582fb4a595f0eac6cff3c04ba1bd3190b", + "companionScope": "Private current-source fixed20channel comparison build, stock-guard checked; not the public configurable package", + "coreAudioInputChannels": 20, + "recorderRan": true, + "beforeSkips": 9973, + "afterSkips": 9974, + "newGuardSkips": 1, + "secondsAtFirstDetection": 9.445375957991928, + "controlWindows": 2, + "lastFrameMaxPercent": 102, + "lastMeanFramePercent": 74.8, + "lastOwnRenderPeakPercent": 64.5, + "guardSharePercent": 80, + "cpuAllowancePercent": 45 + }, + "recovery": "Each failed trial stopped; native scratch T19 loaded before standard Undo. Independent readback after each returned base46 normal/empty/originalset87f28, unchanged NOR. Original project/CF final restoration still pending at this mid-session checkpoint.", + "next": "Bounded state-locality optimization investigation, preserving two readers and all controls; any new bytes require fresh qualification." +} diff --git a/sdk/drafts/fract-machine/release/hardware-20261126.md b/sdk/drafts/fract-machine/release/hardware-20261126.md new file mode 100644 index 0000000000..f942f180a6 --- /dev/null +++ b/sdk/drafts/fract-machine/release/hardware-20261126.md @@ -0,0 +1,136 @@ +# FRACT hardware measurements — 26–27 November 2026 + +**Stage 1 failed.** The price 40 candidate skips renders under programmed locks, +LFO modulation and USB audio, on both 20-channel and MAIN+CUE layouts. The unit +has been restored; performance investigation belongs to the author’s coding +agent. No owner reply or user listening test is needed to begin that work. + +The author's Octatrack MKII is now on released Modwerk base 0.8.2. Its NOR +slot 1, generation 10, was independently read back confirmed, with the previous +confirmed slot 0 retained and no fallback. No physical power cycle is claimed. +Tests use the separate RAM development twin +`46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f`. + +## Budget defect and correction + +The unlisted 0.1.3 normal package +`3871d90e345db70977f247185fdc121085e4026215e8c089840e3ba5e2a9d9a5` +failed the fixed procedure's T1 price check: quiet 29.1%, triggered 53.0%, +added 23.9 points against the base's default 12% charge. Integrity and rollback +passed; its 162-second trial logged no new crash, stall, freeze or skipped track. +T5 and multiple FRACT owners were refused, as its intentional policy requires. +The generic procedure assumes T1/T5 and eight instances; those cases do not +establish a defect in this one-owner T1–T4 module, nor a procedure pass. + +A separate private diagnostic package +`0169b957850b303f0d18f42d0e4b776391a3f70f9b5e7698aa2996ee88b20193` +then ran the unchanged executable sections of all eleven original units. +The following are physical observations, not a release approval or static bound. + +| Loaded format | FLEX mean | FRACT default mean | FRACT extreme mean | FRACT quiet mean | Extreme minus quiet | +| --- | ---: | ---: | ---: | ---: | ---: | +| 16-bit mono | 30.4% | 61.4% | 66.6% | 30.5% | 36.1 points | +| 16-bit stereo | 30.5% | 61.6% | 68.0% | 30.5% | 37.5 points | +| 24-bit mono | 30.5% | 61.6% | 67.4% | 30.5% | 36.9 points | +| 24-bit stereo | 30.6% | 62.3% | 68.6% | 30.5% | 38.1 points | + +Every arm used a 20-second coherent, hardware-clock-checked collection after +warm-up. The source was an original generated 44.1 kHz, 88,200-frame waveform +in four encodings. Actual RAM format, length and sounding voice slot were read +back before each sounding arm. FLEX FORMAT was set to 24-bit for these tests; +otherwise stock converts 24-bit files to 16-bit on loading. T1 played all sixteen +steps at 120 BPM; other tracks had no trigs. Quiet used an empty pattern after +double STOP. FLEX used neutral pitch, LOOP ON, SLIC/LEN/TSTR OFF; its MAIN LEN +value is therefore inactive. Defaults were 18/86/127/0/64/64; extremes were +POS/SIZE/REVS 0, SPRD/SHPE 127 and native PTCH +12 (stored 124). + +All sixteen arms observed zero skipped renders and no new crash or DSP stall. +The largest whole-interrupt peak among these arms was 98.1% of a frame. +The [compact evidence](../evidence/hardware-20261126.json) binds observations to +their captures. Raw receipts remain private; no firmware or user audio is shared. + +The correction declares **40%** in both the machine descriptor and manifest: +above the largest observed mean delta of 38.1 points. It does not change the +renderer, controls, guard, CPU allowance or supported-owner policy. Version +0.1.4 is a new package; the development-twin rerun is recorded below. Its released-base package is +`bec65df07ae21e76c707247fd97f9851cc424c6d8f6e27ca414d18d9727c9454`; +the development-twin normal is +`54d42f5affc4a6c45cdeb5d15814c632a57c630eaeac9121f945b5732f4d6aba`. +Both passed original-stock reconstruction and strict stock-free scans. + +## Probe limits and further checks + +The standard `guard` read resets the base frame max/count/busy counters. The +first collection spanning that reset correctly failed its coherence flags and +was retained. Subsequent captures wait three seconds after each reset. Their +base frame maxima are **since the named guard reset**, despite the decoder's +historical `baseFramePeakSinceBootUs` name. Own callback peaks remain lifetime +since probe installation and include native FLEX plus timer/call overhead. +Timer counts are not ColdFire CPU cycles; the shared guard also pays base work. + +A separate 120.134-second 16-bit stereo trial with sixteen trigs and moving MAIN, +PAN and SRNG controls observed no skips, crash, stall or freeze. Its inclusive +own-block peak was 180.864 microseconds. This did not include programmed locks +or LFO modulation, so the full requested stress case remains open. + +## Corrected build and stress failures + +Development normal package 54d4 passed self-test 1/1, all 12 Part switches and +standard Undo with exact inventory/Part restoration. Its price test measured +29.4% quiet and 53.0% triggered, a 23.6-point delta within declared 40. The generic +procedure still failed at its T5 case: this module intentionally supports one +owner on T1–T4. Additional owners were correctly refused. This is not a full +procedure pass. + +The separate corrected probe +`18d3f996f03b770d3be73c6986878e6e988ad4d89b22d07f21c23b793817362f` +completed all sixteen matched four-format arms. Extreme-minus-quiet means were +36.1/37.5/36.9/38.1 points for 16m/16s/24m/24s. No new skips were observed in those +arms; maximum whole-interrupt frame peak was 98.4%. This repeats the budget +measurement, without proving modulation/streaming headroom. + +The subsequent normal 54d4 stress used an owned disposable project, 64 T1 trigs, +64 verified alternating native parameter-lock rows, three verified native LFOs +and moving MAIN/PAN/SRNG controls. The sounding source was 16-bit mono, 88,200 +frames at 44.1 kHz. Published FM Synth was installed but unused; this does not +qualify neighbouring-machine playback or Part reload. + +| USB audio layout | Observed skipped T1 renders | Failure capture frame peak | Result | +| --- | ---: | ---: | --- | +| 20 channels | 734 over the trial; 256 at first detector | 106.3% | Failed | +| MAIN+CUE, 4 channels | 63 new (counter 734 to 797) | 107.6% | Failed | + +The four-channel failure was detected after about 58 seconds. No new crash or +DSP stall was observed. CPU allowance 45, booked 40 and guard share 80% were not +changed. Price metadata alone therefore does not fix the performance defect. +The cause is not isolated; it cannot be attributed solely to 20-channel audio. +Both private recordings lasted 15.0117 seconds with nonzero MAIN. CUE was not +routed and stayed silent, so neither recording proves CUE audibility or a clean +audio-path pass. The full 120-second modulated stress did not pass. + +The first USB-audio removal disconnected the host link and left recovery open. +After reopening only this session’s link and selecting stock FLEX in all four +Parts of the owned scratch bank, standard recovery succeeded. The final retry’s +Undo then completed normally, generation 10, inventory empty. + +## Restoration and remaining work + +All eight original working/saved Part copies matched pre-test snapshots, +including the original unsaved Part1 difference. All 28 backed-up original card +files already matched byte for byte; none needed restoration. Only the owned +scratch project and fixture directory were removed. Original sample slots and +16-bit memory format were restored before leaving the original project. + +Final independent USB readback after RAM return to released base 0.8.2 confirmed +identity 24e480c4…, normal state, inventory empty, no missing machines, set 87f28e38…, +confirmed NOR slot 1 generation 10, retained slot 0 generation8 and no fallback. +The old foreign card set was unchanged. No module Keep or physical power cycle +was performed. All owned links were closed and the unit queue released. + +Next: isolate and fix performance, rebuild and restart stage 1 on the new exact +build. Neighbouring-machine Part reload, distinct-parameter reload, routed CUE, +complete stock flows, author listening, exact-version Keep and physical reboot +remain unqualified. The exact released-base package bec6 was built and scanned +but not physically installed in this run; hardware results name the relinked +development packages above. FRACT stays unlisted; no first-release approval or +waiver is inferred from the merged preparation PR. diff --git a/sdk/drafts/fract-machine/release/hardware-20261127-iteration17.md b/sdk/drafts/fract-machine/release/hardware-20261127-iteration17.md new file mode 100644 index 0000000000..2b67157a8d --- /dev/null +++ b/sdk/drafts/fract-machine/release/hardware-20261127-iteration17.md @@ -0,0 +1,34 @@ +# FRACT0.1.6 two-reader hardware record —27 November2026 + +Development package `9b86e74087dc4a7495a86850b0dcc3f45881335285d8519e1b4e3f03366e0a60`, base `46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f`, author's Octatrack MKII1.40C. This package is byte-identical to the earlier two-reader prototype. Separately linked released-base package8c9603a4 on base24e480c4 is not physically tested. No Keep or NOR write is part of this run. + +Current full stage1 remains incomplete. The fixed procedure's software/cost-model/preflight and restoration passed; its unit pass failed because FRACT deliberately refuses T5 and one of12Part switches timed out. It recorded11successful switches, T1render peak29.0%, and quiet/triggered means28.9/50.5 (+21.6points, charge40). Standard Undo returned the original empty inventory; whole-trial verdict logged no crash/stall/freeze/skipped track. These facts do not turn the failed procedure into a pass. + +A separate12transition run, using NO and500ms settle between Parts, passed with guarded-render counter0→0. The cause of the original missed Part4 transition is not established. T5 refusal follows the unchanged documented one-ownerT1–T4 policy; the generic tester requires both T1 andT5. No gate was weakened. + +## Matched formats + +A private authored fixture FR27TW2 fixes the same events and settings in banksA–D. Part1 is native FLEX with LOOP2 and TSTRoff; Part3 is FRACTdefault, Part4 has extreme MAIN controls. All working/saved Parts started equal. Four files have88200frames at44.1kHz:16-bit mono/stereo and24-bit mono/stereo. Each window independently verified the source mode, voice, slot and controls.64T1trigs,120BPM;3swarm then6smeasured;4chUSB AUDIO companion installed with CoreAudio recorder idle. + +| Format | FLEX active mean | FRACT quiet | FRACT default added | FRACT extreme added | +| --- | ---: | ---: | ---: | ---: | +|16-bit mono|31.6%|31.0%|28.3points|32.1points| +|16-bit stereo|31.8%|31.0%|29.0points|32.9points| +|24-bit mono|31.7%|31.0%|28.7points|32.2points| +|24-bit stereo|31.7%|31.0%|29.1points|33.5points| + +All20windows completed with counter0→0 and no new crash/error/stall. The largest observed FRACT active-minus-quiet mean33.5points is below unchangedprice40. This is an observed mean charge, not a static worst-case, peak headroom, exclusive own cycle count or listening result. See matched-price-20261127-two-reader.json. + +Earlier slot-picker preparation attempts did not consistently establish native LOOP2; they are not used for this complete matrix. Their assertions stopped the runs. The final fixed-bank fixture's settings were read back on hardware. + +## Active USB, placement and restoration + +The current MAIN+CUE4chUSB run completed122.232827s and22control windows, guard0→0 including finalSTOP. CoreAudio confirmed4inputchannels active at bothends; the124.656s recording closed with exit0. All4channels have nonzero signal. The trimmed capture has no all-channel exact-zero frames. Repeated16sample blocks were mostly constant plateaux;60varying repeats remain unqualified without a synchronized oracle or listening. No dropout/listening clearance follows. The largest observed frame interrupt maximum was103.6% of a nominal frame; this is measured interrupt duration, not a static bound or headroom promise. + +T2,T3,T4 each rendered alone and returned to FLEX. A second owner was refused without changing any Part byte. T1 was covered by the full matrix and stress. The whole retained set returned by standard Undo to normalgen4, emptyinventory; it logged twoCPU>=90%/1s notes and nofault. These notes are retained, not treated as available headroom. + +Original PROJECT261111/A01/Part1 was restored by CHANGE. All8working/savedPart copies matched their fresh start snapshots; the existing workingPart1/savedPart1difference was preserved. All28originalCF hashes matched. The agent incorrectly exited USB DISK MODE after macOS refused an initial eject; it reentered, verified all28hashes, ran read-only fsck_msdos -n through diskutilverifyVolume(exit0), rechecked hashes after its unmount/remount, then successfully ejected before exiting. Only the two agent-created40file testprojects were archived and removed. Final release-base independent readback is recorded below. + +MIDIsoak did not run: fixedprocedurestopped atstep7; the accepted audio-stress alternative above was run. Full fixed procedure, exact released-base audio, complete companion matrix, listening and exact-version Keep/reboot remain open. The cause of the isolated Part4timeout remains unestablished. No waiver or first-release approval is claimed. + +Final independent USB readback confirmed released base0.8.2 `24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`, normalgen0, inventory[], missing[], set`87f28e38d5fe18c3f6133158ddb0369f9b62f2a46b0ada8c8fc19de1ca9885e8`. NORrunningconfirmedslot1gen10, oldslot0gen8retained, nofallback. Ownlinks/recorder/MIDIbridge closed, queuefree, Colimastopped. Released-baseMEMis unavailable; exact8Partcomparison was before finalRAMboot. No postbootPartdump is claimed. diff --git a/sdk/drafts/fract-machine/release/hardware-20261127-iteration18.md b/sdk/drafts/fract-machine/release/hardware-20261127-iteration18.md new file mode 100644 index 0000000000..af0a2c4d69 --- /dev/null +++ b/sdk/drafts/fract-machine/release/hardware-20261127-iteration18.md @@ -0,0 +1,84 @@ +# FRACT 0.1.7: two-reader hardware observations — 27 November 2026 + +Two-reader development125c completed the current format and active USB workloads without new guarded render skips. One FRACT owner was selected on each T1-T8, one at a time; the second owner was refused. This supports keeping two readers. It does not establish unrestricted workload capacity or release approval. + +## Expanded follow-up: stage1 failed + +Later current-byte tests found9973new guarded render skips across a dense FRACT+FM Synth+Mini Verb/two-core+activeUSB4 trial, and1new skip after9.445seconds in a separate FRACT+fixed20channelUSB control/lock/LFO case. Actual20channel CoreAudio recording was verified. Both trials were stopped and undone after loading a native scratch project; no crash/stall, Keep, NOR or guard/allowance changes. Full qualification is failed, not just waiting for approval. Earlier standalone4channel passes remain valid only for those named workloads. See [the expanded failure receipt](expanded-failures-20261127-iteration18.json). Optimization investigation continues with two readers. + +## Exact builds and scope + +| Purpose | Package SHA-256 | Base | +| --- | --- | --- | +| Released-base candidate | f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4 | 24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5 | +| Normal development | 125c0ab3c7ac9b5cf8afc45710bca68ef62f8e55b34c8bb6fa20e6ae2379a165 | 46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f | +| Private timing probe | 89411b02fd8ff18696d18427cb60120247b531d0ddacf6f43b6c923406c63c8f | 46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f | + +Public macOS/Linux builds reproduce byte-identically. Development/probe audio and timing below do not qualify public-package audio. Probe reproduces the normal development image and preserves all eleven original executable units; its wrapper/tick instrumentation adds overhead. No Keep or NOR write occurred. + +## Fixed procedure and actual machine admission + +The first run failed its initial T1 pick with CPU FULL; T5 and all twelve settled Part transitions passed. The base retains played-load history until four seconds of sequenced playback. After six seconds of native playback the unchanged package passed the second run's mandatory T1/T5 checks (audition peaks34.4/31.5%) and all twelve Part transitions. Protections remained at Part allowance45 and render share80. + +The control/MIDI soak completed 2400 operations in122seconds,272pattern changes and20operations/second. Its starting Parts contained native FLEX, so this is installed-module control soak, not FRACT audio stress. + +The procedure's price step falsely succeeded: basename dev.mwrm resolved to IDdev, leaving a valid at-rest reading but curve.error="not an effect or a machine: no curve". It is excluded as cost qualification. Separate SDK PR2297 makes missing/error curves fail rather than exit successfully. A correctly named standalone single-owner repeat is recorded below. + +A native A16 empty pattern played for six seconds before selection allowed all T1-T8 to render, each restored to native FLEX and the exact saved scratch Part. With T2 owning FRACT, a second T1 owner was refused without Part changes. Earlier picks after loaded/stopped audition were conservatively refused CPU FULL; they remain failed attempts, not universal-admission passes. The documented price tool uses the empty-pattern preparation too. + +The correctly named `fract-machine.mwrm` repeat completed a single-owner curve on T1. Observed longest-frame addition28.3points; measured rest0; descriptor40 retained. Empty admission48.8%longest frame and medium96.3%,both admitted with0dropped/0stalls. An independent read-only Part observer saw three separated FR01 signature groups through curve/empty/medium placement (18observations). The corrected SDK validator returned no problems. The tool restored allowance45; scratch Part1 was reloaded and byte-checked exact. This does not test multiple simultaneous FRACT instances or qualify arbitrary loads. Scalar receipt: price-single-owner-20261127-iteration18.json. + +## Normal development125c four-format workload + +Own scratch project FR27M18, banks A-D: 44.1kHz,88200sample frames,16/24bit mono/stereo,120BPM,64T1trigs; native Part1 FLEX loop2/TSTRoff, FRACT defaultPart3/extremePart4. Twenty verified windows: three seconds warm and six seconds measure, with four-channel USB companion installed but recorder idle. Every window checks actual Part/machine/slot/voice/controls and no new guarded skips. + +| Format | FLEX quiet / active mean % | FRACT quiet / default / extreme mean % | Largest active-minus-quiet | +| --- | --- | --- | --- | +| 16bit mono | 27.0 / 31.6 | 31.0 / 59.3 / 63.1 | 32.1 | +| 16bit stereo | 27.1 / 31.7 | 31.0 / 60.0 / 64.0 | 33.0 | +| 24bit mono | 27.1 / 31.7 | 31.0 / 59.7 / 63.3 | 32.3 | +| 24bit stereo | 27.1 / 31.7 | 31.0 / 60.1 / 64.5 | 33.5 | + +Descriptor price40 is unchanged. These mean comparisons are not a peak/static headroom guarantee. Scalar record: matched-price-20261127-iteration18.json. + +## Active MAIN+CUE USB audio + +Normal development125c plus four-channel USB companion, FR27M18 A06/Part2:64native parameter locks,threeLFOs,22MAIN/PAN/SRNG control windows over122.0027seconds. Recorder actively running at both endpoints. Guard skips0 before,0 at the end including STOP; frames/ticks advanced and no new crash/stall. Historical base stall marker7 did not grow. + +Recording:124.3545seconds/5484032frames at44.1kHz,all4channels nonzero. After trimming3seconds at both ends,118.3545seconds had no simultaneous exact-zero frame. Adjacent equal16-frame blocks3409(maxchain11);equal64-frame blocks3(maxchain2). This is digital inspection, not a complete dropout detector or listening approval. See audio-sanity-20261127-iteration18.json. + +The retained normal+USB trial lasted1440seconds including idle time, not24minutes of active audio. It logged no crash/stall/freeze/late/guard-skip fault but retained four CPU notes:two over-limit and two >=90%for1second. Standard Undo returned normalgen10; independent readback showed empty inventory/missing and original set87f28. + +## Private probe89411 observations + +Twelve valid series:fourformats times nativeFLEX/default/extreme. Three seconds warm, GUARDreset,three seconds settle,then five seconds collection. GUARD resets frame count as well as maxima; the initial flags5 capture crossing that reset was rejected and retained separately. All accepted series had4-6complete windows,consistent clocks and zero new guarded skips. Maximum timer/frame relative error0.000157642 (allowed0.05). + +Observed inclusive callback block peak168.7955us; call peak131.2121us; at most2calls/block. These lifetime maxima include native FLEX and timer/call overhead, exclude trailing probe bookkeeping, and are not an exclusive/static WCET. Nominal frame362.8118us; whole-ISR guard share290.2424us also pays base/other work and is not module headroom. + +Matched24bitstereo at PTCH64: native whole-frame maximum219.1376us,idle57.4420%; FRACTdefault322.1758us,idle34.4313%. Guard maxima cover post-reset settling plus capture, not since boot. Extreme presets use PTCH127, so they are not same-pitch native comparisons. A separate high-pitch native attempt failed its stored-value assertion; no timing result is claimed and the own scratch Part was restored byte-exact. All12valid series remain intact. See probe-observations-20261127-iteration18.json. + +## Tool fixes and retained failures + +SDK PR2295 checks panel ACKs, retries explicit queue-full refusals with a bound and attempts all chord releases. Its scripted and GitHub checks passed; the old missed Part4 transition's cause was not proved. Current settled12transition tests pass. SDK PR2297 fixes false-success curve runs; neither fix is mixed into the module-only source PR2296. Existing SDK corrections2283/2294 remain separate; unchanged main has stale3reader/9copy assumptions, so module-only CI remains blocked pending those merges. + +Two unchanged development-base RAM boots lost USB before FRACT upload. User manually recovered; a third unchanged boot after133seconds stable succeeded. Timing correlation is not a proved fix. Recovery/readback and the failed attempts remain local. This predates module installation and does not erase the shared base issue1985. + +## Restoration before the final released-base trial + +Original PRESETS/PROJECT261111 A01/Part1 was loaded without SAVE/RELOAD. All eight current/saved Part copies matched initial snapshots; original Part1 working/saved difference was preserved. The CF volume UUID was freshly checked, all28original control files matched before and after archiving/removing only FR27T18/FR27M18, and checked disk eject completed before leaving USB DISK MODE. This is a28control-file comparison, not a hash of the whole audio library. Released24e returned over RAM successfully, normal/empty inventory/missing/set87f28, with original confirmed NOR slots1/gen10 and0/gen8,no fallback. Part memory comparison is the last development-base observation before this boot; public MEM driving is unavailable. + +## Exact released-base install-only trial and final state + +The exact public-candidate packagef806 on released24e ran a45-second RAM trial on the original native project. SELF TEST passed with1/1modules intact. No crash/stall/freeze/skipped-track fault was logged. Standard automatic Undo returned normalgeneration2; independent readback confirmed exact24e,emptyinventory/missing,originalset87f28,confirmedNORslot1/gen10 andslot0/gen8,no fallback. This was install/integrity/Undo only: no released-base audio control or musical test. See public-install-20261127-iteration18.json. The owned server/bridge/trials/recorder are closed, the unit queue is free, and the temporary build VM was stopped. + +## Remaining qualification + +Exact released-base audio, the remaining full companion/lifecycle matrix, human listening and exact-version Keep/reboot are pending. Static CPU cycles remain null with reasons. The owner's accepted timing method is issuecomment6705531953 on PR1274; any waiver and first-release decision are still theirs. Catalogue/package rows remain inactive and PR2296 remains draft. No first-release approval is claimed. + +The metadata recheck initially stopped before API on an outdated offline-report sentence assertion. The sentence was restored with its correct offline-only scope; a subsequent install-only receipt requires the separately updated SDK check in PR2283. No failed check is counted as passed. + +Jev is advisory and partial: module scope used10/12API calls,0flags,8uncertain locations independently investigated,29deferred including one C parser blocker and7static-only fragments. Source/binary tests supplement those gaps; this is not complete diff coverage. Panel review8/12,0flags/8uncertain/42deferred/1static-only; price review6/10,0flags/6uncertain/1deferred/1static-only. Deterministic checks passed in their scopes. Full SDK PR checks passed; module-only CI blockers are retained. + +The scoped-receipt update to SDK PR2283 was reviewed separately:2/8API calls,0flags,2uncertain,0deferred,1static-only changelog,attention omitted0. Both uncertain functions were independently checked against builder/callers and actual current/legacy receipts; five inconsistent receipt mutations were rejected. No confirmed defect; model uncertainty remains recorded. + +Final module metadata recheck: five configured checks passed,11/12totalAPI calls,0flags,7uncertain,36deferred including1Cparser blocker,8static-only files,30attention entries omitted by the summary. Current candidate-proof uncertainty was checked against exact public file hash/header, strict reconstruction, trial/integrity logs and independent final readback. The six retained archive/resource uncertainties retain their earlier exact-history/fresh-audit investigation; all59native inputs were rechecked unchanged after evidence edits. Current manifest/performance fragments outside changed-flagged scope were independently checked against the raw timing/audio/price records and parsed by draft doctor. No additional model certainty or full coverage is claimed. diff --git a/sdk/drafts/fract-machine/release/hardware-20261127.md b/sdk/drafts/fract-machine/release/hardware-20261127.md new file mode 100644 index 0000000000..20891951b7 --- /dev/null +++ b/sdk/drafts/fract-machine/release/hardware-20261127.md @@ -0,0 +1,116 @@ +# FRACT performance repair — 27 November 2026 + +Stage1 remains blocked by active USB-audio stress. Current iteration11 source +has released-base package `f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73` on +`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5` (physically untested), and development twin +`70131adde2cb026f7fd5f7097391dfc7cece89cdc051eccca9ed97b2ad0b6a45` on `46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f` (failed below). +No release approval or owner waiver is granted. + +## Current named-build result + +Scratch FRCT27I2, A06/Part2,120BPM:64 native trigs and alternating locks, +three POS/SIZE/SPRD LFOs (speeds20/36/52, depths32), generated16-bit mono +88,200-frame/44.1kHz FLEX source, moving MAIN/PAN/SRNG. Other seven tracks have +no trigs. Exact Octatrack MAIN+CUE four-channel CoreAudio recording was verified +active during the run; no ambient microphone or SCREEN reads during playback. + +The first moving-control check at3.619s found two new skipped T1 renders +(6811→6813). Through explicit STOP and the whole install-to-Undo trial the +counter reached6815, four new skips. Failed window: frame max103.9%, interrupt +mean75.6%, T1 longest63.4% across both passes. The recorder closed normally +at early failure. This is neither a120s run nor an audio-dropout pass. +No new crash, error or DSP-stall counter; historical stall serial7 remained. +Standard Undo returned normal generation20 and empty inventory. + +## Software and earlier scopes + +Source compilation,56 host cases (52 passed, four historical SPACE skips), nine +runtime-package cases pass. The current kernel has235,048 QEMU span comparisons +across33 window shapes, formats and directions, with exact output/guard words +and saved registers. SIZE modulation has18,880 independent scalar/native callback +comparisons including occupied-head boundaries; authored window halves are +checked monotone. Earlier8,192 LCD comparisons remain scoped to unchanged LCD +code. Software/emulation is not hardware timing or listening. + +Fresh native package reconstruction and both unchanged strict stock scans pass; +current resident extent67,344bytes and own callback bound632bytes exclude base, +stock and interrupt frames. Isolated network-disabled Linux reproduction matches all67,252package bytes +and all59 source-input hashes (31 module inputs). CPU price40, allowance45, share80 and one owner T1–T4 are unchanged. + +Earlier iteration2 completed standalone120s and USB-installed/host-inactive120s +with zero new skips, but failed with active USB audio. Later iterations through11 +also failed active USB; none transfers a pass to the current bytes. The earlier +a320 record and completed restoration are [historical](history/20261127-a320/hardware-20261127.md). + +## Private experiments and waveform check + +The one-frame leaf plus small fill-boundary zero-tail prototype devpackage +`e68db760f53ff7b580069d748d2589c2f0efa7a0c2765f17f6ca44dd30e2f78b` +passed software parity/strict reconstruction, then failed active4chUSB: +first motion+6skips and full trial+9. Undo returned normal generation2, empty. + +The separate two-reader prototype devpackage +`9b86e74087dc4a7495a86850b0dcc3f45881335285d8519e1b4e3f03366e0a60` +on the same dev46base retains128-byte three-slot storage, clears all slots on +reset/stop, runs two readers and spaces maximum-density births half a grain +apart. Its18880scalar/state comparisons and five adapter contracts pass; +strict reconstruction passes with3copies/no fills, resident67376bytes and +616own callback stack bytes. The changed texture/level is intentional. + +Two active MAIN+CUE4ch USB runs completed122.129s/122.563s,22moving-control +windows each. Guard stayed9→9 through STOP; CoreAudio4ch was active at both +ends and records closed normally. Whole trial: no crash/stall/freeze/skipped +track logged; standard Undo normal generation4, installed none. Frame maxima +were103.9/103.4%, guarded T1 maxima66.8/68.1%. These measured bursts are not a +static bound or full qualification. Nonzero recorded MAIN/CUE is routing sanity, +not a listening/dropout pass. This source tree remains iteration11/three readers; +the private two-reader result does not qualify the released-base package above. + +The photographed BENCH is an authored constant-amplitude triangle. All108bin +peaks are2500, hence a uniform height10after the progressive full scan. Its +coarse initial preview aliases the period. An added authored ENVTEST with silent +ends, ramps and a plateau retained that shape after15s; all108native LCD columns +matched an independent full-file envelope calculation. No drawing code was +changed for this check. A first UI-only pick hit the conservative CPU FULL/Part +busy box, then the standard5s native-FLEX warm-up permitted it. The UI trial's +DIAG_CPU note0x01010001 records that admission refusal (diag.c331–341), no fault; +no general admission fix is claimed. + +## Remaining work and final restoration + +After reconnection, independent readback found released24e, empty inventory and +one missing FRACT handle in the scratch project. The dev46RAM boot then completed. +After tests, PROJECT261111/A01/Part1 was returned through native CHANGE; all8 +working/saved Part copies matched the pretest hashes, including the pre-existing +unsaved Part1 difference. All28original CF files matched after archiving/removing +only owned PRESETS/FRCT27I2 (including ENVTEST). Card UUID was verified/ejected. + +Final RAM boot returned released0.8.2/24e. Independent HELLO/status/inventory/set/ +slots/missing readback confirmed normal, empty inventory, original empty set +87f28e38…, missing[], confirmed running slot1generation10 and preserved +slot0generation8, no fallback. Public-base MEM is unavailable: the final exact +Part comparison is scoped before this boot. Own links/recorders/trials are closed, +queue released, Colima stopped. No additional NOR write or Keep occurred. + +Full fixed-procedure, current-build price/four-format/companion/stock-flow, +MAIN+CUE dropout, lifecycle and author listening/Keep/reboot remain open for an +adopted two-reader candidate. No release approval or waiver is claimed. + +## Review coverage + +The separate shared receipt-check correction is [PR2283](https://github.com/repeat98/modwerk/pull/2283), +open, ready, applicable CI green and no comments/reviews at the latest check. +It is integrated locally as baseline7c088d40; the module diff does not edit that test. +The earlier advisory Jev pass reviewed16 fragments, zero flags and16 uncertain, +all investigated manually. It retained58 deferred and14 excluded/static-only +entries, including four C parser blockers; omitted coverage was inspected +selectively. The later bounded recheck ran all four deterministic checks successfully and +reviewed four fragments: zero flags, four uncertainty records, investigated +against sources and receipts. Its20-request pass budget is exhausted. Current +coverage retains129 deferred items (124 chunks plus five parser blockers) and23 +static-only file entries;116 omitted attention and16 omitted excluded entries +were inspected selectively. The checked chunk header is deferred; grain.c, +render.c, fract_ui.c, registration.c and window.h are parser blockers. Private +experiments are outside this worktree review. Subsequent metadata corrections +were locally checked without another API pass. This remains partial advisory +coverage, not a clean or complete review. diff --git a/sdk/drafts/fract-machine/release/history/20261125/candidate-proof.json b/sdk/drafts/fract-machine/release/history/20261125/candidate-proof.json new file mode 100644 index 0000000000..9acfe76234 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261125/candidate-proof.json @@ -0,0 +1,30 @@ +{ + "schema": 1, + "id": "fract-machine", + "bytes": 31948, + "imageBytes": 30416, + "bssBytes": 636, + "relocations": 227, + "eventWords": 38, + "sha256": "c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29", + "authoredImageSha256": "a80a7032c23c5e76fd1943f3bcd07ba5e3bbca215942bf1e35298f292c87e577", + "reviewedImageSha256": "d343d813e212ff9d8c4595cac479efb57da0047edd89ce8bd6ef1ff16e828a3f", + "baseIdentity": "eb6679620d0c9ed7ad277598fc0df185e767dfbd0e7eb99bb1518ade9df8a4f0", + "basePackageSha256": "390f74e9b8f362ccd24172cc5672e5262dec1a2877323ed7a8ac368378d4753a", + "baseRunOrigin": 1084839424, + "baseImports": [ + { + "offset": 14816, + "name": "mw_stock_pool_open", + "addend": 0 + } + ], + "stockCopies": 9, + "stockFills": 0, + "stockVerification": "PASS", + "hardware": "NOT_RUN", + "version": "0.1.3-experimental", + "qualification": "PENDING_CURRENT_BUILD_HARDWARE_TIMING_STRESS_INTEGRATION_AND_FIRST_RELEASE_APPROVAL", + "hardwareReport": "qualification-20261125.md", + "previousHardwarePackage": "6ff37fdcdbfead903a4857482d0f7bd50905175b55c877e62ad7c51422ef5874" +} diff --git a/sdk/drafts/fract-machine/release/history/20261125/catalog-entry.json b/sdk/drafts/fract-machine/release/history/20261125/catalog-entry.json new file mode 100644 index 0000000000..3ee775caee --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261125/catalog-entry.json @@ -0,0 +1,5 @@ +{ + "id": "fract-machine", + "version": "0.1.3-experimental", + "addedAt": "2026-11-25T16:15:03.716Z" +} diff --git a/sdk/drafts/fract-machine/release/history/20261125/package-entry.json b/sdk/drafts/fract-machine/release/history/20261125/package-entry.json new file mode 100644 index 0000000000..0ce8ec0a24 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261125/package-entry.json @@ -0,0 +1,31 @@ +{ + "id": "fract-machine", + "version": "0.1.3-experimental", + "sources": [ + "sdk/octatrack/modules/fract-machine/machine.c", + "sdk/octatrack/modules/fract-machine/render.c", + "sdk/octatrack/modules/fract-machine/start.c", + "sdk/octatrack/modules/fract-machine/registration.c", + "sdk/octatrack/modules/fract-machine/base_binding.c", + "sdk/octatrack/modules/fract-machine/engine/grain.c", + "sdk/octatrack/modules/fract-machine/engine/pitch.c", + "sdk/octatrack/modules/fract-machine/support/control.c", + "sdk/octatrack/modules/fract-machine/engine/source.c", + "sdk/runtime/logging/freestanding.c", + "sdk/octatrack/modules/fract-machine/engine/kernel.s" + ], + "sourceRecipe": "sdk/octatrack/modules/fract-machine/runtime-build.json", + "usbOnly": true, + "requiredBase": "eb6679620d0c9ed7ad277598fc0df185e767dfbd0e7eb99bb1518ade9df8a4f0", + "path": "octatrack-modules/fract-machine/0.1.3-experimental.mwrm", + "name": "FRACT", + "module": "5efef0cd", + "bytes": 31948, + "sha256": "c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29", + "abi": 8, + "features": 130, + "sites": 0, + "copies": 9, + "fills": 0, + "base": true +} diff --git a/sdk/drafts/fract-machine/release/history/20261125/reconstruction.json b/sdk/drafts/fract-machine/release/history/20261125/reconstruction.json new file mode 100644 index 0000000000..c19ea4e419 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261125/reconstruction.json @@ -0,0 +1,109 @@ +{ + "schema": 1, + "imageSha256": "d343d813e212ff9d8c4595cac479efb57da0047edd89ce8bd6ef1ff16e828a3f", + "sources": { + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "2d5233909b681098810c4a0f3b6f85ddcf3cfbc5179749d6f0ac5452822081d1", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "643e34e4c1b75557e365f07030788d2a274fb7b5aa0f30acc5efb699fae6ad1a", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "b49882cccb3a74a5c039b29a1b07e6f4ca8ed7d937fd02b7ccb3d643b9e9ec1c", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "248393a35a2ae39c3d99cf2b8d337c2883b740378bfd0f7ed083bcb8d9f90e7e", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "28458553c69014d31c67cfae3dfff72d96cd16392db749ad03e80e0e5c6c3b97", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "f2869ec9179878a3ba7020472725219602c0de3c1b331c8069dec68d6272b0ba", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1a05cf6d36716e5c0b0aaca19c19a86d7fa9669956ce97b2cfa2461420128eb", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "0e82d939929976de7aa3f0c17e014c34a45bbdc4ea68e92a30c58d40b17081bb", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "963478023953646d95e089110dae034de29aeb4c6c964d8e45ff39f3e9aeb34a", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" + }, + "copies": [ + { + "offset": 6488, + "length": 13, + "address": 1073973354, + "sha256": "2393ebbe40716982dc0fc11a30e3e53f13d60755b68dc8f156a4cf02ec77c2f2", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 10498, + "length": 18, + "address": 1073759904, + "sha256": "21fa9b2f73fd45425816040111feafeef4bc4894e08875d45b73907959f9b968", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 10654, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 11216, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 14830, + "length": 12, + "address": 1074093666, + "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 14842, + "length": 13, + "address": 1073821810, + "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 16664, + "length": 14, + "address": 1074362300, + "sha256": "9e3dd6327de2534128db7663c70f00d765756b788a6ef05047e2857e5963ef78", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 18682, + "length": 12, + "address": 1074632928, + "sha256": "46b13fd6f448673e784e0a160137853a497770078ee9f9796b6d893b0d5594bb", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 18694, + "length": 1, + "address": 1073742859, + "sha256": "36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + } + ], + "fills": [], + "baseImports": [ + { + "offset": 14816, + "name": "mw_stock_pool_open", + "addend": 0 + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261125/resource-audit-20261125.json b/sdk/drafts/fract-machine/release/history/20261125/resource-audit-20261125.json new file mode 100644 index 0000000000..20e8e29197 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261125/resource-audit-20261125.json @@ -0,0 +1,490 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29", + "authoredImageSha256": "a80a7032c23c5e76fd1943f3bcd07ba5e3bbca215942bf1e35298f292c87e577", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "69bbdf33558eddb7cba344f550ce6ab06bfc4d0986ea950b988b681d1ed41d8a" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 30416, + "bssBytes": 636, + "packageBytes": 31948, + "relocations": 227, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 4, + "residentPoolExtentBytes": 31824, + "sameCandidateReplacementPeakPoolBytes": 63648, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly leaves; 4-byte JSR return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 208, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 176, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 208, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 444, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_hop": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_hop" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 524, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 712, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 52, + "chain": [ + "og_mix_span" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 52, + "chain": [ + "og_mix_span_reverse" + ] + }, + "og_pan_root": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_pan_root" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_reset", + "og_stop" + ] + }, + "og_scan_advance": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_scan_advance" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 40, + "chain": [ + "pan_birth", + "og_pan_root" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_pixel": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "ui_pixel" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 68, + "chain": [ + "ui_text", + "ui_pixel" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 712, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x2970", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x2a22", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x2b72", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x2fa0", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x30b4", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x3286", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x39de", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x39f2", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x3d16", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "2d5233909b681098810c4a0f3b6f85ddcf3cfbc5179749d6f0ac5452822081d1", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "643e34e4c1b75557e365f07030788d2a274fb7b5aa0f30acc5efb699fae6ad1a", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "b49882cccb3a74a5c039b29a1b07e6f4ca8ed7d937fd02b7ccb3d643b9e9ec1c", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "248393a35a2ae39c3d99cf2b8d337c2883b740378bfd0f7ed083bcb8d9f90e7e", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "28458553c69014d31c67cfae3dfff72d96cd16392db749ad03e80e0e5c6c3b97", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "f2869ec9179878a3ba7020472725219602c0de3c1b331c8069dec68d6272b0ba", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1a05cf6d36716e5c0b0aaca19c19a86d7fa9669956ce97b2cfa2461420128eb", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "0e82d939929976de7aa3f0c17e014c34a45bbdc4ea68e92a30c58d40b17081bb", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "963478023953646d95e089110dae034de29aeb4c6c964d8e45ff39f3e9aeb34a", + "sdk/machines/octatrack/base-binding.json": "ef1f4a25febea5efba3ee0d68c1b4ce14768105c963cc89d066afff2e6630423", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "6336c0d006bfc69f0ae3e72626e7642b1445e724e1a9d5150cfb43ff6c220a03", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "390f74e9b8f362ccd24172cc5672e5262dec1a2877323ed7a8ac368378d4753a" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261125/resources.json b/sdk/drafts/fract-machine/release/history/20261125/resources.json new file mode 100644 index 0000000000..83ed364b41 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261125/resources.json @@ -0,0 +1,27 @@ +{ + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED; TIMING_NOT_QUALIFIED", + "packageSha256": "6ff37fdcdbfead903a4857482d0f7bd50905175b55c877e62ad7c51422ef5874", + "baseIdentity": "72defb09b9d463fe62ab876f350f442d10e32ec23e55918a22b9b756c5cb3da6", + "codeAndInitializedDataBytes": 30260, + "zeroInitializedStateBytes": 636, + "imagePlusBssBytes": 30896, + "runtimeHeaderBytes": 528, + "alignmentBytes": 0, + "residentPoolExtentBytes": 31424, + "sameCandidateReplacementPeakPoolBytes": 62848, + "oldCandidateReplacementPeakPoolBytes": 63200, + "packageBytes": 31772, + "relocations": 222, + "stockCopies": 9, + "stack": { + "maxOwnCallbackBytes": 712, + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly leaves; 4-byte JSR return PCs", + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve.", + "report": "resource-audit.json" + }, + "worstCaseColdFireCycles": null, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "hardware": "FUNCTIONAL_CHECK_RECORDED; TIMING_MEASUREMENTS_PENDING", + "details": "resources.md" +} diff --git a/sdk/drafts/fract-machine/release/history/20261126/candidate-proof.json b/sdk/drafts/fract-machine/release/history/20261126/candidate-proof.json new file mode 100644 index 0000000000..7534e80f90 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261126/candidate-proof.json @@ -0,0 +1,30 @@ +{ + "schema": 1, + "id": "fract-machine", + "bytes": 31948, + "imageBytes": 30416, + "bssBytes": 636, + "relocations": 227, + "eventWords": 38, + "sha256": "bec65df07ae21e76c707247fd97f9851cc424c6d8f6e27ca414d18d9727c9454", + "authoredImageSha256": "7bdba3f66da8d38a830d0aa76271a3ba5ac55e6d48aad8553bef811c2f7592ea", + "reviewedImageSha256": "3fbdbf27df8d6ede0ae66ac0553c8f44d003e2764639eb858d0ed5cf0782104f", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "basePackageSha256": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff", + "baseRunOrigin": 1084839424, + "baseImports": [ + { + "offset": 14816, + "name": "mw_stock_pool_open", + "addend": 0 + } + ], + "stockCopies": 9, + "stockFills": 0, + "stockVerification": "PASS", + "hardware": "NOT_RUN", + "version": "0.1.4-experimental", + "qualification": "PENDING_CURRENT_BUILD_HARDWARE_COMPLETION_AND_FIRST_RELEASE_APPROVAL", + "hardwareReport": "qualification-20261126.md", + "previousHardwarePackage": "3871d90e345db70977f247185fdc121085e4026215e8c089840e3ba5e2a9d9a5" +} diff --git a/sdk/drafts/fract-machine/release/history/20261126/catalog-entry.json b/sdk/drafts/fract-machine/release/history/20261126/catalog-entry.json new file mode 100644 index 0000000000..303b4d260c --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261126/catalog-entry.json @@ -0,0 +1,5 @@ +{ + "id": "fract-machine", + "version": "0.1.4-experimental", + "addedAt": "2026-11-25T16:15:03.716Z" +} diff --git a/sdk/drafts/fract-machine/release/history/20261126/package-entry.json b/sdk/drafts/fract-machine/release/history/20261126/package-entry.json new file mode 100644 index 0000000000..7ac4cd91b5 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261126/package-entry.json @@ -0,0 +1,31 @@ +{ + "id": "fract-machine", + "version": "0.1.4-experimental", + "sources": [ + "sdk/octatrack/modules/fract-machine/machine.c", + "sdk/octatrack/modules/fract-machine/render.c", + "sdk/octatrack/modules/fract-machine/start.c", + "sdk/octatrack/modules/fract-machine/registration.c", + "sdk/octatrack/modules/fract-machine/base_binding.c", + "sdk/octatrack/modules/fract-machine/engine/grain.c", + "sdk/octatrack/modules/fract-machine/engine/pitch.c", + "sdk/octatrack/modules/fract-machine/support/control.c", + "sdk/octatrack/modules/fract-machine/engine/source.c", + "sdk/runtime/logging/freestanding.c", + "sdk/octatrack/modules/fract-machine/engine/kernel.s" + ], + "sourceRecipe": "sdk/octatrack/modules/fract-machine/runtime-build.json", + "usbOnly": true, + "requiredBase": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "path": "octatrack-modules/fract-machine/0.1.4-experimental.mwrm", + "name": "FRACT", + "module": "5efef0cd", + "bytes": 31948, + "sha256": "bec65df07ae21e76c707247fd97f9851cc424c6d8f6e27ca414d18d9727c9454", + "abi": 8, + "features": 130, + "sites": 0, + "copies": 9, + "fills": 0, + "base": true +} diff --git a/sdk/drafts/fract-machine/release/history/20261126/performance.json b/sdk/drafts/fract-machine/release/history/20261126/performance.json new file mode 100644 index 0000000000..963f3d25b9 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261126/performance.json @@ -0,0 +1,38 @@ +{ + "schema": 1, + "module": "fract-machine", + "version": "0.1.4-experimental", + "kind": "coldfire", + "cycles": { + "unit": "cycles/event", + "static": null, + "measured": null, + "budget": null, + "method": "CPU cycles and static worst-case bound NOT MEASURED. Named development probes measured inclusive timer intervals (native FLEX plus timer/call overhead), not CPU cycles. See release/hardware-20261126.md; normal development build failed modulated USB-audio stress." + }, + "load": { + "frameUs": 362.8, + "stockLongestUs": null, + "moduleLongestUs": null, + "stockIdlePercent": null, + "moduleIdlePercent": null, + "method": "Two complete matched four-format20-second-arm matrices on named development probes observed36.1\u201338.1 active-minus-quiet mean frame points; corrected probe peak98.4%. Scoped maxima follow named external guard resets and3-second flush. Exact released-base package not physically tested; scalar longest/idle fields remain null because they do not encode the multiple package/format/arm scopes. See hardware report." + }, + "stress": { + "floodMessagesPerSecond": null, + "clockBpm": null, + "seconds": null, + "stuckNotes": null, + "hangs": null, + "dropped": 797, + "droppedExplanation": "Observed total734 skipped T1 renders in20-channel trial plus63 new in separate4-channel MAIN+CUE retry (734->797). Not MIDI messages. Both failed; not a120-second stress pass.", + "method": "Audio stress with64 native locks, three LFOs and moving controls; dev normal54d4 on base46c3.20- and4-channel USB audio both failed. No new crash/DSP stall observed. MIDI-specific fields remain null. See hardware-20261126.md for identities and limits." + }, + "scope": { + "packageSha256": "54d42f5affc4a6c45cdeb5d15814c632a57c630eaeac9121f945b5732f4d6aba", + "baseIdentity": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", + "ownerMethod": "https://github.com/repeat98/modwerk/pull/1274#issuecomment-6705531953", + "waiver": "NOT_GRANTED", + "hardware": "PARTIAL_FAILED_STAGE1: normal54d4 stress; probe18d3 corrected matrix. Exact released-base normalbec6 physically untested; separate probe identities in hardware report." + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261126/reconstruction.json b/sdk/drafts/fract-machine/release/history/20261126/reconstruction.json new file mode 100644 index 0000000000..479d3e5c3a --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261126/reconstruction.json @@ -0,0 +1,109 @@ +{ + "schema": 1, + "imageSha256": "3fbdbf27df8d6ede0ae66ac0553c8f44d003e2764639eb858d0ed5cf0782104f", + "sources": { + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "2d5233909b681098810c4a0f3b6f85ddcf3cfbc5179749d6f0ac5452822081d1", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "643e34e4c1b75557e365f07030788d2a274fb7b5aa0f30acc5efb699fae6ad1a", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "b49882cccb3a74a5c039b29a1b07e6f4ca8ed7d937fd02b7ccb3d643b9e9ec1c", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "28458553c69014d31c67cfae3dfff72d96cd16392db749ad03e80e0e5c6c3b97", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "f2869ec9179878a3ba7020472725219602c0de3c1b331c8069dec68d6272b0ba", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1a05cf6d36716e5c0b0aaca19c19a86d7fa9669956ce97b2cfa2461420128eb", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "0e82d939929976de7aa3f0c17e014c34a45bbdc4ea68e92a30c58d40b17081bb", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "963478023953646d95e089110dae034de29aeb4c6c964d8e45ff39f3e9aeb34a", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" + }, + "copies": [ + { + "offset": 6488, + "length": 13, + "address": 1073973354, + "sha256": "2393ebbe40716982dc0fc11a30e3e53f13d60755b68dc8f156a4cf02ec77c2f2", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 10498, + "length": 18, + "address": 1073759904, + "sha256": "21fa9b2f73fd45425816040111feafeef4bc4894e08875d45b73907959f9b968", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 10654, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 11216, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 14830, + "length": 12, + "address": 1074093666, + "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 14842, + "length": 13, + "address": 1073821810, + "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 16664, + "length": 14, + "address": 1074362300, + "sha256": "9e3dd6327de2534128db7663c70f00d765756b788a6ef05047e2857e5963ef78", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 18682, + "length": 12, + "address": 1074632928, + "sha256": "46b13fd6f448673e784e0a160137853a497770078ee9f9796b6d893b0d5594bb", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 18694, + "length": 1, + "address": 1073742859, + "sha256": "36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + } + ], + "fills": [], + "baseImports": [ + { + "offset": 14816, + "name": "mw_stock_pool_open", + "addend": 0 + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261126/resource-audit-20261125.json b/sdk/drafts/fract-machine/release/history/20261126/resource-audit-20261125.json new file mode 100644 index 0000000000..5c866805d1 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261126/resource-audit-20261125.json @@ -0,0 +1,490 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "bec65df07ae21e76c707247fd97f9851cc424c6d8f6e27ca414d18d9727c9454", + "authoredImageSha256": "7bdba3f66da8d38a830d0aa76271a3ba5ac55e6d48aad8553bef811c2f7592ea", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 30416, + "bssBytes": 636, + "packageBytes": 31948, + "relocations": 227, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 4, + "residentPoolExtentBytes": 31824, + "sameCandidateReplacementPeakPoolBytes": 63648, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly leaves; 4-byte JSR return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 208, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 176, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 208, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 444, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_hop": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_hop" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 524, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 712, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 52, + "chain": [ + "og_mix_span" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 52, + "chain": [ + "og_mix_span_reverse" + ] + }, + "og_pan_root": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_pan_root" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_reset", + "og_stop" + ] + }, + "og_scan_advance": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_scan_advance" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 40, + "chain": [ + "pan_birth", + "og_pan_root" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_pixel": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "ui_pixel" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 68, + "chain": [ + "ui_text", + "ui_pixel" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 712, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x2970", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x2a22", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x2b72", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x2fa0", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x30b4", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x3286", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x39de", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x39f2", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x3d16", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "2d5233909b681098810c4a0f3b6f85ddcf3cfbc5179749d6f0ac5452822081d1", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "643e34e4c1b75557e365f07030788d2a274fb7b5aa0f30acc5efb699fae6ad1a", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "b49882cccb3a74a5c039b29a1b07e6f4ca8ed7d937fd02b7ccb3d643b9e9ec1c", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "28458553c69014d31c67cfae3dfff72d96cd16392db749ad03e80e0e5c6c3b97", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "f2869ec9179878a3ba7020472725219602c0de3c1b331c8069dec68d6272b0ba", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1a05cf6d36716e5c0b0aaca19c19a86d7fa9669956ce97b2cfa2461420128eb", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "0e82d939929976de7aa3f0c17e014c34a45bbdc4ea68e92a30c58d40b17081bb", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "963478023953646d95e089110dae034de29aeb4c6c964d8e45ff39f3e9aeb34a", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261126/resource-audit-20261126.json b/sdk/drafts/fract-machine/release/history/20261126/resource-audit-20261126.json new file mode 100644 index 0000000000..5c866805d1 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261126/resource-audit-20261126.json @@ -0,0 +1,490 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "bec65df07ae21e76c707247fd97f9851cc424c6d8f6e27ca414d18d9727c9454", + "authoredImageSha256": "7bdba3f66da8d38a830d0aa76271a3ba5ac55e6d48aad8553bef811c2f7592ea", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 30416, + "bssBytes": 636, + "packageBytes": 31948, + "relocations": 227, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 4, + "residentPoolExtentBytes": 31824, + "sameCandidateReplacementPeakPoolBytes": 63648, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly leaves; 4-byte JSR return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 208, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 176, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 208, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 444, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_hop": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_hop" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 524, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 712, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 52, + "chain": [ + "og_mix_span" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 52, + "chain": [ + "og_mix_span_reverse" + ] + }, + "og_pan_root": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_pan_root" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_reset", + "og_stop" + ] + }, + "og_scan_advance": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_scan_advance" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 40, + "chain": [ + "pan_birth", + "og_pan_root" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_pixel": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "ui_pixel" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 68, + "chain": [ + "ui_text", + "ui_pixel" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 712, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x2970", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x2a22", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x2b72", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x2fa0", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x30b4", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x3286", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x39de", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x39f2", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x3d16", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "2d5233909b681098810c4a0f3b6f85ddcf3cfbc5179749d6f0ac5452822081d1", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "643e34e4c1b75557e365f07030788d2a274fb7b5aa0f30acc5efb699fae6ad1a", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "b49882cccb3a74a5c039b29a1b07e6f4ca8ed7d937fd02b7ccb3d643b9e9ec1c", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "28458553c69014d31c67cfae3dfff72d96cd16392db749ad03e80e0e5c6c3b97", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "f2869ec9179878a3ba7020472725219602c0de3c1b331c8069dec68d6272b0ba", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1a05cf6d36716e5c0b0aaca19c19a86d7fa9669956ce97b2cfa2461420128eb", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "0e82d939929976de7aa3f0c17e014c34a45bbdc4ea68e92a30c58d40b17081bb", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "963478023953646d95e089110dae034de29aeb4c6c964d8e45ff39f3e9aeb34a", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261126/resources.json b/sdk/drafts/fract-machine/release/history/20261126/resources.json new file mode 100644 index 0000000000..f1a981f053 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261126/resources.json @@ -0,0 +1,28 @@ +{ + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED; HARDWARE_QUALIFICATION_PARTIAL", + "packageSha256": "bec65df07ae21e76c707247fd97f9851cc424c6d8f6e27ca414d18d9727c9454", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "codeAndInitializedDataBytes": 30416, + "zeroInitializedStateBytes": 636, + "imagePlusBssBytes": 31052, + "runtimeHeaderBytes": 754, + "alignmentBytes": 18, + "residentPoolExtentBytes": 31824, + "sameCandidateReplacementPeakPoolBytes": 63648, + "oldCandidateReplacementPeakPoolBytes": 63648, + "packageBytes": 31948, + "relocations": 227, + "stockCopies": 9, + "stack": { + "maxOwnCallbackBytes": 712, + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly leaves; 4-byte JSR return PCs", + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve.", + "report": "resource-audit-20261126.json" + }, + "worstCaseColdFireCycles": null, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "hardware": "Stage1 FAILED on separately named development build: modulated USB-audio stress skipped renders on20- and4-channel layouts. Exact released-base package physically untested. See hardware-20261126.md.", + "details": "resources.md", + "previousCandidateVersion": "0.1.3-experimental" +} diff --git a/sdk/drafts/fract-machine/release/history/20261126/resources.md b/sdk/drafts/fract-machine/release/history/20261126/resources.md new file mode 100644 index 0000000000..213025ee2d --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261126/resources.md @@ -0,0 +1,87 @@ +# FRACT resources — current preparation, 26–27 November 2026 + +Unlisted `0.1.4-experimental`, package `bec65df07ae21e76c707247fd97f9851cc424c6d8f6e27ca414d18d9727c9454`, +base `24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`. +The [current audit](resource-audit-20261126.json) accounts for **31,824 resident +bytes**, 63,648 for two retained copies, and **712 bytes of own callback stack**. +The loader header is now 754 bytes, rounded to 768; image 30,416 plus BSS 636 +rounds to 31,056. No DSP code/state or separate sample-arena allocation is added. +These counts establish neither free headroom nor hardware timing. + +`qualification/resources.py` pins this image/package and the current loader hashes. +The 33 indirect sites were reviewed: unchanged functions keep their instruction +offsets and operands; `og_machine_page` now calls `page_text`, `page_word` and +the SDK's `modwerk_page_put32.constprop.0`. Its five indirect stores resolve to +the one eight-byte compiler frame. The known GCC .su clone label is mapped +explicitly, under the exact image pin. The base pool helper follows the current +linked export. Target sizeof probes confirm 754/88/74 bytes for module/owner/site, +63 hook slots and four-byte pointers, matching the loader's allocation formula. +Stock/base frames, interrupt/task nesting and interrupted callbacks are excluded. + +Reproduce on this source with GCC 16.2.0: + +```sh +python3.12 -B sdk/drafts/fract-machine/qualification/resources.py --output /private/new-resource-audit.json +``` + +## Historical candidate resources — 10 November 2026 + +Version `0.1.2-experimental`, SHA-256 `6ff37fdcdbfead903a4857482d0f7bd50905175b55c877e62ad7c51422ef5874`, base `72defb09b9d463fe62ab876f350f442d10e32ec23e55918a22b9b756c5cb3da6`. +This package has a [named-build functional hardware report](hardware-20261110.md). +It does not establish timing or a complete resource qualification. The earlier +6 November report is preserved in [history](history/20261106/resources.md). + +## Reproduce without firmware + +Run the exact named audit from revision +`c2671568bb3b684934ad9c55e100b8276093e12d`, which retains its base72 loader/export +inputs. A later checkout follows its newer committed base and can produce a +different package; the audit deliberately refuses to reuse the named hash then. +The completed source audit is retained in resource-audit.json. + +```sh +python3.12 -B sdk/drafts/fract-machine/qualification/resources.py \ + --output sdk/drafts/fract-machine/release/resource-audit.json +``` + +The audit pins this authored image and package, checks the loader source hashes, +uses GCC 16.2.0 `-fstack-usage`, reviews the acyclic own-call graph and indirect +sites, and probes target struct sizes with the base's 2-byte aggregate alignment. +The changed indirect-site addresses were matched by containing function and +unchanged instruction offset. The one base helper target follows this build's +committed export address. A changed image/loader or unknown call refuses reuse. + +| Module contribution | Bytes | +| --- | ---: | +| Runtime header | 528 | +| Code, tables and initialized state | 30,260 | +| BSS | 636 | +| Alignment padding | 0 | +| **Resident extent** | **31,424** | +| Two copies retained for replacement/Undo | 62,848 | +| Previous 0.1.1 plus this candidate during replacement | 63,200 | +| Encoded package in the existing upload buffer | 31,772 | + +One 88-byte owner-ledger entry is consumed from the base's preallocated ledger. +No DSP code/state words or independent sample-arena buffer are added. Samples +remain in stock FLEX pages. No free-memory/headroom claim follows from these +counts. The previous 31,776-byte extent is historical, not this package's cost. + +The conservative maximum own stack contribution is **712 bytes per callback**, +including own outgoing arguments/JSR return PCs and 48/56-byte assembly leaves. +Stock/base frames, interrupt prologues, task stacks and interrupted activations +are excluded. This is not a whole-system stack reserve. + +## Timing and owner decision + +The [hardware report](hardware-20261126.md) binds matched FLEX/diagnostic timing +to separate development packages. Both four-format matrices had no skips, but +normal 0.1.4 failed modulated USB-audio stress on20- and 4-channel layouts. Price40 +covers observed mean deltas; it is not a peak or static worst-case guarantee. +Timer intervals include native FLEX and probe overhead and are not CPU cycles. +Frame maxima are scoped to the named external guard reset after a 3-second flush. + +The exact released-base package remains physically untested. Performance repair, +stage 1 rerun, remaining companion/audio/lifecycle cases and author listening, +Keep/reboot are required. No owner waiver or release approval has been granted. +The historical PROJECT RELOAD incident remains separately recorded in TESTING.md. diff --git a/sdk/drafts/fract-machine/release/history/20261127-011c/kernel-parity.json b/sdk/drafts/fract-machine/release/history/20261127-011c/kernel-parity.json new file mode 100644 index 0000000000..8467e7b961 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-011c/kernel-parity.json @@ -0,0 +1,63 @@ +{ + "scope": "QEMU instruction semantics only; no timing/hardware qualification", + "baseline": "0.1.4 kernel", + "candidate": "0.1.5 short-span fit at all SIZE steps", + "cases": [ + { + "format": 0, + "reverse": false, + "spans": 2048, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 1, + "reverse": false, + "spans": 2048, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 2, + "reverse": false, + "spans": 2048, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 3, + "reverse": false, + "spans": 2048, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 0, + "reverse": true, + "spans": 2048, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 1, + "reverse": true, + "spans": 2048, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 2, + "reverse": true, + "spans": 2048, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 3, + "reverse": true, + "spans": 2048, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-011c/release-reconstruction.json b/sdk/drafts/fract-machine/release/history/20261127-011c/release-reconstruction.json new file mode 100644 index 0000000000..b1b22a9a89 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-011c/release-reconstruction.json @@ -0,0 +1,82 @@ +{ + "schema": 1, + "imageSha256": "cd75dcea5117d00d7de467219116c9ce294662298386f9e4d7a137eacd805e33", + "sources": { + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "a773970ae23127bb4af2a31d4aff5399e92abd48870a99223ce0237f7d03e2b3", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" + }, + "copies": [ + { + "offset": 12978, + "length": 18, + "address": 1073759904, + "sha256": "21fa9b2f73fd45425816040111feafeef4bc4894e08875d45b73907959f9b968", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 13134, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 13696, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 17420, + "length": 12, + "address": 1074093666, + "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 17432, + "length": 13, + "address": 1073821810, + "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + } + ], + "fills": [], + "baseImports": [ + { + "offset": 17406, + "name": "mw_stock_pool_open", + "addend": 0 + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-011c/release.proofs.json b/sdk/drafts/fract-machine/release/history/20261127-011c/release.proofs.json new file mode 100644 index 0000000000..8bc833a6f9 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-011c/release.proofs.json @@ -0,0 +1,86 @@ +{ + "schema": 1, + "id": "fract-machine", + "bytes": 53756, + "imageBytes": 52332, + "bssBytes": 636, + "relocations": 244, + "eventWords": 38, + "sha256": "a173c1ef4c85974aa02631771558fb52b02956d19001651f22edbe1e08afbd9f", + "authoredImageSha256": "cf675eba2d288491787001dfc4c1e41f375c12e31afd7ff32acefd3959db4c9e", + "reviewedImageSha256": "cd75dcea5117d00d7de467219116c9ce294662298386f9e4d7a137eacd805e33", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "basePackageSha256": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff", + "baseRunOrigin": 1084839424, + "baseImports": [ + { + "offset": 17406, + "name": "mw_stock_pool_open", + "addend": 0 + } + ], + "stockCopies": 5, + "stockFills": 0, + "sources": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "a773970ae23127bb4af2a31d4aff5399e92abd48870a99223ce0237f7d03e2b3", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + }, + "stockVerification": "PASS", + "hardware": "NOT_RUN" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-011c/resource-audit.json b/sdk/drafts/fract-machine/release/history/20261127-011c/resource-audit.json new file mode 100644 index 0000000000..b77220be6b --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-011c/resource-audit.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "a173c1ef4c85974aa02631771558fb52b02956d19001651f22edbe1e08afbd9f", + "authoredImageSha256": "cf675eba2d288491787001dfc4c1e41f375c12e31afd7ff32acefd3959db4c9e", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 52332, + "bssBytes": 636, + "packageBytes": 53756, + "relocations": 244, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 53744, + "sameCandidateReplacementPeakPoolBytes": 107488, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x3320", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x33d2", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x3522", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x3950", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x3a56", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x3c28", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x43fc", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x4410", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x4734", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "a773970ae23127bb4af2a31d4aff5399e92abd48870a99223ce0237f7d03e2b3", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/evidence/performance.json b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/evidence/performance.json new file mode 100644 index 0000000000..8c1d9886e0 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/evidence/performance.json @@ -0,0 +1,38 @@ +{ + "schema": 1, + "module": "fract-machine", + "version": "0.1.6-experimental", + "kind": "coldfire", + "cycles": { + "unit": "cycles/event", + "static": null, + "measured": null, + "budget": null, + "method": "CPU cycles and static worst-case bound NOT MEASURED; targeted diagnostic guard observations do not establish a worst-case bound." + }, + "load": { + "frameUs": 362.8, + "stockLongestUs": null, + "moduleLongestUs": null, + "stockIdlePercent": null, + "moduleIdlePercent": null, + "method": "Normal development9b86:20matched windows across16/24mono/stereo,quiet/default/extreme conditions; max observed active-minus-quiet mean33.5points vscharge40. Inclusive guard percentages do not give exclusive module cycles/static worst-case. See matched-price report." + }, + "stress": { + "floodMessagesPerSecond": null, + "clockBpm": 120, + "seconds": 122.23282695899252, + "stuckNotes": null, + "hangs": null, + "dropped": 0, + "droppedExplanation": "Current exact9b86 run:22moving-control windows over122.233s,guard0\u21920 including finalSTOP. Earlier byte-identical prototype had two separately scoped passes.", + "method": "FR27TW2A06/Part2:64native locks,3LFOs, MAIN/PAN/SRNG motion,16-bit mono88200frame source. CoreAudio4ch active at bothends, MAIN/CUE nonzero; recorder closed normally. No listening/dropout approval." + }, + "scope": { + "packageSha256": "9b86e74087dc4a7495a86850b0dcc3f45881335285d8519e1b4e3f03366e0a60", + "baseIdentity": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", + "ownerMethod": "https://github.com/repeat98/modwerk/pull/1274#issuecomment-6705531953", + "waiver": "NOT_GRANTED", + "hardware": "PARTIAL_STAGE1: format/USB/settledPart/allowedtrack cases passed; fixed procedure failed T5 restriction and onePart4timeout. Whole retained trial had twoCPU>=90%/1s notes, nofault logged. Released-base8c96 physically untested." + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/octamod.module.json b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/octamod.module.json new file mode 100644 index 0000000000..95f2580307 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/octamod.module.json @@ -0,0 +1,312 @@ +{ + "schemaVersion": 2, + "id": "fract-machine", + "key": "FRACT", + "name": "FRACT", + "version": "0.1.6-experimental", + "category": "machines", + "source": { + "repository": "https://github.com/ex1010/modwerk", + "revision": "0de973642fbd33e28f46de8f310419f74458dd5e", + "path": "sdk/drafts/fract-machine" + }, + "build": { + "status": "pending", + "reason": "Two live sample readers with unchanged Part/storage ABI; exact packages and full current-build hardware qualification in preparation." + }, + "author": { + "github": "ex1010", + "credits": [ + "ex1010/toli: FRACT machine, granular engine, UI, tests and original artwork.", + "Octabam references and licences are retained in THIRD_PARTY_NOTICES.md." + ] + }, + "nativeManifest": "manifest.py", + "presentation": { + "label": "Two-grain USB candidate", + "family": "Granular track machine", + "summary": "Two overlapping grains with centered SIZE, wrapping POS and native FLEX pitch.", + "overview": "Two-grain track machine. Unlisted candidate; exact-package qualification and first-release approval pending.", + "highlights": [ + "Two grains; SIZE expands around POS and wraps sample edges.", + "Native pitch at MAIN F, neutral 64.", + "One owner on T1\u2013T4; no active SPACE or FX2 effect." + ], + "usage": [ + "On a compatible private paired build, choose FRACT in SRC SETUP on T1 and load a FLEX sample.", + "Open MAIN, keep PTCH at 64, move POS, then increase SIZE to expand the span around the center.", + "Play the track, try SPRD and REVS, then stop playback and select a stock machine to leave FRACT." + ] + }, + "access": { + "location": "SRC SETUP > FRACT on a compatible private paired build", + "steps": [ + "On a compatible private paired build, choose FRACT in SRC SETUP on T1 and load a FLEX sample.", + "Open MAIN, keep PTCH at 64, move POS, then increase SIZE to expand the span around the center.", + "Play the track, try SPRD and REVS, then stop playback and select a stock machine to leave FRACT." + ], + "screenshots": [ + "media/ot-setup.png", + "media/ot-main.png", + "media/ot-playing.png" + ] + }, + "controls": [ + { + "name": "POS", + "default": 18, + "count": 128, + "doc": "Grain center from left to right across the source.", + "labels": null + }, + { + "name": "SIZE", + "default": 86, + "count": 128, + "doc": "Grain duration and centered span; wraps source edges.", + "labels": null + }, + { + "name": "REVS", + "default": 127, + "count": 128, + "doc": "Forward probability: 127 forward, 0 reverse; intermediate values mix at grain births.", + "labels": null + }, + { + "name": "SPRD", + "default": 0, + "count": 128, + "doc": "Random displacement of grain centers around POS.", + "labels": null + }, + { + "name": "SHPE", + "default": 64, + "count": 128, + "doc": "Grain window shape, constrained by short sizes.", + "labels": null + }, + { + "name": "PTCH", + "default": 64, + "count": 128, + "doc": "Native FLEX pitch; saved 64 is neutral, with native bounded editor and formatter.", + "labels": null + }, + { + "name": "PAN", + "default": 0, + "count": 128, + "doc": "Random grain stereo width; zero is balanced.", + "labels": null + }, + { + "name": "SRNG", + "default": 0, + "count": 2, + "doc": "FULL uses the source span; LOCAL caps spread extent at 88,200 source frames.", + "labels": [ + "FULL", + "LOCAL" + ] + } + ], + "compatibility": { + "firmware": "1.40C", + "effectId": null, + "location": "Track machine", + "conflicts": [], + "uiClaims": [], + "limitations": [ + "Unlisted source draft; not offered by the public configurator.", + "Eight registry slots exist; FRACT admits only one owner on T1\u2013T4.", + "USB package requires the base identified by requiredBase; compatible base rebuilds relink imports.", + "Two-reader development package9b86 has a four-format matrix and separately scoped USB stress; full stage1 and released-base qualification remain pending." + ] + }, + "resources": { + "recorded": "27 November2026: memory/stack accounted; format/USB cases measured; full stage1 incomplete", + "storage": { + "label": "Public package memory", + "display": "67,376 resident pool bytes; 616 own stack bytes per callback", + "value": 67376, + "unit": "bytes", + "method": "static", + "conditions": "One owner, two active readers in three stored slots; includes loader header, image/BSS and alignment. Stack separately bounded; samples reuse stock arena.", + "source": "release/resources.md" + }, + "processing": { + "label": "Worst-case ColdFire work", + "display": "Unmeasured for the public build", + "value": null, + "unit": "cycles/block", + "method": "unmeasured", + "conditions": "Static worst-case cycles remain unmeasured. Normal development9b86 has a complete four-format mean matrix and122.233s active4chUSB stress without new guarded skips. Full fixed procedure and release-base qualification remain incomplete.", + "source": "TESTING.md" + }, + "impact": { + "conditions": "One FRACT owner on T1\u2013T4, two live grain heads, moving controls and native-pitch packet splits. Stock sample pages are reused. Replacement temporarily retains two module extents.", + "cpu": { + "level": "high", + "basis": "measured-comparison", + "rationale": "Normal development9b86:20matched format windows, maximum observed active-minus-quiet mean33.5points vs unchangedprice40;122.233s active4chUSB without new guarded skips. Whole retained trial noted two intervals at90% CPU or more for1s. No static/peak headroom guarantee or full qualification.", + "source": "release/hardware-20261127-iteration17.md" + }, + "dsp": { + "level": "minimal", + "basis": "source-estimate", + "rationale": "No added DSP engine code or DSP state; native FLEX/DSP processing remains instrument-owned.", + "source": "release/resources.md" + }, + "memory": { + "level": "low", + "basis": "source-estimate", + "rationale": "67,376 resident pool bytes; 616 own callback stack bytes; no independent sample buffer. Replacement retains two extents.", + "source": "release/resources.md" + } + }, + "cpuPrice": { + "value": 40, + "unit": "percent-of-frame", + "measure": "machine-render", + "tool": "npm run device -- do guard (through device-send.py on shared serve)", + "date": "2026-11-27", + "conditions": "One T1 two-reader owner;120BPM,64trigs,44.1kHz88200frame16/24-bit mono/stereo fixtures. Current normal development package9b86:20verified windows,6smeasured after3swarm. Largest observed FRACT active-minus-quiet mean33.5points, below unchanged40charge.4chUSBcompanion installed with recorder idle during this matrix; activeUSBstress separately scoped. This mean charge establishes no worst-case/peak headroom.", + "source": "release/hardware-20261127-iteration17.md" + } + }, + "tests": { + "report": "TESTING.md", + "summary": "Two-reader source/host/module/runtime tests pass. Normal development9b86:20matched format windows,122.233s active4chUSB,12settled Part transitions and T1\u2013T4 checks passed. Full fixed procedure failed T5 restriction and one Part4 timeout; release-base audio/listening/persistence pending.", + "hardwareStatus": "untested", + "gates": [ + "modules/fract-machine/verify.py" + ], + "evidenceRevision": "0de973642fbd33e28f46de8f310419f74458dd5e", + "documentation": { + "tutorial": { + "title": "Quick tutorial", + "steps": [ + "On a compatible private paired build, choose FRACT in SRC SETUP on T1 and load a FLEX sample.", + "Open MAIN, keep PTCH at 64, move POS, then increase SIZE to expand the span around the center.", + "Play the track, try SPRD and REVS, then stop playback and select a stock machine to leave FRACT." + ] + }, + "screenshots": [ + "media/two-reader-20261127-main.png", + "media/two-reader-20261127-extreme.png" + ], + "screenshotStyle": "black-and-white" + } + }, + "license": { + "spdx": "MIT AND GPL-3.0-or-later", + "file": "LICENSE", + "declaration": "Retain MIT licence and third-party notices plus file-level GPL-3.0-or-later notices. No firmware, extracted stock routines, samples or built images are distributed." + }, + "media": [ + { + "path": "media/qualification-20261125-full.png", + "captureType": "emulator", + "caption": "Choose FRACT in SRC SETUP. PAN remains a knob and SRNG is now the two-value FULL/LOCAL switch.", + "alt": "FRACT selected in SRC SETUP, PAN knob and SRNG switch set to FULL.", + "credit": "ex1010/toli (actual emulator framebuffer capture)", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "SRC SETUP", + "shows": "location-and-controls", + "firmware": "1.40C", + "moduleVersion": "0.1.3-experimental", + "imageSha256": "ace30d0ffa6b1ee4e52537b20266a93c9133abc62274eaf31f28bf30b27f2caf", + "setup": "Current adapted ot_emu, MKII panel, DSP/frame enabled and wall-clock pacing. Development twin4c7eb79b, packagee6dc7f57; disposable emulator state, no sample loaded. No hardware/audio timing claim. See media/qualification-20261125.json." + } + }, + { + "path": "media/qualification-20261125-local.png", + "captureType": "emulator", + "caption": "Turn encoder C on SRC SETUP to choose LOCAL; the SRNG switch moves to its other segment.", + "alt": "FRACT SRC SETUP with SRNG set to LOCAL.", + "credit": "ex1010/toli (actual emulator framebuffer capture)", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "SRC SETUP", + "shows": "controls", + "firmware": "1.40C", + "moduleVersion": "0.1.3-experimental", + "imageSha256": "ace30d0ffa6b1ee4e52537b20266a93c9133abc62274eaf31f28bf30b27f2caf", + "setup": "Current adapted ot_emu, MKII panel, DSP/frame enabled and wall-clock pacing. Development twin4c7eb79b, packagee6dc7f57; disposable emulator state, no sample loaded. No hardware/audio timing claim. See media/qualification-20261125.json." + } + }, + { + "path": "media/qualification-20261125-main.png", + "captureType": "emulator", + "caption": "Press SRC for the six MAIN controls. This offline capture has no sample loaded and proves only control rendering.", + "alt": "Stopped FRACT MAIN showing POS, SIZE, REVS, SPRD, SHPE and PTCH, with LOAD SAMPLE in the center.", + "credit": "ex1010/toli (actual emulator framebuffer capture)", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "SRC MAIN", + "shows": "controls", + "firmware": "1.40C", + "moduleVersion": "0.1.3-experimental", + "imageSha256": "ace30d0ffa6b1ee4e52537b20266a93c9133abc62274eaf31f28bf30b27f2caf", + "setup": "Current adapted ot_emu, MKII panel, DSP/frame enabled and wall-clock pacing. Development twin4c7eb79b, packagee6dc7f57; disposable emulator state, no sample loaded. No hardware/audio timing claim. See media/qualification-20261125.json." + } + }, + { + "path": "media/ot-setup.png", + "captureType": "emulator", + "caption": "Historical 0.1.2 capture. Select T1, hold FUNC and press SRC, then choose FRACT and confirm with YES. This same SETUP page provides PAN for random stereo width and SRNG for FULL or LOCAL source range.", + "alt": "SRC SETUP with FRACT highlighted below FLEX, THRU, NEIGHBOR and PICKUP; PAN and SRNG at the right.", + "credit": "ex1010/toli (actual emulator framebuffer capture)", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "SRC SETUP", + "shows": "location-and-controls", + "firmware": "1.40C", + "moduleVersion": "0.1.2-experimental", + "imageSha256": "223363ef249ca4f3c9aa4a8807b37a1192ebccd51bd7748e6a3cae70dd2c2dc1", + "setup": "Headless octemu, MKII panel, DSPs and guarded frame renderer, --guest-clock; private historical card/NVRAM fixture, not factory defaults. Only emulator USB was used." + } + }, + { + "path": "media/ot-main.png", + "captureType": "emulator", + "caption": "Historical 0.1.2 capture. Load a sample from the FLEX pool, then press SRC for MAIN. Turn A (POS) to move the grain center and B (SIZE) to widen the span; set F (PTCH) to 64 for neutral pitch, displayed 0.0\u2014the pictured stored setting is +3.0.", + "alt": "Stopped FRACT MAIN with the PLUCKS1 waveform, POS 18, SIZE 106, REVS 127, SPRD 0, SHPE 64 and PTCH +3.0.", + "credit": "ex1010/toli (actual emulator framebuffer capture)", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "SRC MAIN", + "shows": "controls", + "firmware": "1.40C", + "moduleVersion": "0.1.2-experimental", + "imageSha256": "223363ef249ca4f3c9aa4a8807b37a1192ebccd51bd7748e6a3cae70dd2c2dc1", + "setup": "Headless octemu, MKII panel, DSPs and guarded frame renderer, --guest-clock; private historical card/NVRAM fixture, not factory defaults. Only emulator USB was used." + } + }, + { + "path": "media/ot-playing.png", + "captureType": "emulator", + "caption": "Historical 0.1.2 capture. Place a sample trig and press PLAY to follow the three grain markers. Try D (SPRD) for displaced centers and C (REVS) for reverse grains, then press STOP twice; to leave FRACT, select a stock machine in SRC SETUP.", + "alt": "FRACT MAIN with the play indicator, three grain markers over the PLUCKS1 waveform, horizontal span bars and SIZE 106.", + "credit": "ex1010/toli (actual emulator framebuffer capture)", + "license": "LicenseRef-OT-UI-Documentation", + "source": "original", + "otUi": { + "page": "SRC MAIN playing", + "shows": "controls", + "firmware": "1.40C", + "moduleVersion": "0.1.2-experimental", + "imageSha256": "223363ef249ca4f3c9aa4a8807b37a1192ebccd51bd7748e6a3cae70dd2c2dc1", + "setup": "Headless octemu, MKII panel, DSPs and guarded frame renderer, --guest-clock; private historical card/NVRAM fixture, not factory defaults. Only emulator USB was used." + } + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/candidate-proof.json b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/candidate-proof.json new file mode 100644 index 0000000000..34ba81a984 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/candidate-proof.json @@ -0,0 +1,29 @@ +{ + "schema": 1, + "id": "fract-machine", + "bytes": 67284, + "imageBytes": 65964, + "bssBytes": 636, + "relocations": 240, + "eventWords": 38, + "sha256": "8c9603a42e6a4ab369d8bfe94fe1f5275a9b4a2c48b285323deb829d486294f0", + "authoredImageSha256": "802ce2d8a7400581decbb4d2afe78ebc87f67c96c192eb7abe9529a4f8f2a0e8", + "reviewedImageSha256": "f280ebde593719b2d8ccc59a6043713ab16acc2ca940f727a258b288e0dc3c9d", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "basePackageSha256": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff", + "baseRunOrigin": 1084839424, + "baseImports": [ + { + "offset": 31610, + "name": "mw_stock_pool_open", + "addend": 0 + } + ], + "stockCopies": 3, + "stockFills": 0, + "stockVerification": "PASS", + "hardware": "NOT_RUN", + "version": "0.1.6-experimental", + "qualification": "DEV_TARGETED_CASES_PASSED_FULL_STAGE1_INCOMPLETE_RELEASE_BASE_UNTESTED", + "hardwareReport": "qualification-20261127-iteration17.md" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/catalog-entry.json b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/catalog-entry.json new file mode 100644 index 0000000000..01d7026dce --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/catalog-entry.json @@ -0,0 +1,5 @@ +{ + "id": "fract-machine", + "version": "0.1.6-experimental", + "addedAt": "2026-11-27T00:00:00.000Z" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/hardware-20261127-iteration17.md b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/hardware-20261127-iteration17.md new file mode 100644 index 0000000000..2b67157a8d --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/hardware-20261127-iteration17.md @@ -0,0 +1,34 @@ +# FRACT0.1.6 two-reader hardware record —27 November2026 + +Development package `9b86e74087dc4a7495a86850b0dcc3f45881335285d8519e1b4e3f03366e0a60`, base `46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f`, author's Octatrack MKII1.40C. This package is byte-identical to the earlier two-reader prototype. Separately linked released-base package8c9603a4 on base24e480c4 is not physically tested. No Keep or NOR write is part of this run. + +Current full stage1 remains incomplete. The fixed procedure's software/cost-model/preflight and restoration passed; its unit pass failed because FRACT deliberately refuses T5 and one of12Part switches timed out. It recorded11successful switches, T1render peak29.0%, and quiet/triggered means28.9/50.5 (+21.6points, charge40). Standard Undo returned the original empty inventory; whole-trial verdict logged no crash/stall/freeze/skipped track. These facts do not turn the failed procedure into a pass. + +A separate12transition run, using NO and500ms settle between Parts, passed with guarded-render counter0→0. The cause of the original missed Part4 transition is not established. T5 refusal follows the unchanged documented one-ownerT1–T4 policy; the generic tester requires both T1 andT5. No gate was weakened. + +## Matched formats + +A private authored fixture FR27TW2 fixes the same events and settings in banksA–D. Part1 is native FLEX with LOOP2 and TSTRoff; Part3 is FRACTdefault, Part4 has extreme MAIN controls. All working/saved Parts started equal. Four files have88200frames at44.1kHz:16-bit mono/stereo and24-bit mono/stereo. Each window independently verified the source mode, voice, slot and controls.64T1trigs,120BPM;3swarm then6smeasured;4chUSB AUDIO companion installed with CoreAudio recorder idle. + +| Format | FLEX active mean | FRACT quiet | FRACT default added | FRACT extreme added | +| --- | ---: | ---: | ---: | ---: | +|16-bit mono|31.6%|31.0%|28.3points|32.1points| +|16-bit stereo|31.8%|31.0%|29.0points|32.9points| +|24-bit mono|31.7%|31.0%|28.7points|32.2points| +|24-bit stereo|31.7%|31.0%|29.1points|33.5points| + +All20windows completed with counter0→0 and no new crash/error/stall. The largest observed FRACT active-minus-quiet mean33.5points is below unchangedprice40. This is an observed mean charge, not a static worst-case, peak headroom, exclusive own cycle count or listening result. See matched-price-20261127-two-reader.json. + +Earlier slot-picker preparation attempts did not consistently establish native LOOP2; they are not used for this complete matrix. Their assertions stopped the runs. The final fixed-bank fixture's settings were read back on hardware. + +## Active USB, placement and restoration + +The current MAIN+CUE4chUSB run completed122.232827s and22control windows, guard0→0 including finalSTOP. CoreAudio confirmed4inputchannels active at bothends; the124.656s recording closed with exit0. All4channels have nonzero signal. The trimmed capture has no all-channel exact-zero frames. Repeated16sample blocks were mostly constant plateaux;60varying repeats remain unqualified without a synchronized oracle or listening. No dropout/listening clearance follows. The largest observed frame interrupt maximum was103.6% of a nominal frame; this is measured interrupt duration, not a static bound or headroom promise. + +T2,T3,T4 each rendered alone and returned to FLEX. A second owner was refused without changing any Part byte. T1 was covered by the full matrix and stress. The whole retained set returned by standard Undo to normalgen4, emptyinventory; it logged twoCPU>=90%/1s notes and nofault. These notes are retained, not treated as available headroom. + +Original PROJECT261111/A01/Part1 was restored by CHANGE. All8working/savedPart copies matched their fresh start snapshots; the existing workingPart1/savedPart1difference was preserved. All28originalCF hashes matched. The agent incorrectly exited USB DISK MODE after macOS refused an initial eject; it reentered, verified all28hashes, ran read-only fsck_msdos -n through diskutilverifyVolume(exit0), rechecked hashes after its unmount/remount, then successfully ejected before exiting. Only the two agent-created40file testprojects were archived and removed. Final release-base independent readback is recorded below. + +MIDIsoak did not run: fixedprocedurestopped atstep7; the accepted audio-stress alternative above was run. Full fixed procedure, exact released-base audio, complete companion matrix, listening and exact-version Keep/reboot remain open. The cause of the isolated Part4timeout remains unestablished. No waiver or first-release approval is claimed. + +Final independent USB readback confirmed released base0.8.2 `24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`, normalgen0, inventory[], missing[], set`87f28e38d5fe18c3f6133158ddb0369f9b62f2a46b0ada8c8fc19de1ca9885e8`. NORrunningconfirmedslot1gen10, oldslot0gen8retained, nofallback. Ownlinks/recorder/MIDIbridge closed, queuefree, Colimastopped. Released-baseMEMis unavailable; exact8Partcomparison was before finalRAMboot. No postbootPartdump is claimed. diff --git a/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/package-entry.json b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/package-entry.json new file mode 100644 index 0000000000..c0347b7632 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/package-entry.json @@ -0,0 +1,31 @@ +{ + "id": "fract-machine", + "version": "0.1.6-experimental", + "sources": [ + "sdk/octatrack/modules/fract-machine/machine.c", + "sdk/octatrack/modules/fract-machine/render.c", + "sdk/octatrack/modules/fract-machine/start.c", + "sdk/octatrack/modules/fract-machine/registration.c", + "sdk/octatrack/modules/fract-machine/base_binding.c", + "sdk/octatrack/modules/fract-machine/engine/grain.c", + "sdk/octatrack/modules/fract-machine/engine/pitch.c", + "sdk/octatrack/modules/fract-machine/support/control.c", + "sdk/octatrack/modules/fract-machine/engine/source.c", + "sdk/runtime/logging/freestanding.c", + "sdk/octatrack/modules/fract-machine/engine/kernel.s" + ], + "sourceRecipe": "sdk/octatrack/modules/fract-machine/runtime-build.json", + "usbOnly": true, + "requiredBase": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "path": "octatrack-modules/fract-machine/0.1.6-experimental.mwrm", + "name": "FRACT", + "module": "5efef0cd", + "bytes": 67284, + "sha256": "8c9603a42e6a4ab369d8bfe94fe1f5275a9b4a2c48b285323deb829d486294f0", + "abi": 8, + "features": 130, + "sites": 0, + "copies": 3, + "fills": 0, + "base": true +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/qualification-20261127-iteration17.md b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/qualification-20261127-iteration17.md new file mode 100644 index 0000000000..3c2117b72b --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/qualification-20261127-iteration17.md @@ -0,0 +1,15 @@ +# FRACT two-reader adoption — 27 November 2026 + +Unlisted 0.1.6-experimental. Native inputs committed at `0de973642fbd33e28f46de8f310419f74458dd5e`; later metadata does not change the package. Earlier revision4ed908fa76a5fa93cc2f053242af4e39d80c0ccf is historical. Native build proofs pin59 exact source inputs; all matched the source commit. + +Released-base package `8c9603a42e6a4ab369d8bfe94fe1f5275a9b4a2c48b285323deb829d486294f0` requires base`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`; development twin `9b86e74087dc4a7495a86850b0dcc3f45881335285d8519e1b4e3f03366e0a60` requires base`46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f`. Both native builds and original-OS reconstruction/strict scans pass:3 copies, no fills. Normalized authored image is identical across base bindings. Public resident extent67376bytes; maximum own callback stack616bytes excludes base/stock/interrupt frames. No sample arena or DSP allocation. + +The user adopted two live readers. The128-byte grain state retains three stored slots; the reserved third slot remains idle and stop/reset clear all three. Birth spacing is one half of the active grain length at maximum density. This intentionally changes density/output level relative to three readers; listening remains required. CPU price40/share80/allowance45 and single-ownerT1–T4 policy are unchanged. + +The development package is byte-identical to iteration16: two targeted active MAIN+CUE4chUSB runs lasted122.128806s and122.562640s, with the guarded-render counter9 to9 and normal standard Undo. No crash/stall/freeze/skipped track was registered. The varying waveform fixture matched all108 LCD columns. These scoped passes do not establish a full format/companion/price matrix, listening, persistence, whole-system stack headroom or worst-case CPU timing. The separately linked released-base package is physically untested. + +No physical USB device was opened by offline build/parity checks. Exact-build full stage1 remains in progress; stage2 listening/Keep/reboot and first-release approval are pending. No waiver is claimed. Original state was restored after the earlier targeted trials. + +Isolated Linux reproduction exactly matched release8c96 and all59source-input hashes, with immutable image3b40aa25, networkdisabled/read-onlysource/nooriginalfirmware. Current physical development results are in [the named report](hardware-20261127-iteration17.md); the failed fixed procedure remains failed. + +Final independent USB readback confirmed released base0.8.2 `24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`, normalgen0, inventory[], missing[], set`87f28e38d5fe18c3f6133158ddb0369f9b62f2a46b0ada8c8fc19de1ca9885e8`. NORrunningconfirmedslot1gen10, oldslot0gen8retained, nofallback. Ownlinks/recorder/MIDIbridge closed, queuefree, Colimastopped. Released-baseMEMis unavailable; exact8Partcomparison was before finalRAMboot. No postbootPartdump is claimed. diff --git a/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/reconstruction.json b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/reconstruction.json new file mode 100644 index 0000000000..3f5e25b41b --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/reconstruction.json @@ -0,0 +1,69 @@ +{ + "schema": 1, + "imageSha256": "f280ebde593719b2d8ccc59a6043713ab16acc2ca940f727a258b288e0dc3c9d", + "sources": { + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/chunk.h": "d39d92d23b559028102f57b200148f3997578fd9882d8937b7f27e438b1efe4a", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "d917b76a685d5d1c3c69e92567821e5799fcb147afc20e5b02e51c1504c2a220", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "6669639baeffeb6e6e387404c7a17071aba1fe75f98f245fabe69a141b4399ae", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "e25f4fac61ff122b4e031897d4b2974a9a7cb3ed2a009a6b42f4d6c46dff455b", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "68ee8e71398c672ef84e075051a1c08f0e141e234a902f244c7d5d66923fa69d", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "dff47876625734c4f9b80d76c35596cba067a91b50e897f273c09423ab37ae6f", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" + }, + "copies": [ + { + "offset": 26902, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 31624, + "length": 12, + "address": 1074093666, + "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 31636, + "length": 13, + "address": 1073821810, + "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + } + ], + "fills": [], + "baseImports": [ + { + "offset": 31610, + "name": "mw_stock_pool_open", + "addend": 0 + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/resource-audit-20261125.json b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/resource-audit-20261125.json new file mode 100644 index 0000000000..d152ea06a9 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/resource-audit-20261125.json @@ -0,0 +1,477 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "8c9603a42e6a4ab369d8bfe94fe1f5275a9b4a2c48b285323deb829d486294f0", + "authoredImageSha256": "802ce2d8a7400581decbb4d2afe78ebc87f67c96c192eb7abe9529a4f8f2a0e8", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 65964, + "bssBytes": 636, + "packageBytes": 67284, + "relocations": 240, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 67376, + "sameCandidateReplacementPeakPoolBytes": 134752, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte regular/joined assembly frames, 4-byte single-frame leaf, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 412, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 616, + "chain": [ + "og_machine_render", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_one": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_mix_one" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 616, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x68ee", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x69a0", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6afa", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x70cc", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x71d2", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x73a4", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x7b78", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x7b8c", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x7eb0", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/chunk.h": "d39d92d23b559028102f57b200148f3997578fd9882d8937b7f27e438b1efe4a", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "d917b76a685d5d1c3c69e92567821e5799fcb147afc20e5b02e51c1504c2a220", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "6669639baeffeb6e6e387404c7a17071aba1fe75f98f245fabe69a141b4399ae", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "e25f4fac61ff122b4e031897d4b2974a9a7cb3ed2a009a6b42f4d6c46dff455b", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "68ee8e71398c672ef84e075051a1c08f0e141e234a902f244c7d5d66923fa69d", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "dff47876625734c4f9b80d76c35596cba067a91b50e897f273c09423ab37ae6f", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/resources.json b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/resources.json new file mode 100644 index 0000000000..0c31d2621b --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-016-two-reader/release/resources.json @@ -0,0 +1,29 @@ +{ + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED; DEV_FORMAT_AND_USB_CASES_PASSED_FULL_STAGE1_INCOMPLETE", + "packageSha256": "8c9603a42e6a4ab369d8bfe94fe1f5275a9b4a2c48b285323deb829d486294f0", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "codeAndInitializedDataBytes": 65964, + "zeroInitializedStateBytes": 636, + "imagePlusBssBytes": 66600, + "runtimeHeaderBytes": 754, + "alignmentBytes": 22, + "residentPoolExtentBytes": 67376, + "sameCandidateReplacementPeakPoolBytes": 134752, + "oldCandidateReplacementPeakPoolBytes": 134720, + "packageBytes": 67284, + "relocations": 240, + "stockCopies": 3, + "stack": { + "maxOwnCallbackBytes": 616, + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte regular/joined assembly frames, 4-byte single-frame leaf, zero-local short-Hann helper; 4-byte call return PCs", + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve.", + "report": "resource-audit-20261127-iteration17.json" + }, + "worstCaseColdFireCycles": null, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "hardware": "Exact development9b86:20format windows,122.233s active4chUSB,12settled Part transitions and T2\u2013T4 placement passed; full fixed procedure failed T5 restriction/one Part4 timeout. Released-base8c96 physically untested.", + "details": "resources.md", + "previousCandidateVersion": "0.1.5-experimental", + "previousCandidatePackageSha256": "f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-5520/graph-review.json b/sdk/drafts/fract-machine/release/history/20261127-5520/graph-review.json new file mode 100644 index 0000000000..7b6f76fe40 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-5520/graph-review.json @@ -0,0 +1,7 @@ +{ + "indirectSites": 33, + "callerOpcodeRegisterOrderIdentical": true, + "changedAssembly": "cached Hann coefficient within existing saved register frame; table reload is guarded by span end", + "ownStackExtra": 0, + "policy": "same reviewed target graph at independently disassembled new addresses" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-5520/kernel-parity.json b/sdk/drafts/fract-machine/release/history/20261127-5520/kernel-parity.json new file mode 100644 index 0000000000..15a3c3ceea --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-5520/kernel-parity.json @@ -0,0 +1,79 @@ +{ + "scope": "QEMU instruction semantics only; no timing/hardware qualification", + "baseline": "iteration3 ccbb current kernel", + "candidate": "iteration4 cache Hann for steps >= 0x280000", + "cases": [ + { + "format": 0, + "reverse": false, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 1, + "reverse": false, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 2, + "reverse": false, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 3, + "reverse": false, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 0, + "reverse": true, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 1, + "reverse": true, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 2, + "reverse": true, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 3, + "reverse": true, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-5520/release-reconstruction.json b/sdk/drafts/fract-machine/release/history/20261127-5520/release-reconstruction.json new file mode 100644 index 0000000000..257b3febd8 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-5520/release-reconstruction.json @@ -0,0 +1,82 @@ +{ + "schema": 1, + "imageSha256": "d734fdbeb6d6e73a115dcbc1733308322b820f23d498bd743e4284d441f21f23", + "sources": { + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "7c1a8bb7010fec2a6e9141282bfb609c180d49963bbd0be2ca2d675d50a8f7b4", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" + }, + "copies": [ + { + "offset": 15432, + "length": 18, + "address": 1073759904, + "sha256": "21fa9b2f73fd45425816040111feafeef4bc4894e08875d45b73907959f9b968", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 15588, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 16150, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 19874, + "length": 12, + "address": 1074093666, + "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 19886, + "length": 13, + "address": 1073821810, + "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + } + ], + "fills": [], + "baseImports": [ + { + "offset": 19860, + "name": "mw_stock_pool_open", + "addend": 0 + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-5520/release.proofs.json b/sdk/drafts/fract-machine/release/history/20261127-5520/release.proofs.json new file mode 100644 index 0000000000..2dc44ec894 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-5520/release.proofs.json @@ -0,0 +1,26 @@ +{ + "schema": 1, + "id": "fract-machine", + "bytes": 56204, + "imageBytes": 54784, + "bssBytes": 636, + "relocations": 243, + "eventWords": 38, + "sha256": "c4e1e0d20eda9d14e226e0a87ff0de7cd04453591b0f4ecf7f3a0e6dd9a7f3a4", + "authoredImageSha256": "d694a519e1f6ce19af002f48ca9ff7b41070b747c4c70d7850f12a98d33896ed", + "reviewedImageSha256": "d734fdbeb6d6e73a115dcbc1733308322b820f23d498bd743e4284d441f21f23", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "basePackageSha256": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff", + "baseRunOrigin": 1084839424, + "baseImports": [ + { + "offset": 19860, + "name": "mw_stock_pool_open", + "addend": 0 + } + ], + "stockCopies": 5, + "stockFills": 0, + "stockVerification": "PASS", + "hardware": "NOT_RUN" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-5520/resource-audit.json b/sdk/drafts/fract-machine/release/history/20261127-5520/resource-audit.json new file mode 100644 index 0000000000..c8888262bd --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-5520/resource-audit.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "c4e1e0d20eda9d14e226e0a87ff0de7cd04453591b0f4ecf7f3a0e6dd9a7f3a4", + "authoredImageSha256": "d694a519e1f6ce19af002f48ca9ff7b41070b747c4c70d7850f12a98d33896ed", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 54784, + "bssBytes": 636, + "packageBytes": 56204, + "relocations": 243, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 4, + "residentPoolExtentBytes": 56192, + "sameCandidateReplacementPeakPoolBytes": 112384, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x3cb6", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x3d68", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x3eb8", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x42e6", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x43ec", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x45be", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x4d92", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x4da6", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x50ca", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "7c1a8bb7010fec2a6e9141282bfb609c180d49963bbd0be2ca2d675d50a8f7b4", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-6ab2/graph-review.json b/sdk/drafts/fract-machine/release/history/20261127-6ab2/graph-review.json new file mode 100644 index 0000000000..7b6f76fe40 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-6ab2/graph-review.json @@ -0,0 +1,7 @@ +{ + "indirectSites": 33, + "callerOpcodeRegisterOrderIdentical": true, + "changedAssembly": "cached Hann coefficient within existing saved register frame; table reload is guarded by span end", + "ownStackExtra": 0, + "policy": "same reviewed target graph at independently disassembled new addresses" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-6ab2/kernel-parity.json b/sdk/drafts/fract-machine/release/history/20261127-6ab2/kernel-parity.json new file mode 100644 index 0000000000..62b44659d1 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-6ab2/kernel-parity.json @@ -0,0 +1,79 @@ +{ + "scope": "QEMU instruction semantics only; no timing/hardware qualification", + "baseline": "iteration4 5520 current kernel", + "candidate": "iteration6 paired cached coefficients for all shapes", + "cases": [ + { + "format": 0, + "reverse": false, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 1, + "reverse": false, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 2, + "reverse": false, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 3, + "reverse": false, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 0, + "reverse": true, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 1, + "reverse": true, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 2, + "reverse": true, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 3, + "reverse": true, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-6ab2/release-reconstruction.json b/sdk/drafts/fract-machine/release/history/20261127-6ab2/release-reconstruction.json new file mode 100644 index 0000000000..42398bf029 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-6ab2/release-reconstruction.json @@ -0,0 +1,82 @@ +{ + "schema": 1, + "imageSha256": "b816a059d9dbd1fcee8d5f679e899fc7ab4c42701e8d318d4575c713a83ff3c2", + "sources": { + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "ec00069d70338c6595abcbd4f76d4536cc54aee533bfe3426a5ad5902be91668", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" + }, + "copies": [ + { + "offset": 23312, + "length": 18, + "address": 1073759904, + "sha256": "21fa9b2f73fd45425816040111feafeef4bc4894e08875d45b73907959f9b968", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 23468, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 24030, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 27754, + "length": 12, + "address": 1074093666, + "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 27766, + "length": 13, + "address": 1073821810, + "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + } + ], + "fills": [], + "baseImports": [ + { + "offset": 27740, + "name": "mw_stock_pool_open", + "addend": 0 + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-6ab2/release.proofs.json b/sdk/drafts/fract-machine/release/history/20261127-6ab2/release.proofs.json new file mode 100644 index 0000000000..88d0d75980 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-6ab2/release.proofs.json @@ -0,0 +1,26 @@ +{ + "schema": 1, + "id": "fract-machine", + "bytes": 63820, + "imageBytes": 62408, + "bssBytes": 636, + "relocations": 241, + "eventWords": 38, + "sha256": "49da3babcb91d781c6b8fcbeaa071c948780032734b9e0d3e28dad7f8418aea9", + "authoredImageSha256": "1185502cae9ee71372f8843ee133fe79b9d6edf10ebd10831700b249bb013745", + "reviewedImageSha256": "b816a059d9dbd1fcee8d5f679e899fc7ab4c42701e8d318d4575c713a83ff3c2", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "basePackageSha256": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff", + "baseRunOrigin": 1084839424, + "baseImports": [ + { + "offset": 27740, + "name": "mw_stock_pool_open", + "addend": 0 + } + ], + "stockCopies": 5, + "stockFills": 0, + "stockVerification": "PASS", + "hardware": "NOT_RUN" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-6ab2/resource-audit.json b/sdk/drafts/fract-machine/release/history/20261127-6ab2/resource-audit.json new file mode 100644 index 0000000000..752a8d26ea --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-6ab2/resource-audit.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "49da3babcb91d781c6b8fcbeaa071c948780032734b9e0d3e28dad7f8418aea9", + "authoredImageSha256": "1185502cae9ee71372f8843ee133fe79b9d6edf10ebd10831700b249bb013745", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 62408, + "bssBytes": 636, + "packageBytes": 63820, + "relocations": 241, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 12, + "residentPoolExtentBytes": 63824, + "sameCandidateReplacementPeakPoolBytes": 127648, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x5b7e", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x5c30", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x5d80", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x61ae", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x62b4", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x6486", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x6c5a", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x6c6e", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x6f92", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "ec00069d70338c6595abcbd4f76d4536cc54aee533bfe3426a5ad5902be91668", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-80f7/graph-review.json b/sdk/drafts/fract-machine/release/history/20261127-80f7/graph-review.json new file mode 100644 index 0000000000..7b6f76fe40 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-80f7/graph-review.json @@ -0,0 +1,7 @@ +{ + "indirectSites": 33, + "callerOpcodeRegisterOrderIdentical": true, + "changedAssembly": "cached Hann coefficient within existing saved register frame; table reload is guarded by span end", + "ownStackExtra": 0, + "policy": "same reviewed target graph at independently disassembled new addresses" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-80f7/kernel-parity.json b/sdk/drafts/fract-machine/release/history/20261127-80f7/kernel-parity.json new file mode 100644 index 0000000000..e592aca156 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-80f7/kernel-parity.json @@ -0,0 +1,79 @@ +{ + "scope": "QEMU instruction semantics only; no timing/hardware qualification", + "baseline": "iteration6 6ab2 current kernel", + "candidate": "iteration9 exact whole constant span using authored monotone SHPE halves", + "cases": [ + { + "format": 0, + "reverse": false, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 1, + "reverse": false, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 2, + "reverse": false, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 3, + "reverse": false, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 0, + "reverse": true, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 1, + "reverse": true, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 2, + "reverse": true, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 3, + "reverse": true, + "spans": 29381, + "randomSpans": 2048, + "endpointSpans": 27333, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-80f7/release-reconstruction.json b/sdk/drafts/fract-machine/release/history/20261127-80f7/release-reconstruction.json new file mode 100644 index 0000000000..d8329ba541 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-80f7/release-reconstruction.json @@ -0,0 +1,82 @@ +{ + "schema": 1, + "imageSha256": "fc97e66acf4f59e4d81827cc5213933400e3d14be3623f3cbc514a2613ff4552", + "sources": { + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c4d11829cdc62ae92b08fc5383aed854cb2c17ad1126b0152e6ac1353cab6021", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" + }, + "copies": [ + { + "offset": 26882, + "length": 18, + "address": 1073759904, + "sha256": "21fa9b2f73fd45425816040111feafeef4bc4894e08875d45b73907959f9b968", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 27038, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 27600, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 31324, + "length": 12, + "address": 1074093666, + "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 31336, + "length": 13, + "address": 1073821810, + "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + } + ], + "fills": [], + "baseImports": [ + { + "offset": 31310, + "name": "mw_stock_pool_open", + "addend": 0 + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-80f7/release.proofs.json b/sdk/drafts/fract-machine/release/history/20261127-80f7/release.proofs.json new file mode 100644 index 0000000000..79214567d6 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-80f7/release.proofs.json @@ -0,0 +1,26 @@ +{ + "schema": 1, + "id": "fract-machine", + "bytes": 67396, + "imageBytes": 65980, + "bssBytes": 636, + "relocations": 242, + "eventWords": 38, + "sha256": "66f8a8404531461fbc1c91cf75e61e07e3540166b1df1cb77163dc8510aae272", + "authoredImageSha256": "4e15c677d2529ddfa644128d1bc49ea81bd68c2d521b628a11b5a89cf679cc8d", + "reviewedImageSha256": "fc97e66acf4f59e4d81827cc5213933400e3d14be3623f3cbc514a2613ff4552", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "basePackageSha256": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff", + "baseRunOrigin": 1084839424, + "baseImports": [ + { + "offset": 31310, + "name": "mw_stock_pool_open", + "addend": 0 + } + ], + "stockCopies": 5, + "stockFills": 0, + "stockVerification": "PASS", + "hardware": "NOT_RUN" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-80f7/resource-audit.json b/sdk/drafts/fract-machine/release/history/20261127-80f7/resource-audit.json new file mode 100644 index 0000000000..9d1b723ce6 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-80f7/resource-audit.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "66f8a8404531461fbc1c91cf75e61e07e3540166b1df1cb77163dc8510aae272", + "authoredImageSha256": "4e15c677d2529ddfa644128d1bc49ea81bd68c2d521b628a11b5a89cf679cc8d", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 65980, + "bssBytes": 636, + "packageBytes": 67396, + "relocations": 242, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 67392, + "sameCandidateReplacementPeakPoolBytes": 134784, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x6970", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6a22", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6b72", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x6fa0", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x70a6", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x7278", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x7a4c", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x7a60", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x7d84", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c4d11829cdc62ae92b08fc5383aed854cb2c17ad1126b0152e6ac1353cab6021", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-a320/candidate-proof.json b/sdk/drafts/fract-machine/release/history/20261127-a320/candidate-proof.json new file mode 100644 index 0000000000..66d7e57e84 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-a320/candidate-proof.json @@ -0,0 +1,29 @@ +{ + "schema": 1, + "id": "fract-machine", + "bytes": 53852, + "imageBytes": 52428, + "bssBytes": 636, + "relocations": 244, + "eventWords": 38, + "sha256": "ee63420569f637d78d3eabba6b209366d76db4a1587e460996cfd1a8b7ff8865", + "authoredImageSha256": "2efdd40bb99dba2a27cb96c35a66bb4cc50c49f7c2ad6594ad1c3d2d42149c99", + "reviewedImageSha256": "96ffb083f9e517170ab6af9f2e0592b801df18e89a3793d87396ae1a4fb4bc50", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "basePackageSha256": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff", + "baseRunOrigin": 1084839424, + "baseImports": [ + { + "offset": 17534, + "name": "mw_stock_pool_open", + "addend": 0 + } + ], + "stockCopies": 5, + "stockFills": 0, + "stockVerification": "PASS", + "hardware": "NOT_RUN", + "version": "0.1.5-experimental", + "qualification": "BLOCKED_USB_AUDIO_STRESS_AND_CURRENT_BUILD_STAGE1", + "hardwareReport": "qualification-20261127.md" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-a320/catalog-entry.json b/sdk/drafts/fract-machine/release/history/20261127-a320/catalog-entry.json new file mode 100644 index 0000000000..eba649459d --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-a320/catalog-entry.json @@ -0,0 +1,5 @@ +{ + "id": "fract-machine", + "version": "0.1.5-experimental", + "addedAt": "2026-11-27T00:00:00.000Z" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-a320/hardware-20261127.md b/sdk/drafts/fract-machine/release/history/20261127-a320/hardware-20261127.md new file mode 100644 index 0000000000..293e044be7 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-a320/hardware-20261127.md @@ -0,0 +1,101 @@ +# FRACT performance repair — 27 November 2026 + +**Stage1 remains blocked by active USB-audio stress.** Normal development +package `a3200c887f24112f5f4a94d60626458a8b516baf7baf4b5e5abdfe4b41516066` on base `46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f` +completed120.325s standalone A06 with zero new skips, then failed with USB +Audio0.4.1 active at four channels. The first moving-control check detected +four new T1 skips (32→36); the whole trial logged seven (32→39). Both cases +used the same normal module bytes. The separately linked released-base package +`ee63420569f637d78d3eabba6b209366d76db4a1587e460996cfd1a8b7ff8865` on `24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5` +was not physically installed. No complete stage1, release approval or waiver. + +## What changed and what was verified + +The unlisted0.1.5 source uses exact64 SIZE velocity values, integer-generated +PAN gains, packed shortest-Hann interpolation and bulk LCD columns. Grain +control code usesO2 and bounded aligned parameter copies. CPU price40, one +owner on T1–T4 and the base's80% share/45% admission allowance are unchanged. + +55 host tests ran: 51 passed and four historical SPACE cases skipped. Additional parity: +16,384 QEMU assembly spans across four formats/directions preserved output and +callee-saved registers;8192 host LCD frames were byte-identical. These are +software semantics, not hardware timing. Source/detail-profile builds, exact +original-OS reconstruction and both unchanged strict stock scans passed. +The current resource audit is53,840 resident bytes and696 own-stack bytes. + +## Hardware scope + +Own scratch project FRCT27HW, A06/Part2,120BPM: all64 trigs and alternating +lock rows verified, three LFOs verified at speed20/36/52 and depth32/32/32, +destinations POS/SIZE/SPRD, waveform1. Own generated16-bit mono fixture: +88,200 frames at44.1kHz. MAIN A–F, PAN and SRNG moved during playback. No +SCREEN reads occurred during either compared moving-control run. + +Standalone frame guard stayed at32 inherited skips for120.325s; whole trial +Undo also reported no new crash/stall/freeze/skip and returned normal generation4 +with empty inventory. The four-channel USB run used package6d7bf894… +(published USB Audio0.4.1 rebuilt for this development twin). A35s CoreAudio +capture was started first; playback and movement then triggered the failure. +First failed window: frame105.2%, mean interrupt75.3%, T1render64.7% of a +frame across both passes. Playback was stopped immediately; the failed file +is not a dropout pass. CUE routing was not verified on this fresh boot. +The full USB trial returned normal generation6 and empty inventory. + +The persistent historical stall record7 did not advance; current errors, +crashes and DSP-stall counters remained zero. Earlier private diagnostic +variants are not this normal package and establish no current-build pass. +Across earlier iterations, removing unused FM Synth, warming the USB stream +and omitting screenshots did not remove the skips. The current standalone/USB +comparison establishes an observed combination failure; it does not establish +a defect in USB Audio or prove why the shared frame budget is exceeded. +USB interrupt priority4 is below the audio frame's5; it does not preempt it. + +## Still required + +Resolve the remaining joint-load failure, then restart the fixed procedure and +current-build price/four-format/companion/stock-flow/MAIN+CUE/lifecycle cases. +An external audio interface is not connected; no ambient microphone was used. +Author listening and exact-version Keep/reboot follow successful agent stage1. +No extra NOR flash, module Keep or physical reboot was performed in this repair. +Final restoration: native CHANGE returned PRESETS/PROJECT261111, A01/Part1. +All8 original working/saved Part copies matched exactly, including the existing +unsaved Part1 difference. All28 backed-up CF files already matched; no original +file was overwritten. Only the owned FRCT27HW project was archived privately and +removed. The card was ejected normally. Final RAM boot returned released0.8.2 +base24e4. Independent USB HELLO/inventory/set/slot/missing readback confirmed +normal, empty inventory, original empty set87f28e38…, no missing machines, +confirmed slot1generation10 and preserved slot0generation8, no fallback. +All owned links are closed and the unit queue is released. The user reconnected +USB during final card access; no power cycle, NOR write or module Keep occurred. + +## Software review limits + +The normal source compiled; 51 of 55 host cases passed and four historical +SPACE cases were skipped, +plus all seven probe decoder/collector cases. Exact native/Linux package bytes +agree. An existing shared test pinned old reconstruction counts and offsets; +its correction is isolated in [Fix PR2283](https://github.com/repeat98/modwerk/pull/2283). +All nine corrected package cases pass on both baseline and current module source. +The fix was integrated locally as a separate baseline commit; the module diff +contains no change to that shared test. Exact release package and resource +receipts reproduced unchanged after taking current main and the separate fix. + +The first fixed-procedure software attempt stopped at an overlong manifest +recorded-date field; the field was corrected. The next offline procedure passed +steps 1–4; later hardware/emulator steps were deliberately not run in that +invocation. Its successful host portion does not supersede the failed hardware +case. See [procedure record](test-procedure-20261127.md). + +The first Jev attempt stopped at the stale package test before API review. +After the separate correction was integrated locally, all four configured +deterministic checks passed. The bounded deep pass reviewed 16 fragments, +with zero flags and 16 uncertainty records. Each uncertainty was investigated +against source/callers, independent parity, exact build proofs or byte-exact +archived receipts; no additional defect was confirmed. The model ledger stays +unchanged: **58 deferred** (54 chunks plus four C parser blockers) and **14 +excluded/static-only file entries** remain. The summary omitted 58 attention +locations and six excluded entries; they were inspected selectively. Native +assembly and generated tables received local source/parity investigation. +One historical 0.1.4 reconstruction receipt added after the review snapshot was +checked against its archived proof and immutable private capture. This is a +partial advisory review, not a clean or complete review. diff --git a/sdk/drafts/fract-machine/release/history/20261127-a320/package-entry.json b/sdk/drafts/fract-machine/release/history/20261127-a320/package-entry.json new file mode 100644 index 0000000000..ebde4aeb5f --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-a320/package-entry.json @@ -0,0 +1,31 @@ +{ + "id": "fract-machine", + "version": "0.1.5-experimental", + "sources": [ + "sdk/octatrack/modules/fract-machine/machine.c", + "sdk/octatrack/modules/fract-machine/render.c", + "sdk/octatrack/modules/fract-machine/start.c", + "sdk/octatrack/modules/fract-machine/registration.c", + "sdk/octatrack/modules/fract-machine/base_binding.c", + "sdk/octatrack/modules/fract-machine/engine/grain.c", + "sdk/octatrack/modules/fract-machine/engine/pitch.c", + "sdk/octatrack/modules/fract-machine/support/control.c", + "sdk/octatrack/modules/fract-machine/engine/source.c", + "sdk/runtime/logging/freestanding.c", + "sdk/octatrack/modules/fract-machine/engine/kernel.s" + ], + "sourceRecipe": "sdk/octatrack/modules/fract-machine/runtime-build.json", + "usbOnly": true, + "requiredBase": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "path": "octatrack-modules/fract-machine/0.1.5-experimental.mwrm", + "name": "FRACT", + "module": "5efef0cd", + "bytes": 53852, + "sha256": "ee63420569f637d78d3eabba6b209366d76db4a1587e460996cfd1a8b7ff8865", + "abi": 8, + "features": 130, + "sites": 0, + "copies": 5, + "fills": 0, + "base": true +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-a320/qualification-20261127.md b/sdk/drafts/fract-machine/release/history/20261127-a320/qualification-20261127.md new file mode 100644 index 0000000000..91e594665e --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-a320/qualification-20261127.md @@ -0,0 +1,27 @@ +# FRACT 0.1.5 offline build — 27 November 2026 + +Unlisted released-base package `ee63420569f637d78d3eabba6b209366d76db4a1587e460996cfd1a8b7ff8865` requires base +`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5` (Modwerk0.8.2). The source provenance baseline +remains `4ed908fa76a5fa93cc2f053242af4e39d80c0ccf`; this is a modified working tree, +not byte identity with that revision. The reconstruction receipt pins all native +source inputs and normalized authored image `96ffb083f9e517170ab6af9f2e0592b801df18e89a3793d87396ae1a4fb4bc50`. + +Native GCC16.2 reconstruction against the author's original1.40C is byte-exact. +Both unchanged strict stock-free scanners pass on the encoded package; five +guarded copy references reconstruct authored coincidences locally. No firmware, +extracted tables, memory dumps, audio or built packages are distributed. +No physical USB device was opened by these offline build, scanner and resource +checks. Separate hardware activity is attributed in [its report](hardware-20261127.md). + +The current audit accounts for 53,840 resident bytes, 107,680 bytes +for two retained copies and 696 bytes of own callback stack. It pins the exact +image, loader inputs and all33 indirect calls. `og_short_setup` uses zero local +stack bytes plus one4-byte return PC inside the saved assembly frame. Stock/base +frames and interrupt nesting remain excluded. No CPU-cycle or whole-system +stack claim follows. The legacy25Nov audit filename mirrors the current audit +for the existing metadata test; the original receipts remain in dated history. + +Released-base package hardware: **NOT RUN**. Development normal package +`a3200c887f24112f5f4a94d60626458a8b516baf7baf4b5e5abdfe4b41516066` on base `46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f` is a different installable +package. Its standalone stress observation is not a release pass; active USB +audio still fails. No waiver, publication, module Keep or author listening claim. diff --git a/sdk/drafts/fract-machine/release/history/20261127-a320/reconstruction.json b/sdk/drafts/fract-machine/release/history/20261127-a320/reconstruction.json new file mode 100644 index 0000000000..60f38adaa4 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-a320/reconstruction.json @@ -0,0 +1,82 @@ +{ + "schema": 1, + "imageSha256": "96ffb083f9e517170ab6af9f2e0592b801df18e89a3793d87396ae1a4fb4bc50", + "sources": { + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "f688e4225420c107af003c1dce648afdeded826989bdb1ae7cd9dfd5ee048b3e", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "3ce1fef383feb021b86ed1f1a808bb01cea674ebc0eda65c3e8baa0a692e0c79", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" + }, + "copies": [ + { + "offset": 13106, + "length": 18, + "address": 1073759904, + "sha256": "21fa9b2f73fd45425816040111feafeef4bc4894e08875d45b73907959f9b968", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 13262, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 13824, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 17548, + "length": 12, + "address": 1074093666, + "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 17560, + "length": 13, + "address": 1073821810, + "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + } + ], + "fills": [], + "baseImports": [ + { + "offset": 17534, + "name": "mw_stock_pool_open", + "addend": 0 + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-a320/resource-audit-20261125.json b/sdk/drafts/fract-machine/release/history/20261127-a320/resource-audit-20261125.json new file mode 100644 index 0000000000..ff1c20b6a5 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-a320/resource-audit-20261125.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "ee63420569f637d78d3eabba6b209366d76db4a1587e460996cfd1a8b7ff8865", + "authoredImageSha256": "2efdd40bb99dba2a27cb96c35a66bb4cc50c49f7c2ad6594ad1c3d2d42149c99", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 52428, + "bssBytes": 636, + "packageBytes": 53852, + "relocations": 244, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 53840, + "sameCandidateReplacementPeakPoolBytes": 107680, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x33a0", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x3452", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x35a2", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x39d0", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x3ad6", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x3ca8", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x447c", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x4490", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x47b4", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "f688e4225420c107af003c1dce648afdeded826989bdb1ae7cd9dfd5ee048b3e", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "3ce1fef383feb021b86ed1f1a808bb01cea674ebc0eda65c3e8baa0a692e0c79", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-a320/resource-audit-20261127.json b/sdk/drafts/fract-machine/release/history/20261127-a320/resource-audit-20261127.json new file mode 100644 index 0000000000..ff1c20b6a5 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-a320/resource-audit-20261127.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "ee63420569f637d78d3eabba6b209366d76db4a1587e460996cfd1a8b7ff8865", + "authoredImageSha256": "2efdd40bb99dba2a27cb96c35a66bb4cc50c49f7c2ad6594ad1c3d2d42149c99", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 52428, + "bssBytes": 636, + "packageBytes": 53852, + "relocations": 244, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 53840, + "sameCandidateReplacementPeakPoolBytes": 107680, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x33a0", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x3452", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x35a2", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x39d0", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x3ad6", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x3ca8", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x447c", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x4490", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x47b4", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "f688e4225420c107af003c1dce648afdeded826989bdb1ae7cd9dfd5ee048b3e", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "3ce1fef383feb021b86ed1f1a808bb01cea674ebc0eda65c3e8baa0a692e0c79", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-a320/resources.json b/sdk/drafts/fract-machine/release/history/20261127-a320/resources.json new file mode 100644 index 0000000000..d36c9805ad --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-a320/resources.json @@ -0,0 +1,28 @@ +{ + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED; HARDWARE_QUALIFICATION_PARTIAL", + "packageSha256": "ee63420569f637d78d3eabba6b209366d76db4a1587e460996cfd1a8b7ff8865", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "codeAndInitializedDataBytes": 52428, + "zeroInitializedStateBytes": 636, + "imagePlusBssBytes": 53064, + "runtimeHeaderBytes": 754, + "alignmentBytes": 22, + "residentPoolExtentBytes": 53840, + "sameCandidateReplacementPeakPoolBytes": 107680, + "oldCandidateReplacementPeakPoolBytes": 85664, + "packageBytes": 53852, + "relocations": 244, + "stockCopies": 5, + "stack": { + "maxOwnCallbackBytes": 696, + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve.", + "report": "resource-audit-20261127.json" + }, + "worstCaseColdFireCycles": null, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "hardware": "Development twin: standalone120s no new sheds; active4-channel USB audio failed. Exact released-base package physically untested. See hardware-20261127.md.", + "details": "resources.md", + "previousCandidateVersion": "0.1.4-experimental" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-a320/resources.md b/sdk/drafts/fract-machine/release/history/20261127-a320/resources.md new file mode 100644 index 0000000000..6b493806c8 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-a320/resources.md @@ -0,0 +1,86 @@ +# FRACT resources — 27 November 2026 + +Unlisted0.1.5, package `ee63420569f637d78d3eabba6b209366d76db4a1587e460996cfd1a8b7ff8865`, +base `24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`. +[Current exact-image audit](resource-audit-20261127.json): **53,840 resident +pool bytes**, 107,680 for two copies, and **696 own callback stack bytes**. +The754-byte loader header rounds to768; image52,428 plus BSS636 +rounds to53,072. No additional DSP engine/state or sample arena. + +The strict reviewed graph contains33 indirect sites. Current UI calls resolve +to column-bit helpers; native span dispatch admits exactly four mixers and the +source reader. The short-Hann assembly helper adds one return PC, no local frame. +The audit rejects any changed image, missing call site, unknown target, recursive +own graph or changed loader layout. Stock/base frames and interrupt nesting are +excluded; this is not whole-system headroom or a CPU timing bound. + +```sh +python3.12 -B sdk/drafts/fract-machine/qualification/resources.py --output /private/new-resource-audit.json +``` + +[Development hardware](hardware-20261127.md) passed120s standalone stress but +failed with active four-channel USB audio. The exact released-base package is +physically untested. Earlier matched price40 measurements retain their earlier +package scopes. No release approval or complete current-build timing pass. + +## Historical candidate resources — 10 November 2026 + +Version `0.1.2-experimental`, SHA-256 `6ff37fdcdbfead903a4857482d0f7bd50905175b55c877e62ad7c51422ef5874`, base `72defb09b9d463fe62ab876f350f442d10e32ec23e55918a22b9b756c5cb3da6`. +This package has a [named-build functional hardware report](hardware-20261110.md). +It does not establish timing or a complete resource qualification. The earlier +6 November report is preserved in [history](history/20261106/resources.md). + +## Reproduce without firmware + +Run the exact named audit from revision +`c2671568bb3b684934ad9c55e100b8276093e12d`, which retains its base72 loader/export +inputs. A later checkout follows its newer committed base and can produce a +different package; the audit deliberately refuses to reuse the named hash then. +The completed source audit is retained in resource-audit.json. + +```sh +python3.12 -B sdk/drafts/fract-machine/qualification/resources.py \ + --output sdk/drafts/fract-machine/release/resource-audit.json +``` + +The audit pins this authored image and package, checks the loader source hashes, +uses GCC 16.2.0 `-fstack-usage`, reviews the acyclic own-call graph and indirect +sites, and probes target struct sizes with the base's 2-byte aggregate alignment. +The changed indirect-site addresses were matched by containing function and +unchanged instruction offset. The one base helper target follows this build's +committed export address. A changed image/loader or unknown call refuses reuse. + +| Module contribution | Bytes | +| --- | ---: | +| Runtime header | 528 | +| Code, tables and initialized state | 30,260 | +| BSS | 636 | +| Alignment padding | 0 | +| **Resident extent** | **31,424** | +| Two copies retained for replacement/Undo | 62,848 | +| Previous 0.1.1 plus this candidate during replacement | 63,200 | +| Encoded package in the existing upload buffer | 31,772 | + +One 88-byte owner-ledger entry is consumed from the base's preallocated ledger. +No DSP code/state words or independent sample-arena buffer are added. Samples +remain in stock FLEX pages. No free-memory/headroom claim follows from these +counts. The previous 31,776-byte extent is historical, not this package's cost. + +The conservative maximum own stack contribution is **712 bytes per callback**, +including own outgoing arguments/JSR return PCs and 48/56-byte assembly leaves. +Stock/base frames, interrupt prologues, task stacks and interrupted activations +are excluded. This is not a whole-system stack reserve. + +## Historical 0.1.4 timing and owner decision + +The [hardware report](hardware-20261126.md) binds matched FLEX/diagnostic timing +to separate development packages. Both four-format matrices had no skips, but +normal 0.1.4 failed modulated USB-audio stress on20- and 4-channel layouts. Price40 +covers observed mean deltas; it is not a peak or static worst-case guarantee. +Timer intervals include native FLEX and probe overhead and are not CPU cycles. +Frame maxima are scoped to the named external guard reset after a 3-second flush. + +The exact released-base package remains physically untested. Performance repair, +stage 1 rerun, remaining companion/audio/lifecycle cases and author listening, +Keep/reboot are required. No owner waiver or release approval has been granted. +The historical PROJECT RELOAD incident remains separately recorded in TESTING.md. diff --git a/sdk/drafts/fract-machine/release/history/20261127-abc5/graph-review.json b/sdk/drafts/fract-machine/release/history/20261127-abc5/graph-review.json new file mode 100644 index 0000000000..2dafb192c7 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-abc5/graph-review.json @@ -0,0 +1,15 @@ +{ + "indirectSites": 33, + "unchangedCallerOpcodeOrder": true, + "unchangedOperandSites": 31, + "changedRegisters": { + "0x9248": "a0 from LEAog_locate0xa046", + "0x9506": "a1 from saved LEAog_locate0xa046" + }, + "mixSites": { + "0x8dae": "d4 from a3, selector only og_mix_span/reverse and og_join_span/reverse", + "0x8e16": "same d4 selector" + }, + "sourceChange": "Coalesce only state-free failed births inside one fixed-SCAN call; strict scalar full-state/audio parity18880callbacks", + "manualReview": "UI/assembly source unchanged; all engine selector LEAs reviewed, no new target or recursion" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-abc5/release-reconstruction.json b/sdk/drafts/fract-machine/release/history/20261127-abc5/release-reconstruction.json new file mode 100644 index 0000000000..6b4014f996 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-abc5/release-reconstruction.json @@ -0,0 +1,82 @@ +{ + "schema": 1, + "imageSha256": "c20c7480dcbdb8de86dee93cf0cbe617adb8e3d0f591ccb40a37d48a67af1a80", + "sources": { + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "92889c4925d28f7a20b0fac2ddaf6dc42751fea10fee829d379dbab4b33ec96e", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c4d11829cdc62ae92b08fc5383aed854cb2c17ad1126b0152e6ac1353cab6021", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" + }, + "copies": [ + { + "offset": 26882, + "length": 18, + "address": 1073759904, + "sha256": "21fa9b2f73fd45425816040111feafeef4bc4894e08875d45b73907959f9b968", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 27038, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 27600, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 31324, + "length": 12, + "address": 1074093666, + "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 31336, + "length": 13, + "address": 1073821810, + "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + } + ], + "fills": [], + "baseImports": [ + { + "offset": 31310, + "name": "mw_stock_pool_open", + "addend": 0 + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-abc5/release.proofs.json b/sdk/drafts/fract-machine/release/history/20261127-abc5/release.proofs.json new file mode 100644 index 0000000000..a3dbef0ab3 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-abc5/release.proofs.json @@ -0,0 +1,26 @@ +{ + "schema": 1, + "id": "fract-machine", + "bytes": 67380, + "imageBytes": 65968, + "bssBytes": 636, + "relocations": 241, + "eventWords": 38, + "sha256": "bd1f581bba63166bf07620a541ab3d646612ed8140e472e5fac381bb42d2bb01", + "authoredImageSha256": "622316cef4df32eff42486ddb548bb92dda9b82039af7d1addfbd43c28b22876", + "reviewedImageSha256": "c20c7480dcbdb8de86dee93cf0cbe617adb8e3d0f591ccb40a37d48a67af1a80", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "basePackageSha256": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff", + "baseRunOrigin": 1084839424, + "baseImports": [ + { + "offset": 31310, + "name": "mw_stock_pool_open", + "addend": 0 + } + ], + "stockCopies": 5, + "stockFills": 0, + "stockVerification": "PASS", + "hardware": "NOT_RUN" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-abc5/resource-audit.json b/sdk/drafts/fract-machine/release/history/20261127-abc5/resource-audit.json new file mode 100644 index 0000000000..6ffb61613a --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-abc5/resource-audit.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "bd1f581bba63166bf07620a541ab3d646612ed8140e472e5fac381bb42d2bb01", + "authoredImageSha256": "622316cef4df32eff42486ddb548bb92dda9b82039af7d1addfbd43c28b22876", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 65968, + "bssBytes": 636, + "packageBytes": 67380, + "relocations": 241, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 4, + "residentPoolExtentBytes": 67376, + "sameCandidateReplacementPeakPoolBytes": 134752, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x6970", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6a22", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6b72", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x6fa0", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x70a6", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x7278", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x7a4c", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x7a60", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x7d84", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "92889c4925d28f7a20b0fac2ddaf6dc42751fea10fee829d379dbab4b33ec96e", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c4d11829cdc62ae92b08fc5383aed854cb2c17ad1126b0152e6ac1353cab6021", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-ccbb/graph-review.json b/sdk/drafts/fract-machine/release/history/20261127-ccbb/graph-review.json new file mode 100644 index 0000000000..7b6f76fe40 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-ccbb/graph-review.json @@ -0,0 +1,7 @@ +{ + "indirectSites": 33, + "callerOpcodeRegisterOrderIdentical": true, + "changedAssembly": "cached Hann coefficient within existing saved register frame; table reload is guarded by span end", + "ownStackExtra": 0, + "policy": "same reviewed target graph at independently disassembled new addresses" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-ccbb/kernel-parity.json b/sdk/drafts/fract-machine/release/history/20261127-ccbb/kernel-parity.json new file mode 100644 index 0000000000..bc8addb23e --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-ccbb/kernel-parity.json @@ -0,0 +1,79 @@ +{ + "scope": "QEMU instruction semantics only; no timing/hardware qualification", + "baseline": "iteration2 011ced current kernel", + "candidate": "iteration3 cached shortest-Hann coefficients", + "cases": [ + { + "format": 0, + "reverse": false, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 1, + "reverse": false, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 2, + "reverse": false, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 3, + "reverse": false, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 0, + "reverse": true, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 1, + "reverse": true, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 2, + "reverse": true, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + }, + { + "format": 3, + "reverse": true, + "spans": 2904, + "randomSpans": 2048, + "endpointSpans": 856, + "audioAndGuardWordsIdentical": true, + "calleeSavedRegistersPreserved": true + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-ccbb/release-reconstruction.json b/sdk/drafts/fract-machine/release/history/20261127-ccbb/release-reconstruction.json new file mode 100644 index 0000000000..2bc2294617 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-ccbb/release-reconstruction.json @@ -0,0 +1,82 @@ +{ + "schema": 1, + "imageSha256": "946269ba64233b44e64f300d0b05f68ef7f81d404f10cf2d7d6fbc66578cb6a5", + "sources": { + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c6787a09ecb6c66d81ca06f4afde61d055f592e252baf0900eef14ba038148a0", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" + }, + "copies": [ + { + "offset": 15432, + "length": 18, + "address": 1073759904, + "sha256": "21fa9b2f73fd45425816040111feafeef4bc4894e08875d45b73907959f9b968", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 15588, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 16150, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 19874, + "length": 12, + "address": 1074093666, + "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 19886, + "length": 13, + "address": 1073821810, + "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + } + ], + "fills": [], + "baseImports": [ + { + "offset": 19860, + "name": "mw_stock_pool_open", + "addend": 0 + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-ccbb/release.proofs.json b/sdk/drafts/fract-machine/release/history/20261127-ccbb/release.proofs.json new file mode 100644 index 0000000000..e1f5c084df --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-ccbb/release.proofs.json @@ -0,0 +1,26 @@ +{ + "schema": 1, + "id": "fract-machine", + "bytes": 56204, + "imageBytes": 54784, + "bssBytes": 636, + "relocations": 243, + "eventWords": 38, + "sha256": "7dfd64aef3904aacf8fc3f8b91931d4a1126c415409a451dc4428d0de3159459", + "authoredImageSha256": "3016a909a476f721b3b935cf5e110c0641944461ab39569c4953ac531bdc86a4", + "reviewedImageSha256": "946269ba64233b44e64f300d0b05f68ef7f81d404f10cf2d7d6fbc66578cb6a5", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "basePackageSha256": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff", + "baseRunOrigin": 1084839424, + "baseImports": [ + { + "offset": 19860, + "name": "mw_stock_pool_open", + "addend": 0 + } + ], + "stockCopies": 5, + "stockFills": 0, + "stockVerification": "PASS", + "hardware": "NOT_RUN" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-ccbb/resource-audit.json b/sdk/drafts/fract-machine/release/history/20261127-ccbb/resource-audit.json new file mode 100644 index 0000000000..c64111ea58 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-ccbb/resource-audit.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "7dfd64aef3904aacf8fc3f8b91931d4a1126c415409a451dc4428d0de3159459", + "authoredImageSha256": "3016a909a476f721b3b935cf5e110c0641944461ab39569c4953ac531bdc86a4", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 54784, + "bssBytes": 636, + "packageBytes": 56204, + "relocations": 243, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 4, + "residentPoolExtentBytes": 56192, + "sameCandidateReplacementPeakPoolBytes": 112384, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x3cb6", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x3d68", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x3eb8", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x42e6", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x43ec", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x45be", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x4d92", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x4da6", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x50ca", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c6787a09ecb6c66d81ca06f4afde61d055f592e252baf0900eef14ba038148a0", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/candidate-proof.json b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/candidate-proof.json new file mode 100644 index 0000000000..4b0bef5d22 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/candidate-proof.json @@ -0,0 +1,29 @@ +{ + "schema": 1, + "id": "fract-machine", + "bytes": 67252, + "imageBytes": 65932, + "bssBytes": 636, + "relocations": 240, + "eventWords": 38, + "sha256": "f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73", + "authoredImageSha256": "1fb132d26fb7d4cb9269116a7c4f2f49e901866bdafad8f3f9a6e4f7deeafff2", + "reviewedImageSha256": "0b2308ef4885807c6b877739225ffbd263b98dae391cba1980ce6708979e50d0", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "basePackageSha256": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff", + "baseRunOrigin": 1084839424, + "baseImports": [ + { + "offset": 31402, + "name": "mw_stock_pool_open", + "addend": 0 + } + ], + "stockCopies": 3, + "stockFills": 0, + "stockVerification": "PASS", + "hardware": "NOT_RUN", + "version": "0.1.5-experimental", + "qualification": "BLOCKED_DEV_ACTIVE_USB_FAILURE_RELEASE_BASE_UNTESTED", + "hardwareReport": "qualification-20261127-iteration11.md" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/catalog-entry.json b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/catalog-entry.json new file mode 100644 index 0000000000..eba649459d --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/catalog-entry.json @@ -0,0 +1,5 @@ +{ + "id": "fract-machine", + "version": "0.1.5-experimental", + "addedAt": "2026-11-27T00:00:00.000Z" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/hardware-20261127.md b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/hardware-20261127.md new file mode 100644 index 0000000000..20891951b7 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/hardware-20261127.md @@ -0,0 +1,116 @@ +# FRACT performance repair — 27 November 2026 + +Stage1 remains blocked by active USB-audio stress. Current iteration11 source +has released-base package `f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73` on +`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5` (physically untested), and development twin +`70131adde2cb026f7fd5f7097391dfc7cece89cdc051eccca9ed97b2ad0b6a45` on `46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f` (failed below). +No release approval or owner waiver is granted. + +## Current named-build result + +Scratch FRCT27I2, A06/Part2,120BPM:64 native trigs and alternating locks, +three POS/SIZE/SPRD LFOs (speeds20/36/52, depths32), generated16-bit mono +88,200-frame/44.1kHz FLEX source, moving MAIN/PAN/SRNG. Other seven tracks have +no trigs. Exact Octatrack MAIN+CUE four-channel CoreAudio recording was verified +active during the run; no ambient microphone or SCREEN reads during playback. + +The first moving-control check at3.619s found two new skipped T1 renders +(6811→6813). Through explicit STOP and the whole install-to-Undo trial the +counter reached6815, four new skips. Failed window: frame max103.9%, interrupt +mean75.6%, T1 longest63.4% across both passes. The recorder closed normally +at early failure. This is neither a120s run nor an audio-dropout pass. +No new crash, error or DSP-stall counter; historical stall serial7 remained. +Standard Undo returned normal generation20 and empty inventory. + +## Software and earlier scopes + +Source compilation,56 host cases (52 passed, four historical SPACE skips), nine +runtime-package cases pass. The current kernel has235,048 QEMU span comparisons +across33 window shapes, formats and directions, with exact output/guard words +and saved registers. SIZE modulation has18,880 independent scalar/native callback +comparisons including occupied-head boundaries; authored window halves are +checked monotone. Earlier8,192 LCD comparisons remain scoped to unchanged LCD +code. Software/emulation is not hardware timing or listening. + +Fresh native package reconstruction and both unchanged strict stock scans pass; +current resident extent67,344bytes and own callback bound632bytes exclude base, +stock and interrupt frames. Isolated network-disabled Linux reproduction matches all67,252package bytes +and all59 source-input hashes (31 module inputs). CPU price40, allowance45, share80 and one owner T1–T4 are unchanged. + +Earlier iteration2 completed standalone120s and USB-installed/host-inactive120s +with zero new skips, but failed with active USB audio. Later iterations through11 +also failed active USB; none transfers a pass to the current bytes. The earlier +a320 record and completed restoration are [historical](history/20261127-a320/hardware-20261127.md). + +## Private experiments and waveform check + +The one-frame leaf plus small fill-boundary zero-tail prototype devpackage +`e68db760f53ff7b580069d748d2589c2f0efa7a0c2765f17f6ca44dd30e2f78b` +passed software parity/strict reconstruction, then failed active4chUSB: +first motion+6skips and full trial+9. Undo returned normal generation2, empty. + +The separate two-reader prototype devpackage +`9b86e74087dc4a7495a86850b0dcc3f45881335285d8519e1b4e3f03366e0a60` +on the same dev46base retains128-byte three-slot storage, clears all slots on +reset/stop, runs two readers and spaces maximum-density births half a grain +apart. Its18880scalar/state comparisons and five adapter contracts pass; +strict reconstruction passes with3copies/no fills, resident67376bytes and +616own callback stack bytes. The changed texture/level is intentional. + +Two active MAIN+CUE4ch USB runs completed122.129s/122.563s,22moving-control +windows each. Guard stayed9→9 through STOP; CoreAudio4ch was active at both +ends and records closed normally. Whole trial: no crash/stall/freeze/skipped +track logged; standard Undo normal generation4, installed none. Frame maxima +were103.9/103.4%, guarded T1 maxima66.8/68.1%. These measured bursts are not a +static bound or full qualification. Nonzero recorded MAIN/CUE is routing sanity, +not a listening/dropout pass. This source tree remains iteration11/three readers; +the private two-reader result does not qualify the released-base package above. + +The photographed BENCH is an authored constant-amplitude triangle. All108bin +peaks are2500, hence a uniform height10after the progressive full scan. Its +coarse initial preview aliases the period. An added authored ENVTEST with silent +ends, ramps and a plateau retained that shape after15s; all108native LCD columns +matched an independent full-file envelope calculation. No drawing code was +changed for this check. A first UI-only pick hit the conservative CPU FULL/Part +busy box, then the standard5s native-FLEX warm-up permitted it. The UI trial's +DIAG_CPU note0x01010001 records that admission refusal (diag.c331–341), no fault; +no general admission fix is claimed. + +## Remaining work and final restoration + +After reconnection, independent readback found released24e, empty inventory and +one missing FRACT handle in the scratch project. The dev46RAM boot then completed. +After tests, PROJECT261111/A01/Part1 was returned through native CHANGE; all8 +working/saved Part copies matched the pretest hashes, including the pre-existing +unsaved Part1 difference. All28original CF files matched after archiving/removing +only owned PRESETS/FRCT27I2 (including ENVTEST). Card UUID was verified/ejected. + +Final RAM boot returned released0.8.2/24e. Independent HELLO/status/inventory/set/ +slots/missing readback confirmed normal, empty inventory, original empty set +87f28e38…, missing[], confirmed running slot1generation10 and preserved +slot0generation8, no fallback. Public-base MEM is unavailable: the final exact +Part comparison is scoped before this boot. Own links/recorders/trials are closed, +queue released, Colima stopped. No additional NOR write or Keep occurred. + +Full fixed-procedure, current-build price/four-format/companion/stock-flow, +MAIN+CUE dropout, lifecycle and author listening/Keep/reboot remain open for an +adopted two-reader candidate. No release approval or waiver is claimed. + +## Review coverage + +The separate shared receipt-check correction is [PR2283](https://github.com/repeat98/modwerk/pull/2283), +open, ready, applicable CI green and no comments/reviews at the latest check. +It is integrated locally as baseline7c088d40; the module diff does not edit that test. +The earlier advisory Jev pass reviewed16 fragments, zero flags and16 uncertain, +all investigated manually. It retained58 deferred and14 excluded/static-only +entries, including four C parser blockers; omitted coverage was inspected +selectively. The later bounded recheck ran all four deterministic checks successfully and +reviewed four fragments: zero flags, four uncertainty records, investigated +against sources and receipts. Its20-request pass budget is exhausted. Current +coverage retains129 deferred items (124 chunks plus five parser blockers) and23 +static-only file entries;116 omitted attention and16 omitted excluded entries +were inspected selectively. The checked chunk header is deferred; grain.c, +render.c, fract_ui.c, registration.c and window.h are parser blockers. Private +experiments are outside this worktree review. Subsequent metadata corrections +were locally checked without another API pass. This remains partial advisory +coverage, not a clean or complete review. diff --git a/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/package-entry.json b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/package-entry.json new file mode 100644 index 0000000000..2c320c9b2c --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/package-entry.json @@ -0,0 +1,31 @@ +{ + "id": "fract-machine", + "version": "0.1.5-experimental", + "sources": [ + "sdk/octatrack/modules/fract-machine/machine.c", + "sdk/octatrack/modules/fract-machine/render.c", + "sdk/octatrack/modules/fract-machine/start.c", + "sdk/octatrack/modules/fract-machine/registration.c", + "sdk/octatrack/modules/fract-machine/base_binding.c", + "sdk/octatrack/modules/fract-machine/engine/grain.c", + "sdk/octatrack/modules/fract-machine/engine/pitch.c", + "sdk/octatrack/modules/fract-machine/support/control.c", + "sdk/octatrack/modules/fract-machine/engine/source.c", + "sdk/runtime/logging/freestanding.c", + "sdk/octatrack/modules/fract-machine/engine/kernel.s" + ], + "sourceRecipe": "sdk/octatrack/modules/fract-machine/runtime-build.json", + "usbOnly": true, + "requiredBase": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "path": "octatrack-modules/fract-machine/0.1.5-experimental.mwrm", + "name": "FRACT", + "module": "5efef0cd", + "bytes": 67252, + "sha256": "f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73", + "abi": 8, + "features": 130, + "sites": 0, + "copies": 3, + "fills": 0, + "base": true +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/performance.json b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/performance.json new file mode 100644 index 0000000000..f97d3603d4 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/performance.json @@ -0,0 +1,38 @@ +{ + "schema": 1, + "module": "fract-machine", + "version": "0.1.5-experimental", + "kind": "coldfire", + "cycles": { + "unit": "cycles/event", + "static": null, + "measured": null, + "budget": null, + "method": "CPU cycles and static worst-case bound NOT MEASURED. See release/hardware-20261127.md; normal development build still fails active-USB stress." + }, + "load": { + "frameUs": 362.8, + "stockLongestUs": null, + "moduleLongestUs": null, + "stockIdlePercent": null, + "moduleIdlePercent": null, + "method": "No current-build full matched matrix. Iteration11 development twin fails active four-channel USB audio. Earlier standalone and diagnostic results retain their own package scopes." + }, + "stress": { + "floodMessagesPerSecond": null, + "clockBpm": 120, + "seconds": 3.6190329999662936, + "stuckNotes": null, + "hangs": null, + "dropped": 4, + "droppedExplanation": "Current iteration11: first moving-control check found2 new skipped T1 renders;4 through STOP and the complete trial. No current120s USB pass.", + "method": "A06:64 verified native locks, three LFOs, MAIN/PAN/SRNG motion, verified16-bit mono FLEX source, active MAIN+CUE4ch recording. Stopped at first guard failure; no new crash/error/DSP stall. No listening or dropout pass." + }, + "scope": { + "packageSha256": "70131adde2cb026f7fd5f7097391dfc7cece89cdc051eccca9ed97b2ad0b6a45", + "baseIdentity": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", + "ownerMethod": "https://github.com/repeat98/modwerk/pull/1274#issuecomment-6705531953", + "waiver": "NOT_GRANTED", + "hardware": "PARTIAL_FAILED_STAGE1 for iteration11; released-base f291 physically untested. Private two-reader9b86 completed two targeted active4chUSB runs without new guard skips, separately scoped in hardware report. Original state restored." + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/qualification-20261127-iteration11.md b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/qualification-20261127-iteration11.md new file mode 100644 index 0000000000..a2093acd58 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/qualification-20261127-iteration11.md @@ -0,0 +1,15 @@ +# FRACT performance iteration11 — 27 November 2026 + +Unpublished experimental source; full qualification and owner approval remain pending. Source baseline7c088d40 plus local module changes; submitted revision4ed908fa76a5fa93cc2f053242af4e39d80c0ccf is historical provenance. + +Released-base package `f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73` on base`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`; normal development twin `70131adde2cb026f7fd5f7097391dfc7cece89cdc051eccca9ed97b2ad0b6a45` on base`46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f`. Fresh native builds/reconstruction/strict scans pass:3copies,no fills. Resident extent67344bytes; max own callback stack632bytes, excluding base/stock/interrupt frames. + +The original chunk validation and rendering body is shared in chunk.h. The native renderer inlines it; the external function remains a wrapper for other callers. No check was removed. Constants and known caller arguments can be folded without another function frame. The unused wrapper is pruned from the runtime. + +Five private active-engine host contracts pass:2176native-render fixtures,2880split/pitched packets, owner/invalid-call lifecycle,32768direct chunk comparisons and64START fixtures. Initial private test attempts used the legacy include order with a current-engine flag and failed compilation; corrected active engine/START flags pass with assertions and frozen oracles unchanged. + +Iteration10's fixed-SCAN failed-birth coalescing still matches the independent per-frame oracle in18880audio/full-state callback comparisons, including countdowns at/outside the call end and subsequent SIZE changes. The unchanged kernel retains235048QEMU span comparisons and the authored-half monotonicity test. The independently disassembled33indirect sites retain their caller/opcode/register sequence and reviewed targets. Own call-stack bound falls from696to632bytes. No CPU price40, allowance45, share80, source-kind or sound/control semantics changed. + +No physical USB device was opened by offline build/parity checks. The separate hardware retest failed active4chUSB: baseline6811, first moving-control check6813(+2), through STOP and the whole trial6815(+4). Standard Undo returned normal generation20 with empty inventory. Earlier standalone passes do not qualify these bytes. Full format/companion matrix, listening and persistence remain pending. + +Isolated Linux reproduction (immutable toolchain image3b40aa25…, network disabled, authored/shared source mounted read-only, no original firmware mounted) exactly matches the67,252-byte release package and all59 source-input hashes. Native original-OS strict verification remains separately PASS. diff --git a/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/reconstruction.json b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/reconstruction.json new file mode 100644 index 0000000000..6c0d97f5b9 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/reconstruction.json @@ -0,0 +1,69 @@ +{ + "schema": 1, + "imageSha256": "0b2308ef4885807c6b877739225ffbd263b98dae391cba1980ce6708979e50d0", + "sources": { + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/chunk.h": "d39d92d23b559028102f57b200148f3997578fd9882d8937b7f27e438b1efe4a", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "92889c4925d28f7a20b0fac2ddaf6dc42751fea10fee829d379dbab4b33ec96e", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c4d11829cdc62ae92b08fc5383aed854cb2c17ad1126b0152e6ac1353cab6021", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "e25f4fac61ff122b4e031897d4b2974a9a7cb3ed2a009a6b42f4d6c46dff455b", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "68ee8e71398c672ef84e075051a1c08f0e141e234a902f244c7d5d66923fa69d", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" + }, + "copies": [ + { + "offset": 26694, + "length": 12, + "address": 1073851016, + "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 31416, + "length": 12, + "address": 1074093666, + "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + }, + { + "offset": 31428, + "length": 13, + "address": 1073821810, + "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", + "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" + } + ], + "fills": [], + "baseImports": [ + { + "offset": 31402, + "name": "mw_stock_pool_open", + "addend": 0 + } + ] +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resource-audit-20261125.json b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resource-audit-20261125.json new file mode 100644 index 0000000000..b60b6c5c42 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resource-audit-20261125.json @@ -0,0 +1,471 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73", + "authoredImageSha256": "1fb132d26fb7d4cb9269116a7c4f2f49e901866bdafad8f3f9a6e4f7deeafff2", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 65932, + "bssBytes": 636, + "packageBytes": 67252, + "relocations": 240, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 67344, + "sameCandidateReplacementPeakPoolBytes": 134688, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 632, + "chain": [ + "og_machine_render", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 632, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x681e", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x68d0", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6a2a", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x6ffc", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x7102", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x72d4", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x7aa8", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x7abc", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x7de0", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/chunk.h": "d39d92d23b559028102f57b200148f3997578fd9882d8937b7f27e438b1efe4a", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "92889c4925d28f7a20b0fac2ddaf6dc42751fea10fee829d379dbab4b33ec96e", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c4d11829cdc62ae92b08fc5383aed854cb2c17ad1126b0152e6ac1353cab6021", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "e25f4fac61ff122b4e031897d4b2974a9a7cb3ed2a009a6b42f4d6c46dff455b", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "68ee8e71398c672ef84e075051a1c08f0e141e234a902f244c7d5d66923fa69d", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resource-audit-20261127.json b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resource-audit-20261127.json new file mode 100644 index 0000000000..b60b6c5c42 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resource-audit-20261127.json @@ -0,0 +1,471 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73", + "authoredImageSha256": "1fb132d26fb7d4cb9269116a7c4f2f49e901866bdafad8f3f9a6e4f7deeafff2", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 65932, + "bssBytes": 636, + "packageBytes": 67252, + "relocations": 240, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 67344, + "sameCandidateReplacementPeakPoolBytes": 134688, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 632, + "chain": [ + "og_machine_render", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 632, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x681e", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x68d0", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6a2a", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x6ffc", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x7102", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x72d4", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x7aa8", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x7abc", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x7de0", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/chunk.h": "d39d92d23b559028102f57b200148f3997578fd9882d8937b7f27e438b1efe4a", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "92889c4925d28f7a20b0fac2ddaf6dc42751fea10fee829d379dbab4b33ec96e", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c4d11829cdc62ae92b08fc5383aed854cb2c17ad1126b0152e6ac1353cab6021", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "e25f4fac61ff122b4e031897d4b2974a9a7cb3ed2a009a6b42f4d6c46dff455b", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "68ee8e71398c672ef84e075051a1c08f0e141e234a902f244c7d5d66923fa69d", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resources.json b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resources.json new file mode 100644 index 0000000000..f0b2a815d3 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resources.json @@ -0,0 +1,29 @@ +{ + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED; DEV_ACTIVE_USB_FAILED_RELEASE_BASE_UNTESTED", + "packageSha256": "f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "codeAndInitializedDataBytes": 65932, + "zeroInitializedStateBytes": 636, + "imagePlusBssBytes": 66568, + "runtimeHeaderBytes": 754, + "alignmentBytes": 22, + "residentPoolExtentBytes": 67344, + "sameCandidateReplacementPeakPoolBytes": 134688, + "oldCandidateReplacementPeakPoolBytes": 134720, + "packageBytes": 67252, + "relocations": 240, + "stockCopies": 3, + "stack": { + "maxOwnCallbackBytes": 632, + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve.", + "report": "resource-audit-20261127-iteration11.json" + }, + "worstCaseColdFireCycles": null, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "hardware": "Iteration11 development twin failed active4chUSB stress (+4 trial skips); released-base package physically untested. Earlier standalone passes retain their own package scopes.", + "details": "resources.md", + "previousCandidateVersion": "0.1.5-experimental", + "previousCandidatePackageSha256": "bd1f581bba63166bf07620a541ab3d646612ed8140e472e5fac381bb42d2bb01" +} diff --git a/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resources.md b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resources.md new file mode 100644 index 0000000000..28fab35581 --- /dev/null +++ b/sdk/drafts/fract-machine/release/history/20261127-three-reader-i11/resources.md @@ -0,0 +1,87 @@ +# FRACT resources — 27 November 2026 + +Unlisted0.1.5, package `f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73`, +base `24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`. +[Exact-image audit](resource-audit-20261127-iteration11.json): **67,344 resident +pool bytes**,134,688 for two copies, and **632 own callback stack bytes**. +The754-byte loader header rounds to768; image65,932 plus BSS636 rounds to66,576. +No DSP engine/state or sample-arena allocation is added. + +The reviewed graph contains33 indirect sites. Native dispatch admits four mixers +and the source reader; UI calls resolve to column helpers. The regular assembly +kernel uses48bytes, the joined kernel56, and the short-span helper has no local +frame. The renderer inlines the original checked chunk body; validation remains. +The audit rejects changed images, missing sites, unknown targets, recursive own +calls or changed loader layout. Base/stock/interrupt frames are excluded, so this +is neither whole-system stack headroom nor a CPU timing bound. + +```sh +python3.12 -B sdk/drafts/fract-machine/qualification/resources.py --output /private/new-resource-audit.json +``` + +The [development hardware case](hardware-20261127.md) failed active four-channel +USB audio. Its earlier standalone pass is scoped to iteration2. The exact +released-base package remains physically untested. Private one-frame/two-reader +experiments do not change the counts above or qualify this candidate. + +## Historical candidate resources — 10 November 2026 + +Version `0.1.2-experimental`, SHA-256 `6ff37fdcdbfead903a4857482d0f7bd50905175b55c877e62ad7c51422ef5874`, base `72defb09b9d463fe62ab876f350f442d10e32ec23e55918a22b9b756c5cb3da6`. +This package has a [named-build functional hardware report](hardware-20261110.md). +It does not establish timing or a complete resource qualification. The earlier +6 November report is preserved in [history](history/20261106/resources.md). + +## Reproduce without firmware + +Run the exact named audit from revision +`c2671568bb3b684934ad9c55e100b8276093e12d`, which retains its base72 loader/export +inputs. A later checkout follows its newer committed base and can produce a +different package; the audit deliberately refuses to reuse the named hash then. +The completed source audit is retained in resource-audit.json. + +```sh +python3.12 -B sdk/drafts/fract-machine/qualification/resources.py \ + --output sdk/drafts/fract-machine/release/resource-audit.json +``` + +The audit pins this authored image and package, checks the loader source hashes, +uses GCC 16.2.0 `-fstack-usage`, reviews the acyclic own-call graph and indirect +sites, and probes target struct sizes with the base's 2-byte aggregate alignment. +The changed indirect-site addresses were matched by containing function and +unchanged instruction offset. The one base helper target follows this build's +committed export address. A changed image/loader or unknown call refuses reuse. + +| Module contribution | Bytes | +| --- | ---: | +| Runtime header | 528 | +| Code, tables and initialized state | 30,260 | +| BSS | 636 | +| Alignment padding | 0 | +| **Resident extent** | **31,424** | +| Two copies retained for replacement/Undo | 62,848 | +| Previous 0.1.1 plus this candidate during replacement | 63,200 | +| Encoded package in the existing upload buffer | 31,772 | + +One 88-byte owner-ledger entry is consumed from the base's preallocated ledger. +No DSP code/state words or independent sample-arena buffer are added. Samples +remain in stock FLEX pages. No free-memory/headroom claim follows from these +counts. The previous 31,776-byte extent is historical, not this package's cost. + +The conservative maximum own stack contribution is **712 bytes per callback**, +including own outgoing arguments/JSR return PCs and 48/56-byte assembly leaves. +Stock/base frames, interrupt prologues, task stacks and interrupted activations +are excluded. This is not a whole-system stack reserve. + +## Historical 0.1.4 timing and owner decision + +The [hardware report](hardware-20261126.md) binds matched FLEX/diagnostic timing +to separate development packages. Both four-format matrices had no skips, but +normal 0.1.4 failed modulated USB-audio stress on20- and 4-channel layouts. Price40 +covers observed mean deltas; it is not a peak or static worst-case guarantee. +Timer intervals include native FLEX and probe overhead and are not CPU cycles. +Frame maxima are scoped to the named external guard reset after a 3-second flush. + +The exact released-base package remains physically untested. Performance repair, +stage 1 rerun, remaining companion/audio/lifecycle cases and author listening, +Keep/reboot are required. No owner waiver or release approval has been granted. +The historical PROJECT RELOAD incident remains separately recorded in TESTING.md. diff --git a/sdk/drafts/fract-machine/release/matched-price-20261127-iteration18.json b/sdk/drafts/fract-machine/release/matched-price-20261127-iteration18.json new file mode 100644 index 0000000000..39e6ea9028 --- /dev/null +++ b/sdk/drafts/fract-machine/release/matched-price-20261127-iteration18.json @@ -0,0 +1,48 @@ +{ + "hardware": true, + "packageSha256": "125c0ab3c7ac9b5cf8afc45710bca68ef62f8e55b34c8bb6fa20e6ae2379a165", + "windows": 20, + "price": 40, + "guardedSkips": "0\u21920", + "conditions": "FR27M18banksA-D;Part1nativeFLEXloop2/TSTRoff,Part3FRACTdefault,Part4extreme;120BPM64T1trigs;88200frames44.1kHz;3swarm+6smeasured;USB AUDIO4ch installed,recorder idle", + "formats": [ + { + "format": "16m", + "flexQuiet": 27.0, + "flexActive": 31.6, + "fractQuiet": 31.0, + "fractDefault": 59.3, + "fractExtreme": 63.1, + "largestActiveMinusQuiet": 32.1 + }, + { + "format": "16s", + "flexQuiet": 27.1, + "flexActive": 31.7, + "fractQuiet": 31.0, + "fractDefault": 60.0, + "fractExtreme": 64.0, + "largestActiveMinusQuiet": 33.0 + }, + { + "format": "24m", + "flexQuiet": 27.1, + "flexActive": 31.7, + "fractQuiet": 31.0, + "fractDefault": 59.7, + "fractExtreme": 63.3, + "largestActiveMinusQuiet": 32.3 + }, + { + "format": "24s", + "flexQuiet": 27.1, + "flexActive": 31.7, + "fractQuiet": 31.0, + "fractDefault": 60.1, + "fractExtreme": 64.5, + "largestActiveMinusQuiet": 33.5 + } + ], + "maxObservedAddedMean": 33.5, + "limit": "Mean price observation, no static/peak headroom guarantee." +} diff --git a/sdk/drafts/fract-machine/release/matched-price-20261127-two-reader.json b/sdk/drafts/fract-machine/release/matched-price-20261127-two-reader.json new file mode 100644 index 0000000000..bcc490ac96 --- /dev/null +++ b/sdk/drafts/fract-machine/release/matched-price-20261127-two-reader.json @@ -0,0 +1,47 @@ +{ + "status": "FOUR_FORMAT_MEAN_PRICE_CHECK_OBSERVED_PASS", + "packageSha256": "9b86e74087dc4a7495a86850b0dcc3f45881335285d8519e1b4e3f03366e0a60", + "baseIdentity": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", + "rows": [ + { + "format": "16m", + "mode": 2, + "flexMean": 31.6, + "flexQuietMean": 25.1, + "fractQuietMean": 31.0, + "defaultAdded": 28.3, + "extremeAdded": 32.1 + }, + { + "format": "16s", + "mode": 3, + "flexMean": 31.8, + "flexQuietMean": 27.1, + "fractQuietMean": 31.0, + "defaultAdded": 29.0, + "extremeAdded": 32.9 + }, + { + "format": "24m", + "mode": 0, + "flexMean": 31.7, + "flexQuietMean": 27.1, + "fractQuietMean": 31.0, + "defaultAdded": 28.7, + "extremeAdded": 32.2 + }, + { + "format": "24s", + "mode": 1, + "flexMean": 31.7, + "flexQuietMean": 27.1, + "fractQuietMean": 31.0, + "defaultAdded": 29.1, + "extremeAdded": 33.5 + } + ], + "declaredPrice": 40, + "largestObservedActiveMinusQuietMean": 33.5, + "conditions": "Normal package; FR27TW2 banksA\u2013D,Part1native FLEXloop2/TSTRoff,Part3FRACTdefaults/Part4extreme;120BPM64T1trigs;44.1k88200frames;3swarm+6smeasured perwindow;4chUSBcompanion installed,CoreAudio recorder idle. Source mode and voice slot verified eachwindow.", + "limits": "Observed mean charge only; no static worst-case/peak guarantee, listening or whole-system headroom claim." +} diff --git a/sdk/drafts/fract-machine/release/package-entry.json b/sdk/drafts/fract-machine/release/package-entry.json index 0ce8ec0a24..b03f36a44e 100644 --- a/sdk/drafts/fract-machine/release/package-entry.json +++ b/sdk/drafts/fract-machine/release/package-entry.json @@ -1,6 +1,6 @@ { "id": "fract-machine", - "version": "0.1.3-experimental", + "version": "0.1.7-experimental", "sources": [ "sdk/octatrack/modules/fract-machine/machine.c", "sdk/octatrack/modules/fract-machine/render.c", @@ -16,16 +16,16 @@ ], "sourceRecipe": "sdk/octatrack/modules/fract-machine/runtime-build.json", "usbOnly": true, - "requiredBase": "eb6679620d0c9ed7ad277598fc0df185e767dfbd0e7eb99bb1518ade9df8a4f0", - "path": "octatrack-modules/fract-machine/0.1.3-experimental.mwrm", + "requiredBase": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "path": "octatrack-modules/fract-machine/0.1.7-experimental.mwrm", "name": "FRACT", "module": "5efef0cd", - "bytes": 31948, - "sha256": "c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29", + "bytes": 67284, + "sha256": "f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4", "abi": 8, "features": 130, "sites": 0, - "copies": 9, + "copies": 3, "fills": 0, "base": true } diff --git a/sdk/drafts/fract-machine/release/price-only-code-parity-20261126.json b/sdk/drafts/fract-machine/release/price-only-code-parity-20261126.json new file mode 100644 index 0000000000..3c76829171 --- /dev/null +++ b/sdk/drafts/fract-machine/release/price-only-code-parity-20261126.json @@ -0,0 +1,70 @@ +{ + "oldPackage": "3871d90e345db70977f247185fdc121085e4026215e8c089840e3ba5e2a9d9a5", + "newPackage": "54d42f5affc4a6c45cdeb5d15814c632a57c630eaeac9121f945b5732f4d6aba", + "units": [ + { + "unit": 0, + "executableSections": 3, + "identical": true + }, + { + "unit": 1, + "executableSections": 3, + "identical": true + }, + { + "unit": 2, + "executableSections": 2, + "identical": true + }, + { + "unit": 3, + "executableSections": 33, + "identical": true + }, + { + "unit": 4, + "executableSections": 2, + "identical": true + }, + { + "unit": 5, + "executableSections": 7, + "identical": true + }, + { + "unit": 6, + "executableSections": 2, + "identical": true + }, + { + "unit": 7, + "executableSections": 2, + "identical": true + }, + { + "unit": 8, + "executableSections": 5, + "identical": true + }, + { + "unit": 9, + "executableSections": 3, + "identical": true + }, + { + "unit": 10, + "executableSections": 1, + "identical": true + } + ], + "imageBytes": 30416, + "imageDifferences": [ + { + "offset": 23113, + "old": 0, + "new": 40 + } + ], + "scope": "Same development base. All executable sections identical; one descriptor CPU-price byte changes. This is not a timing rerun." +} diff --git a/sdk/drafts/fract-machine/release/price-single-owner-20261127-iteration18.json b/sdk/drafts/fract-machine/release/price-single-owner-20261127-iteration18.json new file mode 100644 index 0000000000..f68f221e06 --- /dev/null +++ b/sdk/drafts/fract-machine/release/price-single-owner-20261127-iteration18.json @@ -0,0 +1,110 @@ +{ + "base": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", + "scene": "Octatrack MKII; FR27T18 A16 empty pick/A04 T1+T5 dense; one FRACT owner on T1; native saved Part1 before; USB audio companion absent", + "inputs": { + "transport": "playing" + }, + "seconds": 8, + "readings": 3, + "slot": "T1", + "measuredAt": "2026-11-27T05:06:30.365Z", + "results": [ + { + "id": "fract-machine", + "version": "file", + "packageSha256": "125c0ab3c7ac9b5cf8afc45710bca68ef62f8e55b34c8bb6fa20e6ae2379a165", + "before": { + "frame": 33.5, + "frameMax": 69.4, + "frames": 67301, + "skipped": 0, + "cpu": 45.1, + "dsp1to4": 11.8, + "dsp5to8": 21.7, + "dsp1to4Peak": 13, + "dsp5to8Peak": 22.7, + "readings": 3, + "spread": { + "frame": 0, + "cpu": 0.1, + "dsp1to4": 0.2, + "dsp5to8": 0, + "frameMax": 3.3, + "dsp1to4Peak": 0, + "dsp5to8Peak": 0.8 + } + }, + "atRest": { + "frame": 33.5, + "frameMax": 68.9, + "frames": 67272, + "skipped": 0, + "cpu": 45.3, + "dsp1to4": 11.9, + "dsp5to8": 21.7, + "dsp1to4Peak": 13, + "dsp5to8Peak": 29, + "readings": 3, + "spread": { + "frame": 0, + "cpu": 0.1, + "dsp1to4": 0, + "dsp5to8": 0, + "frameMax": 2.8, + "dsp1to4Peak": 0.1, + "dsp5to8Peak": 7.1 + } + }, + "atRestAdds": { + "frame": 0, + "cpu": 0.2, + "dsp1to4": 0.1, + "dsp5to8": 0, + "dsp1to4Peak": 0, + "dsp5to8Peak": 6.3 + }, + "curve": { + "tracks": [ + "T1" + ], + "points": [ + 68.9, + 97.2 + ], + "adds": [ + 28.3 + ], + "first": 28.3, + "each": 28.3, + "notes": [ + "the Part's CPU allowance at 400 % for the curve's picks, back to 45 % for the admission runs" + ], + "admission": [ + { + "pattern": "empty", + "number": 16, + "track": "T1", + "seconds": 8, + "admitted": true, + "frameMax": 48.8, + "frame": 30.8, + "dropped": 0, + "stalls": 0 + }, + { + "pattern": "medium", + "number": 4, + "track": "T1", + "seconds": 8, + "admitted": true, + "frameMax": 96.3, + "frame": 61.7, + "dropped": 0, + "stalls": 0 + } + ] + }, + "rolledBack": true + } + ] +} diff --git a/sdk/drafts/fract-machine/release/probe-observations-20261127-iteration18.json b/sdk/drafts/fract-machine/release/probe-observations-20261127-iteration18.json new file mode 100644 index 0000000000..ff54c8859b --- /dev/null +++ b/sdk/drafts/fract-machine/release/probe-observations-20261127-iteration18.json @@ -0,0 +1,138 @@ +{ + "hardware": true, + "kind": "PRIVATE_PROBE_OBSERVATIONS", + "probePackageSha256": "89411b02fd8ff18696d18427cb60120247b531d0ddacf6f43b6c923406c63c8f", + "normalPackageSha256": "125c0ab3c7ac9b5cf8afc45710bca68ef62f8e55b34c8bb6fa20e6ae2379a165", + "base": "46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f", + "conditions": "FR27M18fourbank formats;nativeFLEXPart1/defaultPart3/extremePart4;3swarm,GUARDreset,3swait for2complete probe epochs,5scollector,GUARDafter. NoUSB AUDIO companion. GUARD resets mw_frame_count as well as maxima; first failed flags5 capture retained and excluded. Original11textunits unchanged; wrapper/tick add measurement overhead.", + "rows": [ + { + "format": "16m", + "condition": "native-flex", + "guardWindowMaxPercent": 60.7, + "guardWindowMaxUs": 220.2260378787879, + "meanIdlePercent": 57.47679683863669, + "probeWindows": 5, + "lifetimeOwnBlockPeakUs": 0, + "lifetimeOwnCallPeakUs": 0 + }, + { + "format": "16m", + "condition": "fract-default", + "guardWindowMaxPercent": 87.8, + "guardWindowMaxUs": 318.5477121212121, + "meanIdlePercent": 35.378447501209656, + "probeWindows": 5, + "lifetimeOwnBlockPeakUs": 142.56060606060606, + "lifetimeOwnCallPeakUs": 95.75 + }, + { + "format": "16m", + "condition": "fract-extreme", + "guardWindowMaxPercent": 89.4, + "guardWindowMaxUs": 324.35268181818185, + "meanIdlePercent": 31.437537557588303, + "probeWindows": 4, + "lifetimeOwnBlockPeakUs": 159.75757575757575, + "lifetimeOwnCallPeakUs": 124.78030303030303 + }, + { + "format": "16s", + "condition": "native-flex", + "guardWindowMaxPercent": 60.0, + "guardWindowMaxUs": 217.68636363636364, + "meanIdlePercent": 57.31654104602721, + "probeWindows": 5, + "lifetimeOwnBlockPeakUs": 159.75757575757575, + "lifetimeOwnCallPeakUs": 126.59848484848484 + }, + { + "format": "16s", + "condition": "fract-default", + "guardWindowMaxPercent": 87.4, + "guardWindowMaxUs": 317.09646969696973, + "meanIdlePercent": 34.71660786907737, + "probeWindows": 5, + "lifetimeOwnBlockPeakUs": 159.75757575757575, + "lifetimeOwnCallPeakUs": 126.59848484848484 + }, + { + "format": "16s", + "condition": "fract-extreme", + "guardWindowMaxPercent": 92.2, + "guardWindowMaxUs": 334.5113787878788, + "meanIdlePercent": 30.661572578639774, + "probeWindows": 6, + "lifetimeOwnBlockPeakUs": 161.38636363636363, + "lifetimeOwnCallPeakUs": 129.3560606060606 + }, + { + "format": "24m", + "condition": "native-flex", + "guardWindowMaxPercent": 60.3, + "guardWindowMaxUs": 218.77479545454545, + "meanIdlePercent": 57.38694053980987, + "probeWindows": 5, + "lifetimeOwnBlockPeakUs": 161.38636363636363, + "lifetimeOwnCallPeakUs": 129.3560606060606 + }, + { + "format": "24m", + "condition": "fract-default", + "guardWindowMaxPercent": 87.2, + "guardWindowMaxUs": 316.3708484848485, + "meanIdlePercent": 34.96946042410888, + "probeWindows": 5, + "lifetimeOwnBlockPeakUs": 161.38636363636363, + "lifetimeOwnCallPeakUs": 129.3560606060606 + }, + { + "format": "24m", + "condition": "fract-extreme", + "guardWindowMaxPercent": 90.2, + "guardWindowMaxUs": 327.25516666666664, + "meanIdlePercent": 31.263722298946306, + "probeWindows": 5, + "lifetimeOwnBlockPeakUs": 164.96212121212122, + "lifetimeOwnCallPeakUs": 131.21212121212122 + }, + { + "format": "24s", + "condition": "native-flex", + "guardWindowMaxPercent": 60.4, + "guardWindowMaxUs": 219.13760606060606, + "meanIdlePercent": 57.44195205785997, + "probeWindows": 6, + "lifetimeOwnBlockPeakUs": 164.96212121212122, + "lifetimeOwnCallPeakUs": 131.21212121212122 + }, + { + "format": "24s", + "condition": "fract-default", + "guardWindowMaxPercent": 88.8, + "guardWindowMaxUs": 322.17581818181816, + "meanIdlePercent": 34.43134735457165, + "probeWindows": 4, + "lifetimeOwnBlockPeakUs": 164.96212121212122, + "lifetimeOwnCallPeakUs": 131.21212121212122 + }, + { + "format": "24s", + "condition": "fract-extreme", + "guardWindowMaxPercent": 85.6, + "guardWindowMaxUs": 310.5658787878788, + "meanIdlePercent": 29.817875598086125, + "probeWindows": 5, + "lifetimeOwnBlockPeakUs": 168.79545454545453, + "lifetimeOwnCallPeakUs": 131.21212121212122 + } + ], + "observedInclusiveOwnBlockPeakUs": 168.79545454545453, + "observedInclusiveOwnCallPeakUs": 131.21212121212122, + "maxCallsPerBlock": 2, + "wholeInterruptGuardShareUs": 290.24242424242425, + "nominalFrameUs": 362.81179138321994, + "maxTimerFrameRelativeError": 0.00015764170541099354, + "newGuardSkips": 0, + "limits": "Inclusive callback peak includes native FLEX and timer/call overhead, excludes trailing probe bookkeeping; lifetime value across cases. Guard maxima cover post-reset settling plus capture, not since boot. No CPU-cycle conversion, staticWCET, exclusive timing, public-package audio qualification, listening or release approval." +} diff --git a/sdk/drafts/fract-machine/release/public-install-20261127-iteration18.json b/sdk/drafts/fract-machine/release/public-install-20261127-iteration18.json new file mode 100644 index 0000000000..88be16fd6c --- /dev/null +++ b/sdk/drafts/fract-machine/release/public-install-20261127-iteration18.json @@ -0,0 +1,46 @@ +{ + "schema": 1, + "hardware": true, + "scope": "INSTALL_INTEGRITY_UNDO_ONLY", + "packageSha256": "f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "sourceRevision": "afe5084a96f6a91f0fe727d1470eb9de5fa7bb2f", + "seconds": 45, + "integrity": { + "state": "passed", + "intact": 1, + "modules": 1 + }, + "trialFaultLogged": false, + "rolledBack": true, + "finalPhase": "normal", + "finalGeneration": 2, + "finalInventory": [], + "finalMissing": [], + "finalSet": "87f28e38d5fe18c3f6133158ddb0369f9b62f2a46b0ada8c8fc19de1ca9885e8", + "norSlots": { + "layout": "two", + "running": 1, + "fellBack": false, + "confirmed": true, + "slots": [ + { + "generation": 8, + "whole": true, + "confirmed": true, + "tries": 1 + }, + { + "generation": 10, + "whole": true, + "confirmed": true, + "tries": 1 + } + ] + }, + "audioQualified": false, + "releaseQualified": false, + "keep": false, + "norWritten": false, + "limits": "Original native project; no module audio/control test on public base. Last eight-Part memory comparison was before this RAM boot; no public MEM driving. Original28CFcontrol files verified before boot; no whole-card/audio-library hash." +} diff --git a/sdk/drafts/fract-machine/release/qualification-20261126.md b/sdk/drafts/fract-machine/release/qualification-20261126.md new file mode 100644 index 0000000000..8f3ba9e3be --- /dev/null +++ b/sdk/drafts/fract-machine/release/qualification-20261126.md @@ -0,0 +1,28 @@ +# Released-base package preparation — 26 November 2026 + +Unlisted FRACT 0.1.4-experimental targets released Modwerk base 0.8.2, +`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`. +Its package is +`bec65df07ae21e76c707247fd97f9851cc424c6d8f6e27ca414d18d9727c9454`. + +The manifest retains native source baseline +`4ed908fa76a5fa93cc2f053242af4e39d80c0ccf`. Current main +`6fcbcd3d114205d033142bb7b618a05b0240a6e1` supplies base 0.8.2; this working +tree adds the descriptor's measured 40% price and measurement-scope documentation. +The build proof binds the actual source hashes. The price-only executable +comparison is in [its receipt](price-only-code-parity-20261126.json). + +No physical USB device was opened during this released-base package's build, +original-stock reconstruction and strict stock-free verification. This exact +released-base package has not yet been tried on the instrument. Separately +relinked development-twin packages have physical observations in the +[hardware record](hardware-20261126.md); those do not silently qualify these +different bytes. Hardware status for this released-base package remains NOT_RUN. + +The [current resource audit](resource-audit-20261126.json) accounts for 31,824 +resident bytes and 712 own callback stack bytes. The legacy current-audit path +`resource-audit-20261125.json` mirrors that audit for existing tooling. The +original 25 November receipt is preserved in `history/20261125/`. + +FRACT remains under sdk/drafts, with no active catalogue row, public download, +module Keep, physical reboot claim or first-release approval for this candidate. diff --git a/sdk/drafts/fract-machine/release/qualification-20261127-iteration10.md b/sdk/drafts/fract-machine/release/qualification-20261127-iteration10.md new file mode 100644 index 0000000000..84d905c5a1 --- /dev/null +++ b/sdk/drafts/fract-machine/release/qualification-20261127-iteration10.md @@ -0,0 +1,11 @@ +# FRACT performance iteration10 — 27 November 2026 + +Unpublished experimental source; full qualification and owner release approval remain pending. Baseline7c088d40 plus local module changes; submitted revision4ed908fa76a5fa93cc2f053242af4e39d80c0ccf is historical provenance. + +Released-base package `bd1f581bba63166bf07620a541ab3d646612ed8140e472e5fac381bb42d2bb01` on base`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`; private normal development twin `abc589e372e4d5af70d9b8371ee1c9619eda17f00aaeb6149b9f35be5080a73d` on base`46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f`. Both fresh reconstructions/strict scans pass,5copies/no fills. Resident extent67376bytes; max own callback stack696bytes, excluding stock/base/interrupt frames. + +The kernel retains iteration9's exact constant-window paths and235048QEMU span comparisons. A module-specific host test verifies every authored window half is monotone. No approximate interpolation, control/sound redesign or CPU guard change was introduced. + +With fixed SCAN, a scheduled launch while all three readers are occupied only returns the earliest retirement. Coalescing that failed event avoids a needless mix split. It applies strictly inside the current call: a launch at or beyond its end retains the original countdown before the next SIZE edit. Actual launches, random states, source clocks and row floors remain unchanged. An independent frozen per-frame scalar oracle matches audio and the complete128byte state in18880callback comparisons across four formats, rapid SIZE changes,13countdown boundaries and10call lengths. + +The exact33-site call graph was re-read after compiler register allocation changed two og_locate calls; targets and frames remain bounded. Hardware retest is separately labelled. No physical USB device was opened by offline build/parity checks. Previous normal twins failed active4chUSB stress; their results do not qualify this package. Full format/companion matrix, listening and persistence remain pending. diff --git a/sdk/drafts/fract-machine/release/qualification-20261127-iteration11.md b/sdk/drafts/fract-machine/release/qualification-20261127-iteration11.md new file mode 100644 index 0000000000..a2093acd58 --- /dev/null +++ b/sdk/drafts/fract-machine/release/qualification-20261127-iteration11.md @@ -0,0 +1,15 @@ +# FRACT performance iteration11 — 27 November 2026 + +Unpublished experimental source; full qualification and owner approval remain pending. Source baseline7c088d40 plus local module changes; submitted revision4ed908fa76a5fa93cc2f053242af4e39d80c0ccf is historical provenance. + +Released-base package `f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73` on base`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`; normal development twin `70131adde2cb026f7fd5f7097391dfc7cece89cdc051eccca9ed97b2ad0b6a45` on base`46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f`. Fresh native builds/reconstruction/strict scans pass:3copies,no fills. Resident extent67344bytes; max own callback stack632bytes, excluding base/stock/interrupt frames. + +The original chunk validation and rendering body is shared in chunk.h. The native renderer inlines it; the external function remains a wrapper for other callers. No check was removed. Constants and known caller arguments can be folded without another function frame. The unused wrapper is pruned from the runtime. + +Five private active-engine host contracts pass:2176native-render fixtures,2880split/pitched packets, owner/invalid-call lifecycle,32768direct chunk comparisons and64START fixtures. Initial private test attempts used the legacy include order with a current-engine flag and failed compilation; corrected active engine/START flags pass with assertions and frozen oracles unchanged. + +Iteration10's fixed-SCAN failed-birth coalescing still matches the independent per-frame oracle in18880audio/full-state callback comparisons, including countdowns at/outside the call end and subsequent SIZE changes. The unchanged kernel retains235048QEMU span comparisons and the authored-half monotonicity test. The independently disassembled33indirect sites retain their caller/opcode/register sequence and reviewed targets. Own call-stack bound falls from696to632bytes. No CPU price40, allowance45, share80, source-kind or sound/control semantics changed. + +No physical USB device was opened by offline build/parity checks. The separate hardware retest failed active4chUSB: baseline6811, first moving-control check6813(+2), through STOP and the whole trial6815(+4). Standard Undo returned normal generation20 with empty inventory. Earlier standalone passes do not qualify these bytes. Full format/companion matrix, listening and persistence remain pending. + +Isolated Linux reproduction (immutable toolchain image3b40aa25…, network disabled, authored/shared source mounted read-only, no original firmware mounted) exactly matches the67,252-byte release package and all59 source-input hashes. Native original-OS strict verification remains separately PASS. diff --git a/sdk/drafts/fract-machine/release/qualification-20261127-iteration17.md b/sdk/drafts/fract-machine/release/qualification-20261127-iteration17.md new file mode 100644 index 0000000000..3c2117b72b --- /dev/null +++ b/sdk/drafts/fract-machine/release/qualification-20261127-iteration17.md @@ -0,0 +1,15 @@ +# FRACT two-reader adoption — 27 November 2026 + +Unlisted 0.1.6-experimental. Native inputs committed at `0de973642fbd33e28f46de8f310419f74458dd5e`; later metadata does not change the package. Earlier revision4ed908fa76a5fa93cc2f053242af4e39d80c0ccf is historical. Native build proofs pin59 exact source inputs; all matched the source commit. + +Released-base package `8c9603a42e6a4ab369d8bfe94fe1f5275a9b4a2c48b285323deb829d486294f0` requires base`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`; development twin `9b86e74087dc4a7495a86850b0dcc3f45881335285d8519e1b4e3f03366e0a60` requires base`46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f`. Both native builds and original-OS reconstruction/strict scans pass:3 copies, no fills. Normalized authored image is identical across base bindings. Public resident extent67376bytes; maximum own callback stack616bytes excludes base/stock/interrupt frames. No sample arena or DSP allocation. + +The user adopted two live readers. The128-byte grain state retains three stored slots; the reserved third slot remains idle and stop/reset clear all three. Birth spacing is one half of the active grain length at maximum density. This intentionally changes density/output level relative to three readers; listening remains required. CPU price40/share80/allowance45 and single-ownerT1–T4 policy are unchanged. + +The development package is byte-identical to iteration16: two targeted active MAIN+CUE4chUSB runs lasted122.128806s and122.562640s, with the guarded-render counter9 to9 and normal standard Undo. No crash/stall/freeze/skipped track was registered. The varying waveform fixture matched all108 LCD columns. These scoped passes do not establish a full format/companion/price matrix, listening, persistence, whole-system stack headroom or worst-case CPU timing. The separately linked released-base package is physically untested. + +No physical USB device was opened by offline build/parity checks. Exact-build full stage1 remains in progress; stage2 listening/Keep/reboot and first-release approval are pending. No waiver is claimed. Original state was restored after the earlier targeted trials. + +Isolated Linux reproduction exactly matched release8c96 and all59source-input hashes, with immutable image3b40aa25, networkdisabled/read-onlysource/nooriginalfirmware. Current physical development results are in [the named report](hardware-20261127-iteration17.md); the failed fixed procedure remains failed. + +Final independent USB readback confirmed released base0.8.2 `24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`, normalgen0, inventory[], missing[], set`87f28e38d5fe18c3f6133158ddb0369f9b62f2a46b0ada8c8fc19de1ca9885e8`. NORrunningconfirmedslot1gen10, oldslot0gen8retained, nofallback. Ownlinks/recorder/MIDIbridge closed, queuefree, Colimastopped. Released-baseMEMis unavailable; exact8Partcomparison was before finalRAMboot. No postbootPartdump is claimed. diff --git a/sdk/drafts/fract-machine/release/qualification-20261127-iteration18.md b/sdk/drafts/fract-machine/release/qualification-20261127-iteration18.md new file mode 100644 index 0000000000..4b2637d476 --- /dev/null +++ b/sdk/drafts/fract-machine/release/qualification-20261127-iteration18.md @@ -0,0 +1,17 @@ +# FRACT0.1.7 all-track preparation + +Native source commit `afe5084a96f6a91f0fe727d1470eb9de5fa7bb2f`. All 59 receipt source-input hashes match this clean module-only branch; later documentation edits do not alter package bytes. + +Release package `f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4`, base`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`; development package `125c0ab3c7ac9b5cf8afc45710bca68ef62f8e55b34c8bb6fa20e6ae2379a165`, base`46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f`. Native stock verification PASS. Compared with0.1.6 the authored image changes exactly one byte, the track-admission compare immediate3to7. Other authored bytes,33indirect sites,3stock copy records and imports are identical. BSS636; no new state orDSPallocations. + +New profile permits one owner onT1–T8. Legacy prototype profiles retainT1–T4 and their existing tests. A new module-local test validates all8owners/64exclusionpairs/invalidtracks/immutablePart. Renderer, two grains, controls andPartABI are unchanged. + +No physical USB device was opened by the offline build/parity checks. Hardware observations below were collected separately. + +macOS and isolated Linux release packages are byte-identical. Offline software/build checks and a 20-second emulator install/integrity/Undo trial passed. Original11 executable units are preserved in the private timing probe. + +Development125c was tested on the physical MKII: fixed T1/T5 and12Part checks,2400-operation control soak, all8single-owner picks,20four-format windows and122sactive4chUSB without new guarded skips. Probe89411 has12 valid timing series. These are development/probe observations, not released-base audio qualification. Failed attempts and remaining release gates are in [the exact hardware record](hardware-20261127-iteration18.md). No Keep/NOR write/waiver/release approval. + +Shared SDK checks are separate contributions: #2283 removes stale reconstruction constants; #2294 checks the declared live-reader count. The qualification worktree includes those corrections, where the 52 SDK cases and nine runtime cases pass. On unmodified main the old checks reproduce their hardcoded three-reader/nine-copy failures; the module-only draft intentionally leaves shared gates unchanged and waits for those PRs to merge. + +Exact public f806/base24e install/integrity/Undo45s passed; independent final normalgen2/empty inventory/missing/set87f28 and unchanged confirmed NORslots. [Install-only receipt](public-install-20261127-iteration18.json) is not audio/release qualification. SDK PR2283 must also accept a pinned install-only receipt without treating it as a full hardware pass. diff --git a/sdk/drafts/fract-machine/release/qualification-20261127-iteration2.md b/sdk/drafts/fract-machine/release/qualification-20261127-iteration2.md new file mode 100644 index 0000000000..cfe05332e7 --- /dev/null +++ b/sdk/drafts/fract-machine/release/qualification-20261127-iteration2.md @@ -0,0 +1,33 @@ +# FRACT 0.1.5 iteration2 offline proof — 27 November 2026 + +Released-base package `a173c1ef4c85974aa02631771558fb52b02956d19001651f22edbe1e08afbd9f`, +base `24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`. Source provenance baseline +`4ed908fa76a5fa93cc2f053242af4e39d80c0ccf`; current working changes are separately captured +in the reviewed reconstruction receipt. Native image bytes52332, +BSS636, package53756. Both unchanged strict stock-free +scanners and original1.40C reconstruction pass. The5 reconstruction references +remain guarded; no firmware bytes or built package are distributed. + +No physical USB device was opened by the offline builder, scans or resource +audit. Separate targeted hardware diagnostics have their own report. This +released-base package is physically untested; development twin package +`011ced3dd2d06ef6c89c905737d12e9b2750480ffaee7e481ef5d28a4d07ade8` on `46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f` +is a different installable package. No transfer of earlier hardware results. + +Current strict audit: 53,744 resident bytes, 107,488 for two +retained copies, 696 own callback stack bytes. All33 indirect call sites +retain the same source functions/registers and reviewed targets at their new +addresses. Assembly frames48/56 and short helper0+returnPC are unchanged. +Stock/base frames, task/interrupt nesting and CPU-cycle bounds remain excluded. + +The short-Hann loop uses scaled addressing and the multiplier's low word +directly; two instructions per sample are removed.16,384 QEMU spans across +four formats and two directions preserve exact audio/guard words and saved +registers. This proves instruction semantics, not hardware speed. For minimum +SIZE441, a16-sample span changes457→425 executed instructions in one named +trace; other tested fallback lengths are unchanged. Grain birth reduces +coordinates before wrapping and skips divisions when the dividend is bounded; +all55 host tests ran,51 passed and4 historical tests skipped. + +Prior a320/ee634 receipts remain in history/20261127-a320. They do not qualify +this iteration. CPUprice40, one T1–T4 owner and the base frame guard are unchanged. diff --git a/sdk/drafts/fract-machine/release/qualification-20261127-iteration4.md b/sdk/drafts/fract-machine/release/qualification-20261127-iteration4.md new file mode 100644 index 0000000000..206b77e128 --- /dev/null +++ b/sdk/drafts/fract-machine/release/qualification-20261127-iteration4.md @@ -0,0 +1,9 @@ +# FRACT performance iteration4 — 27 November2026 + +Unpublished experimental source; no release approval. Source baseline7c088d40 plus local module changes; previous submitted source revision4ed908fa76a5fa93cc2f053242af4e39d80c0ccf remains provenance, not a new commit. + +Released-base package `c4e1e0d20eda9d14e226e0a87ff0de7cd04453591b0f4ecf7f3a0e6dd9a7f3a4` (base24e480…); private development twin `55205d9cba4ab016fd141d218705b8cf11bd571b4b9c0dae7b980e199e594b11` (base46c308…). Fresh stock reconstruction and strict verification pass for both. Native resource audit56192resident bytes and696 own callback stack bytes; excludes stock/base frames and interrupt overhead. + +The shortest Hann loop caches exactly the same interpolated coefficient until the phase crosses its segment. It covers Hann windows up to819frames; larger windows and other shapes retain the existing path. The shifted fractional accumulator uses ADD.L carry/borrow; the end check precedes coefficient reload. 23232 QEMU comparisons, including6848 endpoint cases, preserve audio, untouched accumulator words and callee-saved registers in all four formats and both sample directions. These are semantics and comparative instruction checks, not device timing. + +No physical USB device was opened by offline build/parity checks. The separately labelled hardware retest is running on the developer's Octatrack; no previous hardware result qualifies this package. USB Audio4ch stream and moving controls must pass without new guard skips; full qualification, companion/format matrix, listening and persistence remain pending. diff --git a/sdk/drafts/fract-machine/release/qualification-20261127-iteration6.md b/sdk/drafts/fract-machine/release/qualification-20261127-iteration6.md new file mode 100644 index 0000000000..e2fa348f73 --- /dev/null +++ b/sdk/drafts/fract-machine/release/qualification-20261127-iteration6.md @@ -0,0 +1,11 @@ +# FRACT performance iteration6 — 27 November2026 + +Unpublished experimental source; release remains blocked pending current hardware qualification. Source baseline7c088d40 plus local module changes. Previous submitted revision4ed908fa76a5fa93cc2f053242af4e39d80c0ccf remains historical provenance. + +Released0.8.2 package `49da3babcb91d781c6b8fcbeaa071c948780032734b9e0d3e28dad7f8418aea9` on base`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`; private normal development twin `6ab2ee3d752ebe02042b7e4d2b7702722a6e59503457812b0f3e74d40456567c` on base`46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f`. Both stock reconstruction/verifications pass. Resident memory63808bytes; max own callback stack696bytes, excluding base/stock/interrupt frames. + +A paired loop caches the unchanged window coefficient until its segment changes. It applies to all33window shapes at steps>=0x280000, up to819frame windows; other spans retain the existing path. Odd-prefix and final-pair end checks prevent a coefficient read after the last consumed sample. The helper uses the existing saved register frame, including a6. + +235048 QEMU spans, including218664 endpoint cases, preserve all audio, untouched accumulator words and saved registers in all four formats and both sample directions. The matrix includes every SHPE peak/switch and phase0/2^31 endpoints, and step boundaries. This checks semantics, not hardware timing. SIZE retiming preserves a grain's row and its existing click-free floor; neither was changed. + +ADD.L to a data register supplies the fraction carry/borrow ([NXP ColdFire manual](https://www.nxp.com/docs/en/reference-manual/CFPRM.pdf)). No physical USB device was opened by offline build/parity checks. Hardware retest is separately labelled below. Previous normal development builds failed active4chUSB moving-control stress; no earlier result qualifies this package. Full format/companion matrix, listening and persistence remain pending. diff --git a/sdk/drafts/fract-machine/release/qualification-20261127-iteration9.md b/sdk/drafts/fract-machine/release/qualification-20261127-iteration9.md new file mode 100644 index 0000000000..e4586992dc --- /dev/null +++ b/sdk/drafts/fract-machine/release/qualification-20261127-iteration9.md @@ -0,0 +1,11 @@ +# FRACT performance iteration9 — 27 November 2026 + +Unpublished experimental source; full qualification and owner release approval remain pending. Local baseline7c088d40 plus module changes; submitted revision4ed908fa76a5fa93cc2f053242af4e39d80c0ccf remains historical provenance. + +Released-base package `66f8a8404531461fbc1c91cf75e61e07e3540166b1df1cb77163dc8510aae272` on base`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`. Private normal development twin `80f7430a4373254258e635c0bdc3488bec32f919c17c8cf34a49bc37a72f722a` on base`46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f`. Fresh stock reconstruction/strict verification pass for both,5copies/no fills. Memory67392resident bytes;696own callback stack bytes (excludes base/stock/interrupt frames). + +The kernel caches coefficients in short windows, uses a constant-gain loop for flat segments, and skips interpolation for a whole short span when the two endpoint coefficient pairs prove it constant. That shortcut is restricted to the authored SHPE table and relies on each window half being monotone. A new host test checks every authored half; native QEMU235048spans cover all33shapes, all four PCM formats, both sample directions, endpoint phases and step boundaries. Audio, untouched accumulator words and saved registers are identical. + +A private instrumented development build found a138.99us inclusive peak:54.92us mixing,21.69us native FLEX, source16frames in one grain call/output16, all three latched heads at SHPE28. This shape has100constant segments of128. The instruction/access model reduces a16frame SHPE28 case by roughly34.5%; this is not hardware timing. No sound, SIZE floors, control meaning, CPU price40, allowance45 or guard share80 changed. + +No physical USB device was opened by offline build/parity checks. The separately labelled normal development hardware retest is running. Previous normal builds failed active four-channel USB stress and their failures remain recorded. Instrumented probes are diagnostic and introduced additional overhead; they do not qualify a release. Full format/companion matrix, listening and persistence remain pending. diff --git a/sdk/drafts/fract-machine/release/qualification-20261127.md b/sdk/drafts/fract-machine/release/qualification-20261127.md new file mode 100644 index 0000000000..91e594665e --- /dev/null +++ b/sdk/drafts/fract-machine/release/qualification-20261127.md @@ -0,0 +1,27 @@ +# FRACT 0.1.5 offline build — 27 November 2026 + +Unlisted released-base package `ee63420569f637d78d3eabba6b209366d76db4a1587e460996cfd1a8b7ff8865` requires base +`24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5` (Modwerk0.8.2). The source provenance baseline +remains `4ed908fa76a5fa93cc2f053242af4e39d80c0ccf`; this is a modified working tree, +not byte identity with that revision. The reconstruction receipt pins all native +source inputs and normalized authored image `96ffb083f9e517170ab6af9f2e0592b801df18e89a3793d87396ae1a4fb4bc50`. + +Native GCC16.2 reconstruction against the author's original1.40C is byte-exact. +Both unchanged strict stock-free scanners pass on the encoded package; five +guarded copy references reconstruct authored coincidences locally. No firmware, +extracted tables, memory dumps, audio or built packages are distributed. +No physical USB device was opened by these offline build, scanner and resource +checks. Separate hardware activity is attributed in [its report](hardware-20261127.md). + +The current audit accounts for 53,840 resident bytes, 107,680 bytes +for two retained copies and 696 bytes of own callback stack. It pins the exact +image, loader inputs and all33 indirect calls. `og_short_setup` uses zero local +stack bytes plus one4-byte return PC inside the saved assembly frame. Stock/base +frames and interrupt nesting remain excluded. No CPU-cycle or whole-system +stack claim follows. The legacy25Nov audit filename mirrors the current audit +for the existing metadata test; the original receipts remain in dated history. + +Released-base package hardware: **NOT RUN**. Development normal package +`a3200c887f24112f5f4a94d60626458a8b516baf7baf4b5e5abdfe4b41516066` on base `46c30886a7e8f3f6091622b6c09acd20edad8ec91cc60d1daee60852123f3e4f` is a different installable +package. Its standalone stress observation is not a release pass; active USB +audio still fails. No waiver, publication, module Keep or author listening claim. diff --git a/sdk/drafts/fract-machine/release/reconstruction.json b/sdk/drafts/fract-machine/release/reconstruction.json index c19ea4e419..2a0b20a21e 100644 --- a/sdk/drafts/fract-machine/release/reconstruction.json +++ b/sdk/drafts/fract-machine/release/reconstruction.json @@ -1,107 +1,67 @@ { "schema": 1, - "imageSha256": "d343d813e212ff9d8c4595cac479efb57da0047edd89ce8bd6ef1ff16e828a3f", + "imageSha256": "2604a572c063c971b90ec2754727420a552218e7549d956d341d7fc72bdfa618", "sources": { "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/chunk.h": "d39d92d23b559028102f57b200148f3997578fd9882d8937b7f27e438b1efe4a", "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", - "module/engine/grain.c": "2d5233909b681098810c4a0f3b6f85ddcf3cfbc5179749d6f0ac5452822081d1", + "module/engine/grain.c": "d917b76a685d5d1c3c69e92567821e5799fcb147afc20e5b02e51c1504c2a220", "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", - "module/engine/kernel.s": "643e34e4c1b75557e365f07030788d2a274fb7b5aa0f30acc5efb699fae6ad1a", + "module/engine/kernel.s": "6669639baeffeb6e6e387404c7a17071aba1fe75f98f245fabe69a141b4399ae", "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", - "module/engine/pitch.c": "b49882cccb3a74a5c039b29a1b07e6f4ca8ed7d937fd02b7ccb3d643b9e9ec1c", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", - "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.c": "e25f4fac61ff122b4e031897d4b2974a9a7cb3ed2a009a6b42f4d6c46dff455b", "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", - "module/registration.c": "248393a35a2ae39c3d99cf2b8d337c2883b740378bfd0f7ed083bcb8d9f90e7e", - "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/registration.c": "0b701079aa579e0fd79b2161d34050fa33f62eaf79238da01791ae1ca7de7e95", + "module/render.c": "68ee8e71398c672ef84e075051a1c08f0e141e234a902f244c7d5d66923fa69d", "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", - "module/runtime-build.json": "28458553c69014d31c67cfae3dfff72d96cd16392db749ad03e80e0e5c6c3b97", + "module/runtime-build.json": "6571ad94ccb81868a5e3072d9815c5781887b79e31c3e9787ee3436e348de91a", "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", - "module/selection.h": "f2869ec9179878a3ba7020472725219602c0de3c1b331c8069dec68d6272b0ba", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", - "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", - "module/support/pan.h": "e1a05cf6d36716e5c0b0aaca19c19a86d7fa9669956ce97b2cfa2461420128eb", + "module/support/grain.h": "dff47876625734c4f9b80d76c35596cba067a91b50e897f273c09423ab37ae6f", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", - "module/support/sizes.h": "0e82d939929976de7aa3f0c17e014c34a45bbdc4ea68e92a30c58d40b17081bb", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", - "module/support/window.h": "963478023953646d95e089110dae034de29aeb4c6c964d8e45ff39f3e9aeb34a", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575" }, "copies": [ { - "offset": 6488, - "length": 13, - "address": 1073973354, - "sha256": "2393ebbe40716982dc0fc11a30e3e53f13d60755b68dc8f156a4cf02ec77c2f2", - "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" - }, - { - "offset": 10498, - "length": 18, - "address": 1073759904, - "sha256": "21fa9b2f73fd45425816040111feafeef4bc4894e08875d45b73907959f9b968", - "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" - }, - { - "offset": 10654, + "offset": 26902, "length": 12, "address": 1073851016, "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" }, { - "offset": 11216, - "length": 12, - "address": 1073851016, - "sha256": "bf5430043c8a12a1b41ec5885c35df271f94f8fcb710a4631e301dd2358ca193", - "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" - }, - { - "offset": 14830, + "offset": 31624, "length": 12, "address": 1074093666, "sha256": "cd309c74b16baa09c3d70ddd23ce1bd3fec58f9facb94cd9ca93eaeabcab993b", "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" }, { - "offset": 14842, + "offset": 31636, "length": 13, "address": 1073821810, "sha256": "a517b1ff860128401ddcb25f632699d7ba2288ca974b6dbfa3999254aff49af6", "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" - }, - { - "offset": 16664, - "length": 14, - "address": 1074362300, - "sha256": "9e3dd6327de2534128db7663c70f00d765756b788a6ef05047e2857e5963ef78", - "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" - }, - { - "offset": 18682, - "length": 12, - "address": 1074632928, - "sha256": "46b13fd6f448673e784e0a160137853a497770078ee9f9796b6d893b0d5594bb", - "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" - }, - { - "offset": 18694, - "length": 1, - "address": 1073742859, - "sha256": "36a9e7f1c95b82ffb99743e0c5c4ce95d83c9a430aac59f84ef3cbfab6145068", - "purpose": "fract-machine: authored bytes coinciding with stock (strict scan), reconstructed from the identical bytes of the user's OS; review" } ], "fills": [], "baseImports": [ { - "offset": 14816, + "offset": 31610, "name": "mw_stock_pool_open", "addend": 0 } diff --git a/sdk/drafts/fract-machine/release/resource-audit-20261125.json b/sdk/drafts/fract-machine/release/resource-audit-20261125.json index 20e8e29197..72757a2d41 100644 --- a/sdk/drafts/fract-machine/release/resource-audit-20261125.json +++ b/sdk/drafts/fract-machine/release/resource-audit-20261125.json @@ -1,24 +1,24 @@ { "schema": 1, "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", - "packageSha256": "c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29", - "authoredImageSha256": "a80a7032c23c5e76fd1943f3bcd07ba5e3bbca215942bf1e35298f292c87e577", + "packageSha256": "f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4", + "authoredImageSha256": "f771665a61ca60650ed66a25d70bf69f900e6735e4fb4caf5f9b0bb1e25875bf", "compiler": "m68k-elf-gcc (GCC) 16.2.0", "loaderInputs": { "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", - "sdk/runtime/loader/loader.c": "69bbdf33558eddb7cba344f550ce6ab06bfc4d0986ea950b988b681d1ed41d8a" + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" }, "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", - "imageBytes": 30416, + "imageBytes": 65964, "bssBytes": 636, - "packageBytes": 31948, - "relocations": 227, + "packageBytes": 67284, + "relocations": 240, "memory": { "runtimeHeaderBytes": 754, "headerAlignmentBytes": 14, - "imageBssAlignmentBytes": 4, - "residentPoolExtentBytes": 31824, - "sameCandidateReplacementPeakPoolBytes": 63648, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 67376, + "sameCandidateReplacementPeakPoolBytes": 134752, "dspCodeWordsAdded": 0, "dspStateWordsAdded": 0, "sampleArenaBytesAllocated": 0, @@ -29,7 +29,7 @@ "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." }, "stack": { - "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly leaves; 4-byte JSR return PCs", + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte regular/joined assembly frames, 4-byte single-frame leaf, zero-local short-Hann helper; 4-byte call return PCs", "perEntry": { "fract_ui_control_text": { "bytesIncludingEntryReturnPC": 44, @@ -39,12 +39,12 @@ ] }, "fract_ui_draw": { - "bytesIncludingEntryReturnPC": 208, + "bytesIncludingEntryReturnPC": 188, "chain": [ "fract_ui_draw", "fract_ui_overview_draw", "ui_text", - "ui_pixel" + "ui_column_bits" ] }, "fract_ui_machine_icon": { @@ -54,11 +54,11 @@ ] }, "fract_ui_overview_draw": { - "bytesIncludingEntryReturnPC": 176, + "bytesIncludingEntryReturnPC": 156, "chain": [ "fract_ui_overview_draw", "ui_text", - "ui_pixel" + "ui_column_bits" ] }, "fract_ui_pool_heading": { @@ -103,13 +103,13 @@ ] }, "module_draw": { - "bytesIncludingEntryReturnPC": 208, + "bytesIncludingEntryReturnPC": 188, "chain": [ "module_draw", "fract_ui_draw", "fract_ui_overview_draw", "ui_text", - "ui_pixel" + "ui_column_bits" ] }, "module_tick": { @@ -134,7 +134,7 @@ ] }, "og_engine": { - "bytesIncludingEntryReturnPC": 444, + "bytesIncludingEntryReturnPC": 412, "chain": [ "og_engine", "og_join_span" @@ -146,12 +146,6 @@ "og_grain_layout_upgrade" ] }, - "og_hop": { - "bytesIncludingEntryReturnPC": 8, - "chain": [ - "og_hop" - ] - }, "og_join_span": { "bytesIncludingEntryReturnPC": 60, "chain": [ @@ -183,14 +177,6 @@ "og_machine_base_ready" ] }, - "og_machine_chunk": { - "bytesIncludingEntryReturnPC": 524, - "chain": [ - "og_machine_chunk", - "og_engine", - "og_join_span" - ] - }, "og_machine_leave": { "bytesIncludingEntryReturnPC": 12, "chain": [ @@ -212,10 +198,9 @@ ] }, "og_machine_render": { - "bytesIncludingEntryReturnPC": 712, + "bytesIncludingEntryReturnPC": 616, "chain": [ "og_machine_render", - "og_machine_chunk", "og_engine", "og_join_span" ] @@ -234,22 +219,24 @@ "og_grain_layout_upgrade" ] }, - "og_mix_span": { - "bytesIncludingEntryReturnPC": 52, + "og_mix_one": { + "bytesIncludingEntryReturnPC": 8, "chain": [ - "og_mix_span" + "og_mix_one" ] }, - "og_mix_span_reverse": { - "bytesIncludingEntryReturnPC": 52, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, "chain": [ - "og_mix_span_reverse" + "og_mix_span", + "og_short_setup" ] }, - "og_pan_root": { - "bytesIncludingEntryReturnPC": 12, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, "chain": [ - "og_pan_root" + "og_mix_span_reverse", + "og_short_setup" ] }, "og_pool_assign": { @@ -300,16 +287,15 @@ ] }, "og_reset": { - "bytesIncludingEntryReturnPC": 16, + "bytesIncludingEntryReturnPC": 4, "chain": [ - "og_reset", - "og_stop" + "og_reset" ] }, - "og_scan_advance": { - "bytesIncludingEntryReturnPC": 16, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, "chain": [ - "og_scan_advance" + "og_short_setup" ] }, "og_size": { @@ -337,10 +323,9 @@ ] }, "pan_birth": { - "bytesIncludingEntryReturnPC": 40, + "bytesIncludingEntryReturnPC": 28, "chain": [ - "pan_birth", - "og_pan_root" + "pan_birth" ] }, "range_text": { @@ -349,6 +334,12 @@ "range_text" ] }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, "ui_peak": { "bytesIncludingEntryReturnPC": 64, "chain": [ @@ -356,17 +347,11 @@ "og_locate" ] }, - "ui_pixel": { - "bytesIncludingEntryReturnPC": 8, - "chain": [ - "ui_pixel" - ] - }, "ui_text": { - "bytesIncludingEntryReturnPC": 68, + "bytesIncludingEntryReturnPC": 76, "chain": [ "ui_text", - "ui_pixel" + "ui_column_bits" ] }, "ui_unsigned": { @@ -376,51 +361,51 @@ ] } }, - "maxOwnCallbackBytes": 712, + "maxOwnCallbackBytes": 616, "externalBoundaries": [ { "caller": "og_machine_render", - "at": "0x2970", + "at": "0x68ee", "target": "native FLEX render" }, { "caller": "og_machine_render", - "at": "0x2a22", + "at": "0x69a0", "target": "native FLEX render" }, { "caller": "og_machine_render", - "at": "0x2b72", + "at": "0x6afa", "target": "native FLEX render" }, { "caller": "og_machine_start", - "at": "0x2fa0", + "at": "0x70cc", "target": "native FLEX START" }, { "caller": "og_machine_start", - "at": "0x30b4", + "at": "0x71d2", "target": "native FLEX START" }, { "caller": "og_pool_left", - "at": "0x3286", + "at": "0x73a4", "target": "native browser leave" }, { "caller": "og_pool_open", - "at": "0x39de", + "at": "0x7b78", "target": "base stock-pool open" }, { "caller": "og_pool_open", - "at": "0x39f2", + "at": "0x7b8c", "target": "native browser redraw" }, { "caller": "og_machine_ui_tick", - "at": "0x3d16", + "at": "0x7eb0", "target": "native parameter publication" } ], @@ -432,34 +417,36 @@ "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/chunk.h": "d39d92d23b559028102f57b200148f3997578fd9882d8937b7f27e438b1efe4a", "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", - "module/engine/grain.c": "2d5233909b681098810c4a0f3b6f85ddcf3cfbc5179749d6f0ac5452822081d1", + "module/engine/grain.c": "d917b76a685d5d1c3c69e92567821e5799fcb147afc20e5b02e51c1504c2a220", "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", - "module/engine/kernel.s": "643e34e4c1b75557e365f07030788d2a274fb7b5aa0f30acc5efb699fae6ad1a", + "module/engine/kernel.s": "6669639baeffeb6e6e387404c7a17071aba1fe75f98f245fabe69a141b4399ae", "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", - "module/engine/pitch.c": "b49882cccb3a74a5c039b29a1b07e6f4ca8ed7d937fd02b7ccb3d643b9e9ec1c", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", - "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.c": "e25f4fac61ff122b4e031897d4b2974a9a7cb3ed2a009a6b42f4d6c46dff455b", "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", - "module/registration.c": "248393a35a2ae39c3d99cf2b8d337c2883b740378bfd0f7ed083bcb8d9f90e7e", - "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/registration.c": "0b701079aa579e0fd79b2161d34050fa33f62eaf79238da01791ae1ca7de7e95", + "module/render.c": "68ee8e71398c672ef84e075051a1c08f0e141e234a902f244c7d5d66923fa69d", "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", - "module/runtime-build.json": "28458553c69014d31c67cfae3dfff72d96cd16392db749ad03e80e0e5c6c3b97", + "module/runtime-build.json": "6571ad94ccb81868a5e3072d9815c5781887b79e31c3e9787ee3436e348de91a", "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", - "module/selection.h": "f2869ec9179878a3ba7020472725219602c0de3c1b331c8069dec68d6272b0ba", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", - "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", - "module/support/pan.h": "e1a05cf6d36716e5c0b0aaca19c19a86d7fa9669956ce97b2cfa2461420128eb", + "module/support/grain.h": "dff47876625734c4f9b80d76c35596cba067a91b50e897f273c09423ab37ae6f", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", - "module/support/sizes.h": "0e82d939929976de7aa3f0c17e014c34a45bbdc4ea68e92a30c58d40b17081bb", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", - "module/support/window.h": "963478023953646d95e089110dae034de29aeb4c6c964d8e45ff39f3e9aeb34a", - "sdk/machines/octatrack/base-binding.json": "ef1f4a25febea5efba3ee0d68c1b4ce14768105c963cc89d066afff2e6630423", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", @@ -467,7 +454,7 @@ "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", - "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "6336c0d006bfc69f0ae3e72626e7642b1445e724e1a9d5150cfb43ff6c220a03", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", @@ -485,6 +472,6 @@ "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", - "src/engine/assets/octatrack-base.elemod": "390f74e9b8f362ccd24172cc5672e5262dec1a2877323ed7a8ac368378d4753a" + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" } } diff --git a/sdk/drafts/fract-machine/release/resource-audit-20261126.json b/sdk/drafts/fract-machine/release/resource-audit-20261126.json new file mode 100644 index 0000000000..5c866805d1 --- /dev/null +++ b/sdk/drafts/fract-machine/release/resource-audit-20261126.json @@ -0,0 +1,490 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "bec65df07ae21e76c707247fd97f9851cc424c6d8f6e27ca414d18d9727c9454", + "authoredImageSha256": "7bdba3f66da8d38a830d0aa76271a3ba5ac55e6d48aad8553bef811c2f7592ea", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 30416, + "bssBytes": 636, + "packageBytes": 31948, + "relocations": 227, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 4, + "residentPoolExtentBytes": 31824, + "sameCandidateReplacementPeakPoolBytes": 63648, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly leaves; 4-byte JSR return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 208, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 176, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 208, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_pixel" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 444, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_hop": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_hop" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 524, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 712, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 52, + "chain": [ + "og_mix_span" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 52, + "chain": [ + "og_mix_span_reverse" + ] + }, + "og_pan_root": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_pan_root" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_reset", + "og_stop" + ] + }, + "og_scan_advance": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_scan_advance" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 40, + "chain": [ + "pan_birth", + "og_pan_root" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_pixel": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "ui_pixel" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 68, + "chain": [ + "ui_text", + "ui_pixel" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 712, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x2970", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x2a22", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x2b72", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x2fa0", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x30b4", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x3286", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x39de", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x39f2", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x3d16", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "2d5233909b681098810c4a0f3b6f85ddcf3cfbc5179749d6f0ac5452822081d1", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "643e34e4c1b75557e365f07030788d2a274fb7b5aa0f30acc5efb699fae6ad1a", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "b49882cccb3a74a5c039b29a1b07e6f4ca8ed7d937fd02b7ccb3d643b9e9ec1c", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "28458553c69014d31c67cfae3dfff72d96cd16392db749ad03e80e0e5c6c3b97", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "f2869ec9179878a3ba7020472725219602c0de3c1b331c8069dec68d6272b0ba", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1a05cf6d36716e5c0b0aaca19c19a86d7fa9669956ce97b2cfa2461420128eb", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "0e82d939929976de7aa3f0c17e014c34a45bbdc4ea68e92a30c58d40b17081bb", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "963478023953646d95e089110dae034de29aeb4c6c964d8e45ff39f3e9aeb34a", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration10.json b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration10.json new file mode 100644 index 0000000000..6ffb61613a --- /dev/null +++ b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration10.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "bd1f581bba63166bf07620a541ab3d646612ed8140e472e5fac381bb42d2bb01", + "authoredImageSha256": "622316cef4df32eff42486ddb548bb92dda9b82039af7d1addfbd43c28b22876", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 65968, + "bssBytes": 636, + "packageBytes": 67380, + "relocations": 241, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 4, + "residentPoolExtentBytes": 67376, + "sameCandidateReplacementPeakPoolBytes": 134752, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x6970", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6a22", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6b72", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x6fa0", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x70a6", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x7278", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x7a4c", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x7a60", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x7d84", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "92889c4925d28f7a20b0fac2ddaf6dc42751fea10fee829d379dbab4b33ec96e", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c4d11829cdc62ae92b08fc5383aed854cb2c17ad1126b0152e6ac1353cab6021", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration11.json b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration11.json new file mode 100644 index 0000000000..b60b6c5c42 --- /dev/null +++ b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration11.json @@ -0,0 +1,471 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73", + "authoredImageSha256": "1fb132d26fb7d4cb9269116a7c4f2f49e901866bdafad8f3f9a6e4f7deeafff2", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 65932, + "bssBytes": 636, + "packageBytes": 67252, + "relocations": 240, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 67344, + "sameCandidateReplacementPeakPoolBytes": 134688, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 632, + "chain": [ + "og_machine_render", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 632, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x681e", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x68d0", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6a2a", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x6ffc", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x7102", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x72d4", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x7aa8", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x7abc", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x7de0", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/chunk.h": "d39d92d23b559028102f57b200148f3997578fd9882d8937b7f27e438b1efe4a", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "92889c4925d28f7a20b0fac2ddaf6dc42751fea10fee829d379dbab4b33ec96e", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c4d11829cdc62ae92b08fc5383aed854cb2c17ad1126b0152e6ac1353cab6021", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "e25f4fac61ff122b4e031897d4b2974a9a7cb3ed2a009a6b42f4d6c46dff455b", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "68ee8e71398c672ef84e075051a1c08f0e141e234a902f244c7d5d66923fa69d", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration17.json b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration17.json new file mode 100644 index 0000000000..d152ea06a9 --- /dev/null +++ b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration17.json @@ -0,0 +1,477 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "8c9603a42e6a4ab369d8bfe94fe1f5275a9b4a2c48b285323deb829d486294f0", + "authoredImageSha256": "802ce2d8a7400581decbb4d2afe78ebc87f67c96c192eb7abe9529a4f8f2a0e8", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 65964, + "bssBytes": 636, + "packageBytes": 67284, + "relocations": 240, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 67376, + "sameCandidateReplacementPeakPoolBytes": 134752, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte regular/joined assembly frames, 4-byte single-frame leaf, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 412, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 616, + "chain": [ + "og_machine_render", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_one": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_mix_one" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 616, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x68ee", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x69a0", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6afa", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x70cc", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x71d2", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x73a4", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x7b78", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x7b8c", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x7eb0", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/chunk.h": "d39d92d23b559028102f57b200148f3997578fd9882d8937b7f27e438b1efe4a", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "d917b76a685d5d1c3c69e92567821e5799fcb147afc20e5b02e51c1504c2a220", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "6669639baeffeb6e6e387404c7a17071aba1fe75f98f245fabe69a141b4399ae", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "e25f4fac61ff122b4e031897d4b2974a9a7cb3ed2a009a6b42f4d6c46dff455b", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "68ee8e71398c672ef84e075051a1c08f0e141e234a902f244c7d5d66923fa69d", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "dff47876625734c4f9b80d76c35596cba067a91b50e897f273c09423ab37ae6f", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration18.json b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration18.json new file mode 100644 index 0000000000..72757a2d41 --- /dev/null +++ b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration18.json @@ -0,0 +1,477 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4", + "authoredImageSha256": "f771665a61ca60650ed66a25d70bf69f900e6735e4fb4caf5f9b0bb1e25875bf", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 65964, + "bssBytes": 636, + "packageBytes": 67284, + "relocations": 240, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 67376, + "sameCandidateReplacementPeakPoolBytes": 134752, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte regular/joined assembly frames, 4-byte single-frame leaf, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 412, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 616, + "chain": [ + "og_machine_render", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_one": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_mix_one" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 616, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x68ee", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x69a0", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6afa", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x70cc", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x71d2", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x73a4", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x7b78", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x7b8c", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x7eb0", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/chunk.h": "d39d92d23b559028102f57b200148f3997578fd9882d8937b7f27e438b1efe4a", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "d917b76a685d5d1c3c69e92567821e5799fcb147afc20e5b02e51c1504c2a220", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "6669639baeffeb6e6e387404c7a17071aba1fe75f98f245fabe69a141b4399ae", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "e25f4fac61ff122b4e031897d4b2974a9a7cb3ed2a009a6b42f4d6c46dff455b", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "0b701079aa579e0fd79b2161d34050fa33f62eaf79238da01791ae1ca7de7e95", + "module/render.c": "68ee8e71398c672ef84e075051a1c08f0e141e234a902f244c7d5d66923fa69d", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "6571ad94ccb81868a5e3072d9815c5781887b79e31c3e9787ee3436e348de91a", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "dff47876625734c4f9b80d76c35596cba067a91b50e897f273c09423ab37ae6f", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration2.json b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration2.json new file mode 100644 index 0000000000..b77220be6b --- /dev/null +++ b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration2.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "a173c1ef4c85974aa02631771558fb52b02956d19001651f22edbe1e08afbd9f", + "authoredImageSha256": "cf675eba2d288491787001dfc4c1e41f375c12e31afd7ff32acefd3959db4c9e", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 52332, + "bssBytes": 636, + "packageBytes": 53756, + "relocations": 244, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 53744, + "sameCandidateReplacementPeakPoolBytes": 107488, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x3320", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x33d2", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x3522", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x3950", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x3a56", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x3c28", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x43fc", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x4410", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x4734", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "a773970ae23127bb4af2a31d4aff5399e92abd48870a99223ce0237f7d03e2b3", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration4.json b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration4.json new file mode 100644 index 0000000000..c8888262bd --- /dev/null +++ b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration4.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "c4e1e0d20eda9d14e226e0a87ff0de7cd04453591b0f4ecf7f3a0e6dd9a7f3a4", + "authoredImageSha256": "d694a519e1f6ce19af002f48ca9ff7b41070b747c4c70d7850f12a98d33896ed", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 54784, + "bssBytes": 636, + "packageBytes": 56204, + "relocations": 243, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 4, + "residentPoolExtentBytes": 56192, + "sameCandidateReplacementPeakPoolBytes": 112384, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x3cb6", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x3d68", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x3eb8", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x42e6", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x43ec", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x45be", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x4d92", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x4da6", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x50ca", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "7c1a8bb7010fec2a6e9141282bfb609c180d49963bbd0be2ca2d675d50a8f7b4", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration6.json b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration6.json new file mode 100644 index 0000000000..752a8d26ea --- /dev/null +++ b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration6.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "49da3babcb91d781c6b8fcbeaa071c948780032734b9e0d3e28dad7f8418aea9", + "authoredImageSha256": "1185502cae9ee71372f8843ee133fe79b9d6edf10ebd10831700b249bb013745", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 62408, + "bssBytes": 636, + "packageBytes": 63820, + "relocations": 241, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 12, + "residentPoolExtentBytes": 63824, + "sameCandidateReplacementPeakPoolBytes": 127648, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x5b7e", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x5c30", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x5d80", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x61ae", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x62b4", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x6486", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x6c5a", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x6c6e", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x6f92", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "ec00069d70338c6595abcbd4f76d4536cc54aee533bfe3426a5ad5902be91668", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration9.json b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration9.json new file mode 100644 index 0000000000..9d1b723ce6 --- /dev/null +++ b/sdk/drafts/fract-machine/release/resource-audit-20261127-iteration9.json @@ -0,0 +1,479 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "66f8a8404531461fbc1c91cf75e61e07e3540166b1df1cb77163dc8510aae272", + "authoredImageSha256": "4e15c677d2529ddfa644128d1bc49ea81bd68c2d521b628a11b5a89cf679cc8d", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 65980, + "bssBytes": 636, + "packageBytes": 67396, + "relocations": 242, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 67392, + "sameCandidateReplacementPeakPoolBytes": 134784, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_chunk": { + "bytesIncludingEntryReturnPC": 508, + "chain": [ + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 696, + "chain": [ + "og_machine_render", + "og_machine_chunk", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 696, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x6970", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6a22", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6b72", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x6fa0", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x70a6", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x7278", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x7a4c", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x7a60", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x7d84", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "ee48a5e915ae51a4dfa78c8c1623076ae41b77cb9a4f599734ccb69f23354a87", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c4d11829cdc62ae92b08fc5383aed854cb2c17ad1126b0152e6ac1353cab6021", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "4877588007cd5f7cda73bcf4d925f03b70379f07b19f3405aca27d6564eff36f", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "fa4cff0f3b0aa8df3db966bbb9d777b874e39052c12679a814b11d3968f134ce", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/resource-audit-20261127.json b/sdk/drafts/fract-machine/release/resource-audit-20261127.json new file mode 100644 index 0000000000..b60b6c5c42 --- /dev/null +++ b/sdk/drafts/fract-machine/release/resource-audit-20261127.json @@ -0,0 +1,471 @@ +{ + "schema": 1, + "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED", + "packageSha256": "f291ba64755853538d965a90eb467291b91a790672cbd1b6b50f6dfd98590e73", + "authoredImageSha256": "1fb132d26fb7d4cb9269116a7c4f2f49e901866bdafad8f3f9a6e4f7deeafff2", + "compiler": "m68k-elf-gcc (GCC) 16.2.0", + "loaderInputs": { + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/loader.c": "c0128cf05d77809835a288b97e0c02df32aa2b3e48a47735e060870651aa47fc" + }, + "loaderAggregateAlignment": "2 bytes (base default; explicit -mno-align-int probe)", + "imageBytes": 65932, + "bssBytes": 636, + "packageBytes": 67252, + "relocations": 240, + "memory": { + "runtimeHeaderBytes": 754, + "headerAlignmentBytes": 14, + "imageBssAlignmentBytes": 8, + "residentPoolExtentBytes": 67344, + "sameCandidateReplacementPeakPoolBytes": 134688, + "dspCodeWordsAdded": 0, + "dspStateWordsAdded": 0, + "sampleArenaBytesAllocated": 0, + "baseOwnerLedgerEntryBytes": 88, + "baseOwnerLedgerNote": "Consumes one entry in the base preallocated ledger; no additional module-pool allocation.", + "runtimeSiteBytes": 74, + "declaredPatchedSites": 0, + "method": "Target sizeof and loader.c aligned head+code+tail; this candidate has no sites or DSP tail." + }, + "stack": { + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly frames, zero-local short-Hann helper; 4-byte call return PCs", + "perEntry": { + "fract_ui_control_text": { + "bytesIncludingEntryReturnPC": 44, + "chain": [ + "fract_ui_control_text", + "ui_unsigned" + ] + }, + "fract_ui_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_machine_icon": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_machine_icon" + ] + }, + "fract_ui_overview_draw": { + "bytesIncludingEntryReturnPC": 156, + "chain": [ + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "fract_ui_pool_heading": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "fract_ui_pool_heading", + "memcpy" + ] + }, + "fract_ui_pool_title_context": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "fract_ui_pool_title_context", + "og_pool_context", + "og_pool_signed" + ] + }, + "fract_ui_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "fract_ui_visible": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "fract_ui_visible" + ] + }, + "memcpy": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "memcpy" + ] + }, + "memset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "memset" + ] + }, + "module_draw": { + "bytesIncludingEntryReturnPC": 188, + "chain": [ + "module_draw", + "fract_ui_draw", + "fract_ui_overview_draw", + "ui_text", + "ui_column_bits" + ] + }, + "module_tick": { + "bytesIncludingEntryReturnPC": 164, + "chain": [ + "module_tick", + "fract_ui_tick", + "ui_peak", + "og_locate" + ] + }, + "modwerk_page_put32.constprop.0": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "modwerk_page_put32.constprop.0" + ] + }, + "og_describe": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "og_describe" + ] + }, + "og_engine": { + "bytesIncludingEntryReturnPC": 428, + "chain": [ + "og_engine", + "og_join_span" + ] + }, + "og_grain_layout_upgrade": { + "bytesIncludingEntryReturnPC": 32, + "chain": [ + "og_grain_layout_upgrade" + ] + }, + "og_join_span": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span" + ] + }, + "og_join_span_reverse": { + "bytesIncludingEntryReturnPC": 60, + "chain": [ + "og_join_span_reverse" + ] + }, + "og_locate": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_locate" + ] + }, + "og_machine_admit": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_admit", + "og_machine_base_ready" + ] + }, + "og_machine_base_ready": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_machine_base_ready" + ] + }, + "og_machine_leave": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "og_machine_leave", + "og_machine_base_ready" + ] + }, + "og_machine_owns": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_machine_owns" + ] + }, + "og_machine_page": { + "bytesIncludingEntryReturnPC": 84, + "chain": [ + "og_machine_page", + "page_text" + ] + }, + "og_machine_render": { + "bytesIncludingEntryReturnPC": 632, + "chain": [ + "og_machine_render", + "og_engine", + "og_join_span" + ] + }, + "og_machine_start": { + "bytesIncludingEntryReturnPC": 80, + "chain": [ + "og_machine_start", + "og_machine_base_ready" + ] + }, + "og_machine_ui_tick": { + "bytesIncludingEntryReturnPC": 72, + "chain": [ + "og_machine_ui_tick", + "og_grain_layout_upgrade" + ] + }, + "og_mix_span": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span", + "og_short_setup" + ] + }, + "og_mix_span_reverse": { + "bytesIncludingEntryReturnPC": 56, + "chain": [ + "og_mix_span_reverse", + "og_short_setup" + ] + }, + "og_pool_assign": { + "bytesIncludingEntryReturnPC": 92, + "chain": [ + "og_pool_assign", + "og_grain_layout_upgrade" + ] + }, + "og_pool_chooser": { + "bytesIncludingEntryReturnPC": 24, + "chain": [ + "og_pool_chooser", + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_context": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "og_pool_context", + "og_pool_signed" + ] + }, + "og_pool_controls_changed": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_controls_changed" + ] + }, + "og_pool_left": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_pool_left" + ] + }, + "og_pool_open": { + "bytesIncludingEntryReturnPC": 36, + "chain": [ + "og_pool_open", + "og_pool_signed" + ] + }, + "og_pool_signed": { + "bytesIncludingEntryReturnPC": 8, + "chain": [ + "og_pool_signed" + ] + }, + "og_reset": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_reset" + ] + }, + "og_short_setup": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_short_setup" + ] + }, + "og_size": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_size" + ] + }, + "og_stop": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "og_stop" + ] + }, + "page_text": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "page_text" + ] + }, + "page_word": { + "bytesIncludingEntryReturnPC": 12, + "chain": [ + "page_word" + ] + }, + "pan_birth": { + "bytesIncludingEntryReturnPC": 28, + "chain": [ + "pan_birth" + ] + }, + "range_text": { + "bytesIncludingEntryReturnPC": 4, + "chain": [ + "range_text" + ] + }, + "ui_column_bits": { + "bytesIncludingEntryReturnPC": 20, + "chain": [ + "ui_column_bits" + ] + }, + "ui_peak": { + "bytesIncludingEntryReturnPC": 64, + "chain": [ + "ui_peak", + "og_locate" + ] + }, + "ui_text": { + "bytesIncludingEntryReturnPC": 76, + "chain": [ + "ui_text", + "ui_column_bits" + ] + }, + "ui_unsigned": { + "bytesIncludingEntryReturnPC": 16, + "chain": [ + "ui_unsigned" + ] + } + }, + "maxOwnCallbackBytes": 632, + "externalBoundaries": [ + { + "caller": "og_machine_render", + "at": "0x681e", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x68d0", + "target": "native FLEX render" + }, + { + "caller": "og_machine_render", + "at": "0x6a2a", + "target": "native FLEX render" + }, + { + "caller": "og_machine_start", + "at": "0x6ffc", + "target": "native FLEX START" + }, + { + "caller": "og_machine_start", + "at": "0x7102", + "target": "native FLEX START" + }, + { + "caller": "og_pool_left", + "at": "0x72d4", + "target": "native browser leave" + }, + { + "caller": "og_pool_open", + "at": "0x7aa8", + "target": "base stock-pool open" + }, + { + "caller": "og_pool_open", + "at": "0x7abc", + "target": "native browser redraw" + }, + { + "caller": "og_machine_ui_tick", + "at": "0x7de0", + "target": "native parameter publication" + } + ], + "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve." + }, + "worstCaseColdFireCycles": null, + "cycleStatus": "NOT_MEASURED; compiler frames and instruction counts are not hardware timing", + "nativeInputs": { + "scripts/source-runtime-package.py": "6d944271ad48b6751ca0f52136901d93dbed376b69c30e2c6ad9dbc56ece51e1", + "module/base_binding.c": "217dc052fbdffd80733c852550596fa6f1207d7921647a25f89077a23f5bbf7e", + "module/base_binding.h": "ba584ceb7b5616a819db330303fc89228f75254aa9cd2158a77fd550a4a05e61", + "module/chunk.h": "d39d92d23b559028102f57b200148f3997578fd9882d8937b7f27e438b1efe4a", + "module/control_layout.h": "4085f97129fbaf36fe808fba8081bdfbe5b5d175dd47f857d08bc2e98d2e708f", + "module/cpu_profile.h": "4fc9ced2fa683f30d3f3c59516a769b41b5dab85ff2f3dacb9126d9aa113ee20", + "module/engine/grain.c": "92889c4925d28f7a20b0fac2ddaf6dc42751fea10fee829d379dbab4b33ec96e", + "module/engine/kernel.h": "ffd5a9cd274145db26cc988afacce5e007d35c79a36ce8a44914e281ae861d17", + "module/engine/kernel.s": "c4d11829cdc62ae92b08fc5383aed854cb2c17ad1126b0152e6ac1353cab6021", + "module/engine/page_coordinates.h": "59720b052ab4e43b00ef48a9a292baea3f862bda9c818470e64b929b5a1f5b54", + "module/engine/pitch.c": "be00d669d7d8f15a12016a3cc6eb34abb30c8eede8e2c201ab6cce90476bee0b", + "module/engine/source.c": "df2abb3a8b6201cff01ee8b380d61c2535390d7f1c04204ebe3b22157bc0a0d6", + "module/fract_ui.h": "c70699b713c4ae0a1f3720e4b34bce546de40ac43feaebfb141c93e43659bb3a", + "module/machine.c": "e25f4fac61ff122b4e031897d4b2974a9a7cb3ed2a009a6b42f4d6c46dff455b", + "module/machine.h": "5d77969beb3aa41b359facfa9d4e267d3d986f2d306c9264a65b1d2cc98cb854", + "module/native_source.h": "071d9aee84067d5c165606e555d007c737a8c7aef99811ed3fce926e1ee9f8ab", + "module/registration.c": "4c9c91def244eaaaff0db7999a05a68dc15ff602131cd752ed35d3fc45fa7301", + "module/render.c": "68ee8e71398c672ef84e075051a1c08f0e141e234a902f244c7d5d66923fa69d", + "module/render.h": "2c81a00122910d8ec71d44917246e5b69fd6ca68e53772700f3c6672d3ffa773", + "module/runtime-build.json": "dcad8b276952718b61fb59cca207c8634098e94c15c9f965a4ffb30b9fabd10e", + "module/runtime.json": "10e2234c9a3fcceda4407f51a546bf29b206d298cd7ea0c50e846b0cc046a204", + "module/sample_pool.h": "157769f26f7ff4f8b0fb5f1cf42701a95e31616312c9ab234e958080e864b5e9", + "module/selection.h": "d7d46f2187f63d3aa7c69d9017d63d7917a94cb99e3ff0e2bcf15f883d8a9b41", + "module/start.c": "e1e7e805090a2022f1bea33fe4f98f4b4698d91edb3388df7e2701e2547990c3", + "module/support/control.c": "f4035fa092840db61b7cbb7141e1af8cefebd91875748e9c4b05ad9c6fae62e4", + "module/support/grain.h": "accd83129e5d243abcfe6ddb27d3bee9440b3d1c25e2c98aff4e56c87c2f22d3", + "module/support/pan.h": "e1d966ea6d71083fa3001997147999e45088001d6c9f7f32225c2dfd5d69047b", + "module/support/pan_gains.h": "c6c798f10a88d1908039112cafb3cd6cde8644afc01e43c154b49e9c7d3eb421", + "module/support/shapes.h": "fec26545e613ea7fa60a0d27f1aa906e864ea439ff5d82b7c1dbf3b00496e77a", + "module/support/sizes.h": "b3368e27e4cf2e37d586adf624aec1e78778bd7d9001abf383f3a7dbadecfbd5", + "module/support/source.h": "75bbfd34bc9da1bf315650516eb3118c6472d6a845a56f471d3b39cd70d54771", + "module/support/window.h": "e14b013792e21cb7b326c7593d64151cbe61984d231799399c5b2b2addae4005", + "sdk/machines/octatrack/base-binding.json": "0e852ad36932712e7a7ebc37ba608929febce3185f9ccea62c049e3dceac1fa4", + "sdk/machines/octatrack/events.json": "b0b54662c72f1d75c6a21f7151fcfd6685ec671430077b57c7b4e4b61115e2de", + "sdk/machines/octatrack/events.py": "3f8e9f4fdb4396f4dd82afe53db047ab9ea4f3a9104d15acaf3b43e2a05ffd06", + "sdk/machines/octatrack/include/modwerk_events.h": "42415791ac6cbc294c2353f36a7914278453b10e8998ac406b0980bc9ae2d0cd", + "sdk/machines/octatrack/include/modwerk_page.h": "19f02c99b474ea05c3e3741d4e323bc3139a2748b46aa1427af6ad2b0e2e448c", + "sdk/machines/octatrack/include/modwerk_sample_editor.h": "0ccd65903de82bc59a9a6ec641407d6f36f0097a32d2f3f99a2f6e8588e5fba7", + "sdk/machines/octatrack/include/modwerk_scale.h": "4243bc33c393dafbe1b470a251e9e4354d146e504f28b7a79d5b0866ba83c1ff", + "sdk/machines/octatrack/module-adapters/resident-runtime/dsp_ledger.h": "26a8b091440471fbb457573792aaa20e614bc3ffaf6b0e3e02f7da4c1d688f62", + "sdk/machines/octatrack/module-adapters/resident-runtime/resident_engines.h": "5c6a9b732a17900f08731e0a5a74def99a244c7f1643263628686ba6f0dd29c1", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_driver.h": "91554cb0ff7f6d00b3e04eb0fd8f950dd74ad5674d01a1b95a9cf8c774562143", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hook_resources.h": "adf14294cb1d0813662da1b669ce27db75c3ce7f2e8329100a05cebf2b865018", + "sdk/machines/octatrack/module-adapters/resident-runtime/stock_hooks.h": "04f062478016eb69b14c0f0c150e87bb4107d66cdea5afdf047068a4f9511e5e", + "sdk/machines/octatrack/module-adapters/stock_recipe.py": "662b79d9dc612845cf85e5051fa2d711cad4f98244194357fdaaabca092d5ca5", + "sdk/runtime/loader/build.py": "1cab81067040bec39f391601d5f4b90e658da34dbc7351f97c4aa92a5d999dd4", + "sdk/runtime/loader/context.h": "7c811eb9f3bccef7b03a129f2ebe00ba477422f07315e682f6211d761aacf44b", + "sdk/runtime/loader/journal.h": "53638e61ccf6f4281858feba2efd737ba21520236a25226d85e1e89413b8feeb", + "sdk/runtime/loader/loader.h": "f105ada3121166179bd8ac199883e5185916329ea427eb0e8c64338eeaa50b01", + "sdk/runtime/loader/modwerk_module.h": "55f39232ec7eb2fe8a497f946f559a9f4e78f90e637ea5475cca686bc5c56218", + "sdk/runtime/loader/set_package.h": "d7cccb252d82a02b59b9b0f54115811838f790f499ce9d0e0c49ac61a53ddcda", + "sdk/runtime/loader/tests/events/runtime_events.h": "02f29ef85b4fe43533b9f7af51ec1ec2beafc9f6611345cb7dfbb8ea7908ea7b", + "sdk/runtime/loader/tests/set_test.h": "c11122b0d45f39adcc570144fbbfaee260b0595a28cc8a0c0a934b041f4108fd", + "sdk/runtime/logging/freestanding.c": "698d66b43a956e789c8b3057375a195db12e9a88968d2fbb3c7ce09a8021b575", + "sdk/runtime/m68k_codegen.py": "2ba57326583cbb0f9ada1d7c2b09fe4577a1ce35693b78dffaa4af7617dedfab", + "sdk/runtime/upload/upload.h": "4717f5f55c48e7d3f1d045aee72b5cf5e1194f707eb4a9da2bef0ca48b22ef6b", + "sdk/runtime/upload/vendor.h": "e6cd2ffd6137f668c6939a2c4a3990848cf05e92e3f84d04c862bc23e229b363", + "sdk/runtime/upload/wire.h": "781b3dc8cd4e59ffdd4e2c60b1b1f99356050be58c3c529b945d82e60e768829", + "src/engine/assets/octatrack-base.elemod": "236fa80e212e6b02909d9f7fba3ee75b425827efa81d4c9b5770fada7f7661ff" + } +} diff --git a/sdk/drafts/fract-machine/release/resources.json b/sdk/drafts/fract-machine/release/resources.json index 83ed364b41..8ed3c192c1 100644 --- a/sdk/drafts/fract-machine/release/resources.json +++ b/sdk/drafts/fract-machine/release/resources.json @@ -1,27 +1,29 @@ { - "status": "OWN_MEMORY_AND_CALLBACK_STACK_ACCOUNTED; TIMING_NOT_QUALIFIED", - "packageSha256": "6ff37fdcdbfead903a4857482d0f7bd50905175b55c877e62ad7c51422ef5874", - "baseIdentity": "72defb09b9d463fe62ab876f350f442d10e32ec23e55918a22b9b756c5cb3da6", - "codeAndInitializedDataBytes": 30260, + "status": "OWN_MEMORY_STACK_ACCOUNTED_DEVELOPMENT_HARDWARE_OBSERVED_RELEASE_QUALIFICATION_INCOMPLETE", + "packageSha256": "f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4", + "baseIdentity": "24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5", + "codeAndInitializedDataBytes": 65964, "zeroInitializedStateBytes": 636, - "imagePlusBssBytes": 30896, - "runtimeHeaderBytes": 528, - "alignmentBytes": 0, - "residentPoolExtentBytes": 31424, - "sameCandidateReplacementPeakPoolBytes": 62848, - "oldCandidateReplacementPeakPoolBytes": 63200, - "packageBytes": 31772, - "relocations": 222, - "stockCopies": 9, + "imagePlusBssBytes": 66600, + "runtimeHeaderBytes": 754, + "alignmentBytes": 22, + "residentPoolExtentBytes": 67376, + "sameCandidateReplacementPeakPoolBytes": 134752, + "oldCandidateReplacementPeakPoolBytes": 134752, + "packageBytes": 67284, + "relocations": 240, + "stockCopies": 3, "stack": { - "maxOwnCallbackBytes": 712, - "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte assembly leaves; 4-byte JSR return PCs", + "maxOwnCallbackBytes": 616, + "method": "GCC -fstack-usage plus reviewed acyclic own-call graph; 48/56-byte regular/joined assembly frames, 4-byte single-frame leaf, zero-local short-Hann helper; 4-byte call return PCs", "scope": "Own frames of one callback activation, including outgoing arguments and entry return PC. Excludes stock/base frames, interrupt prologues, task stacks and interrupted callbacks. Not a whole-system stack reserve.", - "report": "resource-audit.json" + "report": "resource-audit-20261127-iteration18.json" }, "worstCaseColdFireCycles": null, "dspCodeWordsAdded": 0, "dspStateWordsAdded": 0, - "hardware": "FUNCTIONAL_CHECK_RECORDED; TIMING_MEASUREMENTS_PENDING", - "details": "resources.md" + "hardware": "Development125c/base46 observations and separate probe89411 timing in hardware-20261127-iteration18.md; public f806 audio and full qualification pending. Public f806/base24e install/integrity/Undo passed; public audio and full qualification pending.", + "details": "resources.md", + "previousCandidateVersion": "0.1.6-experimental", + "previousCandidatePackageSha256": "8c9603a42e6a4ab369d8bfe94fe1f5275a9b4a2c48b285323deb829d486294f0" } diff --git a/sdk/drafts/fract-machine/release/resources.md b/sdk/drafts/fract-machine/release/resources.md index d0d02b5338..50f923d26a 100644 --- a/sdk/drafts/fract-machine/release/resources.md +++ b/sdk/drafts/fract-machine/release/resources.md @@ -1,28 +1,10 @@ -# FRACT resources — current preparation, 25 November 2026 +# FRACT resources —27 November2026 -Unlisted `0.1.3-experimental`, package `c56e79076b170e76c53f46286a3d31aa8d8c51f9d52070836b1ca75fa37f8e29`, -base `eb6679620d0c9ed7ad277598fc0df185e767dfbd0e7eb99bb1518ade9df8a4f0`. -The [current audit](resource-audit-20261125.json) accounts for **31,824 resident -bytes**, 63,648 for two retained copies, and **712 bytes of own callback stack**. -The loader header is now 754 bytes, rounded to 768; image 30,416 plus BSS 636 -rounds to 31,056. No DSP code/state or separate sample-arena allocation is added. -These counts establish neither free headroom nor hardware timing. +Unlisted0.1.7 package `f8063d691afc26ab4fe69a3fa709d2b12c68d93b203f0a84536d1755d33755c4`, base `24e480c435a41324872a259d4ed335c972ba868a917ad3499de359acdc849ac5`. [Exact-image audit](resource-audit-20261127-iteration18.json): **67,376 resident pool bytes**,134,752 for two copies and **616 own callback stack bytes**. Header754 rounds to768; image65,964 plus BSS636 rounds to66,608. No DSP or sample-arena allocation. -`qualification/resources.py` pins this image/package and the current loader hashes. -The 33 indirect sites were reviewed: unchanged functions keep their instruction -offsets and operands; `og_machine_page` now calls `page_text`, `page_word` and -the SDK's `modwerk_page_put32.constprop.0`. Its five indirect stores resolve to -the one eight-byte compiler frame. The known GCC .su clone label is mapped -explicitly, under the exact image pin. The base pool helper follows the current -linked export. Target sizeof probes confirm 754/88/74 bytes for module/owner/site, -63 hook slots and four-byte pointers, matching the loader's allocation formula. -Stock/base frames, interrupt/task nesting and interrupted callbacks are excluded. +The reviewed graph contains33 indirect sites, matched against the independently disassembled two-reader prototype. Regular/joined assembly frames use48/56bytes; the one-frame leaf uses4, and the short-Hann helper has no local frame. Unknown targets, recursion, changed images or loader layouts refuse reuse. Base/stock/interrupt frames are excluded; this is no whole-system stack reserve or timing bound. -Reproduce on this source with GCC 16.2.0: - -```sh -python3.12 -B sdk/drafts/fract-machine/qualification/resources.py --output /private/new-resource-audit.json -``` +The 33 indirect sites match the prior two-reader image. Only the admission limit instruction byte changed; resource accounting was rerun. Development125c hardware and separately scoped probe89411 timing observations are in [the current report](hardware-20261127-iteration18.md). Static worst-case CPU cycles and public-package audio remain unqualified. Prior0.1.6 results remain historical. ## Historical candidate resources — 10 November 2026 @@ -72,20 +54,16 @@ including own outgoing arguments/JSR return PCs and 48/56-byte assembly leaves. Stock/base frames, interrupt prologues, task stacks and interrupted activations are excluded. This is not a whole-system stack reserve. -## Timing and owner decision +## Historical 0.1.4 timing and owner decision -Worst own render per block, its runtime budget, matched native-FLEX longest-frame -and idle measurements, and the audio-path stress run remain unmeasured. -`../evidence/performance.json` records null fields and methods, as the owner -[requested](https://github.com/repeat98/modwerk/pull/1274#issuecomment-6705531953). -The generic MIDI-flood audit is not a measurement of FRACT's audio path. Its -unfilled audit must not be represented as passed. The owner will decide any -first-release waiver; no waiver has been granted. The earlier unexplained -PROJECT RELOAD stall remains in TESTING.md and is not dismissed by this audit. +The [hardware report](hardware-20261126.md) binds matched FLEX/diagnostic timing +to separate development packages. Both four-format matrices had no skips, but +normal 0.1.4 failed modulated USB-audio stress on20- and 4-channel layouts. Price40 +covers observed mean deltas; it is not a peak or static worst-case guarantee. +Timer intervals include native FLEX and probe overhead and are not CPU cycles. +Frame maxima are scoped to the named external guard reset after a 3-second flush. -The [offline measurement kit](../qualification/README.md) now prepares a private -wrapper and matched project cases. Original executable sections remain identical -and the normal package reproduces exactly. The probe's six decoded emulator -windows validate its data path only: their clock model does not qualify hardware -microseconds. Its base frame peak is since boot, not a reset window maximum; -this read-only method's limitation remains explicit for owner review. +The exact released-base package remains physically untested. Performance repair, +stage 1 rerun, remaining companion/audio/lifecycle cases and author listening, +Keep/reboot are required. No owner waiver or release approval has been granted. +The historical PROJECT RELOAD incident remains separately recorded in TESTING.md. diff --git a/sdk/drafts/fract-machine/release/test-procedure-20261127.md b/sdk/drafts/fract-machine/release/test-procedure-20261127.md new file mode 100644 index 0000000000..ebe01b81df --- /dev/null +++ b/sdk/drafts/fract-machine/release/test-procedure-20261127.md @@ -0,0 +1,49 @@ +### Test procedure: fract-machine 0.1.5-experimental, 2026-11-26 + +Build: revision `6fcbcd3d1142` with uncommitted changes, package `fract015-candidate-release.mwrm` SHA-256 `ee63420569f637d78d3eabba6b209366d76db4a1587e460996cfd1a8b7ff8865`. `npm run test:procedure -- fract-machine --no-unit --no-emulator --package '/private/fract015/fract015-candidate-release.mwrm' --out '/private/fract015/procedure015-software-v2'`, 7 s. Emulator results are not hardware evidence; only what ran on the unit is. + +| # | Step | Layer | Result | Command | Evidence | +|---|---|---|---|---|---| +| 1 | Software checks | host | passed | `npm run module:doctor -- --draft fract-machine` | logs/01-software.log | +| 2 | Beside every other module | contract | not run: a draft is judged beside every other module by module:doctor --draft (its compatibility line, step 1) | | | +| 3 | Name the build | host | passed | | logs/03-build.log | +| 4 | DSP cost model | contract | passed | `node scripts/cycle-scan.mjs check` | logs/04-cost-model.log | +| 5 | Emulator rehearsal | emulator | not run: no emulator session: left out with --no-emulator | | | +| 6 | Read the unit | unit | not run: left alone with --no-unit | `node scripts/device.mjs status --socket /tmp/modwerk-share.sock`
`node scripts/octatrack-part-state.mjs read --socket /tmp/modwerk-share.sock --out '/private/fract015/procedure015-software-v2/part-start.json'`
`node scripts/device.mjs do inventory --socket /tmp/modwerk-share.sock` | | +| 7 | Scripted unit pass | unit | not run: left alone with --no-unit | `npm run device:test -- --share /tmp/modwerk-share.sock --testing-entry '/private/fract015/procedure015-software-v2/device-test.md' '/private/fract015/fract015-candidate-release.mwrm'` | | +| 8 | Soak | unit | not run: left alone with --no-unit | `node scripts/device.mjs try '/private/fract015/fract015-candidate-release.mwrm' --seconds 420 --socket /tmp/modwerk-share.sock`
`node scripts/octatrack-soak.mjs --seconds 120 --log '/private/fract015/procedure015-software-v2/soak.json'`
`node scripts/octatrack-part-state.mjs restore --socket /tmp/modwerk-share.sock --start '/private/fract015/procedure015-software-v2/part-start.json'` | | +| 9 | Cost on the unit | unit | not run: left alone with --no-unit | `npm run device:price -- --share /tmp/modwerk-share.sock --out '/private/fract015/procedure015-software-v2/price.json' --scene 'the bank, pattern and Part the unit was on, transport stopped (test:procedure)' --curve T1,T3,T6,T7 '/private/fract015/fract015-candidate-release.mwrm'` | | +| 10 | Put back | unit | not run: left alone with --no-unit | `node scripts/device.mjs do inventory --socket /tmp/modwerk-share.sock`
`node scripts/octatrack-part-state.mjs restore --socket /tmp/modwerk-share.sock --start '/private/fract015/procedure015-software-v2/part-start.json'` | | +| 11 | Agent by hand | unit | to do | | | +| 12 | Submitter's own stage | unit | to do | | | + +#### Edge cases for this change + +Derive them from what the change touches and run each one (docs/TEST_PROCEDURE.md#edge-cases). A start, from the manifest and the changed files: + +- a track machine: the project naming it after it is removed (MISSING); a Part change into a Part that uses it while playing (docs/OCTATRACK_MODULE_EDGE_CASES.md#projects-and-the-installed-modules) +- memory: the module pool nearly full; a delay buffer next to it; the largest set it can join (docs/OCTATRACK_HARDWARE_TRAPS.md#dsp-loader-dynamic-dsp-code) +- persistence: saved in a Part, then a Part reload, a project reload and a power cycle; removed while a saved Part still names it (docs/OCTATRACK_MODULE_EDGE_CASES.md#copying-and-saving) + +| Case | Why this change makes it a risk | How run | Result | +|---|---|---|---| +| SIZE/PAN modulation | Retiming and birth gains changed | Independent scalar host cases | pass, software only | +| Native span output/registers | Short-Hann and fit paths changed | 16,384 seeded QEMU spans,4 formats/2 directions | pass, software only | +| LCD clipping/output | Column drawing changed | Full frame/column parity | pass, software only | +| Standalone moving controls | Scheduling peaks | Normal dev a320, A06,120.325s | pass: zero new skips; no analog recording | +| Active4ch USB audio | Shared frame work | Same normal dev bytes,35s recorder | fail:7 new skips in whole trial | +| Current full lifecycle/companions/price matrix | Rebuilt native code | Restart stage1 after remaining failure is fixed | not run: stage1 blocked | +| User listening/Keep/reboot | Exact-version acceptance | After agent stage1 succeeds | not run: stage1 blocked | + +#### Left for the submitter at their unit + +- how it sounds and plays, and timing by ear +- MIDI, scenes and recording with it +- it beside the other modules installed on their unit +- two instances with different settings, on both FX slots and both DSP cores where it can (docs/MODULE_QUALIFICATION.md) +- Part reload, project save and reload, and a power cycle with it saved: what survives (the Keep and the power cycle are theirs) + +#### For the pull request + +Not tested on a unit: left alone with --no-unit. +Edge cases: the table above, one row a case (or "Edge cases: none, because …"). diff --git a/sdk/drafts/fract-machine/render.c b/sdk/drafts/fract-machine/render.c index fbd5de6203..0ada78b085 100644 --- a/sdk/drafts/fract-machine/render.c +++ b/sdk/drafts/fract-machine/render.c @@ -5,6 +5,7 @@ #include "base_binding.h" #include "native_source.h" #include "cpu_profile.h" +#include "chunk.h" #ifdef OG_MACHINE_SOURCE_TRANSPORT #ifndef OG_MACHINE_PROTOTYPE #error "Source capture requires the experimental machine gate" @@ -174,7 +175,7 @@ int og_machine_render(unsigned track, unsigned ping, unsigned start, unsigned en #endif for (unsigned i = 0; i < segments; ++i) { if (counts[i]) { - int accepted = og_machine_chunk(track, &source, &controls, + int accepted = og_machine_chunk_inline(track, &source, &controls, OG_PACKET_AUDIO(audio), counts[i]) == OG_MACHINE_RENDERED; if (accepted) rendered = 1; #ifdef OG_MACHINE_SOURCE_TRANSPORT diff --git a/sdk/drafts/fract-machine/runtime-build.json b/sdk/drafts/fract-machine/runtime-build.json index 55c4a38b40..ba9c4380d0 100644 --- a/sdk/drafts/fract-machine/runtime-build.json +++ b/sdk/drafts/fract-machine/runtime-build.json @@ -21,7 +21,8 @@ "path": "base_binding.c" }, { - "path": "engine/grain.c" + "path": "engine/grain.c", + "optimize": "-O2" }, { "path": "engine/pitch.c" @@ -53,7 +54,8 @@ "OG_MACHINE_START_EXTENSION", "OG_NATIVE_STAGE_ONE", "OG_MACHINE_BASE_BOUND", - "OG_MACHINE_GRAIN_ONLY" + "OG_MACHINE_GRAIN_ONLY", + "OG_MACHINE_ALL_TRACKS" ], "runtime": "runtime.json", "base": { diff --git a/sdk/drafts/fract-machine/selection.h b/sdk/drafts/fract-machine/selection.h index d96979237c..18b357a73b 100644 --- a/sdk/drafts/fract-machine/selection.h +++ b/sdk/drafts/fract-machine/selection.h @@ -13,8 +13,10 @@ static int og_machine_owns(unsigned track) { if (track >= 8 || bank < 0x40000000u || bank >= 0x47f00000u) return 0; uintptr_t part = bank + 0x8ed80u + (U8(0x100b14cfu) & 3u) * 6322u; uintptr_t sig = part + 60u + 30u * track; - return U8(part + 0x22u + track) == 1 && U8(sig) == 'F' && - U8(sig + 1) == 'R' && U8(sig + 2) == 1; + /* The signature lives inside the 30-byte record. One read avoids three + * separate Part reads on every ownership check. */ + return U8(part + 0x22u + track) == 1 && + (U32(sig) & 0xffffff00u) == 0x46520100u; } #define OG_MACHINE_OWNS(t) og_machine_owns(t) #endif diff --git a/sdk/drafts/fract-machine/support/grain.h b/sdk/drafts/fract-machine/support/grain.h index d6a0c32e05..1ff22a6d08 100644 --- a/sdk/drafts/fract-machine/support/grain.h +++ b/sdk/drafts/fract-machine/support/grain.h @@ -1,4 +1,4 @@ -/* One native owner, three fixed sample-reading heads. No audio allocation. */ +/* One native owner, two live heads in three fixed storage slots. No audio allocation. */ #ifndef GRNYV1_GRAIN_H #define GRNYV1_GRAIN_H #include diff --git a/sdk/drafts/fract-machine/support/pan.h b/sdk/drafts/fract-machine/support/pan.h index ed4c1e1218..29f7b5891f 100644 --- a/sdk/drafts/fract-machine/support/pan.h +++ b/sdk/drafts/fract-machine/support/pan.h @@ -5,6 +5,9 @@ #ifdef OG_NATIVE_STAGE_ONE unsigned og_pan_root(unsigned); #define pan_root og_pan_root +#ifdef OG_NATIVE_PAN_TABLE +#include "pan_gains.h" +#endif #else static __attribute__((noinline)) unsigned pan_root(unsigned power) { /* Q8 gain, floor(sqrt(power)), including the exact unity endpoint. @@ -23,6 +26,16 @@ static __attribute__((noinline)) void pan_birth(OgGrain *s,OgHead *h,unsigned va /* Independent stream: PAN edits cannot change SPRD positions. */ uint32_t word=s->pan_seed; word^=word<<13;word^=word>>17;word^=word<<5;s->pan_seed=word; +#if defined(OG_NATIVE_STAGE_ONE) && defined(OG_NATIVE_PAN_TABLE) + /* value+(value>=64) is exactly (value*128+63)/127 for 0..127. + * The table stores the same floored roots as the scalar path below; + * only the unity endpoint needs its ninth bit restored. */ + unsigned width=value+(value>=64u),last=2u*width; + unsigned position=(unsigned)(uint16_t)(word>>16)*(uint16_t)(last+1u)>>16; + unsigned base=(unsigned)(uint16_t)width*(uint16_t)width; + h->left=position?og_pan_gains[base+position]:256; + h->right=position==last?256:og_pan_gains[base+last-position]; +#else unsigned width=(value*128u+63u)/127u; int pan=(int)(((word>>16)*(2*width+1))>>16)-(int)width; /* Uniform power-pan position. Normalize by the largest permitted @@ -32,5 +45,6 @@ static __attribute__((noinline)) void pan_birth(OgGrain *s,OgHead *h,unsigned va unsigned denominator=128+width; h->left=(uint16_t)pan_root(((unsigned)(128-pan)<<16)/denominator); h->right=(uint16_t)pan_root(((unsigned)(128+pan)<<16)/denominator); +#endif } #endif diff --git a/sdk/drafts/fract-machine/support/pan_gains.h b/sdk/drafts/fract-machine/support/pan_gains.h new file mode 100644 index 0000000000..c75898b909 --- /dev/null +++ b/sdk/drafts/fract-machine/support/pan_gains.h @@ -0,0 +1,535 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* Generated by qualification/generate_pan_gains.py from integer math. + * Row width starts at width*width, with 2*width+1 positions. + * Position0 is unity256; its stored zero is never used for that endpoint. */ +#ifndef FRACT_PAN_GAINS_H +#define FRACT_PAN_GAINS_H +#include +#ifndef OG_PAN_STORAGE +extern const uint8_t og_pan_gains[16641]; +#else +const uint8_t og_pan_gains[16641] = { + 0,0,255,254,0,255,254,253,252,0,255,254,253,252,251,250,0,255,254,253,252,251,250,249,248,0,255,254,253,252,251,250, + 249,248,247,246,0,255,254,253,252,251,250,249,248,247,246,245,244,0,255,254,253,252,251,250,249,248,247,246,245,244,243,242, + 0,255,254,253,252,251,250,249,248,247,246,245,244,243,242,241,240,0,255,254,253,252,251,250,249,248,247,246,245,244,243,242, + 241,240,239,238,0,255,254,253,252,251,250,249,248,247,246,245,244,243,242,241,240,239,238,237,236,0,255,254,253,252,251,250, + 249,248,247,246,245,244,243,242,241,240,239,238,237,236,235,234,0,255,254,253,252,251,250,249,248,247,246,245,244,243,242,241, + 240,239,238,237,237,236,235,234,233,0,255,254,253,252,251,250,249,248,247,246,245,244,243,242,242,241,240,239,238,237,236,235, + 234,233,232,231,0,255,254,253,252,251,250,249,248,247,246,245,244,244,243,242,241,240,239,238,237,236,235,234,233,232,231,230, + 229,0,255,254,253,252,251,250,249,248,247,246,245,245,244,243,242,241,240,239,238,237,236,235,234,233,232,231,230,229,228,227, + 0,255,254,253,252,251,250,249,248,247,246,246,245,244,243,242,241,240,239,238,237,236,235,234,233,232,231,230,229,228,227,226, + 225,0,255,254,253,252,251,250,249,248,247,247,246,245,244,243,242,241,240,239,238,237,236,235,234,233,232,231,230,229,228,227, + 226,225,224,223,0,255,254,253,252,251,250,249,248,247,247,246,245,244,243,242,241,240,239,238,237,236,235,234,234,233,232,231, + 230,229,228,227,226,225,224,223,222,0,255,254,253,252,251,250,249,248,248,247,246,245,244,243,242,241,240,239,238,237,237,236, + 235,234,233,232,231,230,229,228,227,226,225,224,223,222,221,220,0,255,254,253,252,251,250,249,248,248,247,246,245,244,243,242, + 241,240,239,239,238,237,236,235,234,233,232,231,230,229,228,227,226,225,224,223,222,221,220,219,218,0,255,254,253,252,251,250, + 249,249,248,247,246,245,244,243,242,241,240,240,239,238,237,236,235,234,233,232,231,230,229,228,227,226,225,224,223,222,221,220, + 219,218,217,216,0,255,254,253,252,251,250,249,249,248,247,246,245,244,243,242,241,241,240,239,238,237,236,235,234,233,232,231, + 230,229,228,228,227,226,225,224,223,222,221,220,219,218,217,216,215,0,255,254,253,252,251,250,249,249,248,247,246,245,244,243, + 242,242,241,240,239,238,237,236,235,234,233,232,231,231,230,229,228,227,226,225,224,223,222,221,220,219,218,217,216,215,214,213, + 0,255,254,253,252,251,250,250,249,248,247,246,245,244,243,243,242,241,240,239,238,237,236,235,234,234,233,232,231,230,229,228, + 227,226,225,224,223,222,221,220,219,218,217,216,215,214,213,212,211,0,255,254,253,252,251,250,250,249,248,247,246,245,244,244, + 243,242,241,240,239,238,237,236,235,235,234,233,232,231,230,229,228,227,226,225,224,223,222,221,220,220,219,218,217,216,215,214, + 213,212,211,210,0,255,254,253,252,251,250,250,249,248,247,246,245,244,244,243,242,241,240,239,238,237,237,236,235,234,233,232, + 231,230,229,228,227,226,225,225,224,223,222,221,220,219,218,217,216,215,214,213,212,211,210,209,208,0,255,254,253,252,251,250, + 250,249,248,247,246,245,245,244,243,242,241,240,239,238,238,237,236,235,234,233,232,231,230,229,228,228,227,226,225,224,223,222, + 221,220,219,218,217,216,215,214,213,212,211,210,209,208,207,206,0,255,254,253,252,251,251,250,249,248,247,246,245,245,244,243, + 242,241,240,239,239,238,237,236,235,234,233,232,231,230,230,229,228,227,226,225,224,223,222,221,220,219,218,217,216,215,214,213, + 213,212,211,210,209,208,207,205,204,0,255,254,253,252,251,251,250,249,248,247,246,246,245,244,243,242,241,240,240,239,238,237, + 236,235,234,233,232,232,231,230,229,228,227,226,225,224,223,222,221,220,220,219,218,217,216,215,214,213,212,211,210,209,208,207, + 206,205,204,203,0,255,254,253,252,251,251,250,249,248,247,246,246,245,244,243,242,241,240,240,239,238,237,236,235,234,233,233, + 232,231,230,229,228,227,226,225,224,224,223,222,221,220,219,218,217,216,215,214,213,212,211,210,209,208,207,206,205,204,203,202, + 201,0,255,254,253,252,251,251,250,249,248,247,246,246,245,244,243,242,241,241,240,239,238,237,236,235,235,234,233,232,231,230, + 229,228,227,226,226,225,224,223,222,221,220,219,218,217,216,215,214,213,212,211,210,210,209,208,207,206,205,204,203,202,200,199, + 0,255,254,253,252,251,251,250,249,248,247,247,246,245,244,243,242,242,241,240,239,238,237,236,236,235,234,233,232,231,230,229, + 228,228,227,226,225,224,223,222,221,220,219,218,217,217,216,215,214,213,212,211,210,209,208,207,206,205,204,203,202,201,200,199, + 198,0,255,254,253,252,251,251,250,249,248,247,247,246,245,244,243,242,242,241,240,239,238,237,237,236,235,234,233,232,231,230, + 230,229,228,227,226,225,224,223,222,221,221,220,219,218,217,216,215,214,213,212,211,210,209,208,207,206,205,204,203,202,201,200, + 199,198,197,196,0,255,254,253,252,252,251,250,249,248,247,247,246,245,244,243,243,242,241,240,239,238,237,237,236,235,234,233, + 232,231,231,230,229,228,227,226,225,224,223,223,222,221,220,219,218,217,216,215,214,213,212,211,210,209,209,208,207,206,205,204, + 203,202,201,200,199,198,197,196,195,0,255,254,253,252,252,251,250,249,248,248,247,246,245,244,243,243,242,241,240,239,238,238, + 237,236,235,234,233,232,232,231,230,229,228,227,226,225,225,224,223,222,221,220,219,218,217,216,215,215,214,213,212,211,210,209, + 208,207,206,205,204,203,202,201,200,199,198,197,196,195,194,193,0,255,254,253,252,252,251,250,249,248,248,247,246,245,244,244, + 243,242,241,240,239,239,238,237,236,235,234,233,233,232,231,230,229,228,227,227,226,225,224,223,222,221,220,219,218,218,217,216, + 215,214,213,212,211,210,209,208,207,206,205,204,203,202,201,200,199,198,197,196,195,194,193,192,191,0,255,254,253,252,252,251, + 250,249,248,248,247,246,245,244,244,243,242,241,240,239,239,238,237,236,235,234,234,233,232,231,230,229,228,228,227,226,225,224, + 223,222,221,221,220,219,218,217,216,215,214,213,212,211,210,209,209,208,207,206,205,204,203,202,201,200,199,198,197,196,195,194, + 193,192,191,190,0,255,254,253,252,252,251,250,249,248,248,247,246,245,244,244,243,242,241,240,240,239,238,237,236,235,235,234, + 233,232,231,230,230,229,228,227,226,225,224,223,223,222,221,220,219,218,217,216,215,214,214,213,212,211,210,209,208,207,206,205, + 204,203,202,201,200,199,198,197,196,195,194,193,192,191,190,189,188,0,255,254,253,252,252,251,250,249,249,248,247,246,245,245, + 244,243,242,241,240,240,239,238,237,236,236,235,234,233,232,231,231,230,229,228,227,226,225,224,224,223,222,221,220,219,218,217, + 217,216,215,214,213,212,211,210,209,208,207,206,205,204,203,202,202,201,200,199,198,197,196,195,194,193,192,191,190,188,187,186, + 0,255,254,253,252,252,251,250,249,249,248,247,246,245,245,244,243,242,241,241,240,239,238,237,237,236,235,234,233,232,232,231, + 230,229,228,227,226,226,225,224,223,222,221,220,219,219,218,217,216,215,214,213,212,211,210,209,209,208,207,206,205,204,203,202, + 201,200,199,198,197,196,195,194,193,192,191,190,189,188,187,186,185,0,255,254,253,252,252,251,250,249,249,248,247,246,245,245, + 244,243,242,241,241,240,239,238,237,237,236,235,234,233,233,232,231,230,229,228,227,227,226,225,224,223,222,221,221,220,219,218, + 217,216,215,214,213,213,212,211,210,209,208,207,206,205,204,203,202,201,200,199,198,197,196,195,194,193,192,191,190,189,188,187, + 186,185,184,183,0,255,254,253,252,252,251,250,249,249,248,247,246,246,245,244,243,242,242,241,240,239,238,238,237,236,235,234, + 233,233,232,231,230,229,228,228,227,226,225,224,223,223,222,221,220,219,218,217,216,215,215,214,213,212,211,210,209,208,207,206, + 205,204,204,203,202,201,200,199,198,197,196,195,194,193,192,191,190,189,188,187,186,185,184,183,182,0,255,254,253,252,252,251, + 250,249,249,248,247,246,246,245,244,243,242,242,241,240,239,238,238,237,236,235,234,234,233,232,231,230,229,229,228,227,226,225, + 224,224,223,222,221,220,219,218,217,217,216,215,214,213,212,211,210,209,209,208,207,206,205,204,203,202,201,200,199,198,197,196, + 195,194,193,192,191,190,189,188,187,186,185,184,183,182,181,180,0,255,254,253,253,252,251,250,249,249,248,247,246,246,245,244, + 243,243,242,241,240,239,239,238,237,236,235,235,234,233,232,231,230,230,229,228,227,226,225,225,224,223,222,221,220,219,219,218, + 217,216,215,214,213,212,212,211,210,209,208,207,206,205,204,203,202,201,200,200,199,198,197,196,195,194,193,192,191,190,189,188, + 187,186,185,184,183,182,181,179,178,0,255,254,253,253,252,251,250,250,249,248,247,246,246,245,244,243,243,242,241,240,239,239, + 238,237,236,235,235,234,233,232,231,231,230,229,228,227,226,226,225,224,223,222,221,221,220,219,218,217,216,215,214,214,213,212, + 211,210,209,208,207,206,205,205,204,203,202,201,200,199,198,197,196,195,194,193,192,191,190,189,188,187,186,185,184,183,182,181, + 180,179,178,177,0,255,254,253,253,252,251,250,250,249,248,247,247,246,245,244,243,243,242,241,240,240,239,238,237,236,236,235, + 234,233,232,232,231,230,229,228,227,227,226,225,224,223,222,222,221,220,219,218,217,216,216,215,214,213,212,211,210,209,209,208, + 207,206,205,204,203,202,201,200,199,198,197,196,196,195,194,193,192,191,190,189,188,187,186,185,184,183,182,181,179,178,177,176, + 175,0,255,254,253,253,252,251,250,250,249,248,247,247,246,245,244,244,243,242,241,240,240,239,238,237,237,236,235,234,233,233, + 232,231,230,229,228,228,227,226,225,224,224,223,222,221,220,219,218,218,217,216,215,214,213,212,211,211,210,209,208,207,206,205, + 204,203,202,202,201,200,199,198,197,196,195,194,193,192,191,190,189,188,187,186,185,184,183,182,181,180,179,178,177,176,175,174, + 0,255,254,253,253,252,251,250,250,249,248,247,247,246,245,244,244,243,242,241,241,240,239,238,237,237,236,235,234,233,233,232, + 231,230,229,229,228,227,226,225,225,224,223,222,221,220,220,219,218,217,216,215,214,214,213,212,211,210,209,208,207,206,206,205, + 204,203,202,201,200,199,198,197,196,195,194,193,192,192,191,190,189,188,187,186,185,184,183,182,181,179,178,177,176,175,174,173, + 172,0,255,254,253,253,252,251,250,250,249,248,247,247,246,245,244,244,243,242,241,241,240,239,238,238,237,236,235,234,234,233, + 232,231,230,230,229,228,227,226,226,225,224,223,222,221,221,220,219,218,217,216,215,215,214,213,212,211,210,209,209,208,207,206, + 205,204,203,202,201,200,199,199,198,197,196,195,194,193,192,191,190,189,188,187,186,185,184,183,182,181,180,179,178,177,176,175, + 174,173,172,171,0,255,254,253,253,252,251,250,250,249,248,247,247,246,245,244,244,243,242,241,241,240,239,238,238,237,236,235, + 235,234,233,232,231,231,230,229,228,227,227,226,225,224,223,222,222,221,220,219,218,217,217,216,215,214,213,212,211,211,210,209, + 208,207,206,205,204,203,203,202,201,200,199,198,197,196,195,194,193,192,191,190,189,188,188,187,186,185,184,183,182,181,179,178, + 177,176,175,174,173,172,171,170,169,0,255,254,253,253,252,251,250,250,249,248,248,247,246,245,245,244,243,242,242,241,240,239, + 238,238,237,236,235,235,234,233,232,231,231,230,229,228,228,227,226,225,224,223,223,222,221,220,219,219,218,217,216,215,214,213, + 213,212,211,210,209,208,207,206,206,205,204,203,202,201,200,199,198,197,197,196,195,194,193,192,191,190,189,188,187,186,185,184, + 183,182,181,180,179,178,177,176,175,174,173,172,171,170,168,167,0,255,254,253,253,252,251,250,250,249,248,248,247,246,245,245, + 244,243,242,242,241,240,239,239,238,237,236,236,235,234,233,232,232,231,230,229,228,228,227,226,225,224,224,223,222,221,220,220, + 219,218,217,216,215,215,214,213,212,211,210,209,209,208,207,206,205,204,203,202,201,201,200,199,198,197,196,195,194,193,192,191, + 190,189,188,187,186,185,184,184,183,182,181,180,178,177,176,175,174,173,172,171,170,169,168,167,166,0,255,254,253,253,252,251, + 251,250,249,248,248,247,246,245,245,244,243,242,242,241,240,239,239,238,237,236,236,235,234,233,233,232,231,230,229,229,228,227, + 226,225,225,224,223,222,221,221,220,219,218,217,216,216,215,214,213,212,211,211,210,209,208,207,206,205,204,204,203,202,201,200, + 199,198,197,196,195,194,194,193,192,191,190,189,188,187,186,185,184,183,182,181,180,179,178,177,176,175,174,173,172,171,170,169, + 168,166,165,164,0,255,254,253,253,252,251,251,250,249,248,248,247,246,245,245,244,243,243,242,241,240,240,239,238,237,237,236, + 235,234,233,233,232,231,230,230,229,228,227,226,226,225,224,223,222,222,221,220,219,218,218,217,216,215,214,213,213,212,211,210, + 209,208,207,207,206,205,204,203,202,201,200,199,199,198,197,196,195,194,193,192,191,190,189,188,187,186,185,184,183,182,182,181, + 180,179,178,176,175,174,173,172,171,170,169,168,167,166,165,164,163,0,255,254,253,253,252,251,251,250,249,248,248,247,246,246, + 245,244,243,243,242,241,240,240,239,238,237,237,236,235,234,234,233,232,231,230,230,229,228,227,227,226,225,224,223,223,222,221, + 220,219,219,218,217,216,215,214,214,213,212,211,210,209,209,208,207,206,205,204,203,202,202,201,200,199,198,197,196,195,194,193, + 192,192,191,190,189,188,187,186,185,184,183,182,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,164,163,162,161, + 0,255,254,253,253,252,251,251,250,249,248,248,247,246,246,245,244,243,243,242,241,240,240,239,238,237,237,236,235,234,234,233, + 232,231,231,230,229,228,228,227,226,225,224,224,223,222,221,220,220,219,218,217,216,216,215,214,213,212,211,211,210,209,208,207, + 206,205,205,204,203,202,201,200,199,198,197,197,196,195,194,193,192,191,190,189,188,187,186,185,184,183,182,182,181,180,179,178, + 177,176,175,173,172,171,170,169,168,167,166,165,164,163,162,161,160,0,255,254,253,253,252,251,251,250,249,248,248,247,246,246, + 245,244,243,243,242,241,241,240,239,238,238,237,236,235,235,234,233,232,232,231,230,229,228,228,227,226,225,225,224,223,222,221, + 221,220,219,218,217,217,216,215,214,213,212,212,211,210,209,208,207,207,206,205,204,203,202,201,200,200,199,198,197,196,195,194, + 193,192,191,191,190,189,188,187,186,185,184,183,182,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,162, + 161,160,159,158,0,255,254,253,253,252,251,251,250,249,249,248,247,246,246,245,244,244,243,242,241,241,240,239,238,238,237,236, + 235,235,234,233,232,232,231,230,229,229,228,227,226,226,225,224,223,222,222,221,220,219,218,218,217,216,215,214,214,213,212,211, + 210,209,209,208,207,206,205,204,203,203,202,201,200,199,198,197,196,195,195,194,193,192,191,190,189,188,187,186,185,184,183,182, + 181,181,180,179,178,177,176,175,174,173,172,171,169,168,167,166,165,164,163,162,161,160,159,158,157,0,255,254,253,253,252,251, + 251,250,249,249,248,247,246,246,245,244,244,243,242,241,241,240,239,239,238,237,236,236,235,234,233,233,232,231,230,230,229,228, + 227,226,226,225,224,223,223,222,221,220,219,219,218,217,216,215,215,214,213,212,211,210,210,209,208,207,206,205,205,204,203,202, + 201,200,199,199,198,197,196,195,194,193,192,191,190,189,189,188,187,186,185,184,183,182,181,180,179,178,177,176,175,174,173,172, + 171,170,169,168,167,166,165,164,163,162,161,159,158,157,156,155,0,255,254,253,253,252,251,251,250,249,249,248,247,246,246,245, + 244,244,243,242,242,241,240,239,239,238,237,236,236,235,234,233,233,232,231,230,230,229,228,227,227,226,225,224,224,223,222,221, + 220,220,219,218,217,216,216,215,214,213,212,212,211,210,209,208,207,207,206,205,204,203,202,201,201,200,199,198,197,196,195,194, + 194,193,192,191,190,189,188,187,186,185,184,183,182,181,181,180,179,178,177,176,175,174,173,172,171,170,169,168,166,165,164,163, + 162,161,160,159,158,157,156,155,153,0,255,254,253,253,252,251,251,250,249,249,248,247,247,246,245,244,244,243,242,242,241,240, + 239,239,238,237,237,236,235,234,234,233,232,231,231,230,229,228,228,227,226,225,225,224,223,222,221,221,220,219,218,217,217,216, + 215,214,213,213,212,211,210,209,209,208,207,206,205,204,203,203,202,201,200,199,198,197,197,196,195,194,193,192,191,190,189,188, + 188,187,186,185,184,183,182,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,159,158,156, + 155,154,153,152,0,255,254,253,253,252,251,251,250,249,249,248,247,247,246,245,244,244,243,242,242,241,240,240,239,238,237,237, + 236,235,234,234,233,232,231,231,230,229,228,228,227,226,225,225,224,223,222,222,221,220,219,218,218,217,216,215,214,214,213,212, + 211,210,210,209,208,207,206,205,205,204,203,202,201,200,200,199,198,197,196,195,194,193,193,192,191,190,189,188,187,186,185,184, + 183,182,181,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,162,161,160,159,158,157,156,155,154,153,152, + 150,0,255,254,253,253,252,251,251,250,249,249,248,247,247,246,245,245,244,243,242,242,241,240,240,239,238,237,237,236,235,235, + 234,233,232,232,231,230,229,229,228,227,226,226,225,224,223,223,222,221,220,219,219,218,217,216,216,215,214,213,212,212,211,210, + 209,208,207,207,206,205,204,203,202,202,201,200,199,198,197,196,196,195,194,193,192,191,190,189,188,187,187,186,185,184,183,182, + 181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,159,158,157,156,154,153,152,151,150,149, + 0,255,254,253,253,252,251,251,250,249,249,248,247,247,246,245,245,244,243,243,242,241,240,240,239,238,238,237,236,235,235,234, + 233,232,232,231,230,230,229,228,227,227,226,225,224,224,223,222,221,220,220,219,218,217,217,216,215,214,213,213,212,211,210,209, + 209,208,207,206,205,204,204,203,202,201,200,199,198,198,197,196,195,194,193,192,192,191,190,189,188,187,186,185,184,183,182,181, + 181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,158,157,156,155,154,153,152,151,150,148, + 147,0,255,254,254,253,252,251,251,250,249,249,248,247,247,246,245,245,244,243,243,242,241,240,240,239,238,238,237,236,235,235, + 234,233,233,232,231,230,230,229,228,227,227,226,225,224,224,223,222,221,221,220,219,218,218,217,216,215,214,214,213,212,211,210, + 210,209,208,207,206,206,205,204,203,202,201,201,200,199,198,197,196,195,195,194,193,192,191,190,189,188,187,187,186,185,184,183, + 182,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,159,158,157,156,155,154,153,151,150, + 149,148,147,146,0,255,254,254,253,252,252,251,250,249,249,248,247,247,246,245,245,244,243,243,242,241,241,240,239,238,238,237, + 236,236,235,234,233,233,232,231,231,230,229,228,228,227,226,225,225,224,223,222,222,221,220,219,219,218,217,216,215,215,214,213, + 212,211,211,210,209,208,207,207,206,205,204,203,203,202,201,200,199,198,197,197,196,195,194,193,192,191,191,190,189,188,187,186, + 185,184,183,182,181,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,159,158,157,155,154, + 153,152,151,150,149,148,147,145,144,0,255,254,254,253,252,252,251,250,250,249,248,247,247,246,245,245,244,243,243,242,241,241, + 240,239,239,238,237,236,236,235,234,234,233,232,231,231,230,229,228,228,227,226,226,225,224,223,223,222,221,220,219,219,218,217, + 216,216,215,214,213,213,212,211,210,209,209,208,207,206,205,204,204,203,202,201,200,199,199,198,197,196,195,194,194,193,192,191, + 190,189,188,187,186,186,185,184,183,182,181,180,179,178,177,176,175,174,173,172,171,170,170,169,168,167,166,164,163,162,161,160, + 159,158,157,156,155,154,153,152,151,150,148,147,146,145,144,143,0,255,254,254,253,252,252,251,250,250,249,248,248,247,246,246, + 245,244,243,243,242,241,241,240,239,239,238,237,237,236,235,234,234,233,232,232,231,230,229,229,228,227,226,226,225,224,223,223, + 222,221,220,220,219,218,217,217,216,215,214,214,213,212,211,210,210,209,208,207,206,206,205,204,203,202,201,201,200,199,198,197, + 196,196,195,194,193,192,191,190,190,189,188,187,186,185,184,183,182,181,181,180,179,178,177,176,175,174,173,172,171,170,169,168, + 167,166,165,164,163,162,161,160,159,158,157,156,155,154,152,151,150,149,148,147,146,145,143,142,141,0,255,254,254,253,252,252, + 251,250,250,249,248,248,247,246,246,245,244,244,243,242,241,241,240,239,239,238,237,237,236,235,234,234,233,232,232,231,230,229, + 229,228,227,227,226,225,224,224,223,222,221,221,220,219,218,218,217,216,215,215,214,213,212,211,211,210,209,208,207,207,206,205, + 204,203,203,202,201,200,199,198,198,197,196,195,194,193,193,192,191,190,189,188,187,186,186,185,184,183,182,181,180,179,178,177, + 176,175,174,173,173,172,171,170,169,168,167,166,165,164,163,162,161,160,159,157,156,155,154,153,152,151,150,149,148,147,145,144, + 143,142,141,140,0,255,254,254,253,252,252,251,250,250,249,248,248,247,246,246,245,244,244,243,242,242,241,240,239,239,238,237, + 237,236,235,235,234,233,232,232,231,230,230,229,228,227,227,226,225,225,224,223,222,222,221,220,219,219,218,217,216,216,215,214, + 213,212,212,211,210,209,209,208,207,206,205,205,204,203,202,201,200,200,199,198,197,196,195,195,194,193,192,191,190,189,189,188, + 187,186,185,184,183,182,181,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,159,158,157, + 156,155,154,153,152,151,150,148,147,146,145,144,143,142,140,139,138,0,255,254,254,253,252,252,251,250,250,249,248,248,247,246, + 246,245,244,244,243,242,242,241,240,240,239,238,238,237,236,235,235,234,233,233,232,231,230,230,229,228,228,227,226,225,225,224, + 223,222,222,221,220,220,219,218,217,217,216,215,214,213,213,212,211,210,210,209,208,207,206,206,205,204,203,202,202,201,200,199, + 198,197,197,196,195,194,193,192,192,191,190,189,188,187,186,185,185,184,183,182,181,180,179,178,177,176,175,175,174,173,172,171, + 170,169,168,167,166,165,164,163,162,161,160,159,158,157,156,155,153,152,151,150,149,148,147,146,145,144,142,141,140,139,138,137, + 0,255,254,254,253,252,252,251,250,250,249,248,248,247,246,246,245,244,244,243,242,242,241,240,240,239,238,238,237,236,236,235, + 234,233,233,232,231,231,230,229,228,228,227,226,226,225,224,223,223,222,221,220,220,219,218,217,217,216,215,214,214,213,212,211, + 211,210,209,208,207,207,206,205,204,203,203,202,201,200,199,199,198,197,196,195,194,194,193,192,191,190,189,188,188,187,186,185, + 184,183,182,181,181,180,179,178,177,176,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,159,158,157,156,155,154, + 153,152,151,150,149,148,147,145,144,143,142,141,140,139,137,136,135,0,255,254,254,253,252,252,251,250,250,249,248,248,247,246, + 246,245,244,244,243,242,242,241,240,240,239,238,238,237,236,236,235,234,234,233,232,231,231,230,229,229,228,227,226,226,225,224, + 224,223,222,221,221,220,219,218,218,217,216,215,215,214,213,212,212,211,210,209,209,208,207,206,205,205,204,203,202,201,201,200, + 199,198,197,196,196,195,194,193,192,191,191,190,189,188,187,186,185,185,184,183,182,181,180,179,178,177,176,175,175,174,173,172, + 171,170,169,168,167,166,165,164,163,162,161,160,159,158,157,156,155,154,153,152,151,149,148,147,146,145,144,143,142,141,139,138, + 137,136,135,133,0,255,254,254,253,252,252,251,250,250,249,248,248,247,246,246,245,244,244,243,242,242,241,240,240,239,238,238, + 237,236,236,235,234,234,233,232,232,231,230,229,229,228,227,227,226,225,224,224,223,222,222,221,220,219,219,218,217,216,216,215, + 214,213,213,212,211,210,210,209,208,207,206,206,205,204,203,202,202,201,200,199,198,198,197,196,195,194,193,193,192,191,190,189, + 188,188,187,186,185,184,183,182,181,181,180,179,178,177,176,175,174,173,172,171,170,169,168,168,167,166,165,164,163,162,161,160, + 159,158,157,155,154,153,152,151,150,149,148,147,146,145,144,142,141,140,139,138,137,135,134,133,132,0,255,254,254,253,252,252, + 251,250,250,249,248,248,247,247,246,245,245,244,243,243,242,241,241,240,239,239,238,237,237,236,235,234,234,233,232,232,231,230, + 230,229,228,227,227,226,225,225,224,223,222,222,221,220,220,219,218,217,217,216,215,214,214,213,212,211,211,210,209,208,207,207, + 206,205,204,204,203,202,201,200,200,199,198,197,196,196,195,194,193,192,191,190,190,189,188,187,186,185,184,184,183,182,181,180, + 179,178,177,176,176,175,174,173,172,171,170,169,168,167,166,165,164,163,162,161,160,159,158,157,156,155,154,153,152,151,150,149, + 148,147,145,144,143,142,141,140,139,138,136,135,134,133,132,130,0,255,254,254,253,252,252,251,250,250,249,249,248,247,247,246, + 245,245,244,243,243,242,241,241,240,239,239,238,237,237,236,235,235,234,233,233,232,231,230,230,229,228,228,227,226,226,225,224, + 223,223,222,221,220,220,219,218,218,217,216,215,215,214,213,212,212,211,210,209,209,208,207,206,205,205,204,203,202,201,201,200, + 199,198,197,197,196,195,194,193,193,192,191,190,189,188,187,187,186,185,184,183,182,181,181,180,179,178,177,176,175,174,173,172, + 171,170,170,169,168,167,166,165,164,163,162,161,160,159,158,157,156,155,154,153,152,151,149,148,147,146,145,144,143,142,141,139, + 138,137,136,135,134,132,131,130,129,0,255,254,254,253,252,252,251,250,250,249,249,248,247,247,246,245,245,244,243,243,242,241, + 241,240,239,239,238,237,237,236,235,235,234,233,233,232,231,231,230,229,228,228,227,226,226,225,224,224,223,222,221,221,220,219, + 218,218,217,216,216,215,214,213,213,212,211,210,210,209,208,207,206,206,205,204,203,203,202,201,200,199,199,198,197,196,195,195, + 194,193,192,191,190,190,189,188,187,186,185,184,184,183,182,181,180,179,178,177,177,176,175,174,173,172,171,170,169,168,167,166, + 165,164,163,162,161,160,159,158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,143,141,140,139,138,137,136,134,133,132, + 131,130,128,127,0,255,254,254,253,252,252,251,250,250,249,249,248,247,247,246,245,245,244,243,243,242,241,241,240,239,239,238, + 237,237,236,235,235,234,233,233,232,231,231,230,229,229,228,227,227,226,225,224,224,223,222,222,221,220,219,219,218,217,216,216, + 215,214,214,213,212,211,211,210,209,208,208,207,206,205,204,204,203,202,201,201,200,199,198,197,197,196,195,194,193,192,192,191, + 190,189,188,187,187,186,185,184,183,182,181,181,180,179,178,177,176,175,174,173,172,172,171,170,169,168,167,166,165,164,163,162, + 161,160,159,158,157,156,155,154,153,152,151,150,149,148,147,145,144,143,142,141,140,139,138,137,135,134,133,132,131,129,128,127, + 126,0,255,254,254,253,252,252,251,251,250,249,249,248,247,247,246,245,245,244,243,243,242,242,241,240,240,239,238,238,237,236, + 236,235,234,234,233,232,231,231,230,229,229,228,227,227,226,225,225,224,223,222,222,221,220,220,219,218,217,217,216,215,214,214, + 213,212,212,211,210,209,209,208,207,206,205,205,204,203,202,202,201,200,199,198,198,197,196,195,194,194,193,192,191,190,189,189, + 188,187,186,185,184,184,183,182,181,180,179,178,177,177,176,175,174,173,172,171,170,169,168,167,166,165,165,164,163,162,161,160, + 159,158,157,156,155,154,153,152,150,149,148,147,146,145,144,143,142,141,140,138,137,136,135,134,133,131,130,129,128,127,125,124, + 0,255,254,254,253,252,252,251,251,250,249,249,248,247,247,246,245,245,244,244,243,242,242,241,240,240,239,238,238,237,236,236, + 235,234,234,233,232,232,231,230,230,229,228,228,227,226,225,225,224,223,223,222,221,220,220,219,218,218,217,216,215,215,214,213, + 213,212,211,210,210,209,208,207,207,206,205,204,203,203,202,201,200,200,199,198,197,196,196,195,194,193,192,192,191,190,189,188, + 187,187,186,185,184,183,182,181,181,180,179,178,177,176,175,174,173,173,172,171,170,169,168,167,166,165,164,163,162,161,160,159, + 158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,143,142,140,139,138,137,136,135,134,132,131,130,129,128,126,125,124, + 122,0,255,254,254,253,252,252,251,251,250,249,249,248,247,247,246,246,245,244,244,243,242,242,241,240,240,239,238,238,237,236, + 236,235,234,234,233,232,232,231,230,230,229,228,228,227,226,226,225,224,223,223,222,221,221,220,219,219,218,217,216,216,215,214, + 213,213,212,211,211,210,209,208,208,207,206,205,204,204,203,202,201,201,200,199,198,197,197,196,195,194,193,193,192,191,190,189, + 189,188,187,186,185,184,184,183,182,181,180,179,178,177,177,176,175,174,173,172,171,170,169,168,167,167,166,165,164,163,162,161, + 160,159,158,157,156,155,154,153,152,151,150,149,148,147,146,144,143,142,141,140,139,138,137,136,134,133,132,131,130,128,127,126, + 125,123,122,121,0,255,254,254,253,252,252,251,251,250,249,249,248,247,247,246,246,245,244,244,243,242,242,241,240,240,239,238, + 238,237,237,236,235,235,234,233,233,232,231,231,230,229,228,228,227,226,226,225,224,224,223,222,222,221,220,219,219,218,217,217, + 216,215,214,214,213,212,211,211,210,209,209,208,207,206,206,205,204,203,202,202,201,200,199,199,198,197,196,195,195,194,193,192, + 191,191,190,189,188,187,186,186,185,184,183,182,181,181,180,179,178,177,176,175,174,173,173,172,171,170,169,168,167,166,165,164, + 163,162,161,160,159,158,158,157,156,155,154,152,151,150,149,148,147,146,145,144,143,142,141,140,139,137,136,135,134,133,132,131, + 129,128,127,126,124,123,122,121,119,0,255,254,254,253,252,252,251,251,250,249,249,248,247,247,246,246,245,244,244,243,242,242, + 241,241,240,239,239,238,237,237,236,235,235,234,233,233,232,231,231,230,229,229,228,227,227,226,225,225,224,223,222,222,221,220, + 220,219,218,217,217,216,215,215,214,213,212,212,211,210,210,209,208,207,207,206,205,204,204,203,202,201,200,200,199,198,197,197, + 196,195,194,193,193,192,191,190,189,188,188,187,186,185,184,183,183,182,181,180,179,178,177,177,176,175,174,173,172,171,170,169, + 169,168,167,166,165,164,163,162,161,160,159,158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,143,142,140,139,138,137, + 136,135,134,133,131,130,129,128,127,125,124,123,122,120,119,118,0,255,254,254,253,252,252,251,251,250,249,249,248,248,247,246, + 246,245,244,244,243,242,242,241,241,240,239,239,238,237,237,236,235,235,234,233,233,232,231,231,230,229,229,228,227,227,226,225, + 225,224,223,223,222,221,221,220,219,218,218,217,216,216,215,214,213,213,212,211,210,210,209,208,208,207,206,205,205,204,203,202, + 202,201,200,199,198,198,197,196,195,194,194,193,192,191,190,190,189,188,187,186,186,185,184,183,182,181,181,180,179,178,177,176, + 175,174,174,173,172,171,170,169,168,167,166,165,164,163,163,162,161,160,159,158,157,156,155,154,153,152,151,150,149,148,147,146, + 144,143,142,141,140,139,138,137,136,135,133,132,131,130,129,128,126,125,124,123,121,120,119,117,116,0,255,254,254,253,252,252, + 251,251,250,249,249,248,248,247,246,246,245,244,244,243,243,242,241,241,240,239,239,238,237,237,236,235,235,234,234,233,232,232, + 231,230,230,229,228,228,227,226,225,225,224,223,223,222,221,221,220,219,219,218,217,216,216,215,214,214,213,212,211,211,210,209, + 209,208,207,206,206,205,204,203,203,202,201,200,199,199,198,197,196,196,195,194,193,192,192,191,190,189,188,188,187,186,185,184, + 183,183,182,181,180,179,178,178,177,176,175,174,173,172,171,170,170,169,168,167,166,165,164,163,162,161,160,159,158,157,156,155, + 154,153,152,151,150,149,148,147,146,145,144,143,142,141,140,139,138,136,135,134,133,132,131,130,128,127,126,125,124,122,121,120, + 118,117,116,115,0,255,254,254,253,252,252,251,251,250,249,249,248,248,247,246,246,245,244,244,243,243,242,241,241,240,239,239, + 238,238,237,236,236,235,234,234,233,232,232,231,230,230,229,228,228,227,226,226,225,224,224,223,222,222,221,220,219,219,218,217, + 217,216,215,215,214,213,212,212,211,210,209,209,208,207,207,206,205,204,204,203,202,201,201,200,199,198,197,197,196,195,194,194, + 193,192,191,190,190,189,188,187,186,186,185,184,183,182,181,181,180,179,178,177,176,175,174,174,173,172,171,170,169,168,167,166, + 166,165,164,163,162,161,160,159,158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,143,142,141,139,138,137,136,135,134, + 133,132,130,129,128,127,126,124,123,122,121,119,118,117,116,114,113,0,255,254,254,253,253,252,251,251,250,249,249,248,248,247, + 246,246,245,245,244,243,243,242,241,241,240,240,239,238,238,237,236,236,235,234,234,233,232,232,231,230,230,229,228,228,227,226, + 226,225,224,224,223,222,222,221,220,220,219,218,218,217,216,215,215,214,213,213,212,211,210,210,209,208,208,207,206,205,205,204, + 203,202,202,201,200,199,199,198,197,196,195,195,194,193,192,192,191,190,189,188,188,187,186,185,184,183,183,182,181,180,179,178, + 178,177,176,175,174,173,172,171,171,170,169,168,167,166,165,164,163,162,161,160,160,159,158,157,156,155,154,153,152,151,150,149, + 148,147,146,145,143,142,141,140,139,138,137,136,135,134,132,131,130,129,128,127,125,124,123,122,120,119,118,117,115,114,113,111, + 0,255,254,254,253,253,252,251,251,250,250,249,248,248,247,246,246,245,245,244,243,243,242,241,241,240,240,239,238,238,237,236, + 236,235,234,234,233,233,232,231,231,230,229,229,228,227,227,226,225,225,224,223,223,222,221,221,220,219,218,218,217,216,216,215, + 214,214,213,212,211,211,210,209,209,208,207,206,206,205,204,203,203,202,201,200,200,199,198,197,197,196,195,194,193,193,192,191, + 190,190,189,188,187,186,185,185,184,183,182,181,181,180,179,178,177,176,175,175,174,173,172,171,170,169,168,167,167,166,165,164, + 163,162,161,160,159,158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,143,142,141,140,139,138,137,136,134,133,132,131, + 130,129,128,126,125,124,123,121,120,119,118,116,115,114,112,111,110,0,255,254,254,253,253,252,251,251,250,250,249,248,248,247, + 246,246,245,245,244,243,243,242,242,241,240,240,239,238,238,237,237,236,235,235,234,233,233,232,231,231,230,229,229,228,227,227, + 226,225,225,224,223,223,222,221,221,220,219,219,218,217,217,216,215,214,214,213,212,212,211,210,209,209,208,207,207,206,205,204, + 204,203,202,201,201,200,199,198,198,197,196,195,195,194,193,192,191,191,190,189,188,187,187,186,185,184,183,183,182,181,180,179, + 178,178,177,176,175,174,173,172,172,171,170,169,168,167,166,165,164,163,163,162,161,160,159,158,157,156,155,154,153,152,151,150, + 149,148,147,146,145,144,143,142,141,140,139,137,136,135,134,133,132,131,130,128,127,126,125,124,122,121,120,119,117,116,115,113, + 112,111,109,108,0,255,254,254,253,253,252,251,251,250,250,249,248,248,247,247,246,245,245,244,243,243,242,242,241,240,240,239, + 238,238,237,237,236,235,235,234,233,233,232,231,231,230,230,229,228,228,227,226,226,225,224,224,223,222,222,221,220,220,219,218, + 217,217,216,215,215,214,213,213,212,211,210,210,209,208,208,207,206,205,205,204,203,202,202,201,200,199,199,198,197,196,196,195, + 194,193,193,192,191,190,189,189,188,187,186,185,185,184,183,182,181,181,180,179,178,177,176,175,175,174,173,172,171,170,169,168, + 168,167,166,165,164,163,162,161,160,159,158,157,157,156,155,154,153,152,151,150,149,148,147,146,145,144,142,141,140,139,138,137, + 136,135,134,133,132,130,129,128,127,126,125,123,122,121,120,118,117,116,115,113,112,111,109,108,106,0,255,254,254,253,253,252, + 251,251,250,250,249,248,248,247,247,246,245,245,244,244,243,242,242,241,240,240,239,239,238,237,237,236,235,235,234,234,233,232, + 232,231,230,230,229,228,228,227,226,226,225,224,224,223,222,222,221,220,220,219,218,218,217,216,216,215,214,213,213,212,211,211, + 210,209,209,208,207,206,206,205,204,203,203,202,201,200,200,199,198,197,197,196,195,194,194,193,192,191,191,190,189,188,187,187, + 186,185,184,183,183,182,181,180,179,178,178,177,176,175,174,173,172,172,171,170,169,168,167,166,165,165,164,163,162,161,160,159, + 158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,143,142,141,140,139,138,137,136,135,133,132,131,130,129,128,127,125, + 124,123,122,121,119,118,117,116,114,113,112,110,109,108,106,105,0,255,254,254,253,253,252,251,251,250,250,249,248,248,247,247, + 246,245,245,244,244,243,242,242,241,241,240,239,239,238,237,237,236,236,235,234,234,233,232,232,231,230,230,229,228,228,227,227, + 226,225,225,224,223,223,222,221,221,220,219,218,218,217,216,216,215,214,214,213,212,212,211,210,209,209,208,207,207,206,205,204, + 204,203,202,202,201,200,199,199,198,197,196,196,195,194,193,192,192,191,190,189,189,188,187,186,185,185,184,183,182,181,181,180, + 179,178,177,176,176,175,174,173,172,171,170,169,169,168,167,166,165,164,163,162,161,160,160,159,158,157,156,155,154,153,152,151, + 150,149,148,147,146,145,144,143,142,141,140,139,138,136,135,134,133,132,131,130,129,128,126,125,124,123,122,120,119,118,117,115, + 114,113,111,110,109,107,106,104,103,0,255,254,254,253,253,252,251,251,250,250,249,248,248,247,247,246,245,245,244,244,243,242, + 242,241,241,240,239,239,238,237,237,236,236,235,234,234,233,232,232,231,231,230,229,229,228,227,227,226,225,225,224,223,223,222, + 221,221,220,219,219,218,217,217,216,215,215,214,213,213,212,211,210,210,209,208,208,207,206,205,205,204,203,203,202,201,200,200, + 199,198,197,197,196,195,194,194,193,192,191,190,190,189,188,187,187,186,185,184,183,183,182,181,180,179,178,178,177,176,175,174, + 173,173,172,171,170,169,168,167,166,166,165,164,163,162,161,160,159,158,157,156,155,154,154,153,152,151,150,149,148,147,146,145, + 144,143,142,140,139,138,137,136,135,134,133,132,131,130,128,127,126,125,124,122,121,120,119,118,116,115,114,112,111,110,108,107, + 106,104,103,101,0,255,254,254,253,253,252,251,251,250,250,249,248,248,247,247,246,246,245,244,244,243,242,242,241,241,240,239, + 239,238,238,237,236,236,235,234,234,233,233,232,231,231,230,229,229,228,227,227,226,225,225,224,224,223,222,222,221,220,220,219, + 218,218,217,216,215,215,214,213,213,212,211,211,210,209,209,208,207,206,206,205,204,204,203,202,201,201,200,199,198,198,197,196, + 195,195,194,193,192,192,191,190,189,188,188,187,186,185,185,184,183,182,181,181,180,179,178,177,176,176,175,174,173,172,171,170, + 170,169,168,167,166,165,164,163,162,162,161,160,159,158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,143,142,141,140, + 139,138,137,136,135,134,133,131,130,129,128,127,126,125,123,122,121,120,119,117,116,115,113,112,111,110,108,107,105,104,103,101, + 100,0,255,254,254,253,253,252,251,251,250,250,249,249,248,247,247,246,246,245,244,244,243,243,242,241,241,240,240,239,238,238, + 237,236,236,235,235,234,233,233,232,231,231,230,229,229,228,228,227,226,226,225,224,224,223,222,222,221,220,220,219,218,218,217, + 216,216,215,214,214,213,212,212,211,210,209,209,208,207,207,206,205,205,204,203,202,202,201,200,199,199,198,197,196,196,195,194, + 193,193,192,191,190,190,189,188,187,187,186,185,184,183,183,182,181,180,179,178,178,177,176,175,174,173,173,172,171,170,169,168, + 167,167,166,165,164,163,162,161,160,159,158,158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,143,142,141,140,139,138, + 137,136,134,133,132,131,130,129,128,127,125,124,123,122,121,120,118,117,116,114,113,112,111,109,108,107,105,104,102,101,99,98, + 0,255,254,254,253,253,252,251,251,250,250,249,249,248,247,247,246,246,245,244,244,243,243,242,241,241,240,240,239,238,238,237, + 237,236,235,235,234,233,233,232,232,231,230,230,229,228,228,227,226,226,225,224,224,223,223,222,221,221,220,219,219,218,217,217, + 216,215,215,214,213,212,212,211,210,210,209,208,208,207,206,205,205,204,203,203,202,201,200,200,199,198,198,197,196,195,195,194, + 193,192,192,191,190,189,188,188,187,186,185,185,184,183,182,181,181,180,179,178,177,176,176,175,174,173,172,171,171,170,169,168, + 167,166,165,164,164,163,162,161,160,159,158,157,156,155,154,153,152,152,151,150,149,148,147,146,145,144,143,142,141,140,138,137, + 136,135,134,133,132,131,130,129,128,126,125,124,123,122,120,119,118,117,116,114,113,112,110,109,108,106,105,104,102,101,99,98, + 96,0,255,254,254,253,253,252,251,251,250,250,249,249,248,247,247,246,246,245,244,244,243,243,242,241,241,240,240,239,238,238, + 237,237,236,235,235,234,234,233,232,232,231,230,230,229,228,228,227,227,226,225,225,224,223,223,222,221,221,220,219,219,218,217, + 217,216,215,215,214,213,213,212,211,211,210,209,209,208,207,206,206,205,204,204,203,202,201,201,200,199,199,198,197,196,196,195, + 194,193,193,192,191,190,190,189,188,187,186,186,185,184,183,183,182,181,180,179,178,178,177,176,175,174,174,173,172,171,170,169, + 168,168,167,166,165,164,163,162,161,161,160,159,158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,143,142,141,140,139, + 138,137,136,135,134,133,132,131,129,128,127,126,125,124,123,121,120,119,118,117,115,114,113,111,110,109,107,106,105,103,102,100, + 99,98,96,95,0,255,254,254,253,253,252,252,251,250,250,249,249,248,247,247,246,246,245,245,244,243,243,242,242,241,240,240, + 239,239,238,237,237,236,235,235,234,234,233,232,232,231,230,230,229,229,228,227,227,226,225,225,224,223,223,222,222,221,220,220, + 219,218,218,217,216,216,215,214,214,213,212,212,211,210,209,209,208,207,207,206,205,205,204,203,202,202,201,200,200,199,198,197, + 197,196,195,194,194,193,192,191,191,190,189,188,188,187,186,185,184,184,183,182,181,181,180,179,178,177,176,176,175,174,173,172, + 171,171,170,169,168,167,166,165,165,164,163,162,161,160,159,158,157,156,156,155,154,153,152,151,150,149,148,147,146,145,144,143, + 142,141,140,139,138,137,136,135,134,132,131,130,129,128,127,126,125,123,122,121,120,119,117,116,115,114,112,111,110,109,107,106, + 104,103,102,100,99,97,96,94,93,0,255,254,254,253,253,252,252,251,250,250,249,249,248,247,247,246,246,245,245,244,243,243, + 242,242,241,240,240,239,239,238,237,237,236,236,235,234,234,233,232,232,231,231,230,229,229,228,227,227,226,226,225,224,224,223, + 222,222,221,220,220,219,218,218,217,216,216,215,214,214,213,212,212,211,210,210,209,208,208,207,206,206,205,204,203,203,202,201, + 201,200,199,198,198,197,196,195,195,194,193,192,192,191,190,189,189,188,187,186,186,185,184,183,183,182,181,180,179,179,178,177, + 176,175,174,174,173,172,171,170,169,169,168,167,166,165,164,163,162,162,161,160,159,158,157,156,155,154,153,152,151,151,150,149, + 148,147,146,145,144,143,142,141,140,139,138,136,135,134,133,132,131,130,129,128,127,126,124,123,122,121,120,118,117,116,115,113, + 112,111,110,108,107,106,104,103,101,100,99,97,96,94,93,91,0,255,254,254,253,253,252,252,251,250,250,249,249,248,248,247, + 246,246,245,245,244,243,243,242,242,241,240,240,239,239,238,237,237,236,236,235,234,234,233,233,232,231,231,230,229,229,228,228, + 227,226,226,225,224,224,223,222,222,221,221,220,219,219,218,217,217,216,215,215,214,213,213,212,211,211,210,209,209,208,207,206, + 206,205,204,204,203,202,202,201,200,199,199,198,197,196,196,195,194,194,193,192,191,191,190,189,188,188,187,186,185,184,184,183, + 182,181,181,180,179,178,177,177,176,175,174,173,172,172,171,170,169,168,167,166,166,165,164,163,162,161,160,159,159,158,157,156, + 155,154,153,152,151,150,149,148,147,146,145,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,126,125,124,123, + 122,121,119,118,117,116,114,113,112,111,109,108,107,105,104,103,101,100,98,97,95,94,92,91,89,0,255,254,254,253,253,252, + 252,251,250,250,249,249,248,248,247,246,246,245,245,244,243,243,242,242,241,241,240,239,239,238,238,237,236,236,235,235,234,233, + 233,232,231,231,230,230,229,228,228,227,226,226,225,225,224,223,223,222,221,221,220,219,219,218,217,217,216,215,215,214,213,213, + 212,211,211,210,209,209,208,207,207,206,205,205,204,203,203,202,201,200,200,199,198,198,197,196,195,195,194,193,192,192,191,190, + 189,189,188,187,186,186,185,184,183,182,182,181,180,179,179,178,177,176,175,174,174,173,172,171,170,170,169,168,167,166,165,164, + 164,163,162,161,160,159,158,157,156,155,155,154,153,152,151,150,149,148,147,146,145,144,143,142,141,140,139,138,137,136,135,134, + 133,132,131,129,128,127,126,125,124,123,121,120,119,118,117,115,114,113,112,110,109,108,106,105,104,102,101,100,98,97,95,94, + 92,91,89,87,0,255,254,254,253,253,252,252,251,250,250,249,249,248,248,247,246,246,245,245,244,244,243,242,242,241,241,240, + 239,239,238,238,237,236,236,235,235,234,233,233,232,232,231,230,230,229,228,228,227,227,226,225,225,224,223,223,222,222,221,220, + 220,219,218,218,217,216,216,215,214,214,213,212,212,211,210,210,209,208,208,207,206,206,205,204,203,203,202,201,201,200,199,199, + 198,197,196,196,195,194,193,193,192,191,190,190,189,188,187,187,186,185,184,184,183,182,181,181,180,179,178,177,177,176,175,174, + 173,172,172,171,170,169,168,167,167,166,165,164,163,162,161,161,160,159,158,157,156,155,154,153,152,151,150,150,149,148,147,146, + 145,144,143,142,141,140,139,138,137,136,135,133,132,131,130,129,128,127,126,125,124,122,121,120,119,118,116,115,114,113,111,110, + 109,108,106,105,104,102,101,99,98,96,95,93,92,90,89,87,86,0,255,254,254,253,253,252,252,251,250,250,249,249,248,248, + 247,246,246,245,245,244,244,243,242,242,241,241,240,239,239,238,238,237,237,236,235,235,234,233,233,232,232,231,230,230,229,229, + 228,227,227,226,225,225,224,224,223,222,222,221,220,220,219,218,218,217,217,216,215,215,214,213,213,212,211,211,210,209,209,208, + 207,206,206,205,204,204,203,202,202,201,200,200,199,198,197,197,196,195,194,194,193,192,192,191,190,189,189,188,187,186,186,185, + 184,183,182,182,181,180,179,179,178,177,176,175,175,174,173,172,171,170,170,169,168,167,166,165,165,164,163,162,161,160,159,158, + 158,157,156,155,154,153,152,151,150,149,148,147,146,145,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,127, + 126,124,123,122,121,120,119,117,116,115,114,112,111,110,109,107,106,105,103,102,101,99,98,96,95,93,92,90,89,87,85,84, + 0,255,254,254,253,253,252,252,251,250,250,249,249,248,248,247,247,246,245,245,244,244,243,242,242,241,241,240,240,239,238,238, + 237,237,236,235,235,234,234,233,232,232,231,231,230,229,229,228,227,227,226,226,225,224,224,223,222,222,221,221,220,219,219,218, + 217,217,216,215,215,214,213,213,212,211,211,210,209,209,208,207,207,206,205,205,204,203,203,202,201,200,200,199,198,198,197,196, + 196,195,194,193,193,192,191,190,190,189,188,187,187,186,185,184,184,183,182,181,181,180,179,178,177,177,176,175,174,173,173,172, + 171,170,169,168,168,167,166,165,164,163,162,162,161,160,159,158,157,156,155,154,154,153,152,151,150,149,148,147,146,145,144,143, + 142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,126,125,124,123,122,121,120,118,117,116,115,113,112,111,110,108,107, + 106,104,103,102,100,99,98,96,95,93,92,90,88,87,85,84,82,0,255,254,254,253,253,252,252,251,251,250,249,249,248,248, + 247,247,246,245,245,244,244,243,243,242,241,241,240,240,239,238,238,237,237,236,235,235,234,234,233,232,232,231,231,230,229,229, + 228,228,227,226,226,225,225,224,223,223,222,221,221,220,219,219,218,218,217,216,216,215,214,214,213,212,212,211,210,210,209,208, + 208,207,206,206,205,204,204,203,202,201,201,200,199,199,198,197,197,196,195,194,194,193,192,191,191,190,189,189,188,187,186,186, + 185,184,183,182,182,181,180,179,179,178,177,176,175,175,174,173,172,171,171,170,169,168,167,166,166,165,164,163,162,161,160,159, + 159,158,157,156,155,154,153,152,151,150,150,149,148,147,146,145,144,143,142,141,140,139,138,137,136,135,134,133,132,130,129,128, + 127,126,125,124,123,122,120,119,118,117,116,114,113,112,111,109,108,107,106,104,103,102,100,99,97,96,94,93,91,90,88,87, + 85,83,82,80,0,255,254,254,253,253,252,252,251,251,250,249,249,248,248,247,247,246,245,245,244,244,243,243,242,241,241,240, + 240,239,239,238,237,237,236,236,235,234,234,233,233,232,231,231,230,230,229,228,228,227,227,226,225,225,224,223,223,222,222,221, + 220,220,219,218,218,217,216,216,215,214,214,213,213,212,211,211,210,209,209,208,207,207,206,205,204,204,203,202,202,201,200,200, + 199,198,198,197,196,195,195,194,193,193,192,191,190,190,189,188,187,187,186,185,184,184,183,182,181,181,180,179,178,177,177,176, + 175,174,173,173,172,171,170,169,169,168,167,166,165,164,163,163,162,161,160,159,158,157,156,156,155,154,153,152,151,150,149,148, + 147,146,145,144,143,142,142,141,140,139,138,136,135,134,133,132,131,130,129,128,127,126,125,124,122,121,120,119,118,117,115,114, + 113,112,111,109,108,107,105,104,103,101,100,99,97,96,94,93,91,90,88,86,85,83,81,80,78,0,255,254,254,253,253,252, + 252,251,251,250,249,249,248,248,247,247,246,246,245,244,244,243,243,242,242,241,240,240,239,239,238,237,237,236,236,235,234,234, + 233,233,232,231,231,230,230,229,228,228,227,227,226,225,225,224,224,223,222,222,221,220,220,219,219,218,217,217,216,215,215,214, + 213,213,212,211,211,210,209,209,208,207,207,206,205,205,204,203,203,202,201,201,200,199,198,198,197,196,196,195,194,194,193,192, + 191,191,190,189,188,188,187,186,185,185,184,183,182,182,181,180,179,179,178,177,176,175,175,174,173,172,171,171,170,169,168,167, + 166,166,165,164,163,162,161,161,160,159,158,157,156,155,154,153,153,152,151,150,149,148,147,146,145,144,143,142,141,140,139,138, + 137,136,135,134,133,132,131,130,129,128,127,126,124,123,122,121,120,119,118,116,115,114,113,112,110,109,108,106,105,104,102,101, + 100,98,97,95,94,92,91,89,88,86,85,83,81,80,78,76,0,255,254,254,253,253,252,252,251,251,250,249,249,248,248,247, + 247,246,246,245,244,244,243,243,242,242,241,240,240,239,239,238,238,237,236,236,235,235,234,233,233,232,232,231,230,230,229,229, + 228,227,227,226,226,225,224,224,223,222,222,221,221,220,219,219,218,217,217,216,215,215,214,214,213,212,212,211,210,210,209,208, + 208,207,206,206,205,204,204,203,202,202,201,200,199,199,198,197,197,196,195,195,194,193,192,192,191,190,190,189,188,187,187,186, + 185,184,184,183,182,181,181,180,179,178,177,177,176,175,174,173,173,172,171,170,169,169,168,167,166,165,164,164,163,162,161,160, + 159,158,158,157,156,155,154,153,152,151,150,149,149,148,147,146,145,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130, + 129,128,126,125,124,123,122,121,120,119,117,116,115,114,113,111,110,109,107,106,105,104,102,101,99,98,97,95,94,92,91,89, + 88,86,84,83,81,79,78,76,74,0,255,254,254,253,253,252,252,251,251,250,249,249,248,248,247,247,246,246,245,244,244,243, + 243,242,242,241,240,240,239,239,238,238,237,236,236,235,235,234,233,233,232,232,231,231,230,229,229,228,228,227,226,226,225,224, + 224,223,223,222,221,221,220,219,219,218,218,217,216,216,215,214,214,213,212,212,211,210,210,209,209,208,207,207,206,205,205,204, + 203,202,202,201,200,200,199,198,198,197,196,196,195,194,193,193,192,191,191,190,189,188,188,187,186,185,185,184,183,182,182,181, + 180,179,179,178,177,176,175,175,174,173,172,172,171,170,169,168,167,167,166,165,164,163,162,162,161,160,159,158,157,156,155,155, + 154,153,152,151,150,149,148,147,146,145,144,144,143,142,141,140,139,138,137,136,135,134,133,131,130,129,128,127,126,125,124,123, + 122,121,119,118,117,116,115,114,112,111,110,109,107,106,105,103,102,101,99,98,96,95,94,92,91,89,87,86,84,83,81,79, + 77,76,74,72,0,255,254,254,253,253,252,252,251,251,250,250,249,248,248,247,247,246,246,245,245,244,243,243,242,242,241,241, + 240,239,239,238,238,237,237,236,235,235,234,234,233,232,232,231,231,230,229,229,228,228,227,226,226,225,225,224,223,223,222,222, + 221,220,220,219,218,218,217,216,216,215,215,214,213,213,212,211,211,210,209,209,208,207,207,206,205,205,204,203,203,202,201,201, + 200,199,199,198,197,197,196,195,194,194,193,192,192,191,190,189,189,188,187,187,186,185,184,184,183,182,181,181,180,179,178,177, + 177,176,175,174,174,173,172,171,170,170,169,168,167,166,165,165,164,163,162,161,160,160,159,158,157,156,155,154,153,152,152,151, + 150,149,148,147,146,145,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,127,126,125,124,123,121,120,119,118, + 117,116,114,113,112,111,110,108,107,106,104,103,102,100,99,98,96,95,93,92,90,89,87,86,84,82,81,79,77,76,74,72, + 70,0,255,254,254,253,253,252,252,251,251,250,250,249,248,248,247,247,246,246,245,245,244,243,243,242,242,241,241,240,239,239, + 238,238,237,237,236,235,235,234,234,233,233,232,231,231,230,230,229,228,228,227,227,226,225,225,224,224,223,222,222,221,220,220, + 219,219,218,217,217,216,215,215,214,213,213,212,212,211,210,210,209,208,208,207,206,206,205,204,204,203,202,202,201,200,200,199, + 198,198,197,196,195,195,194,193,193,192,191,190,190,189,188,188,187,186,185,185,184,183,182,182,181,180,179,179,178,177,176,176, + 175,174,173,172,172,171,170,169,168,168,167,166,165,164,163,163,162,161,160,159,158,157,157,156,155,154,153,152,151,150,149,149, + 148,147,146,145,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,127,126,125,123,122,121,120,119,118,117,115, + 114,113,112,111,109,108,107,106,104,103,102,100,99,97,96,95,93,92,90,89,87,86,84,82,81,79,77,75,74,72,70,68, + 0,255,254,254,253,253,252,252,251,251,250,250,249,248,248,247,247,246,246,245,245,244,243,243,242,242,241,241,240,240,239,238, + 238,237,237,236,236,235,234,234,233,233,232,231,231,230,230,229,228,228,227,227,226,225,225,224,224,223,222,222,221,221,220,219, + 219,218,217,217,216,216,215,214,214,213,212,212,211,210,210,209,209,208,207,207,206,205,205,204,203,203,202,201,201,200,199,198, + 198,197,196,196,195,194,194,193,192,192,191,190,189,189,188,187,186,186,185,184,184,183,182,181,181,180,179,178,177,177,176,175, + 174,174,173,172,171,170,170,169,168,167,166,166,165,164,163,162,161,161,160,159,158,157,156,155,155,154,153,152,151,150,149,148, + 147,146,145,145,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,126,125,124,123,122,121,120,119,118,116,115, + 114,113,112,110,109,108,107,105,104,103,101,100,99,97,96,94,93,92,90,88,87,85,84,82,80,79,77,75,73,72,70,68, + 66,0,255,254,254,253,253,252,252,251,251,250,250,249,248,248,247,247,246,246,245,245,244,244,243,242,242,241,241,240,240,239, + 238,238,237,237,236,236,235,234,234,233,233,232,232,231,230,230,229,229,228,227,227,226,226,225,224,224,223,223,222,221,221,220, + 220,219,218,218,217,216,216,215,215,214,213,213,212,211,211,210,209,209,208,207,207,206,205,205,204,203,203,202,201,201,200,199, + 199,198,197,197,196,195,195,194,193,193,192,191,190,190,189,188,188,187,186,185,185,184,183,182,182,181,180,179,179,178,177,176, + 176,175,174,173,172,172,171,170,169,168,168,167,166,165,164,164,163,162,161,160,159,159,158,157,156,155,154,153,152,152,151,150, + 149,148,147,146,145,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,127,126,125,124,123,122,121,120,118,117, + 116,115,114,113,111,110,109,108,106,105,104,102,101,100,98,97,96,94,93,91,90,88,87,85,84,82,80,79,77,75,73,71, + 69,67,65,63,0,255,254,254,253,253,252,252,251,251,250,250,249,249,248,247,247,246,246,245,245,244,244,243,242,242,241,241, + 240,240,239,239,238,237,237,236,236,235,235,234,233,233,232,232,231,230,230,229,229,228,228,227,226,226,225,225,224,223,223,222, + 222,221,220,220,219,218,218,217,217,216,215,215,214,213,213,212,212,211,210,210,209,208,208,207,206,206,205,204,204,203,202,202, + 201,200,200,199,198,198,197,196,196,195,194,194,193,192,191,191,190,189,189,188,187,186,186,185,184,183,183,182,181,181,180,179, + 178,178,177,176,175,174,174,173,172,171,171,170,169,168,167,167,166,165,164,163,162,162,161,160,159,158,157,156,156,155,154,153, + 152,151,150,149,149,148,147,146,145,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,127,126,125,124,123,122, + 120,119,118,117,116,115,114,112,111,110,109,107,106,105,104,102,101,100,98,97,95,94,93,91,90,88,87,85,83,82,80,78, + 77,75,73,71,69,67,65,63,61,0,255,254,254,253,253,252,252,251,251,250,250,249,249,248,247,247,246,246,245,245,244,244, + 243,243,242,241,241,240,240,239,239,238,237,237,236,236,235,235,234,233,233,232,232,231,231,230,229,229,228,228,227,226,226,225, + 225,224,223,223,222,222,221,220,220,219,219,218,217,217,216,216,215,214,214,213,212,212,211,210,210,209,209,208,207,207,206,205, + 205,204,203,203,202,201,201,200,199,199,198,197,197,196,195,195,194,193,192,192,191,190,190,189,188,187,187,186,185,185,184,183, + 182,182,181,180,179,179,178,177,176,176,175,174,173,173,172,171,170,169,169,168,167,166,165,165,164,163,162,161,160,160,159,158, + 157,156,155,154,154,153,152,151,150,149,148,147,146,145,145,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128, + 127,126,125,123,122,121,120,119,118,117,116,114,113,112,111,110,108,107,106,105,103,102,101,99,98,97,95,94,92,91,89,88, + 86,85,83,82,80,78,77,75,73,71,69,67,65,63,61,59,0,255,254,254,253,253,252,252,251,251,250,250,249,249,248,248, + 247,246,246,245,245,244,244,243,243,242,241,241,240,240,239,239,238,238,237,236,236,235,235,234,234,233,232,232,231,231,230,230, + 229,228,228,227,227,226,225,225,224,224,223,222,222,221,221,220,219,219,218,218,217,216,216,215,214,214,213,213,212,211,211,210, + 209,209,208,207,207,206,206,205,204,204,203,202,202,201,200,200,199,198,198,197,196,195,195,194,193,193,192,191,191,190,189,189, + 188,187,186,186,185,184,183,183,182,181,181,180,179,178,178,177,176,175,174,174,173,172,171,171,170,169,168,167,167,166,165,164, + 163,163,162,161,160,159,158,158,157,156,155,154,153,152,151,151,150,149,148,147,146,145,144,143,142,141,140,140,139,138,137,136, + 135,134,133,132,131,130,129,128,126,125,124,123,122,121,120,119,118,117,115,114,113,112,111,109,108,107,106,104,103,102,101,99, + 98,96,95,94,92,91,89,88,86,85,83,81,80,78,76,75,73,71,69,67,65,63,61,59,56,0,255,254,254,253,253,252, + 252,251,251,250,250,249,249,248,248,247,246,246,245,245,244,244,243,243,242,242,241,240,240,239,239,238,238,237,237,236,235,235, + 234,234,233,233,232,231,231,230,230,229,228,228,227,227,226,226,225,224,224,223,223,222,221,221,220,220,219,218,218,217,216,216, + 215,215,214,213,213,212,211,211,210,210,209,208,208,207,206,206,205,204,204,203,202,202,201,200,200,199,198,198,197,196,196,195, + 194,194,193,192,192,191,190,190,189,188,187,187,186,185,185,184,183,182,182,181,180,179,179,178,177,176,176,175,174,173,173,172, + 171,170,169,169,168,167,166,165,165,164,163,162,161,161,160,159,158,157,156,156,155,154,153,152,151,150,149,149,148,147,146,145, + 144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,127,126,125,124,123,122,121,120,119,117,116,115,114,113,112, + 110,109,108,107,105,104,103,102,100,99,98,96,95,93,92,91,89,88,86,84,83,81,80,78,76,74,73,71,69,67,65,63, + 61,58,56,54,0,255,254,254,253,253,252,252,251,251,250,250,249,249,248,248,247,246,246,245,245,244,244,243,243,242,242,241, + 240,240,239,239,238,238,237,237,236,235,235,234,234,233,233,232,231,231,230,230,229,229,228,227,227,226,226,225,224,224,223,223, + 222,222,221,220,220,219,218,218,217,217,216,215,215,214,214,213,212,212,211,210,210,209,209,208,207,207,206,205,205,204,203,203, + 202,201,201,200,199,199,198,197,197,196,195,195,194,193,193,192,191,191,190,189,188,188,187,186,186,185,184,183,183,182,181,181, + 180,179,178,178,177,176,175,175,174,173,172,171,171,170,169,168,168,167,166,165,164,164,163,162,161,160,159,159,158,157,156,155, + 154,153,153,152,151,150,149,148,147,146,145,145,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128,127,126,125, + 124,123,122,121,119,118,117,116,115,114,113,111,110,109,108,107,105,104,103,101,100,99,97,96,95,93,92,90,89,87,86,84, + 83,81,79,78,76,74,72,71,69,67,65,63,61,58,56,54,51,0,255,254,254,253,253,252,252,251,251,250,250,249,249,248, + 248,247,247,246,245,245,244,244,243,243,242,242,241,241,240,239,239,238,238,237,237,236,236,235,234,234,233,233,232,232,231,230, + 230,229,229,228,228,227,226,226,225,225,224,223,223,222,222,221,220,220,219,219,218,217,217,216,216,215,214,214,213,213,212,211, + 211,210,209,209,208,207,207,206,206,205,204,204,203,202,202,201,200,200,199,198,198,197,196,196,195,194,194,193,192,192,191,190, + 189,189,188,187,187,186,185,185,184,183,182,182,181,180,179,179,178,177,176,176,175,174,173,173,172,171,170,170,169,168,167,166, + 166,165,164,163,162,162,161,160,159,158,157,157,156,155,154,153,152,151,151,150,149,148,147,146,145,144,143,142,142,141,140,139, + 138,137,136,135,134,133,132,131,130,129,128,127,126,125,124,122,121,120,119,118,117,116,115,114,112,111,110,109,108,106,105,104, + 103,101,100,99,97,96,94,93,92,90,89,87,86,84,83,81,79,78,76,74,72,71,69,67,65,63,60,58,56,54,51,48, + 0,255,254,254,253,253,252,252,251,251,250,250,249,249,248,248,247,247,246,245,245,244,244,243,243,242,242,241,241,240,240,239, + 238,238,237,237,236,236,235,235,234,233,233,232,232,231,231,230,229,229,228,228,227,227,226,225,225,224,224,223,222,222,221,221, + 220,219,219,218,218,217,216,216,215,215,214,213,213,212,211,211,210,210,209,208,208,207,206,206,205,204,204,203,203,202,201,201, + 200,199,199,198,197,197,196,195,195,194,193,193,192,191,190,190,189,188,188,187,186,186,185,184,183,183,182,181,181,180,179,178, + 178,177,176,175,175,174,173,172,172,171,170,169,168,168,167,166,165,164,164,163,162,161,160,160,159,158,157,156,155,155,154,153, + 152,151,150,149,148,148,147,146,145,144,143,142,141,140,139,138,137,136,136,135,134,133,132,131,130,129,128,126,125,124,123,122, + 121,120,119,118,117,116,114,113,112,111,110,109,107,106,105,104,102,101,100,98,97,96,94,93,91,90,89,87,86,84,82,81, + 79,77,76,74,72,70,68,67,65,62,60,58,56,53,51,48,45,0,255,254,254,253,253,252,252,251,251,250,250,249,249,248, + 248,247,247,246,246,245,244,244,243,243,242,242,241,241,240,240,239,238,238,237,237,236,236,235,235,234,233,233,232,232,231,231, + 230,230,229,228,228,227,227,226,225,225,224,224,223,223,222,221,221,220,220,219,218,218,217,217,216,215,215,214,214,213,212,212, + 211,210,210,209,209,208,207,207,206,205,205,204,203,203,202,201,201,200,200,199,198,198,197,196,196,195,194,194,193,192,191,191, + 190,189,189,188,187,187,186,185,184,184,183,182,182,181,180,179,179,178,177,176,176,175,174,173,173,172,171,170,170,169,168,167, + 167,166,165,164,163,163,162,161,160,159,158,158,157,156,155,154,153,153,152,151,150,149,148,147,146,146,145,144,143,142,141,140, + 139,138,137,136,135,134,133,132,131,130,129,128,127,126,125,124,123,122,121,120,119,118,116,115,114,113,112,111,110,108,107,106, + 105,103,102,101,100,98,97,95,94,93,91,90,88,87,85,84,82,81,79,77,76,74,72,70,68,66,64,62,60,58,56,53, + 51,48,45,42,0,255,254,254,253,253,252,252,251,251,250,250,249,249,248,248,247,247,246,246,245,245,244,243,243,242,242,241, + 241,240,240,239,239,238,237,237,236,236,235,235,234,234,233,232,232,231,231,230,230,229,228,228,227,227,226,226,225,224,224,223, + 223,222,221,221,220,220,219,219,218,217,217,216,216,215,214,214,213,212,212,211,211,210,209,209,208,207,207,206,206,205,204,204, + 203,202,202,201,200,200,199,198,198,197,196,196,195,194,194,193,192,192,191,190,190,189,188,188,187,186,186,185,184,183,183,182, + 181,181,180,179,178,178,177,176,175,175,174,173,172,172,171,170,169,169,168,167,166,165,165,164,163,162,161,161,160,159,158,157, + 156,156,155,154,153,152,151,151,150,149,148,147,146,145,144,143,142,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128, + 127,126,125,124,123,122,121,120,118,117,116,115,114,113,112,110,109,108,107,106,104,103,102,101,99,98,97,95,94,93,91,90, + 88,87,85,84,82,80,79,77,75,74,72,70,68,66,64,62,60,58,56,53,51,48,45,42,39,0,255,254,254,253,253,252, + 252,251,251,250,250,249,249,248,248,247,247,246,246,245,245,244,243,243,242,242,241,241,240,240,239,239,238,238,237,236,236,235, + 235,234,234,233,233,232,231,231,230,230,229,229,228,227,227,226,226,225,225,224,223,223,222,222,221,220,220,219,219,218,217,217, + 216,216,215,214,214,213,213,212,211,211,210,210,209,208,208,207,206,206,205,205,204,203,203,202,201,201,200,199,199,198,197,197, + 196,195,195,194,193,193,192,191,191,190,189,189,188,187,187,186,185,184,184,183,182,182,181,180,179,179,178,177,177,176,175,174, + 174,173,172,171,171,170,169,168,167,167,166,165,164,163,163,162,161,160,159,159,158,157,156,155,154,154,153,152,151,150,149,148, + 148,147,146,145,144,143,142,141,140,139,139,138,137,136,135,134,133,132,131,130,129,128,127,126,125,124,123,121,120,119,118,117, + 116,115,114,113,111,110,109,108,107,105,104,103,102,100,99,98,96,95,94,92,91,89,88,87,85,83,82,80,79,77,75,74, + 72,70,68,66,64,62,60,58,55,53,51,48,45,42,39,36,0,255,254,254,253,253,252,252,251,251,250,250,249,249,248,248, + 247,247,246,246,245,245,244,244,243,242,242,241,241,240,240,239,239,238,238,237,237,236,235,235,234,234,233,233,232,232,231,230, + 230,229,229,228,228,227,226,226,225,225,224,224,223,222,222,221,221,220,219,219,218,218,217,216,216,215,215,214,213,213,212,212, + 211,210,210,209,209,208,207,207,206,205,205,204,203,203,202,202,201,200,200,199,198,198,197,196,196,195,194,194,193,192,192,191, + 190,190,189,188,188,187,186,185,185,184,183,183,182,181,181,180,179,178,178,177,176,175,175,174,173,172,172,171,170,169,169,168, + 167,166,166,165,164,163,162,162,161,160,159,158,158,157,156,155,154,153,152,152,151,150,149,148,147,146,146,145,144,143,142,141, + 140,139,138,137,136,135,134,133,132,132,131,130,129,128,126,125,124,123,122,121,120,119,118,117,116,115,114,112,111,110,109,108, + 106,105,104,103,101,100,99,98,96,95,94,92,91,89,88,86,85,83,82,80,79,77,75,73,72,70,68,66,64,62,60,58, + 55,53,50,48,45,42,39,36,32,0,255,254,254,253,253,252,252,251,251,250,250,249,249,248,248,247,247,246,246,245,245,244, + 244,243,243,242,241,241,240,240,239,239,238,238,237,237,236,235,235,234,234,233,233,232,232,231,231,230,229,229,228,228,227,227, + 226,225,225,224,224,223,223,222,221,221,220,220,219,218,218,217,217,216,215,215,214,214,213,212,212,211,211,210,209,209,208,207, + 207,206,206,205,204,204,203,202,202,201,201,200,199,199,198,197,197,196,195,195,194,193,193,192,191,191,190,189,189,188,187,187, + 186,185,184,184,183,182,182,181,180,179,179,178,177,177,176,175,174,174,173,172,171,171,170,169,168,168,167,166,165,164,164,163, + 162,161,160,160,159,158,157,156,156,155,154,153,152,151,150,150,149,148,147,146,145,144,143,143,142,141,140,139,138,137,136,135, + 134,133,132,131,130,129,128,127,126,125,124,123,122,121,120,119,118,117,116,114,113,112,111,110,109,107,106,105,104,103,101,100, + 99,97,96,95,93,92,91,89,88,86,85,83,82,80,78,77,75,73,71,70,68,66,64,62,60,58,55,53,50,48,45,42, + 39,35,32,27,0,255,254,254,253,253,252,252,251,251,250,250,249,249,248,248,247,247,246,246,245,245,244,244,243,243,242,242, + 241,240,240,239,239,238,238,237,237,236,236,235,234,234,233,233,232,232,231,231,230,229,229,228,228,227,227,226,226,225,224,224, + 223,223,222,221,221,220,220,219,219,218,217,217,216,216,215,214,214,213,213,212,211,211,210,210,209,208,208,207,206,206,205,205, + 204,203,203,202,201,201,200,199,199,198,198,197,196,196,195,194,194,193,192,192,191,190,190,189,188,188,187,186,185,185,184,183, + 183,182,181,181,180,179,178,178,177,176,175,175,174,173,173,172,171,170,169,169,168,167,166,166,165,164,163,163,162,161,160,159, + 159,158,157,156,155,154,154,153,152,151,150,149,148,148,147,146,145,144,143,142,141,140,140,139,138,137,136,135,134,133,132,131, + 130,129,128,127,126,125,124,123,122,121,120,119,118,116,115,114,113,112,111,110,108,107,106,105,104,102,101,100,99,97,96,95, + 93,92,90,89,87,86,84,83,81,80,78,77,75,73,71,70,68,66,64,62,60,57,55,53,50,48,45,42,39,35,32,27, + 22,0,255,254,254,253,253,252,252,251,251,250,250,249,249,248,248,247,247,246,246,245,245,244,244,243,243,242,242,241,241,240, + 239,239,238,238,237,237,236,236,235,235,234,233,233,232,232,231,231,230,230,229,228,228,227,227,226,226,225,225,224,223,223,222, + 222,221,220,220,219,219,218,218,217,216,216,215,215,214,213,213,212,212,211,210,210,209,209,208,207,207,206,205,205,204,204,203, + 202,202,201,200,200,199,198,198,197,196,196,195,195,194,193,193,192,191,191,190,189,189,188,187,186,186,185,184,184,183,182,182, + 181,180,179,179,178,177,177,176,175,174,174,173,172,171,171,170,169,168,168,167,166,165,165,164,163,162,161,161,160,159,158,157, + 157,156,155,154,153,152,152,151,150,149,148,147,146,146,145,144,143,142,141,140,139,138,137,136,136,135,134,133,132,131,130,129, + 128,127,126,125,124,123,122,121,119,118,117,116,115,114,113,112,111,109,108,107,106,105,103,102,101,100,98,97,96,94,93,92, + 90,89,87,86,84,83,81,80,78,76,75,73,71,69,68,66,64,62,59,57,55,53,50,48,45,42,39,35,32,27,22,16, + 0,255,254,254,253,253,252,252,251,251,250,250,249,249,248,248,247,247,246,246,245,245,244,244,243,243,242,242,241,241,240,240, + 239,238,238,237,237,236,236,235,235,234,234,233,232,232,231,231,230,230,229,229,228,227,227,226,226,225,225,224,224,223,222,222, + 221,221,220,219,219,218,218,217,217,216,215,215,214,214,213,212,212,211,211,210,209,209,208,208,207,206,206,205,204,204,203,203, + 202,201,201,200,199,199,198,197,197,196,195,195,194,193,193,192,192,191,190,189,189,188,187,187,186,185,185,184,183,183,182,181, + 181,180,179,178,178,177,176,176,175,174,173,173,172,171,170,170,169,168,167,167,166,165,164,163,163,162,161,160,160,159,158,157, + 156,155,155,154,153,152,151,150,150,149,148,147,146,145,144,144,143,142,141,140,139,138,137,136,135,134,133,132,131,130,129,128, + 128,126,125,124,123,122,121,120,119,118,117,116,115,114,113,112,110,109,108,107,106,104,103,102,101,99,98,97,96,94,93,91, + 90,89,87,86,84,83,81,80,78,76,75,73,71,69,67,65,64,61,59,57,55,53,50,48,45,42,39,35,32,27,22,16, + 0, +}; +#endif +#endif diff --git a/sdk/drafts/fract-machine/support/sizes.h b/sdk/drafts/fract-machine/support/sizes.h index df12a4da12..f9c9a7d060 100644 --- a/sdk/drafts/fract-machine/support/sizes.h +++ b/sdk/drafts/fract-machine/support/sizes.h @@ -4,6 +4,10 @@ static const uint16_t og_lengths_low[64]={441,480,522,568,617,672,730,795,864,94 static inline uint32_t og_length(unsigned index) { return og_lengths_low[index]+(index>=60?65536u:0u); } +/* Exact Q31 envelope velocities for the 64 SIZE lengths above. Modulated + * SIZE and grain births read these instead of dividing in the frame ISR. */ +static const uint32_t og_steps[64]={4880644,4483264,4121849,3787449,3486174,3200422,2945793,2704639,2488393,2286990,2101256,1932928,1776247,1633067,1501736,1380130,1268448,1166476,1072133,985536,906111,833003,765864,704092,647222,595035,546990,502805,462321,424991,390664,359171,330178,303574,279075,256569,235857,216829,199339,183263,168482,154896,142396,130912,120347,110643,101718,93511,85968,79035,72660,66797,61411,56456,51902,47716,43867,40329,37076,34085,31335,28808,26484,24348}; +static inline uint32_t og_step(unsigned index) { return og_steps[index]; } /* DENS (SETUP D) -> the engine's density (manifest.py, DENSITIES). */ static const uint8_t og_densities[128]={8,8,8,9,9,9,9,9,10,10,10,10,11,11,11,11,11,12,12,12,13,13,13,13,14,14,14,15,15,15,16,16,16,17,17,17,18,18,18,19,19,20,20,21,21,21,22,22,23,23,24,24,25,26,26,27,27,28,28,29,30,30,31,32,32,33,34,35,35,36,37,38,39,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,55,56,57,58,60,61,62,64,65,66,68,69,71,72,74,76,77,79,81,82,84,86,88,90,92,94,96,98,100,102,105,107,109,112,114,116,119,122,124,127}; #endif diff --git a/sdk/drafts/fract-machine/support/window.h b/sdk/drafts/fract-machine/support/window.h index 94aebd0bdd..62d25f725f 100644 --- a/sdk/drafts/fract-machine/support/window.h +++ b/sdk/drafts/fract-machine/support/window.h @@ -49,6 +49,25 @@ uint16_t og_hann_gain[65] = { }; #endif #endif +/* Exact pairs for the native shortest-Hann loop: one pool read supplies + * both the unchanged left value and its next-entry delta. */ +#ifdef OG_NATIVE_STAGE_ONE +#ifndef OG_WINDOW_STORAGE +extern const uint32_t og_hann_packed[64]; +#else +const uint32_t og_hann_packed[64] = { + 0x0000000du,0x000d0028u,0x00350041u,0x0076005cu,0x00d20075u,0x0147008fu,0x01d600a8u,0x027e00c1u, + 0x033f00dau,0x041900f1u,0x050a0108u,0x0612011fu,0x07310134u,0x0865014au,0x09af015eu,0x0b0d0172u, + 0x0c7f0184u,0x0e030196u,0x0f9901a7u,0x114001b6u,0x12f601c5u,0x14bb01d3u,0x168e01dfu,0x186d01eau, + 0x1a5701f4u,0x1c4b01fdu,0x1e480205u,0x204d020bu,0x22580210u,0x24680214u,0x267c0217u,0x28930217u, + 0x2aaa0218u,0x2cc20217u,0x2ed90214u,0x30ed0210u,0x32fd020bu,0x35080205u,0x370d01fdu,0x390a01f4u, + 0x3afe01eau,0x3ce801dfu,0x3ec701d3u,0x409a01c5u,0x425f01b6u,0x441501a7u,0x45bc0196u,0x47520184u, + 0x48d60172u,0x4a48015eu,0x4ba6014au,0x4cf00134u,0x4e24011fu,0x4f430108u,0x504b00f1u,0x513c00dau, + 0x521600c1u,0x52d700a8u,0x537f008fu,0x540e0075u,0x5483005cu,0x54df0041u,0x55200028u,0x5548000du, +}; +#endif +#endif + /* SHPE (scripts/shapes.py, shapes.h): 32 rows beside Hann, each an attack * half read ascending below its switch and a release half read by distance * from the grain's end, interpolated like og_hann_gain. A grain latches its diff --git a/sdk/drafts/fract-machine/verify.py b/sdk/drafts/fract-machine/verify.py index 39fb64f7f0..37f18f9820 100644 --- a/sdk/drafts/fract-machine/verify.py +++ b/sdk/drafts/fract-machine/verify.py @@ -1,12 +1,19 @@ #!/usr/bin/env python3 # SPDX-License-Identifier: GPL-3.0-or-later -"""Firmware-free FRACT compile/link gate; not device or release qualification.""" +"""Firmware-free FRACT compilation and module contracts; not device qualification.""" from pathlib import Path import subprocess import sys if __name__ == '__main__': - raise SystemExit(subprocess.call([ + module = Path(__file__).resolve().parent + result = subprocess.call([ sys.executable, '-B', str(Path(__file__).resolve().with_name('check_source.py')), *sys.argv[1:], + ]) + if result: + raise SystemExit(result) + raise SystemExit(subprocess.call([ + sys.executable, '-B', '-m', 'unittest', 'discover', + '-s', str(module / 'qualification/tests'), '-p', 'test_*.py', ]))