Skip to content

Micro Timing: keep the remembered row in the module unit - #1744

Merged
repeat98 merged 10 commits into
repeat98:mainfrom
jonathanwardle1992-beep:module/micro-timing-battery
Nov 19, 2026
Merged

repeat98 merged 10 commits into
repeat98:mainfrom
jonathanwardle1992-beep:module/micro-timing-battery

Conversation

@jonathanwardle1992-beep

Copy link
Copy Markdown
Contributor

Summary

  • The remembered MICRO T row moves out of battery RAM into the module's own unit (2048 bytes of bss). The loader clears that table when the module loads, and a power cycle drops the unit, so the row starts on grid again. Jannik asked for this on Align Micro Timing's screen claim, battery notes and index #1262 because those battery bytes are not shown to be free.
  • The README, manifest and notes no longer say the row is battery RAM. Offsets already written on the trigs stay in the pattern. The battery ledger no longer lists this draft.
  • This stays in sdk/drafts/micro-timing. It is not a listing and it does not publish.

Test plan

  • WSL m68k-elf-as -mcpu=5475 of microtiming.s: text 1076, data 0, bss 2048. mt_table is a bss symbol. Host object only.
  • Development package, not installed: SHA-256 f5b9682175f295875dbecb66a18524c205ba526d88e9bd7dc9cdd7d270d01292, module 36200ffc, 1076 bytes of code and data, 2048 of bss. Written outside the checkout.
  • python -B sdk/tests/test_battery_ram.py
  • npm run module:doctor -- --draft micro-timing: experimental lines green. Listing lines stay open on purpose.
  • Power-off on a unit or in ot_emu --cs1-in: not tested. No image of this source was booted.
  • Reviewer: after a power cycle the MICRO T row is on grid again, and trig offsets already written are still in the pattern.

Guides: nothing.

Follow-up to Jannik's comment on #1262: #1262 (comment)

Not tested on a unit: package f5b9682175f295875dbecb66a18524c205ba526d88e9bd7dc9cdd7d270d01292 was built and not installed. npm run pr:ready was aborted during the app tests after lint passed; it did not print Ready. GitHub CI is the remaining check.

Related to #1262.

…e drops it.

Co-authored-by: Cursor <cursoragent@cursor.com>
… named build.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@jonathanwardle1992-beep

Copy link
Copy Markdown
Contributor Author

The 18 November package f5b9682175f295875dbecb66a18524c205ba526d88e9bd7dc9cdd7d270d01292 (commit dbc0652b4) was kept beside the 22 modules already on the card, on an MKII, OCTATRACK 1.40C, flashed base 931a91bd7e571216. After a power cycle the person reported the footer MT1:ON GRID. The inventory still listed Micro Timing. A step's own MICRO TIMING page was not reported.

Removal was refused with RUNTIME_UI_OPEN while TRACK TRIG EDIT's key layer was up, including after the list had been left for the grid. A second power cycle with the menus left closed, then remove --accept, left the same 22 modules and no Micro Timing.

Guides: nothing. The module stays in sdk/drafts/.

@jonathanwardle1992-beep
jonathanwardle1992-beep marked this pull request as ready for review November 18, 2026 19:58
@jonathanwardle1992-beep

Copy link
Copy Markdown
Contributor Author

