]> git.sur5r.net Git - cc65/blobdiff - src/ld65/cfg/supervision-64k.cfg
Better handling of imports in the ExprNode structure.
[cc65] / src / ld65 / cfg / supervision-64k.cfg
index 4cafdecae986acdc257eb1ffefd2ab5ebd427fdd..6ae5872966f3b2e32a3e405be3e2243313b85a86 100644 (file)
@@ -4,8 +4,11 @@
 # ld65 config file
 # ld65 --config supervision.cfg -o <prog>.bin <prog>.o
 
+SYMBOLS {
+    __STACKSIZE__: value = $0100, weak = yes; # 1 page stack
+}
 MEMORY {
-    RAM:      start = $0000, size = $2000;
+    RAM:      start = $0000, size = $2000 - __STACKSIZE__;
     VRAM:     start = $4000, size = $2000;
     BANKROM1: start = $8000, size = $4000, fill = yes, fillval = $FF, file = %O;
     BANKROM2: start = $8000, size = $4000, fill = yes, fillval = $FF, file = %O;