Skip to content

WIP: Load almost all game code as src/engine to avoid 1 MB game code segment limit + Add Libdragon IPL3 as an option - #23

Open
mountainflaw wants to merge 10 commits into
masterfrom
engine_load
Open

WIP: Load almost all game code as src/engine to avoid 1 MB game code segment limit + Add Libdragon IPL3 as an option#23
mountainflaw wants to merge 10 commits into
masterfrom
engine_load

Conversation

@mountainflaw

@mountainflaw mountainflaw commented Jun 22, 2025

Copy link
Copy Markdown
Collaborator

Also zeroes out all game code bss (src/engine and src/game) for consistency, as the original game zeroes out src/game, but nothing in engine bss for some reason.

This also adds Libdragon's IPL3 "compat" build, which allows for faster boot times by removing the engine segment and DMA'ing the entirety of the main and engine segments directly at boot.

Only things left to do here is rename src/game to src/boot, and src/engine to src/game, and run a few stress tests on console.

@gheskett
gheskett marked this pull request as draft June 22, 2025 22:14
@mountainflaw mountainflaw changed the title WIP: Load almost all game code as src/engine to avoid 1 MB game code segment limit WIP: Load almost all game code as src/engine to avoid 1 MB game code segment limit + Add Libdragon IPL3 as an option Jun 23, 2025
@mountainflaw
mountainflaw marked this pull request as ready for review June 23, 2025 02:32
@mountainflaw

Copy link
Copy Markdown
Collaborator Author

Do NOT merge this until console stress tests have been verified.

@mountainflaw

Copy link
Copy Markdown
Collaborator Author

ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant