Files
JIANT/firmware/crt0.S
T
kurogedelicandChanceTheMaker 727f272015 Felucca 1.0 source
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>
2026-10-05 23:16:53 +09:00

28 lines
868 B
ArmAsm

/* SPDX-License-Identifier: GPL-3.0-only
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
/* FM-1 standalone app entry. The SPL maps app.bin
* at XIP 0x02000120 and jumps to its first byte with r0 = boot-parameter block
* (0x01C7FE08, inside the vector table we are about to own). The SPL expects
* `goto +4; rts` as the first instruction. Before anything else the core state
* the SPL left is saved for the boot probe; then interrupts off, our stacks. */
.section .text.crt0,"ax",@progbits
.globl _start
_start:
goto 1f
rts
1: r1 = icfg
r2 = psr
cli
r3 = 0x1C07F00 /* STATUS (debug area) */
[r3 + 0x20] = r1 /* icfg as handed over */
[r3 + 0x24] = r2 /* psr */
[r3 + 0x28] = r0 /* boot-parameter pointer */
r1 = sp
[r3 + 0x2C] = r1
r1 = ssp
[r3 + 0x30] = r1
sp = _ustack_top
ssp = _sstack_top
call fm1_cstart
goto .