Repository navigation
Conversation
The rest of core-dt2 (the PERSONALIZE, frame and key-LED events, the value rows, the kit and project data store and the memcpy hook, its mod.json) and include/digitakt-mk2/core.h are now Modwerk's own source (GPL-2.0-or-later, author Modwerk) at the same paths, written from a behavioural specification of core-dt2 1.1's interface and saved formats. Every export, import, weak symbol, contribution, collection, site (all 47), target, id and version of the built package equals 371564c4's; only internal symbols, sections and build sources differ. The saved kit area (4B, layout id, blocks, zeros) and the ELKP project gap are unchanged. Identity, recorded with machine:base --write: Digitakt II 1.17 371564c4 -> e02f3f96 (.run 15,574, .bss 12,236). The old packages stay. base.json: the core's own mod.json carries KIT_ROOM 146, so the copy and copies are gone; reference.file is now the 371564c4 package, keeping also version and target, so the 1.1 additions are checked on every build. Tests: the imported files the source-unchanged and kit-room tests inspected are gone, so test_machine_base.py now pins that every DT2 core source is Modwerk's (OWN_CORE, GPL-2.0-or-later header), that KIT_ROOM is 146 and equals store.c's area (store.s refuses another), and runs the store on the host (core-dt2/tests/store-test.c) with the format's byte vectors. Every other imported file stays pinned. Co-Authored-By: Claude Opus 5.5 <[email protected]>
One dated record names e02f3f96 from the previous commit, licence GPL-2.0-or-later, as the new package says; 371564c4 and 948be0c4 and their records stay, so older evidence still relinks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Rebuilt on the relicensed hook bus: a60c529b (code as e02f3f96). The base check now keeps every item of d7ec4d3c, the hook-bus base this core replaces (same code as 371564c4, only licence lines differ). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
One PR per device now. This PR targets |
|
Tested on a Digitakt II, OS 1.17, with base
The pitch difference after a pattern copy is the same on today's base |
|
@repeat98 I'd like your OK to flash Modwerk base images on my Digitakt II (OS 1.17) so it can be the second unit for this PR and Claptom's open base PRs. What I'm asking: permission for the custom-image flashes below, each sent with the stock OS upgrade (Transfer over USB, YES on the unit), one at a time. I'll restore stock 1.17 at the end, or at the first fault. Nothing has been flashed yet. Already done, no flash involved:
Order and images (version label, SHA-256):
Development bases and Claptom's private test modules (FX Probe, the type-7 filter routine, Morpha) are not in this request. Questions:
Details
|
main's Model:Cycles core (#2394) and this branch each defined a module-level OWN_CORE in sdk/tests/test_machine_base.py; the merge kept both, so the second replaced the first. The sets are now DT2_CORE and MC_CORE, each test checks its own, and still_imported checks both. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@Claptom-music this is ready for its unit round, as we agreed: on its own, before the combined image for the next release. What it is: the Digitakt II base on Modwerk's own core. I merged Please run, on a scratch project first, with your usual modules (at least Euclidean Scale and Chord Arp, which save data):
Then the same on a copy of a real project. Please add the image's full SHA-256 and each case's result to the table in the description. If anything fails, stop and tell me before going on; it stays out of the release until it passes. Once this passes, it joins the combined image with #2204, #2477, #2445 and #2446. |
|
Second Digitakt II: the reference base boots, with and without modules. Boot and module-screen checks only, no functional validation. Run on my unit (bought new, shipped with OS 1.15C), on 30 November 2026.
Not tested (functional validation): SAVE PROJECT and a power cycle, KIT SAVE and LOAD, pattern copy/paste, projects crossing bases, how the modules sound. Details
|
|
@Claptom-music You told me only two tests are needed from a second unit right now. Which two, exactly? I'll run them on my Digitakt II next, and only those. Ready on my side, built at this PR's current head
My guess is cases 5 and 6 from Jannik's list: projects crossing Note on image identityThe candidate image differs from the one I built at |
|
Thanks for checking stock recovery first and for keeping your results separate. Yes, please go ahead with the candidate image (base
Claptom's run on 29 November already covers the rest on a first unit. Post each result here with the image's SHA-256, and restore stock 1.17 at the first fault. Please hold off on separate images for #2204, #2445, #2446 and #2477: they go into one combined image for the next unit round. |
What this is: the Digitakt II base's core parts (
core-dt2/: PERSONALIZE, frame and key-LED events, value rows, and the kit and project data store) and its header (include/digitakt-mk2/core.h) are now Modwerk's own source (GPL-2.0-or-later), at the same paths. This stacks on the hook bus draft (#2392) and moves tomainafter it.a60c529band passes its check against the hook-bus based7ec4d3c. All 47 sites, every export, import, weak symbol, collection and contribution, and the id and version are identical, field for field. All 6 Digitakt II modules build alone on the page and match off the page, and so do Chord Arp + Euclidean Scale + Track Names and Perform Direct + Perform Levels. A new host test pins the saved-data formats: the kit area is4B A2 BD+ 64 bytes + 79 zeros for Euclidean Scale, with layout id0xA2BDand CRC check0x29B1, and it covers mismatch, foreign and blank areas, kit copies through the shadows, and the project-data container.test_machine_base.py, the elekloader tests (457),modules:checkandelekloader:checkpass. The fullnpm run checkpassed before the rebase onto the relicensed bus.docs/MACHINE_RECIPE.mdand the Digitakt II README still described the base as built from the importedcore-dt2source; both now say it runs on Modwerk's own core with core-dt2 1.1's interface. Mergingmainshowed one more gap: two branches that each define the same module-level name in a test file merge without a conflict, and the second silently replaces the first (OWN_COREinsdk/tests/test_machine_base.py, nowDT2_COREandMC_CORE).Edge cases
store-test.cwith the spec's vectorsDetails
copies/mechanism is gone (KIT_ROOM146 in the core's ownmod.json). The base check's reference is now the hook-bus base, so core 1.1's additions are checked too.test_machine_base.py: the "unchanged import" test became an own-source test, and the kit-room test checks the new constants. Every other imported file stays pinned.mod.jsonstill carries its 14 sites' stock bytes as hex, as before; moving them to length + SHA-256 needs an SDK change.🤖 Generated with Claude Code