Repository navigation
Conversation
… and check its objects build_stub.py compiled stub.c and slots.c in one gcc call at -Os without m68k_codegen.FLAGS and without m68k_codegen.check, the guard every other ColdFire C compile of the base has had since #603. It now compiles each source to an object with the flag, checks the C objects with check_mcf54455 (the check build_core.py runs on the base's C), and links them as before. The stub's code changes from 900 to 890 bytes; check_stub.py passes all six slot states on it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nly when they change A recording track runs stock's recorder control-record update (0x4000432c) about 1.5 times a frame, with six writes into slow CS1 memory, and in steady recording [r+300] and [r+308] already hold what it computes. The base replaces the routine with stock's arithmetic and writes, storing those two only when they differ from the values it reads, read under stock's own interrupt mask so CS1 ends as stock leaves it. Idea and hardware figures: Bryan T. rec-harness/ runs stock's routine and the base's side by side on the emulator: 1,000,000 random calls, every register, the CS1 records, the 44-byte records and the stack equal stock's; CS1 writes a call 4.49 -> 3.02. Not yet measured on a unit: the 0.8.1 twin's RAM boot did not come back on USB (#1985). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…#2028) Merging #2028 changes build_stub.py, which the base records, so the release base is regenerated: identity c5791ec9 (was 6852c1ff), stub_body.c 5be076c9 (was 89b61a6d), MAIN 12 bytes smaller, base-bound packages relinked with unchanged bytes. Not run on a unit: only a two-slot conversion writes the stub and only a cold start runs it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he last one diag.c's CPU record gave only every track refused since the start, while its machine list is the Part's at the moment of the record, so a pass could not tell whose price caused a refusal. cpu_refuse now bumps a per-track counter (its only writer); diag.c compares them with its own copy and puts the tracks that moved in bits 16-23, the count in the low 16 bits, every track since the start in the top byte as before. The pull names each such track's machine signature; older records print as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…run the module dsp.c's admission knew which live slot runs the effect it refuses RUNTIME_IN_USE but only returned the code. It now keeps that slot (1-8 FX1 of T1-T8, 9-16 FX2), cleared at each admission, and the self-test record carries it above the refusal (bits 16-23; the record keeps its 96 bytes). The site reads it and says "Track 6 runs Tape Echo as its FX2 effect in the current Part." Older bases leave the bits 0 and keep the old hint. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…use slot Release base ada74e3d (was c5791ec9), browser = native .bin 5c7e9eba, container 200 bytes larger. The resident port's dsp.c hunks move 6 lines and its pin follows; base-bound packages relinked with unchanged bytes. Not run on a unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # src/components/BaseChangelog.tsx # src/dev/octatrack-link-fake.ts # src/engine/elekloader/octatrack-link.test.ts # src/engine/elekloader/octatrack-link.ts
The merge brought main's USB Audio 0.4.0, bound to 0.8.1 (eb667962). Base-bound packages follow the cumulative base: requiredBase ada74e3d, package bytes unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t asks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n's refusal Analog BD's and Output Matrix's controllers refuse RUNTIME_IN_USE too, without dsp.c's admission, so a slot an earlier sync's admission left could name an unrelated track. The self-test record now carries the slot only while the loader's refusal is that admission's (RUNTIME_CHECK_DSP, set with each refusal and reset at every prepare), and the admission no longer clears it. Clearing it in boot.c's prepare instead would move the base's write-lease entries and need Analog BD's reviewed recipe recaptured. Rebuilt: base 2f4d5955 (was ada74e3d), browser = native .bin 4e056c4c, resident dsp.c hunks re-pinned, base-bound packages relinked with unchanged bytes. Not run on a unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e CPU record status.c's frame admission counts a CPU refusal without moving that track's counter, so diag.c's CPU record named no recent track for the commonest refusal: on a twin a POLY8 pick refused on T3 logged 0x04000001 (since-boot T3, recent 0). It now moves mw_cpu_track_refusals[slot] too; diag.c's comment names both writers. Rebuilt: base 8f179f5e (was 2f4d5955), browser = native .bin b5336893, base-bound packages relinked with unchanged bytes. Not run on a unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…'s MKII A development twin of 6663f66 (58babe99): a POLY8 pick refused on T3 now names T3 in the CPU record's recent tracks (0x04040001; the build before the fix left it 0), and two whole sets of 18 and 20 packages ran 30 s each and rolled back with no fault. The unit came back on its flashed 0.8.1 with its nine modules. An in-use refusal, the soak and the price were not run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Modes 0.2.4 Mute Modes 0.2.4 rests while MUTE MODE is OT (ev_in_use, runtime.json "rests"); 0.2.3 cost 0.9 points of the frame interrupt at rest. table_declarations.validate read a site's rest bit (RUNTIME_SITE_RESTS, 0x80) as length, so no base admitted it. The validator now reads the bit on the owner's own detours and refuses it on the table pointer and count sites, which must hold while the module rests. 0.2.4 (7542f10c, declaration 64253fe3) joins 0.2.2 and 0.2.3 as a reviewed table owner (owner, 25 Nov). Rebuilt: base 910e6625 (was 8f179f5e), browser = native .bin f6e46d06, base-bound packages relinked with unchanged bytes. On a unit: 0.8.1 dev twin with the same change, 0.2.4 at rest +0.0 (0.2.3 +0.9). Waking on a MUTE MODE switch not run yet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Installed modules nobody uses cost every UI tick in the base, not in themselves (an emulated twin, instructions a tick): the overload prediction read each trig-mask byte once per step (512 uncached reads), searched the cost table for every installed module, and walked the module table for each ev_frame_deadline row; each installed effect made the handle map's 420 us whole check run more often; and the rest poll stepped through all 32 positions for one asking module. Now: the trig masks are read once and counted in bit planes; the rest booking, the deadline rows' handles and the map's handles are kept until what they depend on changes; the map's whole check runs once a second by DTIM3; the rest poll judges only the asking positions. Nothing installed: 12,793 -> 4,147 instructions a tick; Mini Verb 15,673 -> 6,599; Tape Echo 17,647 -> 6,701 (before the rest-poll change). Host tests for the bit-plane count, the caches' invalidation and the timed check. Rebuilt: base fad2c729 (was 910e6625), browser = native .bin 1520e947, base-bound packages relinked (Recorder Loop Fix 0.1.0 6b568782). Not run on a unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s relinked package 182d7d1 relinked Recorder Loop Fix 0.1.0 to the rebuilt base (6b568782, still zero DSP words) but left its direct-DSP record on the 0.8.1 package (b39bfa9f), so resource-indicators.test.ts failed on the draft. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After a module effect is picked in FX1 or FX2 SETUP the base shows the memory box for 1.5 s, and status.c took NO as well as YES while it showed. The musician's NO back to the effect's page only closed the box and left the knobs on SETUP, where a module without setup parameters has none: the effect looked stuck until the page was left and entered again (Midiverb on the owner's MKII). The owner's rule of 14 October was 'YES only closes it; any other key goes on to stock'; #640's merge of the dialog key paths took NO too. Now NO on that box closes it and goes on to stock; the other dialogs still take it. test_status.c covers it and fails without the change. On the owner's MKII a twin of 8b26f3492 plus this change reached the FX2 page with one NO and PROG moved at once. Rebuilt: base 1306e125 (was fad2c729); base-bound packages relinked with unchanged bytes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mw_knob_step restaged a module page's turned knob in its record, but the page's input layer still held the previous page's staging (a stock effect's 0..127 knobs) and the panel copies it into the record before each turn. Every detent found the old step again, restaged and cleared the remainder, so a select moved only on quick turns until the page was entered again (Midiverb's PROG on the owner's MKII: ten slow detents left it at 0; FX1 -> FX2 put it right). The knob's definition in the layer (22 B: slot, 0, then the record) is now staged as its record, when it names the main pages' knob routine. knob_step_fixture case E: staged, the remainder kept on the next turn, a scene's definition and a stock page's layer untouched; fails without the change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Port the fork LFO PMTR extension reader so upstream can host contribute packages. Remap past ot_midi_generators (fork index 31 → 63). Claim formatter, count, SETUP beq and dest store; leave dest lea unclaimed until an owner-approved FM Synth po_lfo3b migrate. Host-tested; elemod unchanged until OS rebuild. No USB, no TEMPO pin. Co-authored-by: jonathanwardle1992-beep <jonathanwardle1992-beep@users.noreply.github.com>
A page opened from PROJ > MODWERK (SETTINGS, MODULES, STATUS, MODULE COST, MISSING) closed PROJ menu on the next tick, so NO and the arrows that close the page left the player on the track screen (a tester, 25 November 2026). Now the menu stays open under the page: NO, and LEFT or RIGHT (every arrow on STATUS), close the page back to the menu with its cursor on the row that opened it. YES on a page that closes still closes the menu; any other key goes on to stock menu, so PROJ closes it. SELF TEST is unchanged. test_status.c covers each page and fails without the change. Not rebuilt: the base and its size record wait for the cumulative regeneration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stock keeps two state rows per track recorder and selects one with
0x80004f18. A recording started again while it records moves to the
other row, and STOP clears only that one: the row it left keeps state 2
with nothing recording behind it until the track records again. The
base read any nonzero row as recording, so modwerk_machine_stopped()
stayed false and every sync was refused as unsafe at enter ("Stop
playback or finish recording") on a stopped unit until a power cycle.
boot.c's STOP press was skipped for the same reason.
modwerk_machine_recorder_busy() now reads the selected row and accepts
only idle or that retained 2 in the other one, as the sample editor and
Amiga already do. modwerk_machine_busy() names what refuses a change
(recorder, transport, track byte, journal, with the track); the
self-test reply carries it in the refusal word's top byte, and the site
records it on an unsafe sync_failed (busy) and names the recorder's
track in its notice.
Host tests: test_runtime.c (the emulator's row sequence), the link
test with the fake unit's busy byte, the diagnostics field validation.
Refs #2211, #1596, #2216.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On twin c6e64b77: T1's recorder started, started again while it recorded, then STOP left bank A at state 2 with bank B selected and idle. The twin admitted a trial with that state and refused enter as unsafe during a live recording, with busy 1. Refs #2211, #2216. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…, and a refused COMPRESSOR pick says why With Sidechain installed but no track on COMPRESSOR, its engine and the key bus are not placed, and the allocator put big blocks (E-Verb, Resonator) into the top words they take. Picking COMPRESSOR then had to copy that code below them; with two big effects on a core there was often no free run for the copy, so the claim was refused for memory and COMPRESSOR stayed stock with no KEY page and no message, until an effect came off (#2189). Big blocks now go under a soft ceiling first (the capacity less the words held controllers' engines will still claim); a core that does not fit so is placed as before. Packing keeps to the same ceiling. A COMPRESSOR pick refused for memory shows SIDECHAIN PAUSED / DSP MEMORY. Host modes 76 and 77; on an MKII dev twin the repro (E-Verb @3110, Resonator @1599, stock page) became E-Verb @2400, Resonator @889, Sidechain active and the KEY page shown. Base not regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…checks fix a value At power-up stock restores the current bank from its battery-backed copy (0x40025770, called from main's init at 0x4001fb78). Before it copies the bank in, it runs its checks on the project settings, the arrangements, both copies of each Part and the bank's 16 patterns, and a single value any of them has to fix refuses the whole bank: every Part and pattern of it then reads as stock's empty defaults, while the saved copy on the card still holds the song. When the saved copy holds the value, each RELOAD brings it back and the next power-up refuses the bank again. A tester's project came up empty at every start after a save (#2201): the first record after each of those starts shows the current Part with no machines, as a refused restore leaves it, and the tempo kept from the battery copy. The base now runs those checks itself first, in stock's order, keeping their fixes as a file load of the same bank keeps them (the same validators), and then calls stock's restore, which finds nothing left to refuse. A battery copy with more than 64 fixes, more like one the battery lost than a stray value, is still refused as stock refuses it. Each start that fixed anything logs a RESTORE incident (diag.h): the count per stage, the first record that needed a fix and the result, so the value behind it can be traced. ot_emu, two-process power cycle on the beta base (--cs1-in, --no-post): one byte out of range in the battery copy's working Part 1 left the current bank as stock's defaults on the base without this change (restore refused at the Part check), and came back whole with it; the same for a pattern; a clean copy restores as before. test_diag.c covers the order, the UI state taken again after a settings fix, the 64-fix limit and the RESTORE record. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eckout core-ot.s, bus.s, gate.s and mod.json live in sdk/machines/octatrack/elekloader/core-ot/. The build tools no longer check for a pinned checkout, upstream:tools no longer fetches one, and reports name the builder's version. Base 0.8.4 regenerates as 35af17c with every code byte unchanged; USB Audio 0.4.2 is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonathanwardle1992-beep's ot_lfo_pmtr_dest table keeps index 63, the owner's order of 27 November 2026. The USB Audio reconstruction records and octatrack-base-sources.json are the cumulative draft's; the base and its pins are rebuilt once after the fold. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jonathanwardle1992-beep's ev_audio_step remapper moves from index 63 to 64, after ot_lfo_pmtr_dest at 63 (the owner's order, 27 November 2026). events.json takes both entries; events.py regenerates its outputs. octatrack-base-sources.json is the cumulative draft's until the rebuild. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ctatrack-next Program areas, the program probe, the stream channel as a release flag beside USB AUDIO IN, the X:$207 bank rule, the 2 MiB module pool with its 256/512 KiB per-module limits and the site's check, STREAM FULL, and elekloader/fx-ids.json read by build_core.py and sdk/runtime/loader/build.py. ot_dsp_effects moves from index 63 to 65, after ot_lfo_pmtr_dest (63) and ev_audio_step (64), the owner's order of 27 November 2026. build_core.py keeps the cumulative draft's builder changes (core-ot sources, no pin, builder_version) beside the stream channel. The base, its size, binding, variants and pins are the cumulative draft's until the rebuild; candidate recipes are re-pinned then. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…to base/octatrack-next The owner's price/part-budget-table, written against 0.8.3 and never in the cumulative draft, goes into 0.8.4: cpu_price() reads the site's measured price (a cost entry under the module id with PRICE_BIT) before the descriptor's. The base, its size, binding, variants and the module packages' requiredBase are the cumulative draft's until the rebuild. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…next offtheheezystudio's ABI 4 action records in ot_settings join 0.8.4: YES runs the selected field's command once and stays on the row; the base never saves an action or replays it at installation or Undo. Its Base page line joins 0.8.4's entry. The base, its records and the USB Audio reconstruction records are the cumulative draft's until the rebuild. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
npm run octatrack:base -- --beta --write, base-size.mjs --write and octatrack:module-packages -- --base-only after #2261, #2271, the Quadraverb base side, #2286 and #2359. octatrack-module-packages.json is merged row by row from every side (the merges had taken one side whole, which dropped Midiverb 0.2.0's row from main); the base-bound packages and USB Audio keep their bytes, only requiredBase moves. Re-pinned with their images unchanged: USB Audio's reconstruction records (modwerk_events.h), the machine recipes (machine_ports.py; Analog BD recaptured identical) and the candidate recipes (loader build.py). 0.8.4's record and Base page entry name each folded change and its author. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t twin Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
device-log.test.ts imports both sides' names: the fold's describeDetail and main's DEVICE_LOG_SHEDS_PAGE and parseShedsPage. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This reverts commit 3c8e4b3, reversing changes made to d892520. Owner, 28 November 2026: #2271 comes in a later base together with a Play Modes release its author agrees to. The published Play Modes 0.2.1 patches 0x400a2d6a, so a base that owns it as ev_audio_step refuses Play Modes (and three test_runtime_loader cases fail). Index 64 stays taken by a placeholder raised hook, ev_hook_reserved_64 (unused-hooks.json), so ot_dsp_effects keeps 65 and #2271 later replaces the placeholder in place. The machine recipes pin machine_ports.py as it was before #2271. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Octabam, rytm-emu and Ziddle; no other checkout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A raised placeholder would be a third event modules raise, which test_runtime_loader keeps to ev_mute_keep and ev_trig_muted; a table with no sites and no reader reserves the index without base code. #2271 replaces it in place, keeping 64. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The upstream:tools test's expected fetch lists no longer include elekloader, as 607cb05's tools do. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e fold Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…2002f1) npm run octatrack:base -- --beta --write, base-size.mjs --write and octatrack:module-packages -- --base-only after the revert of #2271, the ot_reserved_64 placeholder and main's #2346. USB Audio's reconstruction records re-pin modwerk_events.h (images unchanged). The record says why 64 is reserved; the Base page drops #2271's line. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The ten-cell name the unit shows at boot is MW and the base's released version from base-versions.json (MW 0.8.4), MODWERK for a base without one, the same in the browser build and build_core.py. It sits in the file's header, outside what the package holds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
build_core.py is a base input, so the identity moves; the second --beta --write pass names the .bin MW 0.8.4 once base-versions.json holds the new identity (the name sits outside the identity). base-size.mjs --write and octatrack:module-packages -- --base-only follow; no package bytes and no recipe pins change. The record and the Base page say MW 0.8.4 for the base and MODWERK for a module set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sdk/machines/octatrack/elekloader/core/ holds a new core.s, bus.s and drawgate.s with its recipe, written from a specification of the interface (same stock sites, symbols and boot order). build_core.py turns on the base's parts with build switches (MW_RUN_PACKED, MW_RETAINED_SKIP, MW_FLASH_SNAPSHOT, MW_PREBOOT) instead of editing the core's text, and records the core's files by path, so octatrack-base.test.ts now sees a changed core as a stale base. Base 0.8.4 regenerates as bacb04f2 (839,052 container bytes, 12,660 free). Analog BD's reviewed recipe is recaptured against the new base's symbols (image hash only); the base-bound packages are relinked. Emulator: boots to the stock screen, answers over USB, tick runs. Not tested on a unit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Own core on base-next (ab3387d). The Octatrack base now boots through Modwerk's own core: a new boot copier, hook bus and draw gate (
DetailsThe base build sets the core's build switches ( |
…he base fold The core is core/ (core.s, bus.s, drawgate.s) with its MW_* switches, as ab3387d has it; build_core.py keeps the fold's stream channel, fx-ids.json, the 2 MiB pool and the MW 0.8.4 name, and its pool comment names the core's arena pages. octatrack-module-packages.json merges row by row; the base and its records are ab3387d's until the rebuild. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two --beta --write passes (the second names the .bin MW 0.8.4 once base-versions.json holds the identity), base-size.mjs --write and octatrack:module-packages -- --base-only after merging ab3387d. Analog BD's recipe (0b8421fe) applies unchanged; no package bytes and no other pins move. 0.8.4's record and Base page name the own core. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s packages ab3387d moved the controller write lease (0x40a9d850/0x40a9d86c to 0x40a9d860/0x40a9d87c). Output Matrix, Analog BD and Sidechain Compressor are the 0.8.2 packages with only those two addresses substituted, checked byte for byte, so their active-load readings are rebound to the new digests (resource-indicators.test.ts passes again). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
All open Octatrack base work is folded into 0.8.4 (owner, 28 Nov 2026). Base 0.8.4 is now In 0.8.4 now:
Left out:
On the unit so far (twin9, built from this work before the own-core merge): Quadraverb runs, STREAM FULL refuses a second instance with its message, and the soak passed. But Quadraverb costs the ColdFire +19 points of CPU, with the longest frame at 112 % on Dev17 C04 and one late frame logged. That blocks Quadraverb's release, not this base. Zero-copy streaming is being built to bring it to about Midiverb's +2. Found on the way: a module package binds base hooks by index when it's built. After a renumber, an old package silently feeds the wrong table (it happened with Quadraverb at 63 → 65). The base should refuse such a package; a fix is to follow. Who acts: the owner, to test this 0.8.4 on his unit when he chooses. It stays a draft until he says the exact build is tested. 🤖 Generated with Claude Code |
The cumulative Octatrack base draft after 0.8.3 (#2246 shipped it today). It holds three fixes from a tester's 0.8.2 reports and one diagnostics addition so far. None of them has run on a unit yet. Only the owner marks this ready and ships it.
detailrecord: how many CPU refusals the frame line made and how many the Part budget, the last refused pick's name and why, and of the held late frames how many came after a long frame and how many were only barely late, with what the start itself brought. The two late counts are taken inside the wait, which runs to a time, so no frame gets longer. Nothing changes in what you hear or see. The site andnpm run diagnostics:pullread the new record.npm run checkfails on "the committed Octatrack base is stale". Octatrack base 0.8.3: the Part budget charges a machine its measured price #2286 targets this branch and was numbered for 0.8.3, which shipped without it.Edge cases
test_machine_registry.ccpu_enteredtest_modset.ctest_diag.cdetailrecord after a CPU or late recordtest_diag.ctest_machine_registry.c(the wait still ends at 190 µs)device-log.tsskips unknown kindsUnit checks to run before this ships
laterecord at second 0.npm run device -- do 'diaglog': adetailline after thecpuline names the pick and the check. Comparenpm run device -- do 'guard late'before and after a busy pattern switch: the longest frame and the wait's longest are no higher than on 0.8.3.What the guides lacked:
docs/MODULE_PERFORMANCE.mdsaid only picks were judged against the frame line, and now names pastes.docs/OCTATRACK_DRIVING.md'slaterow now says the start's own entries make no record, and a new row describes thedetailrecord.🤖 Generated with Claude Code