Skip to content

Machine: Digitone II base for OS 1.12 (from the Digitakt II base) - #1760

Merged
repeat98 merged 6 commits into
repeat98:base/digitone-ii-nextfrom
prodbysmolec:machine/digitone-ii-base
Nov 19, 2026
Merged

repeat98 merged 6 commits into
repeat98:base/digitone-ii-nextfrom
prodbysmolec:machine/digitone-ii-base

Conversation

@prodbysmolec

@prodbysmolec prodbysmolec commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator
  • What was wrong or hard: Piece 2 of the Digitone II goal: the Digitone II had no Modwerk base. The owner's plan (board, 19 November 2026): reuse the Digitakt II base with the Digitone II's own recipe, as the Rytm MKI reuses the MKII's. Builds on Improvement: Digitone II build path (linker profile and carried device) #1750 (Modwerk's builder carries the Digitone II device, which machine:base needs); this branch contains its commits, so please review it after Improvement: Digitone II build path (linker profile and carried device) #1750.

  • What this changes: sdk/machines/digitone-ii/elekloader/base.json names the Digitakt II's elekloader folder as its source (core-dt2 1.1, unchanged) and gives the Digitone II's recipe: device digitone-mk2, the 24 addresses (defsym) and 14 sites core-dn2 0.3 builds the same source with (toonst's elekloader fork at 3d7c2e3, GPL-2.0-or-later; its builds ran on two units, Docs: Digitone II core-dn2 0.3 boots on a second unit #1743). Sites name their stock bytes by length and SHA-256 only. copies/core-dt2/ holds three Digitone II copies: mod.json (OS 1.12, no .fast area, since SRAM is not qualified: no fast.s, core_fast or its copier), store.s (the kit loader's registers are the other way round) and store.c (a 337-byte kit room, so a 340-byte buffer). One plain variant, without the Digitakt II base's sequencer and project additions, whose Digitone II sites are not found yet. A test pins what each copy changes. base.json is pending: no base-binding.json and no budget in the profile until this exact build ran on a unit. The profile's stack says the base is started; the goal page, the recipe table, a README and a changelog entry follow. No firmware and no built image in the repository.

  • How I checked it: npm run pr:ready (Ready). On my own stock 1.12 (7e5b8a73…), with the reviewed toolchain (m68k-elf GCC 16.2.0, binutils 2.47) and the kit-pinned Elekloader checkout (3b31ef3): npm run machine:base -- digitone-ii builds the package 7a60d82e… (.boot 50, .run 3,656, .bss 3,120 bytes; 14 sites), the same identity on a rebuild. Linked with the pinned kit's patcher and verified, alone and with elekloader's hello-marker-dn2 and hooks-check-dn2: sections 2, 4, 5, 7 and 8 byte for byte, the main OS depacks in place (min gap 2,388,250 bytes), flash ends at 0x28cfa0 (995,424 bytes spare). Modwerk's own linkMods gives both main OS images byte for byte.
    Tested on a unit: base 7a60d82e (package sha256 7a60d82ebdf30d9e…), Digitone II, alone and with hello-marker-dn2 and hooks-check-dn2, linked and packed by Elekloader 0.11.0's patcher: boot, hooks, project save across a power cycle, stock restore

  • On a unit (19 November 2026, record): this base package, linked with hello-marker-dn2 and hooks-check-dn2, flashed with Transfer and booted: the marker, all hook bars and the HOOK TEST rows in SETTINGS and PERSONALIZE behaved as in Docs: Digitone II core-dn2 0.3 boots on a second unit #1743; a project kept a saved change across a power cycle and kits played normally. The base alone behaved as stock, and stock 1.12 restored the unit. Finding: the images the pinned kit packs (2.72 MB of .syx, about 2.15 MB of container) were refused at 99 %; the unit's update limit is about 2 MiB (Elekloader 0.11's update_max). The images that ran were linked by Elekloader 0.11.0's patcher, which packs the same main OS smaller (byte for byte the one Modwerk's linker writes). So the binding stays pending, and a site build for the Digitone II needs a packer and a size check that fit that limit: the next piece. Posted on the board as a finding.

  • What the guides lacked or got wrong, and where I fixed it: the goal page's base row and the recipe table's Digitone II row now say what is built, that it ran on a unit and that the pinned kit packs Digitone II images over the unit's update limit; the verification record has the details.

🤖 Generated with Claude Code

prodbysmolec and others added 6 commits November 18, 2026 21:09
ele3.ts gets ELE3_DEVICES['digitone-ii'] (the Digitakt II's platform:
main section 3 at 0x40000400, staged at 0x40400000, flash 0x80000 to
0x380000, HMAC seal; SysEx id 0x15) as an ElemodMachine, so DigiMachine
and the app's firmware flow are unchanged. elemod.ts gets LINK_DEVICES
'digitone-mk2' for OS 1.12 with the 256 KB DDR area at 0x47F00000 and
no .fast area, the values of elekloader's device profile and the OS
research; a test ties them to the profile, the research and the
Digitakt II's container.

core-dn2 carries its SHARC bridge in a 'sharc' field. The linker now
takes it on the Digitone II (its ABI only) and refuses a set in which
another mod brings DSP code, since it writes the main OS alone.

On the owner's stock 1.12, linkMods links core-dn2 0.3 (toonst's fork
at 3d7c2e3) and 0.4 (elekloader 0.11.0's release, sha256 103af58b),
each alone, with hello-marker-dn2, with hooks-check-dn2 and with both,
to the main OS image elekloader.patch writes, byte for byte: eight
sets. Two of the 0.3 images are the builds that ran on a unit (repeat98#1743).

The pinned Elekloader kit the site and machine:base build through
does not know the Digitone II; the goal page says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ield, and compare containers without unused names

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The pinned Elekloader kit has no Digitone II, and stays unchanged (owner, 19 November 2026). The device's facts live in
sdk/machines/digitone-ii/elekloader/device.json; npm run machine:base registers it with the kit's Python SDK, and the
site registers it with the browser kit in the page and in its own builder worker. Tests tie it to machine.json and to
Modwerk's linker and container profiles.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…addresses

sdk/machines/digitone-ii/elekloader/base.json reuses the Digitakt II base's core-dt2 1.1 source with the Digitone II's
device, 24 addresses and 14 sites (core-dn2 0.3's, toonst's fork at 3d7c2e3), as the Rytm MKI reuses the MKII's, and
copies of mod.json (OS 1.12, no .fast area), store.s (the kit loader's registers) and store.c (the kit room). One plain
variant; pending its run on a unit, so no binding yet. A test pins what each copy changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… update limit

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the unit run and the clear record. One small thing: the red mark here isn't a real failure. Two copies of the module checks started at the same moment for this commit, one was cancelled and the other passed. The next push (merging main is enough) runs them again and should turn it green. Then this can follow #1750, with #1761 after it.

@repeat98
repeat98 changed the base branch from main to base/digitone-ii-next November 19, 2026 07:49
@repeat98
repeat98 merged commit 8085aed into repeat98:base/digitone-ii-next Nov 19, 2026
21 of 29 checks passed
@repeat98

Copy link
Copy Markdown
Owner

Thanks, this is merged into base/digitone-ii-next, the new cumulative Digitone II base draft: #1767. Base changes now collect on one draft per machine and ship together once the base has been tested extensively on a unit (Change a base). Your commits are in it as they were; the merge with current main took your rows in the recipe table and goal page. Open your next Digitone II base change against base/digitone-ii-next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants