mirror of
https://github.com/ruppert/fmini-1.git
synced 2026-12-06 12:54:23 +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>
32 lines
1.1 KiB
ArmAsm
32 lines
1.1 KiB
ArmAsm
/* SPDX-License-Identifier: GPL-3.0-only */
|
|
/* From X0X 1.0.5 (github.com/charlesvestal/fm1-x0x, GPL-3.0).
|
|
* The AC79's second core: its entry, as the AC79 SDK's cpu.a/startup.S.o (and Melodee's dual-core
|
|
* audio) have it: interrupts off, no interrupt configuration, its own user and supervisor stacks,
|
|
* then out of the start-up interrupt into fm1_c1_main (in RAM, fm1_cpu1.h), which never returns.
|
|
* fm1_cpu1_start puts this address in the word the chip starts core 1 from (0x01C7FFF8). */
|
|
.section .text.cpu1,"ax",@progbits
|
|
.balign 4
|
|
.globl fm1_c1_entry
|
|
fm1_c1_entry:
|
|
cli
|
|
r1 = fm1_c1_trace /* a breadcrumb: core 1 reached its entry */
|
|
r2 = 0xC1000001
|
|
[r1 + 0] = r2
|
|
icfg = 0
|
|
usp = _c1_ustack_top
|
|
sp = _c1_sstack_top
|
|
ssp = _c1_sstack_top
|
|
reti = fm1_c1_main
|
|
rti
|
|
|
|
.section .bss.c1stack,"aw",@nobits
|
|
.balign 8
|
|
.globl _c1_ustack
|
|
_c1_ustack: /* after rti the core runs on this one: the render's (filled with a mark at start) */
|
|
.space 4096 /* FM1_C1_STACK_WORDS (fm1_cpu1.h) */
|
|
_c1_ustack_top:
|
|
_c1_sstack: /* exceptions only (no interrupts on this core) */
|
|
.space 256
|
|
.globl _c1_sstack_top
|
|
_c1_sstack_top:
|