Repository navigation
Match thirteen PAL resident, menu and overlay functions - #196
Draft
Adrian1845 wants to merge 5 commits into
Draft
Adrian1845 wants to merge 5 commits into
Adrian1845 wants to merge 5 commits into
Conversation
Co-authored-by: Codex <codex@openai.com>
ByteMatch progress reportSCES_532.85
✅ Newly matched (13)
📉 Worse (2)
SCUS_974.65
No function changes. Commit 6525f86 · Ratchet: Deadlocked on ByteMatch |
Match func_L01_0055B760 and func_L01_00575700 byte for byte. Preserve the two 128-bit zeroing near misses and refresh the regional maps and PAL report. Co-authored-by: Codex <codex@openai.com>
Match func_00540A00 and func_L41_003BDF18 exactly, verify their PAL program placements, and update the maps and PAL report. Co-authored-by: Codex <codex@openai.com>
Match func_00499650 and func_004FD000 on every PAL program placement. Align the packed-color return declarations without changing caller objects. Co-authored-by: Codex <codex@openai.com>
Match the shared bit writer and Battledome Tower mask selector. Verify 47 raw bit-writer copies and the two selector relocations in all 22 copies. Co-authored-by: Codex <codex@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This draft adds thirteen exact PAL matches across five commits.
373c712
Adds five exact C matches for the PAL release (SCES_532.85). The three level 00 functions are part of the multiplayer menu, and the other two are in the resident program.
func_0046F3A8,func_00479920func_L00_0070D1A8,func_L00_0070D2C0,func_L00_0070DEB0The PAL report gains five distinct functions and 1,080 matched bytes. The US map records the five PAL sources as regional variants.
d20f858
func_L01_0055B760checks whether any entry in a list has a clear flag byte. All 68 bytes match in 46 PAL program images.func_L01_00575700updates a buffer pointer and two 16-bit fields. All 40 bytes match in 24 PAL program images.This commit adds 108 matched bytes to the PAL report. It also retains the two unfinished 128-bit zeroing routines in
nonmatching/.5daf6a8
func_00540A00checks a live interface payload and two object flags. All 176 bytes match in 49 PAL program images after resolving the call and data references in each image.func_L41_003BDF18compares two floating-point fields. All 56 bytes match in 22 PAL program images.This commit adds 232 matched bytes to the PAL report and removes the two superseded PAL drafts from
nonmatching/.e713d64
func_00499650looks up a packed color by row and column, with a default for negative indices. All 56 bytes match in 49 PAL program images after resolving the table reference in each image.func_004FD000searches a table by two keys and returns its first record on a miss. All 64 bytes match in 49 PAL program images after resolving the table references in each image.This commit adds 120 matched bytes and aligns the packed-color return type in three existing callers. Their compiled code, allocated data and relocations are identical before and after the declaration update.
6525f86
func_L00_006FAC10writes a field into a byte buffer at a bit cursor. All 300 bytes match in 47 PAL level program images with no relocations. The matching C in the RAC3 bit writer informed the reconstruction.func_L41_004475C0checks the mask enable state and the object's mode. All 72 bytes match in 22 PAL level program images after verifying both relocation targets in each image.This commit adds 372 matched bytes and removes both superseded PAL drafts.
Verification
For
373c712cFor
d20f858cFor
5daf6a87For
e713d649Verified the new sources and rebuilt callers with the repository toolchain. Each PAL image contains a unique copy of the corresponding table at the address expected by its relocations.
The three PAL relocation checks passed. Both regional maps and progress reports are current. PAL now counts 9,860 exact functions.
The optional PAL signature check reported the same 54 existing declaration mismatches as the baseline.
For
6525f86eCompiled both new sources with the repository toolchain. Compared both functions against every PAL copy. The PAL relocation audit reported zero mismatches and zero unresolved references.
Rechecked the PAL and US maps and progress reports. PAL now counts 9,862 exact functions.