![]() |
|
location of heap management code... - Printable Version +- Boriel Basic Forum (https://forum.boriel.com) +-- Forum: Compilers and Computer Languages (https://forum.boriel.com/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://forum.boriel.com/forumdisplay.php?fid=11) +---- Forum: Help & Support (https://forum.boriel.com/forumdisplay.php?fid=16) +---- Thread: location of heap management code... (/showthread.php?tid=2652) |
location of heap management code... - sdo303 - 2026-02-24 I'd like to use strings and arrays in my paged code, but I seem to have reached a blockage whereby, even though my paged-code looks like: Code: #PRAGMA push(case_insensitive)and when I compile with : Code: python $Compiler "$($Name).bas" -f bin -o "$($Name).bin" --org 24576 -W150 --headerless --explicit --strict --zxnext -i --arch zxnext --opt-strategy size --heap-address 32000 --heap-size 767 -M "$($Name).map"then I still seem to end up with some kind of header code that makes a call to $46A4... Code: >6001 CALL 46A4 PC 6001which I think must be some kind of heap management setup... ...so please may I ask... Is there a compiler switch or directive whereby I can get the heap management code tacked on just after my code ends, so that I can have private heap management per 8KB segment of paged code ? Thank you. |