[codex] Match iplwww browser window #148

Merged
coah80 merged 1 commits from agent/refill74/www-window into main 2026-09-22 07:43:48 +00:00
coah80 commented 2026-09-22 07:41:40 +00:00 (Migrated from github.com)

Matches the iplwww/www_window.cpp unit and marks it Matching in the 43U build configuration.

The browser window implementation now emits the original tile blit address calculations and surface message declarations. The unit reaches exact code and data parity with the reference object.

Validation:

  • objdiff reports 100.0% for all 18 functions, with 3392/3392 code bytes and 1264/1264 data bytes matched.
  • pool_diff.py reports identical string pools.
  • Instruction diffs report matching counts and diffs 0 for every function.
  • Full /home/cole/projects/tests/.venv/bin/ninja -C . build passed.
  • build/43U/main.dol matches SHA1 26116613f624061ba99c8d1a299aaa6efa85670d.
  • The leaf worktree check passed for agent/refill74/www-window.

Note

Match iplwww browser window and rework TileBlit_ row address calculation

  • Upgrades www_window.cpp classification in configure.py from Equivalent to Matching, reflecting that the code now matches the reference implementation.
  • Temporarily defines IPL_WWW_SURFACE_MESSAGE around the www_print.h include in www_window.cpp to control which declarations are visible during that include.
  • Reworks the fourth source-row address in BrowserWindow::TileBlit_ to derive it from the second row using two row strides instead of a local cached block advance. Resulting pointer increments are equivalent to the previous calculations.

Macroscope summarized d5895a8.

Matches the `iplwww/www_window.cpp` unit and marks it `Matching` in the 43U build configuration. The browser window implementation now emits the original tile blit address calculations and surface message declarations. The unit reaches exact code and data parity with the reference object. Validation: - `objdiff` reports 100.0% for all 18 functions, with 3392/3392 code bytes and 1264/1264 data bytes matched. - `pool_diff.py` reports identical string pools. - Instruction diffs report matching counts and `diffs 0` for every function. - Full `/home/cole/projects/tests/.venv/bin/ninja -C .` build passed. - `build/43U/main.dol` matches SHA1 `26116613f624061ba99c8d1a299aaa6efa85670d`. - The leaf worktree check passed for `agent/refill74/www-window`. <!-- Macroscope's pull request summary starts here --> <!-- Macroscope will only edit the content between these invisible markers, and the markers themselves will not be visible in the GitHub rendered markdown. --> <!-- If you delete either of the start / end markers from your PR's description, Macroscope will append its summary at the bottom of the description. --> > [!NOTE] > ### Match `iplwww` browser window and rework `TileBlit_` row address calculation > - Upgrades `www_window.cpp` classification in [configure.py](https://github.com/coah80/wii-ipl/pull/148/files#diff-4d5f3192809ec1b9add6b33007e0c50031ad9a0a2f3f55a481b506468824db2c) from `Equivalent` to `Matching`, reflecting that the code now matches the reference implementation. > - Temporarily defines `IPL_WWW_SURFACE_MESSAGE` around the `www_print.h` include in [www_window.cpp](https://github.com/coah80/wii-ipl/pull/148/files#diff-e39b185d1409b0e0ff4d91adc202b8b0e930dc53cc64b760c8937b0edc028f28) to control which declarations are visible during that include. > - Reworks the fourth source-row address in `BrowserWindow::TileBlit_` to derive it from the second row using two row strides instead of a local cached block advance. Resulting pointer increments are equivalent to the previous calculations. > > <!-- Macroscope's review summary starts here --> > > <sup><a href="https://app.macroscope.com">Macroscope</a> summarized d5895a8.</sup> > <!-- Macroscope's review summary ends here --> > <!-- Macroscope's pull request summary ends here -->
Sign in to join this conversation.