Field batch 4: 20 chapter 1 routines (fixes #59) #62

Merged
Gatchan merged 5 commits from field-batch4 into main 2026-11-05 15:11:42 +00:00
Owner

Fixes #59: field batch 4, 20 routines, all reached by the chapter 1 routes (decision 2026-11-05).

Ported: TfrDlgTextGfx, TfrDlgCursorGfx, ClearDlgTextRegion, DrawTimer, LoadLetterGfx, MoveObjs, _c0714a (active object list), CheckCollosions, IncPalAnimCounter, InitSpritePal, ResetSprites, CalcObjPtrs, InitObjAnim, IncObjScriptPtr, BGColorInc, BGColorUnInc, LoadMapPal, UpdateObjLayerPriorityBefore, CalcObjMoveDir, InitWindowHDMAData.

Platform/tools: upload styles chosen by the bridges (HW_UPLOAD_FIELD_TEXT: indirect bank written for VRAM uploads), vid_clear_tiles (fixed-source fill from const_zero); portbridge --db-inside accepts drafts mixing hardware and high-WRAM DB accesses; coverage_report --order (all modules) and --reached. Resources large_font_gfx, map_sprite_pal, map_pal. Known bugs: bg_color_uninc_borrow, obj_jump_table_overrun.

Validation

  • Shadow, chapter 1 routes, all 66 ports: US 1 866 252 calls, JP 1 694 094, 0 mismatch, 0 fallback; movies match their end hashes. (The first US narshe_to_world_map run caught CheckCollosions writing $1C-$1D; fixed and rerun.) Skipped calls are mostly UpdateObjFrame nested in MoveObjs.
  • Fuzz (120 it./version): 0 mismatch 0 fallback; UpdateObjFrame alone (60 it.): 0 mismatch.
  • Original instructions executed: US 1 165/1 205, JP 1 021/1 205 (unexecuted paths listed in docs/ports.md as unverified).
  • portstyle 0 findings; debug and clang builds 0 warnings, ctest -LE slow 27/27 each.

Skipped (docs/ports.md): UpdateDlgWindow, UpdateSpotlights, TfrObjGfxWorld, TfrWindowGfx, TfrBGTilesScroll, InitDlgVWF, InitFixedColorHDMAData, CalcTextWidth.

🤖 Generated with Claude Code

🤖 Generated with Claude Code

Fixes #59: field batch 4, 20 routines, all reached by the chapter 1 routes (decision 2026-11-05). Ported: TfrDlgTextGfx, TfrDlgCursorGfx, ClearDlgTextRegion, DrawTimer, LoadLetterGfx, MoveObjs, _c0714a (active object list), CheckCollosions, IncPalAnimCounter, InitSpritePal, ResetSprites, CalcObjPtrs, InitObjAnim, IncObjScriptPtr, BGColorInc, BGColorUnInc, LoadMapPal, UpdateObjLayerPriorityBefore, CalcObjMoveDir, InitWindowHDMAData. Platform/tools: upload styles chosen by the bridges (`HW_UPLOAD_FIELD_TEXT`: indirect bank written for VRAM uploads), `vid_clear_tiles` (fixed-source fill from const_zero); portbridge `--db-inside` accepts drafts mixing hardware and high-WRAM DB accesses; coverage_report `--order` (all modules) and `--reached`. Resources large_font_gfx, map_sprite_pal, map_pal. Known bugs: bg_color_uninc_borrow, obj_jump_table_overrun. Validation - Shadow, chapter 1 routes, all 66 ports: US 1 866 252 calls, JP 1 694 094, 0 mismatch, 0 fallback; movies match their end hashes. (The first US narshe_to_world_map run caught CheckCollosions writing $1C-$1D; fixed and rerun.) Skipped calls are mostly UpdateObjFrame nested in MoveObjs. - Fuzz (120 it./version): 0 mismatch 0 fallback; UpdateObjFrame alone (60 it.): 0 mismatch. - Original instructions executed: US 1 165/1 205, JP 1 021/1 205 (unexecuted paths listed in docs/ports.md as unverified). - portstyle 0 findings; debug and clang builds 0 warnings, ctest -LE slow 27/27 each. Skipped (docs/ports.md): UpdateDlgWindow, UpdateSpotlights, TfrObjGfxWorld, TfrWindowGfx, TfrBG*Tiles*Scroll, InitDlgVWF, InitFixedColorHDMAData, CalcTextWidth. 🤖 Generated with [Claude Code](https://claude.com/claude-code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Gatchan/FF6Portage!62
No description provided.