Hello Duncan, As far as I know it can't natively manage banked RAM for the Z80 since there is no standard Z80 way of doing it; it is all system specific.
Tuesday, July 2, 2013, 7:19:45 PM, you wrote: DB> Hi Folks, DB> I'm hoping to use SDCC to implement a (very!) simple Lisp on an Amstrad DB> CPC. Now that Maarten has kindly explained the 1kB heap size I can DB> proceed, but I have a related question: can SDCC make use of switched DB> RAM offered by the system? DB> Specifically, the Amstrad is capable of switching out 16kB banks of RAM DB> so that the Z80 - normally limited to a 64kB address space can have up DB> to, IIRC, around 512kB RAM. Details here: DB> http://www.norecess.net/advancedmemoryusage.html DB> Faced with writing my own memory management code to allocate and free DB> cons cells, I thought I'd ask whether SDCC is capable of managing DB> bank-switched memory, so that I can just malloc() away to my heart's DB> content? DB> If not, and I go ahead and implement something, would this functionality DB> fit in SDCC? I'm suspicious that it wouldn't, as it's specific to just DB> one type of Z80 system. Best regards, Indy Sams mailto:i...@driftsolutions.com ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user