A Rescue tab for an FM-1 in hard brick, step by step: what you need; the board (RP2040-Zero, XIAO RP2040, Pico) and
its three wires drawn to the FM-1's USB-C (D+ green, D- white, GND black, 5 V not connected); the firmware it gets
(the published JIANT FM or JIANT BYTE package, downloaded and checked by itself, or a .fwsc such as the official V15);
fm1-rescue.uf2 made in the browser with rescue/builder.js (byte for byte the command line's make_uf2.mjs); flashing
the board; connecting and rescuing, with what each LED colour means (drawn, blinking as it does); afterwards. The
Android app (android/rescue) as the way without a computer. Marked experimental: not tried on a real FM-1 yet.
The site publishes rescue/builder.js and rescue/base/*.uf2 beside Studio and rescue/fm1-rescue.html at rescue/.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
A Projects view, for the FM-1 or the emulator (its editor handler answers the same):
- Projects A-D: read the four slots (9 PROJECT, query), Load one into the current music, Save the current music into
one (each asked first).
- Back up now: a complete backup (fm1backup.js, the installer's and the editor's: 65-67) kept in this browser
(IndexedDB) and, by default, downloaded; a row each with its name (editable), when, the firmware, what it holds
(the current music, the songs and their sections, its size), Download, Restore (asked first) and Delete. Import a
backup file into the list. While it backs up, restores or writes a slot, the other tools let go of the FM-1
(jiant-midi, as the installer does) and the screen stops.
fm1backup.js is published beside Studio (the workflow; dev_server.py serves it). The simulated FM-1 has slots and an
archive; the browser test reads the slots, saves one, backs up and restores.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd
web/studio/ (published at /JIANT/studio/; .github/workflows/emulator.yml):
- One page in each firmware's look (JIANT FM: cream, violet and the heat gradient, Michroma, the horizon grid;
JIANT BYTE: stars, synthwave stripes, pixel type), chosen by the firmware the FM-1 runs (INFO's engines: MATH is
BYTE's) or by hand. Home in steps (connect, install, use it) after Melodee's installer, with the help that matters.
- A target for everything: the FM-1 over USB, or the emulator.
- Install / Editor / Emulator: the sites' own pages in frames (JIANT FM's from /JIANT/, BYTE's from /JIANT-BYTE/: one
origin), dressed in the look, without their own headers. The editor connects by itself to the FM-1 Studio found.
- Screen: the FM-1's (78 SCREEN / 79 SCREEN_DATA) or the emulator's, straight to full screen; square, the width in
portrait and the height in landscape, the controls beside; sharp or smooth pixels; the phone kept awake.
- Record: the FM-1's USB audio (stereo, or USB > STEMS's 8 channels: T1..T6, FX, the mix, as a ZIP) or the emulator's
output, as WAV; what comes in over MIDI as a .mid; a song's offline stems through the emulator's panel.
- Install safety: on the jiant-midi channel like every MIDI page: lets the FM-1 go while an installer writes.
- dev_server.py: the published layout on this computer (local tools, the live site for the rest).
The emulator answers the whole editor (web/emu/editor-api.h: the firmware's editor.c, as the ports' core runs it; built
into felucca.wasm by web/emu/build.sh), so with target Emulator the editor edits the FM-1 in the browser; the emulator
lets Studio record its output and choose which MIDI input plays it.
editor.html: ?emu=1 inside Studio edits the emulator; the Screen button goes full screen at once.
Tests: web/studio/studio_test.mjs (screen frames as the editor's and the firmware's, WAV / ZIP / MIDI, the words),
web/studio/browser_test.mjs (Chromium: detection, the screen and full screen both ways, install safety, the editor on
the emulator, recording), in tests/run_tests.sh.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UVqsRnhKjiABTzc6Ety3dd