EtchedPixels / FUZIX

FuzixOS: Because Small Is Beautiful
Other
2.15k stars 271 forks source link

Try rolling forward the change needed for stack-below-heap again. #925

Closed davidgiven closed 2 years ago

davidgiven commented 2 years ago

I'd like to try this again --- it's needed for any platform with stack-below-heap, such as the Pico. This is useful for making minimal process sizes work, which is needed on the Pico to let it run swapless. (I'm also looking at doing this on the ESP8266, but that's more difficult due to the exotic memory layout.)

I remember you saying that you reverted it due to this breaking some of the other platforms. I've tried this change on the Z80 (the trs80 platform) and it seemed fine there, so I'm wondering whether the problem was something else. Do you recall any specific platforms that were broken that I should try with?

EtchedPixels commented 2 years ago

Sure lets give it a go and this time dig into it if we get a fail