cmake/bozo_engine.json pins BozoEngine 0.7.0 by version and SHA-256;
cmake/bozo_engine_fetch.cmake (TMB_Recomp#121's scheme) fetches and checks it
into external/BozoEngine when configuring. VP2S_BOZO_ENGINE_ROOT (or
tools/vp2_bozo.py --engine) still builds on a local engine checkout, and the
IRX fixtures follow it. The submodule is gone; a test checks the pin.
A clean clone and the old submodule build end the 8 bench scenes and a
12000-frame boot route with byte-identical RAM; tests 101/101.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Boot now loads the core and title overlays and runs their code (screen still
black):
- fork: EE->IOP SIF commands, sysmem-like IOP heap, PS2 FMAC addition (the
overlay decryption key is computed on VU0), initializers from entry points.
- wrap_elf: executable .init for CodeWarrior static initializers; .text
extended over functions that run past the header's text size.
- find_entry_points: constructor tables, cross-input pointers and jal targets
with a transitive closure, functions after alignment padding; the boot
ELF's code limited to Ghidra's function blocks.
- pipeline: no Docker (Python + MSVC tools), test stage, recomp output synced
file by file, report figures cached; port: unity groups by address range
so a regeneration only rebuilds what changed.
- port: VP2S_DUMP memory dumps, CD manager / file queue / sound transfer
diagnostics, debug panel hidden at start.
- scripts: decompile.py (Ghidra headless), mipsdis.py (IOP disassembly).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- tools/pipeline.py: sdk stage (ps2_analyzer signatures, 177 bindings
merged into the recompiler config) and entries stage
(tools/find_entry_points.py: functions reached only through pointers)
- port/main.cpp: VP2S_DIAG now dumps every guest thread, semaphores with
waiters and the CD manager state
- ghidra_scripts/Decompile.java: creates missing functions on the fly
- docs: boot progress, file table at LBA 1024 identified (XOR stream)
- external/PS2Recomp: stub synthesis for unmapped bindings, CD callback
The game now reads and decrypts its file table and starts its threads;
it waits on IOP RPC replies (sound driver) next.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- external/PS2Recomp: submodule on vp2s/overlay-dispatch (upstream eb8688b
+ overlay module mode: per-module recompilation, resident dispatch by
guard bytes, 6 tests; suite 451/451 under g++ 13)
- tools/wrap_elf.py: .modhdr section so the module header serves as guard
- scripts: build_ps2recomp_tests.sh (offline deps, SSE4 flags for g++),
check_module_link.py (two modules at one address compile together, no
duplicate symbols), run_recomp.sh module-name argument
- toolchain/Dockerfile: X11/GL/ALSA dev packages for the runtime build
- docs/RECOMPILER.md: implementation and validation results
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- docs/RECOMPILER.md: PS2Recomp chosen as base (fork with per-slot overlay
dispatch); test results on the main ELF and module 3, alternatives
- tools/wrap_elf.py: wraps an extracted module into a minimal R5900 ELF at
its load address, header kept in memory, sections from the module header
- scripts/build_ps2recomp.sh, run_recomp.sh, count_mnemonics.sh
- toolchain/Dockerfile: CMake, Ninja and g++ for C++20 builds
- docs/AUDIT.md: next steps updated
Co-Authored-By: Claude Opus 5.5 <[email protected]>