Splitting Assets from Code: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 126:
<syntaxhighlight lang="c">
beginseg
name "
flags OBJECT
after "code" // You can use 'address' if you want to specify an exact RAM address to put the buffer at
include "
endseg
</syntaxhighlight>
Line 137:
TODO
</tabber>
Once it's linked, you're all set! You just need to ensure your array is <code>extern</code>'d somewhere and you can use it without any other changes to your code.
A useful trick, you can <code>extern</code> the codesegment as well:
|