View Single Post
Old 06 November 2023, 11:00   #14
hooverphonique
ex. demoscener "Bigmama"
 
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,636
Quote:
Originally Posted by Galahad/FLT View Post
Main stack is always at the top of available chipmemory or top of slow/fast if installed.

User Stack is low in memory, near to where the bootblock is loaded.
I suppose main stack means supervisor stack? Anyway, my point is that you need to consider where these are.. When reading the suggestions here, one could easily be led to think it's fine to load into the top of chipram, which could overwrite the mentioned stack
Quote:
Originally Posted by Galahad/FLT View Post
So long as you load from $40000 or higher, then disable interrupts, relocate your code and set the stacks as you like, its never an issue.
That's true, with the exception that if you need to support A1000 with 256k chip, a lower address is better.
hooverphonique is offline  
 
Page generated in 0.04588 seconds with 11 queries