Complete the RAM-executed code inventory: menu, world map, vehicles, The End #8

Closed
opened 2026-10-28 22:48:02 +00:00 by Gatchan · 2 comments
Owner

Measured so far (title, opening, field, first battle; US and JP): only the $1500/$1504 trampolines and the cutscene program at $7E:5000. Five more trampoline writers exist in the source (menu, world init, world cutscene, The End, btlgfx). Needs routes reaching them, then a ramexec-style run with the instruction hook; any RAM-executed address outside the known table is a finding.

Measured so far (title, opening, field, first battle; US and JP): only the `$1500/$1504` trampolines and the cutscene program at `$7E:5000`. Five more trampoline writers exist in the source (menu, world init, world cutscene, The End, btlgfx). Needs routes reaching them, then a `ramexec`-style run with the instruction hook; any RAM-executed address outside the known table is a finding.
Author
Owner

Starting: branch ram-exec, delegated to a fresh agent. Plan: a RAM-execution trace in ff6cli (instruction hook), run it on field_menu_tour and on a new route reaching the world map (Narshe escape); The End needs a late-game start point (out of reach for now, will be recorded as remaining).

Starting: branch `ram-exec`, delegated to a fresh agent. Plan: a RAM-execution trace in ff6cli (instruction hook), run it on `field_menu_tour` and on a new route reaching the world map (Narshe escape); The End needs a late-game start point (out of reach for now, will be recorded as remaining).
Author
Owner

Merged PR #23. Main-session review: release ctest -LE slow 13/13; route checkpoint mode=world, party Terra+Locke at world position (84, 34) after 79 761 frames (US). Agent: slow suite 21/21 (66 min).

Result: on every mode reachable today (title, opening, field, battle, menu, world map walking; US and JP) the only RAM-executed code is the $1500/$1504 trampolines (one JML each) and the cutscene program ($7E:5000-7B42 US, $7E:5000-7AE4 JP). No unexplained address. Handlers per mode in docs/ram_trace.md.

Closing: what remains (The End, ending, World of Ruin part of the cutscene program, vehicles and their raster IRQs) needs late-game start points and is tracked in #22.

Merged PR #23. Main-session review: release `ctest -LE slow` 13/13; route checkpoint `mode=world`, party Terra+Locke at world position (84, 34) after 79 761 frames (US). Agent: slow suite 21/21 (66 min). Result: on every mode reachable today (title, opening, field, battle, menu, world map walking; US and JP) the only RAM-executed code is the `$1500/$1504` trampolines (one JML each) and the cutscene program (`$7E:5000-7B42` US, `$7E:5000-7AE4` JP). No unexplained address. Handlers per mode in `docs/ram_trace.md`. Closing: what remains (The End, ending, World of Ruin part of the cutscene program, vehicles and their raster IRQs) needs late-game start points and is tracked in #22.
Sign in to join this conversation.
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#8
No description provided.