PropTool Initialization section
MagIO2
Posts: 2,243
When clicking on Object Info in the PropTool you see the first row of memory used by some Initialization-data. I'm sure the first long contains the clkfreq. Does someone know what the remaining 4 longs mean?
Is this memory only used for initialization and can it be used otherwise during runtime?
Is this memory only used for initialization and can it be used otherwise during runtime?
Comments
I wonder if it's possible to do the same with SPIN code as with PASM code - loading parts of SPIN-code during runtime, say from an SD card.
Post Edited (MagIO2) : 4/3/2009 11:50:12 AM GMT
Yes it is. Check out DOL by Steven Messenger, it'll do just that.
Alternatively, you can load *entire* propeller binary images at arbitrary locations in memory and start them up just like another cog. There are some caveats to doing this (don't go messing with clkfreq for example) but it can be done.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cardinal Fang! Fetch the comfy chair.