Files
Sylpheed/tools/ppc-manual/forms/XL.md
MechaCat02 10dc260f0c chore(tools): adopt the PPC manual and a canary launcher that works anywhere
CONSOLIDATION.md Phase 6. Both lived untracked in the project root -- on one
disk, backed up by nothing.

  tools/ppc-manual/   393 files, 3.7 MB. 455 instructions, 350 family pages,
                      598 mnemonics resolvable through index.json, plus the
                      generator that produced them.
  tools/run-canary.sh the oracle launcher.

🔴 THE LAUNCHER WAS BROKEN IN TWO WAYS AND IS REWRITTEN, not copied:

  * it pointed at `xenia-rs/sylpheed.iso`, a SYMLINK. Wine cannot resolve one
    and says "path invalid", which reads as a corrupt image rather than a path
    problem -- it has cost a session before. It now points at the real file and
    warns if handed a symlink.
  * it hardcoded one machine's absolute paths, and named `xenia-rs`, which this
    consolidation retires. Now derived from the script's own location, with
    SYLPH_CANARY_BIN / SYLPH_ISO overrides and a check that each exists.

The standing constraints are in its header where someone will read them: one
emulator at a time, Canary runs MUTED, and never judge a crash or a hang from
a Bash-launched run -- a SIGKILL that looked like the binary was the editor's
process supervisor.

⚠️ The manual's GENERATOR reads the xenia-rs source tree, which is going away.
Its decoder now lives here as crates/sylpheed-ppc, so the generator must be
repointed before it is run again. Recorded in the README rather than left for
someone to discover; the manual's content is checked in and regenerates from
nothing implicitly.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-13 21:18:00 +02:00

1.6 KiB
Raw Blame History

Form XL — XL — Extended, Link (branch-to-LR/CTR, CR logical)

Bit Layout

Bits Field Meaning
05 OPCD primary opcode (19)
610 BT/BO target / branch options
1115 BA/BI source A / CR bit to test
1620 BB source B
2130 XO extended opcode (10 bits)
31 LK link flag

Instructions Using This Form

Mnemonic Opcode Group Description
mcrf 0x4c000000 control Move Condition Register Field
bclrx 0x4c000020 branch Branch Conditional to Link Register
crnor 0x4c000042 control Condition Register NOR
crandc 0x4c000102 control Condition Register AND with Complement
isync 0x4c00012c integer Instruction Synchronize
crxor 0x4c000182 control Condition Register XOR
crnand 0x4c0001c2 control Condition Register NAND
crand 0x4c000202 control Condition Register AND
creqv 0x4c000242 control Condition Register Equivalent
crorc 0x4c000342 control Condition Register OR with Complement
cror 0x4c000382 control Condition Register OR
bcctrx 0x4c000420 branch Branch Conditional to Count Register