mirror of
https://github.com/ruppert/fmini-1.git
synced 2026-12-06 04:44:27 +01:00
MENU > LARGE keeps one size per knob (#251): each knob shows all its values in the size its longest value fits, so a value no longer jumps between sizes while it is turned. No new fonts. Updates check the package's size on the device: the update entry and the update loader take only a package whose firmware area is exactly the FM-1's. Another device's package is refused before anything is erased (the update screen shows FAILED -15; the loader answers -14). Second core (beta, PR #247): MENU > SYSTEM > 2ND CORE, OFF by default. ON (BETA) applies from the next power-on: the second core renders some of the four parts of each block, bit for bit the one-core sound. A unit whose second core misreads goes on with one core and sets it back to OFF. FELUCCA_CPU2=0 builds none of it. Start, mailbox and guards from X0X (with Melodee's dual-core findings), the split and hardening after Jangada. Felucca-Engines: ANALOG, LOFI, TRIO, WHEEL and NOISE, the engine interface, the shared DSP helpers and their table generator move to https://github.com/hugelton/Felucca-Engines under the MIT licence, included as the git submodule firmware/engines. The firmware stays GPL-3.0-only; clone with --recurse-submodules. The sound is unchanged (the same golden renders); the engines' own tests run with Felucca's. Co-authored-by: Кирилл Сапфиров <gospodindilly@gmail.com>
28 lines
868 B
ArmAsm
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 .
|