mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 12:54:29 +01:00
- 46 new factory presets across ANALOG, PHASE, LOFI, VOICE, WHEEL, NOISE and FM6 (appended: stored preset numbers stay; the LOFI browsing order and the editor's mirror extended). Every preset played on the host: none quiet, none hot. - GEN: the recipes point at the new presets first (pads, stabs, leads, textures, basses); melodies stay in their octave (a leap past a sixth takes the nearer octave), the motif follows the chord the nearer way and less often, every phrase ends on a chord tone. - GEN: HOME closes the screen (OCT- still does). - Fix (community report): browsing presets switched SCL > CHORD off. A sound load keeps CHORD, VOICING, STRUM, C.LEN, CHANCE and MUTATE. - The device is JIANT wherever it speaks: USB MIDI and audio "JIANT FM" (manufacturer "Juan Jiant", updater "JIANT Update"), the editor's version string "JIANT v..", the splash, ABOUT, CREDITS, the console, the crash screen. The web editor, installer and the Python installer match both names so older firmware still connects. - PRESETS card: past 99 the number alone (the total is 3 digits now). - Memory map: RAMTEXT up 4 KiB (the image grew); user stack 15.75 KiB. - Docs: README changelog and status, MANUAL EN/ES, cheat sheets. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh
58 lines
3.6 KiB
Plaintext
58 lines
3.6 KiB
Plaintext
/* SPDX-License-Identifier: GPL-3.0-only
|
|
* Copyright (C) 2026 Leo Kuroshita (@kurogedelic), Hügelton Instruments */
|
|
/* FELUCCA memory map.
|
|
* Code + constants execute in place from XIP (app.bin offset 0 = 0x02000120).
|
|
* RAMTEXT (JIANT 0.6.78: at the top of the pool, was 0x01C00000): .ram_text (code that must run while the flash is
|
|
* busy: the flash driver), .c1_text (the second core's loop), .hot_text (core 0's hottest audio code). A call reaches
|
|
* +-4 MiB (pi32v2 imm23 x 2, no long calls in this compiler): RAM code there reaches the whole XIP image (build.py
|
|
* checks the margin); at 0x01C00000 it reached none of it.
|
|
* LOWBUF 0x01C00000..0x01C07000 (0.6.78; 0.6.82: 4 KiB more, the steps grew): main-loop buffers (undo, the project
|
|
* scratch, the song section's stage), zeroed at boot; 0x01C07000..0x01C08000 stays for RAM-run debug.
|
|
* RAM : .data/.bss (96 KiB)
|
|
* POOL : big zero-initialised buffers (FX lines, canvases), section .pool
|
|
* STACKS with 256-byte guard bands; NOINIT survives resets and UBOOT entry.
|
|
* 0x01C7FD50.. is reserved: boot_info, boot-state mailbox, vector table. */
|
|
MEMORY
|
|
{
|
|
XIP (rx) : ORIGIN = 0x02000120, LENGTH = 0x8DFBC
|
|
LOWBUF (rw) : ORIGIN = 0x01C00000, LENGTH = 0x7000
|
|
RAM (rwx) : ORIGIN = 0x01C08000, LENGTH = 96K
|
|
POOL (rw) : ORIGIN = 0x01C20000, LENGTH = 0x50000
|
|
RAMTEXT (rwx): ORIGIN = 0x01C70000, LENGTH = 0x6000 /* (0.6.97, 0.7.0: up 4 KiB each, the image grew: a call from here must
|
|
* reach its end; the user stack 4 KiB shorter each time, 15.75 KiB) */
|
|
NOINIT (rw) : ORIGIN = 0x01C7C000, LENGTH = 0x3D50
|
|
}
|
|
SECTIONS
|
|
{
|
|
.text : { KEEP(*(.text.crt0)) *(.text*) *(.rodata*) . = ALIGN(4); _etext = .; } > XIP
|
|
.ram_text : { _rt_start = .; KEEP(*(.ram_text*)) . = ALIGN(4); _rt_end = .; } > RAMTEXT AT > XIP
|
|
_rt_load = LOADADDR(.ram_text);
|
|
/* (JIANT 0.6.71) the second core's waiting loop (hal/fm1_multicore.h): in RAM, after the flash driver, inside the
|
|
* guard's RAM code window (_rt_start .. _c1t_end); its own section, as it calls the jobs (the build's check that
|
|
* .ram_text calls nothing still holds) */
|
|
.c1_text : { _c1t_start = .; KEEP(*(.c1_text*)) . = ALIGN(4); _c1t_end = .; } > RAMTEXT AT > XIP
|
|
_c1t_load = LOADADDR(.c1_text);
|
|
/* (JIANT 0.6.78) core 0's hottest audio code (tools/build.py HOT_FNS): in RAM after the second core's loop, inside the
|
|
* same RAM code window (_rt_start .. _hot_end) */
|
|
.hot_text : {
|
|
_hot_start = .;
|
|
KEEP(*(.hot_text*)) /* (tools/build.py HOT_FNS: their sections renamed in the optimised IR) */
|
|
. = ALIGN(4);
|
|
_hot_end = .;
|
|
} > RAMTEXT AT > XIP
|
|
_hot_load = LOADADDR(.hot_text);
|
|
.data : { . = ALIGN(4); _data_start = .; *(.data*) *(.sdata*) . = ALIGN(4); _data_end = .; } > RAM AT > XIP
|
|
_data_load = LOADADDR(.data);
|
|
.bss (NOLOAD) : { _bss_start = .; *(.bss*) *(.sbss*) *(COMMON) . = ALIGN(4); _bss_end = .; } > RAM
|
|
.pool (NOLOAD) : { _pool_start = .; *(.pool*) . = ALIGN(4); _pool_end = .; } > POOL
|
|
/* (JIANT 0.6.71) the second core's stacks (hal/fm1_multicore.h): 6 KiB for the render, 1 KiB for an exception */
|
|
.c1_stacks (NOLOAD) : { . = ALIGN(32); _c1_stack_lo = .; . += 7168; _c1_stack_hi = .; } > POOL
|
|
_c1_ustack_top = _c1_stack_lo + 6144;
|
|
_c1_sstack_top = _c1_stack_hi;
|
|
.lowbuf (NOLOAD) : { _low_start = .; *(.lowbuf*) . = ALIGN(4); _low_end = .; } > LOWBUF
|
|
.noinit (NOLOAD) : { *(.noinit*) } > NOINIT
|
|
_guard0 = 0x01C76000; _ustack_lo = 0x01C76100; _ustack_top = 0x01C7A000;
|
|
_guard1 = 0x01C7A000; _sstack_lo = 0x01C7A100; _sstack_top = 0x01C7C000;
|
|
/DISCARD/ : { *(.comment) *(.note*) }
|
|
}
|