Skip to content
w0tsPublic

About

Multitone: a shared multi-boot kernel and data rule for Digitone II firmwares (design, not built)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Multitone

Multitone is a shared way for several Digitone II firmwares to live on one unit and to share its +Drive.

In plain words: it is (1) a small boot kernel that can start a firmware kept on the +Drive instead of the one in flash, and fall back to a safe one when that fails; and (2) one shared rule for where each firmware keeps its extra data, how a firmware is named (brand, name, version), and how a project made with another firmware is recognised and shown to the user.

Status

Stage 1, "1.12 + Multitone", chains the picked firmware on the DN2 (always through the reset: the route without it is withdrawn, 2026-11-27, spec/boot-rule.md), falls back after two failed boots, and STOP held gives plain 1.12 + Multitone (2026-11-25, 2026-11-26). The shared data rule is built and tested in the emulator gates: stamps, checks and questions in Wishes and stage 1, the erases in Wishes. site/protocol.html marks each rule. The design study: docs/design.md (2026-11-22).

What is in this repository

path what
docs/design.md the full design study (multi-boot, the shared data rule, the kernel as a component)
spec/identity.md the firmware identity, the open list, and a proposed binary record (a proposal)
registry/firmwares.txt the firmware registry: one line per firmware (proposal; first entries)
site/about.html the About page (shared w0ts style, teal accent)
site/manager.html the device manager page (firmwares, projects, presets, kits, backups, samples over USB)
site/installer.html the Installer: Multitone built from the user's own stock 1.12, checked, flashed (multitone-install.js, install-worker.js)
site/multitone.json what the Installer may flash: the cleared stage-1 builds, by sha256 (empty: nothing). Nothing else is ever flashed: every other firmware, Wishes included, goes to the +Drive
site/multitone-manager.js, site/manager/ the device manager component
site/multitone-flash.js the flasher component: the Installer's flash (Multitone stage 1 only) and the manager's Firmwares tab (any .syx to a Multitone slot; no Flash)
site/multitone-midi.js the connection component: finds the Digitone II and connects by itself (eject, settings)
site/protocol.html Protocol: what a firmware must do to run as a Multitone guest and to share projects and data (each rule marked built on the DN2 or in the emulator), how to check a build or a +Drive
conformance/ the conformance kit: check.py (a firmware file as a guest; --registry against its line; --drive a +Drive image's root, slots, stamps and cells), host.py (a 7D 03 host against a fake DN2), mtkit/mtdata.py (the kernel's shared data in Python: compatible(), the link, the stamps, the cells), its tests
site/multitone-fw.js the firmware receiver's panel and protocol (the manager's Firmwares tab, the flasher's target (b))
site/parts/wishes-samples.html Wishes' sample import, taken by scripts/vendor_samples.py (the Samples tab)
docs/protocol-7d03.md the 7D 03 protocol (frames, commands, slot formats v1 and v2)
docs/embedding.md how a site (Multitone's, Wishes') embeds the manager and the flasher
third_party/DNX DNX (NoiseAndMatter, AGPL-3.0), a submodule; scripts/build_dnx.sh compiles it for the manager

The site: site.json, laid out by the shared w0ts site builder (w0ts.github.io, builder/w0ts_site.py; the Pages workflow .github/workflows/pages.yml runs it): git submodule update --init, then bash scripts/make_site.sh OUT (needs python3, node and the builder), served at https://w0ts.github.io/multitone/. Tests: python -m pytest test (node and a Chrome; Elektron's OS 1.12 file in DN2_OS112 for the container tests). The kit: python3 -m unittest discover -s conformance/tests (standard library only; DN2_OS112 and MT_GUEST_SYX for its file tests).

How a firmware adopts it (later)

Planned, not built yet:

  1. Add this repository as a git submodule (w0ts/multitone); Wishes first.
  2. Run the build glue that places the kernel as the first code chunk of the firmware and fills its descriptor (number, 4-letter id, name, version, ranges, machine-type block, open list).
  3. Take a registry line (number, machine-type block, +Drive and RAM ranges) by pull request.
  4. Build against the per-stock-version address table (1.12 first); on a stock version without a table the kernel switches itself off and the firmware boots normally.

Licence

AGPL-3.0-or-later (LICENSE; the User's answer to the design's Q1, 2026-11-24). DNX is AGPL-3.0 (third_party/DNX/LICENSE, copied into the built site).

About

Multitone: a shared multi-boot kernel and data rule for Digitone II firmwares (design, not built)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages