Hi Folks,

I'm hoping to use SDCC to implement a (very!) simple Lisp on an Amstrad
CPC.  Now that Maarten has kindly explained the 1kB heap size I can
proceed, but I have a related question: can SDCC make use of switched
RAM offered by the system?

Specifically, the Amstrad is capable of switching out 16kB banks of RAM
so that the Z80 - normally limited to a 64kB address space can have up
to, IIRC, around 512kB RAM.  Details here:
http://www.norecess.net/advancedmemoryusage.html

Faced with writing my own memory management code to allocate and free
cons cells, I thought I'd ask whether SDCC is capable of managing
bank-switched memory, so that I can just malloc() away to my heart's
content?  

If not, and I go ahead and implement something, would this functionality
fit in SDCC?  I'm suspicious that it wouldn't, as it's specific to just
one type of Z80 system.

-- 
Duncan Bayne
ph: +61 420817082 | web: http://duncan-bayne.github.com/ | skype:
duncan_bayne

I usually check my mail every 24 - 48 hours.  If there's something
urgent going on, please send me an SMS or call me at the above number.

------------------------------------------------------------------------------
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

Reply via email to