]> git.sur5r.net Git - cc65/blobdiff - src/ld65/cfg/apple2enh-dos33.cfg
Better handling of imports in the ExprNode structure.
[cc65] / src / ld65 / cfg / apple2enh-dos33.cfg
index 22168e4b244cfd50b1af4e3a249493ed01d35aeb..8e532b2b75f549d42a49be9bd0aa91f0560b587a 100644 (file)
@@ -3,12 +3,15 @@
 FEATURES {
     STARTADDRESS: default = $0803;
 }
+SYMBOLS {
+    __STACKSIZE__: value = $0800, weak = yes; # 2k stack
+}
 MEMORY {
-    ZP:     start = $0080, size = $001A,                 define = yes;
-    HEADER: start = $0000, size = $0004,      file = %O;
-    RAM:    start = %S,    size = $9600 - %S, file = %O, define = yes;
-    MOVE:   start = $0000, size = $FFFF,      file = %O, define = yes;
-    LC:     start = $D000, size = $3000,                 define = yes;
+    ZP:                define = yes, start = $0080, size = $001A;
+    HEADER: file = %O,               start = $0000, size = $0004;
+    RAM:    file = %O, define = yes, start = %S,    size = $9600 - __STACKSIZE__ - %S;
+    MOVE:   file = %O, define = yes, start = $0000, size = $FFFF;
+    LC:                define = yes, start = $D000, size = $3000;
 }
 SEGMENTS {
     ZEROPAGE: load = ZP,              type = zp;
@@ -32,11 +35,8 @@ FEATURES {
             type    = destructor,
             label   = __DESTRUCTOR_TABLE__,
             count   = __DESTRUCTOR_COUNT__;
-    CONDES: type    = interruptor,
-            segment = RODATA,
+    CONDES: segment = RODATA,
+            type    = interruptor,
             label   = __INTERRUPTOR_TABLE__,
             count   = __INTERRUPTOR_COUNT__;
 }
-SYMBOLS {
-    __STACKSIZE__: value = $0800, weak = yes; # 2k stack
-}