Repository navigation
Improvement: Octatrack base 0.8.1 cumulative draft - #2050
Merged
Merged
Conversation
…ing (43 cycles, was 51) The key bus charge (dsp-sites.json feature 8, MW_DSP_KEYBUS_HARDWARE) was timed on 23 October on the 41-instruction tap and kept until the one-pass tap of Sidechain Compressor 0.2.0 (25 instructions) was timed. Timed now with the same method on the owner's MKII: core 0's load meter, RINGMOD SC on T1 FX1 with KEY OFF against the same Part without it, 33.8 idle passes a frame = 42.2 chip cycles a sample, on two development twins (856cbbcf and 1c937ed6). Charged rounded up, 43. Evidence: evidence/keybus-tap-timing-20261123.json. dsp_ledger.h regenerated with dsp_sites.py --write; test_resident_engines.py's pinned figure follows, as #888 added it with the 51. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…me-head stalls dsp_receiver.asm, private and window halves: - 27 two-word add/sub/cmp immediates on a that fit the 6-bit form now use it (4 private, 23 window). c1wait's add stays long: status.c's idle_cycles[1] is that pass as calibrated on the unit. - The 10 zero loads (#>0 into x0, x1, a) use the one-word 8-bit form. - The no-packet frame no longer uses an address register right after loading it: r1 is loaded before the displaced instruction and tblready (moved just before idlewin) is read with a post-increment onto the meter's words; the frames left stay in x1 instead of being read back from P; the magic is read as x:(r6+$320), and only a packet's frame computes r0. - dsp_loader.py: core 1's meter clears its count through x1, not through a. The resident port's patch and pins follow (its cmp #10/#11 take the short form too). Modelled with the cycle scan's interlock model (interlock_scan.analyze over the executed path): the steady no-packet frame on core B (P:$76) 134 -> 110 cycles, 18 -> 5 stall cycles; core A 129 -> 106. Words: private -8 a core (-10 in the resident port), window half -29 a core. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Base 0.8 shipped on 23 November 2026; base/octatrack-next starts again from main as the cumulative draft for 0.8.1. The base is not regenerated here: the first change merged in regenerates it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The input package's reviewed recipe still pinned modwerk_events.h from before base 0.8 (ev_frame_deadline, f1e9c02/42a390026), which refreshed only the output-only recipe, so --usb-input --release refused to build. A recapture differs in that one hash only; image, generated assembly, settings and all four copies are unchanged, and the package rebuilds byte-identical to the one run on a unit on 21 Nov (0cb56b0c...). A new test hashes every repository file both USB Audio recipes pin, so a header change can no longer refresh one recipe and forget the other. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… key-bus charge Regenerated with npm run octatrack:base -- --beta --write, then octatrack:module-packages -- --base-only and base-size --write, on base/octatrack-next with #2049 and #2048 merged in. #2028 (the boot stub's late-combine guard) stays out until it can be tested with a flash. Base 0.8.1 48133772ba8c7a42..., 831,052 of 851,712 container bytes, 20,660 free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… after #2048 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…MKII Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ookup Every UI tick looks up each installed module's price (hush_pick) and a few stock figures, and cost_row re-checksummed the whole battery-RAM table on each lookup. status.c now copies the table into RAM after checking it, and reads only its header (magic, count, sum) on each lookup: a write or a torn table changes the header and the copy is checked again. Owner's MKII, 0.8.1 controller-row twins, same project, 16 unused modules: profile "module UI ticks" 1,411.5 -> 247.0 us a tick (empty 461.8 -> 226.5); CPU meter stopped 45.9 -> 40.9 % (empty 39.8 -> 38.4 %). Base regenerated: 0.8.1 eb6679620d0c9ed7, 20,464 bytes free. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
repeat98
marked this pull request as ready for review
November 23, 2026 19:17
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cumulative draft for the next Octatrack base, 0.8.1 (see Change a base). Base 0.8 (#1910) shipped on 23 November 2026; this branch starts again from
main.It stays a draft until the base has been tested extensively on a unit. Only the owner marks it ready and ships it.
Tested on a unit: base eb6679620d0c9ed7 (the release image), MKII, OS 1.40C, 23 November 2026: a RAM boot, a 16-module and a 17-module set trial of 30 s each and the USB input package in a 15 s trial, all with no crash, stall, freeze or skipped track and all rolled back, then a RAM boot back to the flashed 0.8. Earlier the same day, development twins of the same source ran every non-machine package alone, RINGMOD SC on a slot while playing, and the idle-CPU comparison before and after the cost-table fix (record). Not run: a Keep, a power cycle or a flash of 0.8.1, the soak, and audio through USB input.
Edge cases
91a0a86etest_status.c(rewrite, torn sum, restored sum)profile:5and the CPU meter0cb56b0c…, 15 s trial on the release imagec06f9e21Guides:
docs/TEST_PROCEDURE.md's whole-set step could not pass on today's catalogue, fixed in #2072; nothing else.In this draft so far
eb6679620d0c9ed7…, 831,248 of 851,712 container bytes, 20,464 free (+268 since 0.8).npm run checkpassed on this head.modwerk_events.hfrom before 0.8, so--beta --usb-inputrefused to build it. A recapture differs in that one hash only; the release input package rebuilds byte-identical to the one run on a unit on 21 Nov (0cb56b0c…, record), and the INPUTS row (OFF/AB/CD/ABCD) is already in the USB AUDIO settings. A new test (scripts/usb-audio-recipes.test.mjs) fails when either USB Audio recipe pins a changed file. USB input has not run on a 0.8.x base yet. Owner, 23 Nov 2026: input ships inside the public USB Audio module as its INPUTS row, OFF by default, not as a separate package (not built yet).Proposed, not merged in yet (draft PRs against
base/octatrack-next)#2028 is held out of 0.8.1 for now: it changes the boot stub, and its only real test is a two-slot conversion, which means a flash.
Owed before release
b973f6863on the owner's MKII (record): every non-machine catalogue package installs alone and rolls back; two large sets (17 and 16 packages) ran 30 s each with no crash, stall, freeze or skipped track; RINGMOD SC was admitted on a slot with the key bus charged (DSP +0.7/+0.9). Still owed: the release imageeb667962…itself, Keep and power cycle, Amiga and Grain trials in a project that does not name them, the soak, and Octatrack base 0.8.1: the DSP receiver one-word forms and fewer frame-head stalls #2049's meter-at-rest A/B.test:procedure --basestep 7 cannot pass on today's catalogue: all 38 packages hold three declared conflicts and exceed the module pool. AFix:PR should take the largest set that fits.meterscenario (scripts/verify-octatrack-dsp-loader.mjs) fails on 0.8.1 and on plain 0.8 alike: it still callsmodwerk_dsp_meter_readwith one argument, and the status page's own meter reads reset its counters. Not a 0.8.1 regression; Fix: the emulator's meter scenario reads all five words and checks only its own #2065 repairs the scenario on main (two passing emulator runs).mainand anything it finds is fixed here.Background
The receiver, key-bus and stub items come from the 23 November look at octabam (MIT, Sam Banks): its DSP audit's one-word forms, and its GCC/Unicorn post-increment trap (#1134 upstream).
🤖 Generated with Claude Code