Code segmentation guide: Difference between revisions
Added a note about which SDK will be used by the documentation
m (Bigbass moved page So, your code segment is over 1MB to Code segmentation guide without leaving a redirect: Better fitting title) |
(Added a note about which SDK will be used by the documentation) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1:
[[File:So_your_code_segment_is_over_1MB.png]]
== Why does the Code segment size matter? ==
When the console boots, the [[Initial Program Load]] which is contained in every ROM '''copies the first megabyte (1,048,576
Code by itself usually has a very small memory footprint (
== Where to go from here? ==
These pages are aimed at providing users who are new to embedded systems programming to work around this limitation. It is expected that you have '''a strong understanding of C'''.
Before you do anything, have a brief look over the code of the [https://github.com/n64brew/N64-Codesplit-Tutorial/tree/main/original original sample], as this is our "bad" starting ROM which we will improve upon. As soon as you've done that, look through the following pages (preferably in order):
* [[Splitting Assets from Code]]
* [[Filesystems]]
* [[Data Compression]]
* [[
* [[TLB Mapping]]
▲[[Code splitting techniques: Relocatable Modules]]
▲[[Code splitting techniques: Relocatable Overlays]]
▲[[category:Guides]]
|