Splitting Assets from Code: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 126:
<syntaxhighlight lang="c">
beginseg
name "texbufbuffer"
flags OBJECT
after "code" // You can use 'address' if you want to specify an exact RAM address to put the buffer at
include "texbufbuffer.o"
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:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu