Skip to content

SHARC map, reading tools, behaviour checks, emulator multiply fix - #2

Merged
complex-ping merged 1 commit into
mainfrom
sharc-map-and-emulator-fix
Nov 5, 2026
Merged

complex-ping merged 1 commit into
mainfrom
sharc-map-and-emulator-fix

Conversation

@complex-ping

Copy link
Copy Markdown
Owner
  • Emulator fix: only signed x signed fractional multiplies shift left (PRM). sim.py and simc_core.c shifted all of them. One stock instruction is affected, in rand, which is dead code, so stock audio does not change.
  • scripts/sharcatlas.py: functions and callers of section 7, compact reading, findings kept in your workspace. No name table ships.
  • scripts/sharc_checks.py: runs stock routines in the emulator and compares results: math, memory, list and queue helpers.
  • references/sharc.md: a map of the code (start, render, machines, filters, FX, RTOS, drivers), the boot-built wave tables, and what is shared with Digitakt II.
  • references/emulators.md, references/workflow.md: known emulator limits; reverse on demand, and run a name before relying on it.

Checks: tests/skill_check.py and the unit tests pass, with a new test for the multiply rule. On a real 1.11 section 7, all 21 sharc_checks.py lines pass on both emulator cores, and sharcatlas.py builds 499 functions.

🤖 Generated with Claude Code

…y in the emulator

Only signed x signed fractional multiplies shift left (PRM); sim.py and simc_core.c shifted all of them.
One stock instruction is affected, in rand, which is dead code.
sharcatlas.py: functions and callers of section 7, compact reading, findings. No name table ships.
sharc_checks.py: runs stock routines in the emulator and compares results.
references/sharc.md: a map of the code, boot-built wave tables, the code shared with Digitakt II.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@complex-ping
complex-ping merged commit bf003cf into main Nov 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant