Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
eef5309
Digitone II development link, stage one: read-only diagnostics over U…
prodbysmolec Nov 19, 2026
3cae010
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 19, 2026
09b5e8e
Digitone II link: ident and mem answered on a unit over USB
prodbysmolec Nov 19, 2026
5c858ad
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 19, 2026
d6aa114
Link record: host versions
prodbysmolec Nov 19, 2026
209fbfd
Link record: the marker showed
prodbysmolec Nov 19, 2026
ba425e3
Digitone II link: wait a tick while stock is mid-SysEx on USB
prodbysmolec Nov 19, 2026
76a93ac
Link record: the build with the mid-SysEx wait ran on the unit
prodbysmolec Nov 19, 2026
2b3256e
Link record: sounds normal
prodbysmolec Nov 19, 2026
2235fd0
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 19, 2026
4e64382
Merge base/digitone-ii-next
prodbysmolec Nov 19, 2026
f058783
Digitone II link host: read the screen through mem
prodbysmolec Nov 19, 2026
3d85508
Changelog: the Digitone II link reads the screen
prodbysmolec Nov 19, 2026
61b1aab
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 19, 2026
4705b13
Digitone II link, stage two: panel keys and encoders while armed (WIP…
prodbysmolec Nov 19, 2026
f21e71d
Digitone II link host: turns in steps of up to 8
prodbysmolec Nov 19, 2026
2d18a61
Digitone II link, stage two: keys and encoders ran on a unit
prodbysmolec Nov 19, 2026
d9d09ba
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 19, 2026
8aa4df1
Digitone II link host: the panel's key names, and FUNC held from the …
prodbysmolec Nov 19, 2026
adaa652
Digitone II link host: the page, perform, save, tap and unison keys, …
prodbysmolec Nov 19, 2026
d9abf4a
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 22, 2026
6d07f4c
Digitone II link host: a new sequence number per request; accept a me…
prodbysmolec Nov 22, 2026
f571f3a
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 22, 2026
3cffce1
Merge branch 'machine/digitone-ii-link' into machine/digitone-ii-link…
prodbysmolec Nov 22, 2026
9d1971f
Digitone II link: releases survive disarm; no remote key while an OS …
prodbysmolec Nov 22, 2026
5872263
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 25, 2026
cc3714c
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 25, 2026
5ec4305
Digitone II link: the unit chooses what it returns (counters and the …
prodbysmolec Nov 25, 2026
4cb6244
Digitone II: the site's client reads the screen with the link's scree…
prodbysmolec Nov 25, 2026
6f2fbba
Digitone II link: a press or turn the link queued before UPGRADE OS N…
prodbysmolec Nov 25, 2026
0a4b505
Merge remote-tracking branch 'upstream/main' into machine/digitone-ii…
prodbysmolec Nov 25, 2026
fd9a48e
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 25, 2026
ca58dea
Merge #1763 (the unit chooses what the link returns) into the key link
prodbysmolec Nov 25, 2026
16b3cab
Digitone II host fixture: unpack_reply, so it never meets link.c's ow…
prodbysmolec Nov 25, 2026
c6aae36
Merge remote-tracking branch 'upstream/base/digitone-ii-next' into ma…
prodbysmolec Nov 26, 2026
0103efa
Merge remote-tracking branch 'origin/machine/digitone-ii-link' into m…
prodbysmolec Nov 26, 2026
7419aed
Remove mem from the site's Digitone II link client
prodbysmolec Nov 26, 2026
eb424ae
Merge branch 'machine/digitone-ii-link' into machine/digitone-ii-link…
prodbysmolec Nov 26, 2026
5d37e3f
Hold back the link's releases at UPGRADE OS NOW? too
prodbysmolec Nov 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/2026-11-19-digitone-ii-link-keys.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Digitone II: the development link can now play panel keys and encoder turns from the computer over USB while SETTINGS > REMOTE CTRL is on, and stops for a few seconds when someone at the unit presses a key. Release bases do not have it.
1 change: 1 addition & 0 deletions changelog/2026-11-19-digitone-ii-link.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Digitone II: development bases now carry a read-only USB link for diagnostics, in the Analog Rytm MKII link's format: the unit's link status, memory reads and a picture of its screen. Release bases do not have it.
1 change: 1 addition & 0 deletions changelog/2026-11-25-digitone-ii-link-bounded.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Digitone II: the development link no longer reads memory at an address the computer names. It answers only with its own counters and the screen, sent as one frame even while the display changes. Release bases do not have the link.
13 changes: 13 additions & 0 deletions docs/verification/2026-11-19-digitone-ii-link-keys-on-a-unit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Digitone II: the development link plays panel keys and encoders, 19 November 2026

Stage two of the Digitone II development link (`sdk/machines/digitone-ii/LINK.md`) on OS 1.12. Contributor's Digitone II (@prodbysmolec), on the unit of the [stage one record](2026-11-19-digitone-ii-link-on-a-unit.md), flashed over USB with the OS upgrade protocol of `os-upgrade.ts` (the developer pressed YES on the unit).

- **Found on the unit first, with stage one's `mem`:** the UI queue's getter (0x4013747a) holds 0x4059e214; the queue keeps 1,024 message pointers at 0x405c6a34. With the developer pressing and turning, the panel's messages read as the Analog Rytm MKII's: kind 0 a key (its id, flags 0x01 press and 0x10 release, a time), kind 1 an encoder (its number, the delta in the top byte). Keys, each pressed alone in a named order: TRIG (page) 0x01, SYN 0x02, FLTR 0x03, AMP 0x04, FX 0x05, MOD 0x06, PERFORM 0x07, SAVE PROJ 0x08, TAP TEMPO 0x09, YES 0x0a, UP 0x0b, NO 0x0c, LEFT 0x0d, DOWN 0x0e, RIGHT 0x0f, TRK 0x10, FUNC 0x11, KB SETUP 0x12, REC 0x13, PLAY 0x14, STOP 0x15, PAGE 0x16, PTN 0x17, SONG 0x18, TRIG 1 0x19 to TRIG 16 0x28, ARP 0x33, TRANSPOSE + 0x34, NOTE EDIT 0x35, TRANSPOSE - 0x36, UNISON 0x32. The ids between, 0x29 to 0x31, fit the encoders' pushes (stock reads is_key_held(encoder + 40) on a turn); they were not pressed alone. Encoders: A to H 1 to 8, LEVEL 9, each read alone. is_key_held is 0x4011fac4 with its tables at 0x401f3d10 (111 ids) and 0x445a2e30.
- **Build:** `npm run machine:base -- digitone-ii --dev`, development package `300c83be199c70fca8f31b6203953fdd1a2b92938415020d0fa855c4d18fe4b1` (.run 6,629, .bss 4,364 bytes; 16 sites; no jump to an odd address), linked with `hello-marker-dn2` 1.0 by Elekloader 0.11.0's patcher and verified (sections 2, 4, 5, 7 and 8 byte for byte, the in-place depack): `.syx` `4fd37eac11d36a393163975e9cd98ec2baa1fa841c68e63670839202a0f48249`. It flashed and booted; `ident` read armed at boot.
- **Encoders:** `turn A 3` showed ATK's value change; turns of one detent each moved Attack Time about a fifth of a step (530 to 117), turns of up to 8 a message moved it faster, as the panel's fast turns do: up to Attack Time=127, then down to 0, each read on the screen through `screen`.
- **Keys:** `press PLAY`, four seconds, `press STOP`: the pattern ran and stopped (the developer).
- **The link's own events:** after 650 posted keys and turns, `ident` counted no person and refused none.
- **Arm:** SETTINGS ended with REMOTE CTRL: ON. The developer pressed YES on it: REMOTE CTRL: OFF, and `press STOP` came back not armed. YES again turned it on.
- **A person at the unit:** the developer pressed a key while armed; the link's next key came back "a person is at the unit" (status 5), and one 3.5 s later went through.
- **A held key:** while the link held FUNC, the SYN page's ATK read DEL (FUNC's second parameter) and the panel's own bitmap at 0x445a2e30 read all zero, so stock saw the hold through is_key_held's site; after `let FUNC` it read ATK again.
- **Not tested:** a held key with a second key from the host (FUNC + TRIG), a module's replayed key, keys and turns while the queue is full (the link answers busy), long sessions.
14 changes: 14 additions & 0 deletions docs/verification/2026-11-19-digitone-ii-link-on-a-unit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Digitone II: the development link answers over USB, 19 November 2026

Stage one of the Digitone II development link (`sdk/machines/digitone-ii/LINK.md`, #1763) on OS 1.12, flashed with Elektron Transfer. Contributor's Digitone II (@prodbysmolec), on the same unit as the [base record](2026-11-19-digitone-ii-base-on-a-unit.md).

- **Stock file:** `Digitone_II_OS1.12.syx`, `7e5b8a73…2ceb35`. Elektron Transfer 1.10.3 on macOS, closed before the host ran.
- **Build:** `npm run machine:base -- digitone-ii --dev`, development package `7b14964a…` (.run 4,712, .bss 3,572 bytes; 15 sites), linked with `hello-marker-dn2` 1.0 by Elekloader 0.11.0's patcher and verified (sections 2, 4, 5, 7 and 8 byte for byte, the in-place depack, under the unit's update limit): `.syx` `8e87168ee2dd6d8b150d6ca364cb8e3a8ef9634ce66dd42320651636386aeecd`.
- **Host:** `sdk/machines/digitone-ii/tools/dn2_link.py` with mido 1.3.3 and python-rtmidi 1.5.8 on macOS; the unit's USB port shows as "Elektron Digitone II".
- **Boot:** it flashed and booted; the marker square showed top right (`hello-marker-dn2`).
- **`ident`:** answered every request: `link 1, received 1, dropped 0, ticks 1496`, then `received 2 … ticks 1502`, and `received 6, dropped 0, ticks 1681` after the requests below. The link counts each request, drops none, and its tick count rises with stock's UI task.
- **`mem 0x47f00000 64`:** returned 64 bytes. They are the start of the development package's `.run` section as it was built, with the boot loader's relocation filled in (the first absolute address reads `0x47f012b4`, inside the package's own area). The bytes are not recorded here, because `.run` carries stock bytes the package copies.
- **Refusals:** `mem 0x0 16` (outside DDR and SRAM) and `mem 0x47f00000 200` (over 128 bytes) each came back with status 4, out of range.
- **Second build, the same day:** the link waits a tick while stock's USB MIDI receive parser is mid-SysEx (its status byte at 0x445090ac, LINK.md). Development package `3ef5b3f0f7fb53cf44e64330256fb42c4b8395e982e949f11f53dcaf4c02ce96` (.run 4,724, .bss 3,572 bytes; 15 sites), linked with `hello-marker-dn2` 1.0 by Elekloader 0.11.0's patcher and verified as above: `.syx` `f580bf70d28f3e212e36ed2e7ea62bd0275817407df8eae74fc04e20b3cb88e1`. It flashed and booted with the marker, and sounds played normally; `ident` answered (`received 1, dropped 0, ticks 215`, then `received 5 … ticks 246`), `mem 0x47f00000 16` returned the start of `.run`, `mem 0x445090ac 4` read the status byte as 0x00 between messages, and `mem 0x0 4` was refused, out of range.
- **Screen:** `dn2_link.py screen` on the second build read the frame pointer (0x44623fc8) and the frame through `mem` and showed the unit's screen as it was: pattern A01, UNTITLED, tempo 120.0, the SYN 4 page with its envelope and filter, the marker top right.
- **Not tested:** a link request while other SysEx arrives on USB (a host cannot interleave two SysEx messages on one USB cable, so the wait was not seen to hold an answer back), a request over MIDI DIN (the link must ignore it), long sessions with the development base.
2 changes: 1 addition & 1 deletion sdk/machines/digitone-ii/GOAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ This is the Octatrack's stack ([machine recipe](../../../docs/MACHINE_RECIPE.md)
| Build path | Started: Modwerk's linker (`LINK_DEVICES`, `ELE3_DEVICES`) knows OS 1.12 and links core-dn2 0.3 and 0.4, alone and with elekloader's examples, to the same main OS as elekloader, byte for byte. It takes the core's DSP bridge and refuses mods with DSP code. The pinned Elekloader kit stays as it is (owner, 19 November 2026): Modwerk's builder carries the device ([`device.json`](elekloader/device.json)), which `npm run machine:base` registers with the kit's Python SDK and the site with the browser kit; both read stock 1.12 and rewrite it, sealed, byte for byte. What is left is the base itself | [`elemod.ts`](../../../src/engine/elektron/elemod.ts), [`machine-base.py`](../../../scripts/machine-base.py), [`carried-devices.ts`](../../../src/engine/elekloader/carried-devices.ts) |
| Base | Started: the Digitakt II base's core-dt2 1.1 source at core-dn2 0.3's Digitone II addresses, with copies of three files; `npm run machine:base` builds it. It ran on a unit with its hooks, and a project kept a change across a power cycle ([19 November 2026](../../../docs/verification/2026-11-19-digitone-ii-base-on-a-unit.md)), and about five hours of playing. `base-binding.json` records that identity (`7a60d82e`), its package is in the site's catalog, and the machine's SDK profile ([`core-profile`](../../digitone-ii/core-profile/interface.json), budgets) describes it. Modwerk's packer keeps its images under the unit's 2 MiB update limit | [`elekloader/`](elekloader/README.md) |
| Flashing from the site | Started: the unit refuses an upgrade over about 2 MiB decoded (`update_max` in [`device.json`](elekloader/device.json)), so `fitUpdate` packs a larger build's main OS again with Modwerk's optimal packer, under the limit, and refuses one that still does not fit. The machine page builds the base alone for beta users (a core build preview, no module yet; downloads off until the owner turns them on); the OS upgrade over USB MIDI (`os-upgrade.ts`) ran on a unit and is not on the page yet. Today the owner sends a `.syx` with Elektron Transfer | [`fit-update.ts`](../../../src/engine/elekloader/fit-update.ts); the MS-70CDR's [`ZoomBaseDialog.tsx`](../../../src/components/ZoomBaseDialog.tsx) in [`BaseDialogFrame.tsx`](../../../src/components/BaseDialogFrame.tsx) |
| USB link and diagnostics | Not started | the Rytm's [link](../analog-rytm-mkii/LINK.md), the Octatrack's [`diag.c`](../octatrack/elekloader/diag.c) and [`device-log.ts`](../../../src/engine/elekloader/device-log.ts) |
| USB link and diagnostics | Started: development bases carry a link in the Rytm link's format whose requests return only what the unit chooses ([LINK.md](LINK.md)): `ident`, the link's counters, `screen`, the frame on the screen, and while SETTINGS > REMOTE CTRL is on, panel keys and encoder turns; each ran on a unit ([stage one](../../../docs/verification/2026-11-19-digitone-ii-link-on-a-unit.md), [keys](../../../docs/verification/2026-11-19-digitone-ii-link-keys-on-a-unit.md)). Not yet: the remote YES and RAM boot | the Rytm's [link](../analog-rytm-mkii/LINK.md), the Octatrack's [`diag.c`](../octatrack/elekloader/diag.c) and [`device-log.ts`](../../../src/engine/elekloader/device-log.ts) |
| Loading without a reflash | Not started | [porting the runtime loader](../../runtime/loader/README.md#porting-to-another-machine) |
| Base updates over USB | Not started | [two-slot base](../../../docs/OCTATRACK_TWO_SLOT_BASE.md) |
| MCP device tools, machine page | Not started; the page shows status only | [device tools](../../../docs/FRONTEND_MCP.md#then-test-the-connected-device), [`OctatrackHub.tsx`](../../../src/components/OctatrackHub.tsx) |
Expand Down
57 changes: 57 additions & 0 deletions sdk/machines/digitone-ii/LINK.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Digitone II development link

Piece 4 of the [goal](GOAL.md): diagnostics over USB MIDI SysEx and, while armed, panel keys and encoders, in the
[Analog Rytm MKII link's](../analog-rytm-mkii/LINK.md) wire format, so one host can speak to both. It is in
development bases only (`npm run machine:base -- digitone-ii --dev`, base.json's `dev`), never in a release.

```sh
python3 sdk/machines/digitone-ii/tools/dn2_link.py ident
python3 sdk/machines/digitone-ii/tools/dn2_link.py screen --png screen.png
python3 sdk/machines/digitone-ii/tools/dn2_link.py press PLAY # keys: FUNC PLAY STOP TRIG1-16, or an id
python3 sdk/machines/digitone-ii/tools/dn2_link.py turn A 8 # encoders A-H, LEVEL
```

| Request | cmd | What comes back |
| --- | --- | --- |
| `ident` | 0x01 | the link's own counters: link version, link messages received, dropped (ring full or too long), ticks, armed, a person at the unit, presses and turns by a person, events posted, requests refused |
| `disarm` | 0x02 | turns the arm off and lets go of every key the link holds; a release the UI queue cannot take yet follows from the UI tick |
| `key ID FLAGS` | 0x10 | armed: a panel key message, flags 0x01 press, 0x10 release; a held key reads as held to stock's is_key_held |
| `enc N DELTA` | 0x11 | armed: an encoder turn, 1-8 A-H, 9 LEVEL |
| `release` | 0x12 | armed: lets go of every key the link holds |
| `screen OFF` | 0x20 | OFF, the copy's number, then 128 bytes of the frame on the screen from OFF (0, 128 … 896) |

**The unit chooses what each request returns.** No request names an address, so a USB client reads the link's counters
and the screen, posts keys and turns while armed, and reaches nothing else of the instrument's state. Every other
command, the earlier `mem` (0x21) included, is refused with status 2 and nothing but the status.

`screen 0` copies the frame on the screen and sends its first part; `screen 128` to `screen 896` send the rest of that
copy, each with the copy's number, so the eight parts are one frame even if stock draws in between, and the host checks
the number. A part before any `screen 0`, an offset past the frame or between parts, or a frame pointer that does not
lie wholly in DDR is refused with status 4. Stock keeps two frame pointers side by side at 0x402a10c8 and sends the
first to the display, then swaps them (0x40131fd2), so the frame on the screen is the second; 128x64 pixels, 1 bit each,
in the Analog Rytm MKII's layout.

Status 0 ok, 1 not armed, 2 bad request, 3 busy, 4 out of range, 5 a person at the unit, 6 an OS upload waits at UPGRADE OS NOW? (key and enc refused, and stock's is_key_held stops seeing the link's holds, until the next boot: a flash needs a person's YES). A press, release or turn the link posted, still in stock's queue when the prompt opens or posted by `release` after it, is taken at `ev_key`/`ev_enc` before stock sees it and counted as refused: stock answers the prompt on YES's release as on its press (on a unit, 26 November 2026, a link holding YES and then `release` started the flash). A person's YES and NO still reach stock. USB only: a link message from DIN is never acted on.

`sdk/tests/dn2_link_host.c` compiles `link.c` for the host and checks every request and refusal (`test_dn2_link.py`
runs it). `ident`, the first version's `mem` and its out-of-range refusal answered on a unit over USB
([19 November 2026](../../../docs/verification/2026-11-19-digitone-ii-link-on-a-unit.md)); this version's `screen` has
not run on a unit yet.

## Where it runs (OS 1.12)

- **Receive.** `link.s` observes stock's SysEx router at 0x4012197a (MIDI task), the site core-dn2 0.3's `ev_sysex`
uses: the message in a1, its length in d1, the source in d2 (2 or 4 USB). The link copies its own messages
(`F0 7D 'MWL'`) into a ring; every register comes back as it was and stock routes every message as before.
- **Work.** `ev_tick` (UI task) answers up to four a tick through stock's `sysex_send` (0x401236d2) on USB.
- **Waits for stock.** A tick answers nothing while stock is mid-SysEx on USB: the status byte of stock's USB MIDI
receive parser (0x4011f3c0, the function the USB driver is given) at 0x445090ac reads 0xF0 then. The Rytm's is a word.
- **Keys and encoders.** Posted on the UI task's queue (getter 0x4013747a, queue_put 0x40001896) as the panel's
messages are, so the UI loop plays them through the core's ev_key/ev_enc sites and stock, and modules see them too.
A key the link holds also reads as held to stock's is_key_held (0x4011fac4, which base.json points at
mw_link_held). Key ids and encoders were read from the panel's own messages on a unit
([record](../../../docs/verification/2026-11-19-digitone-ii-link-keys-on-a-unit.md)).
- **Arm.** SETTINGS > REMOTE CTRL, ON at every boot of a development base. Keys and turns need it; reads do not. A
press or turn from a person at the panel refuses the host for about three seconds and lets go of what it held;
the YES that turns the row on does not count. OFF stops the host until the next boot.
- **Not yet.** The Rytm link's remote YES and RAM boot.
2 changes: 1 addition & 1 deletion sdk/machines/digitone-ii/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ What a module developer needs on the Digitone II: the base's hooks, what the uni

## Modwerk stack

The Digitone II follows the Octatrack's stack ([recipe](../../../docs/MACHINE_RECIPE.md)). Where it stands: the base, the Digitakt II base's core-dt2 1.1 source at the Digitone II's addresses ([`elekloader/`](elekloader/README.md)), runs on a unit and is the cumulative draft #1767; the USB link and the runtime loader are in review; flashing from the site, base updates over USB and the machine page are not built ([goal](GOAL.md)). Its contract is [`sdk/digitone-ii/core-profile/interface.json`](../../digitone-ii/core-profile/interface.json): a module uses those events, tables and exports and nothing else. The development link (SysEx over USB MIDI: memory reads, key presses, screenshots, RAM boots) is in review (#1763, #1842); the reads below were made with it.
The Digitone II follows the Octatrack's stack ([recipe](../../../docs/MACHINE_RECIPE.md)). Where it stands: the base, the Digitakt II base's core-dt2 1.1 source at the Digitone II's addresses ([`elekloader/`](elekloader/README.md)), runs on a unit and is the cumulative draft #1767; the USB link and the runtime loader are in review; flashing from the site, base updates over USB and the machine page are not built ([goal](GOAL.md)). Its contract is [`sdk/digitone-ii/core-profile/interface.json`](../../digitone-ii/core-profile/interface.json): a module uses those events, tables and exports and nothing else. The development link (SysEx over USB MIDI: the link's counters, screenshots, key presses, RAM boots) is in review (#1763, #1842). It reads no address a client names; the addresses below were read with research builds of it that still could.

## Core hooks

Expand Down
3 changes: 3 additions & 0 deletions sdk/machines/digitone-ii/elekloader/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ One variant, `plain`: none of the Digitakt II base's sequencer and project addit
are not found yet. No DSP bridge either: the base links mods for the ColdFire only, and Modwerk's linker refuses a mod
that brings DSP code.

A development base (`--dev`) also carries the read-only development link ([LINK.md](../LINK.md)): `base/link.c` and
`link.s`, at stock's SysEx router.

## Build it

```sh
Expand Down
58 changes: 58 additions & 0 deletions sdk/machines/digitone-ii/elekloader/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,63 @@
"requires",
"conflicts"
]
},
"dev": {
"about": "The development link (base/link.c, link.s): diagnostics over USB MIDI SysEx in the Analog Rytm MKII link's wire format (ident, the link's counters; screen, the frame on the screen in eight parts of 128 bytes copied when the first is asked for; no request names an address), and while SETTINGS > REMOTE CTRL is on (at every boot) panel keys and encoder turns, posted on the UI queue as the panel's. Its receive site observes stock's SysEx router at 0x4012197a, where core-dn2 0.3's ev_sysex sits; replies go through stock's sysex_send on USB from ev_tick. is_key_held (0x4011fac4) also sees the keys the link holds. Development bases only.",
"sources": [
"../base/link.c",
"../base/link.s"
],
"sites": [
{
"addr": "0x4012197a",
"len": 6,
"stockSha256": "d8acd0e6e84b3d17d530cf3e5621bc1d0a1e5062f8c0a62a79113c0d9548fc33",
"op": "jsr",
"target": "mw_link_router"
},
{
"addr": "0x4011fac4",
"len": 6,
"stockSha256": "9eab14ed9d527816054c9f68837b2e021fba5470d105516b94b63ffb8ed1f45d",
"op": "jmp",
"target": "mw_link_held"
}
],
"cflags": [
"-DSYSEX_SEND_AT=0x401236d2",
"-DUSB_SYSEX_STATE_AT=0x445090ac",
"-DFRAME_POINTERS_AT=0x402a10c8",
"-DUI_QUEUE_AT=0x4013747a",
"-DQUEUE_POST_AT=0x40001896",
"-DKEY_INDEX_AT=0x401f3d10",
"-DKEY_BITS_AT=0x445a2e30",
"-DUPLOAD_AT=0x4038bec0"
],
"defsym": {
"SYSEX_TABLE": "0x40207f9e"
},
"subscribe": [
{
"event": "ev_tick",
"fn": "mw_link_tick",
"order": 240
},
{
"event": "ev_key",
"fn": "mw_link_key",
"order": 1
},
{
"event": "ev_enc",
"fn": "mw_link_enc",
"order": 1
},
{
"event": "ev_settings",
"fn": "mw_link_settings",
"order": 50
}
]
}
}
Loading