To find the start of stack/free, you could just say @result from the initial COG in the initial PUB. That will give you the address of the result variable which is in the dynamic stack area.
Good, that works. Can I assume, then, that the RAM between @RESULT + 4 and $7FFF is available for any purpose and won't get clobbered, or is it being used somehow? If it's being used, is there a "free zone" within it that's guaranteed not to be?
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chip Gracey
Parallax, Inc.
Thanks,
Phil