Merged upstream/main through 69b220f64 (Octatrack base 0.7.9, #1745). The module source is unchanged. Guides: nothing.

The module-contract failure on 460a3cbcf compared this pull request with 0f1509a03, which did not contain this branch, so base files looked like changes from here.

@jonathanwardle1992-beep

Copy link
Copy Markdown
Contributor Author

Merged upstream/main through 7b2f35abb (Butter Fingers 0.1.0, #1741, and the doc updates). The module source is unchanged. Guides: nothing.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jonathanwardle1992-beep

Copy link
Copy Markdown
Contributor Author

The frame-interrupt price is recorded: 0.0 points at rest, 19 November 2026, MKII 1.40C, development twin 878307834ad3c23a RAM-booted and not flashed. LEVEL was not turning. The pattern was whatever the unit came up on. The CPU meter read +0.9 and is not the price. The price command was stopped before it printed a rollback; recover rolled the trial back and the twin's inventory was empty. Nothing was kept.

After the power cycle the flashed base c889442d9b119d5f was back with the same 24 modules. Doctor's experimental lines are green, including the CPU price. Listing still needs the catalogue, packages, qualification and the owner's approval. Guides: nothing.

…not counted.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jonathanwardle1992-beep

Copy link
Copy Markdown
Contributor Author

The performance record is filled and stamped. The number is this module's own instructions. The stock 64-step writer is not in it.

ot_emu, development twin 878307834ad3c23a, set OCTABAM, project ONEAUX, pattern 0, transport playing, MICRO T selected. A watch on every halfword of the 1076-byte image counted 787 instructions for one LEVEL step on the audio side, and 788 with the MIDI button on, from mt_level to its jump back to stock. Twenty more LEVEL steps with the MIDI button on ran while playing, with STOP and a Part change between the two groups of ten. The remembered byte moved by ten each group, and the second ten entered mt_level ten times. The diagnostic log gained no crash, stall or freeze. The trial was not kept.

Doctor's performance line and its stamp are green. Listing still needs the qualification record, the catalogue and the owner approval.

Guides: nothing.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jonathanwardle1992-beep

Copy link
Copy Markdown
Contributor Author

The memory total is filled, and the pictures are of this package.

The package is 2,926 bytes. The linked image is 1,076: 1,030 of code, the MICRO T label, a 16-byte footer buffer, the centre 0, and a 20-byte name table. The remembered table is 2,048. A LEVEL rewrite pushes 64 bytes on the UI stack. The stock writer is not in that number. The total is 3,188. No heap, no DSP memory, and no canary was set.

The four pictures are this package on the development twin, installed over the emulator USB link and not kept. MICRO T starts on grid (MT1:ON GRID). One LEVEL step moves the footer to MT1:+1/384. The MIDI button opens MIDI TRIG EDIT and hides SLIDE. Scrolling still brings REC.TRG in at the bottom. These frames are not a unit result. LEVEL on this package has not been reported on the unit.

Doctor's performance stamp is still green. Listing still needs the qualification record, the catalogue and the owner approval.

Guides: nothing.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jonathanwardle1992-beep

Copy link
Copy Markdown
Contributor Author

A RAM trial of this package on the MKII showed the LEVEL footer. Nothing was kept. Track 8 went from MT8:ON GRID to MT8:+1/384 after one LEVEL step. The MIDI button was not pressed and the per-trig page was not opened. The rollback was not confirmed: the unit went away, so a power cycle returns the flashed base. Guides: nothing.

The 180 second RAM trial is not a LEVEL pass. The watched value stayed at 0x0 and rollback was refused.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jonathanwardle1992-beep

Copy link
Copy Markdown
Contributor Author

The 19 November RAM trial of package f5b9682175f295875dbecb66a18524c205ba526d88e9bd7dc9cdd7d270d01292 on twin 878307834ad3c23a ran about 180 seconds and was not kept. The watched value stayed 0x0. One refusal appeared near the end. The verdict was no crash, stall, freeze or skipped track. Rollback was refused with needs-recovery, and the USB cable was unplugged. That is not a LEVEL pass on this package. The unit is back on flashed base c889442d9b119d5f, generation 0, with the same 24 kept modules and neither Micro Timing nor Screen Off. Guides: nothing.

@repeat98
repeat98 merged commit 21e6918 into repeat98:main Nov 19, 2026
13 checks passed
@jonathanwardle1992-beep

Copy link
Copy Markdown
Contributor Author

Merged upstream/main through 5a08a1313 (device-scoped first-release reviews, #1773, and the commits after 7b2f35abb, including this pull request's merge 21e691826). The module source is unchanged. Doctor's experimental lines are green. Listing still needs the catalogue, the packages, a LEVEL reading on the unit, and the owner's approval. This branch update does not change what already landed. Guides: nothing.

cursor Bot pushed a commit to jonathanwardle1992-beep/modwerk that referenced this pull request Nov 26, 2026
Promote the unit-bss draft (repeat98#1744) from sdk/drafts/micro-timing to
sdk/octatrack/modules/micro-timing, pin sdk/catalog.json, and ship the
usbOnly ABI-7 package. Remembered row stays in mt_table bss — not battery
RAM. Qualification cites Keep Accept on 18 Nov 2026 (title-variant package
f5b96821…; ColdFire image matches shipped 8958a66f…).

Co-authored-by: jonathanwardle1992-beep <jonathanwardle1992-beep@users.noreply.github.com>
jonathanwardle1992-beep added a commit to jonathanwardle1992-beep/modwerk that referenced this pull request Nov 28, 2026
Promote the unit-bss draft (repeat98#1744) from sdk/drafts/micro-timing to
sdk/octatrack/modules/micro-timing, pin sdk/catalog.json, and ship the
usbOnly ABI-7 package. Remembered row stays in mt_table bss — not battery
RAM. Qualification cites Keep Accept on 18 Nov 2026 (title-variant package
f5b96821…; ColdFire image matches shipped 8958a66f…).

Co-authored-by: jonathanwardle1992-beep <jonathanwardle1992-beep@users.noreply.github.com>
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