mirror of
https://github.com/juanjiant-bit/JIANT.git
synced 2026-12-06 21:04:32 +01:00
As main7180629/2a60cc3/b6b5bfd(cpu_safe.c, tools/crash_decode.py, tests/cpu_safe_test.c), on seq-v2: - MENU > SYSTEM > CPU CORES 2 CORES / 1 CORE (editor id 23, as main's), beside CPU CLOCK, the same settings byte (favorites.factory[15][17]); from the next start. A crash or a watchdog hang with both cores, or the second core given up while playing, turns it to 1 CORE (said, with where to set it back); 1 CORE for two clean power-ons, both again on the third; a crash again after that: for good, until set by hand. - The last crash (or hang) kept in the settings as 32 characters ("IL01 2C <version> <PC> <RETS>"): MENU > ABOUT > LAST CRASH, the editor's settings backup, the console's `crash`. Main keeps it in favorites row 13 (SLICE's), which is ADD's in seq-v2 (snd5): here row 9, PHYS's, retired (its sounds load as ANALOG, nothing reads its stars); a record is only read when it parses (old stars there never show). - seq-v2's crash screen kept whole (SP USP SSP, C2 PC, the bus culprits), with main's short code on its last line ("IL-01"); fm1_fault notes the CR_* flags for the next boot (fm1_mc_bar bits 8..15, bit 1: core 1 started). - Code out of fm1_fault, fm1_main and menu_document into helpers (their room is pinned), fm1_mc_bar_set always inlined (fx.c mc_lost is pinned), cpu_safe.c's tables in .rodata.cpusafe. The MENU's switch tables grew with the new row (compiler lookup tables in .rodata, before the sound's constants): FELUCCA_REPIN=1. Tests: cpu_safe_test (in run_tests), ui_test (SYSTEM 8 rows, 28 rows), editor_test (25 settings, CPU CORES id 23). Flash +1476 B. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KMHk6yH4XbP1xxHYKCo9Mh