RAM map: direct-page layout per mode for struct storage #14
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Open question from the RAM map slice 1 (refs #7,
docs/ram_map.md).The direct page
$00-$FFis described as one[[var]]per concept withmode = [...]. That is fine for thewramstorage phase (accessors read the emulated WRAM). When a subsystem switches tostorage = "struct", the generator must emit one C structure per mode and a projection back to WRAM. Decide then whether the map gets one region/struct per mode (dp_field,dp_battle,dp_btlgfx...) or whether the generator groups the vars bymode.To do with the first subsystem that switches to struct storage.