0.9.12 turned 2 CORES off for good after any crash with both cores at work: such a unit then played every song on
one core, ~1.5x the load of two at six tracks (host callgrind, a six-track scene: 2258-2508 instructions a sample on
one core against a ~1600 critical path on two), past four tracks over its CPU. Now the fallback lasts two clean
power-ons; the third starts both cores again (CPU_TRIED); a crash with both cores after that retry keeps 1 CORE for
good (ABOUT: CORES 1 (AFTER 2 CRASHES)) until MENU > SYSTEM > CPU. The settings byte takes the new bits (<= 127).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Stability (users' random "FELUCCA/JIANT CRASH" screens since the dual-core 0.6.x builds):
- MENU > SYSTEM > CPU 2 CORES / 1 CORE and CPU CLOCK 360 / 320 MHZ (settings byte favorites.factory[15][17],
editor ids 23, 24), from the next start. A crash or a watchdog hang while both cores ran, or the second core
given up (misread / no answer / fault), turns 2 CORES off for good (was: until power-off) and says
"2 CORES OFF AFTER A CRASH - MENU > SYSTEM > CPU" / "CORE 2 FAILED: 1 CORE"; ABOUT: CORES 1 (AFTER A CRASH).
- 320 MHz: curist's fm1-clk320-probe switch (MIT, hal/fm1_clk320.h, unchanged; LICENSES/MIT-fm1-clk320.txt), at
boot before the scan, core 1, audio and USB; a reset during it: no failed boot, no retry until power-off.
- Crash screen: version, the faulting core and how many ran, a short code (cpu_safe.c crash_code) and the five
numbers labelled (VEC PC EMU DBG RETS, same order as every older screen). The last crash (or watchdog hang) is
logged as 32 characters in the settings record (SLICE's retired favourites row 13): MENU > ABOUT > LAST CRASH,
the editor's settings backup, console `crash`. tools/crash_decode.py maps a photo's numbers to functions (ELF).
- Fixed race: every flash erase/write/read turns XIP off with IRQs off; the 48 kHz USB resampler job (0.8.9)
runs on core 1 past the audio ISR, so a core-1 fault then would fetch the vectors from a disabled flash.
irq_save now parks core 1 first (fm1_mc_park, FL_PARK hook).
- One core: the load governor's budget at 55 % (was 65 %) so peaks have room without core 1.
- MENU > AUDIO > LOAD (was SYSTEM's; a bottom tile holds 7 rows), RAMTEXT 1 KiB larger (from the pool's spare).
Crackle since 0.9.10 (owner's unit: 0.9.9 clean, 0.9.10/0.9.11 up to 94 % load on every output, host counts equal):
- 0.9.9 -> 0.9.10 changed no sound code and left the RAM code byte for byte, but the +6 KB of new drawings came
before the engines in the image: every engine render (flash/XIP, shared cache) moved +6178 B (analog +9414)
while the effects, master and ISR stayed put. Now everything an interrupt reaches (347 functions, 244 tables)
is placed first in name order (build.py audio_sections, app.ld .text.a.* / .rodata.a.*): UI changes can no
longer move it (verified: this commit's +2.3 KB of UI moved the renders by 48 B, sound-side edits). Same size.
- TIMER5's USB refill (0.9.10, every 10 kHz tick, also nested in the render): no SIE poll for 0.6 ms after a
packet is queued (it cannot have left yet): ~4 polls a ms instead of ~10. tests/target_budget.py watches
ep4_tx / ep4_fill.
Image 578540 B (+2348 over 0.9.11). ./build.sh && tests/run_tests.sh: ALL HOST TESTS PASSED (new
tests/cpu_safe_test.c; settings, ui, editor tests extended).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
The right echo was read after the line was written, a sample apart from
the left: with the read kept on at WIDE 0 (its fade) the delay was no
longer mono. The palette's one-time JIANT now happens in persist_boot, so
a backup's restore keeps its palette. reverb_test's reference buses
follow the delay's crossfade and the glides.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Settings saved by Felucca or an earlier JIANT kept their palette (often
GREY or MONO: a black and white screen after installing); the first
import sets JIANT once and marks it (favorites.factory[15][23]), a
palette picked afterwards is kept.
felucca_init ran after persist_boot and reset chain_config to the
defaults; the main loop then saw the rows changed and saved the empty
ones over the index: the ARRANGE was lost at every power-on. It now takes
the current song's rows as persist_boot read them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
- JIANT palette (near black, cream line, teal, coral), the default for new
settings; GREY and MONO stay neutral.
- ui_organic.c: antialiased sub-pixel lines, Bezier curves, closed outlines
from small int8 point tables morphed between two shapes and mirrored,
rings, nodes, dashed axes, stipple, circled reference letters.
- DRUM KIT X's EDIT page draws a specimen in the manner of the anatomical
wall charts: an orchid whose organs are the kit's groups; MORPH moves its
anatomy from A to B point by point, a hit lights its organ's vessels, the
hats' noise stipples their sepal, it breathes and its tendrils sway.
- The UI art images stay as references only (assets/ui-art/art); ui_render
scenes drumx / drumx_hit and the JIANT palette in the review sheets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
Parameter locks: hold a step on SEQ > STEP and turn a knob; SEQ > AUTO
LIST lists and edits the locks and automation; lock edits undo.
SEQ TOOLS (SEQ held on the SEQ pages): CLEAR, REVERSE, SHIFT, RANDOM,
COOK, BEAT and the DRUM lane tools.
REC layer (REC held): CLEAR, CLICK, COUNT-IN, CLICK LEVEL.
Metronome and count-in (MENU > AUDIO), never in USB audio.
MIDI CC map (5, 7, 10, 71..75, 91, 93, 94); DRUM lane levels (EDIT >
LANES, LANES 2; projects FUN9).
USB audio input at 44.1 or 48 kHz.
Step recording at the cursor (SEQ > STEP, REC while stopped); restore
the last session at power-on (MENU > SYSTEM > RESTORE LAST).
Eight more ARP modes; MENU > CONTROL > SCALE LEDS; MENU > DISPLAY >
SCREEN OFF.
The header in three parts with a metronome; the new splash; the
power-on LED sweep; DRUM grid beats on the key LEDs.
Fast knob turns keep every click; KNOB ACCEL up to x8, on the FX and
GLO layers too (#126).
MASTER read from the pot before the audio starts, keys silent under
the splash (#137).
The update loader checks the whole package before erasing anything;
robustness against damaged packages and stored data; sanitizer and
fuzz runs in tests/run_tests.sh.
Smaller icons in flash.
MENU, now a scrolling list: STYLE (FLAT / LINE, #57), ANIM (#46), KNOB ACCEL
(#52), FX LATCH (#40), BPM LOCK (#58), USB LEVEL (MASTER / FIXED), LEDS
OFF / DIM LO / DIM HI / INV; SPEAKER is SPEAKER EQ (FLAT / LOWCUT /
BASS+, #42). Palettes: GREY (the former MONO), a black-and-white MONO
and NIGHT (#50, #57). Tracks numbered 1-4 on cushions (#50); the motion icon
on the cards MOTION drives (#63). Divisions listed by length (#48).
Fixed: knob turns as a layer is let go no longer edit the page under it
(#39); FX DEPTH turns the right way (#40); BASS+ no longer cancels the
mids (#42); live sync keeps pending pushes on WATCH and no longer echoes
the editor's own loads as RELOAD (#64, #65). SAMPLE's PERC kit is
retired: its sounds load as the DRUM engine's kit.
LEDs: idle buttons and keys glow dim (a short pulse riding on the 595
shift, no flicker, no extra CPU; #35); MENU > LEDS DIM / INV (INV: the
official firmware's look); PLAY's green LED lit while playing. Key LEDs
show the notes the selected track's sequencer and ARP play (#38). QNT SEQ:
the scale applies to the sequenced notes as they play, non-destructive,
off by default (#37). A song playing shows a disc in the header.
Build: --release accepts X.Y.Z (identity FM-1_9XY).
Big New Features. Engines: FM6 (6-operator FM, replaces DIGITAL; old sounds
convert), SLICE in the standard build with manual slices, DRUM, NOISE; PHYS
membranes and sympathetic strings. 13 engines in one display order.
Sequencer: piano roll, drum grid, songs (patterns A-D), motion recording,
per-step chance, divisions to 4 bars, ARP REPEAT and beat LED; chord keys.
Effects: FX hold layer with a harmonizer, spring reverb, modulation matrix.
Quick layers, undo, on-device naming, new UI (Inter Tight, Fukiai icons,
8 palettes). USB audio input; TRS MIDI in, clock, bend, sustain. Web: full
backup and restore, sample recording and trim, return to the official
firmware. Build: font, icon, keycap, palette and FM6 patch generators;
release folder with the licence texts. Licences: LICENSES/ (Inter Tight
OFL, Fukiai MIT, DaisySP MIT, Rings MIT, msfa Apache-2.0, JieLi SDK
Apache-2.0). Removed: the bitmap font and icon atlas, their generators.
Co-authored-by: ChanceTheMaker <471816+ChanceTheMaker@users.noreply.github.com>