]> git.sur5r.net Git - cc65/blobdiff - cfg/atarixl.cfg
add code to add free shadow memory to heap (currently disabled)
[cc65] / cfg / atarixl.cfg
index 34b6593a72b369210658c465027ceba82a7325b9..4933817791efd6877416a1cd9b4c0ad13a2141da 100644 (file)
@@ -21,29 +21,27 @@ MEMORY {
 
 # "shadow RAM preparation" load chunk
     SRPREPHDR:     file = %O,               start = $0000,                  size = $0004;
-    SRPREP:        file = %O,               start = %S,                     size = $7C20 - %S - $04FF;  # $04FF: space for temp. chargen buffer, page aligned
+    SRPREP:        file = %O,               start = %S,                     size = $7C20 - %S - $07FF;  # $07FF: space for temp. chargen buffer, 1K aligned
     SRPREPTRL:     file = %O,               start = $0000,                  size = $0006;
 
 # "main program" load chunk
     MAINHDR:       file = %O,               start = $0000,                  size = $0004;
     RAM:           file = %O, define = yes, start = %S +
                                                    __SAVEAREA_SIZE__ +
-                                                   __LOWBUFS_SIZE__ +
-                                                   __ZPSAVE_SIZE__, size = $D000 -
+                                                   __LOWBUFS_SIZE__, size = $D000 -
                                                                             __STACKSIZE__ -
                                                                             %S -
                                                                             __SAVEAREA_SIZE__ -
-                                                                            __LOWBUFS_SIZE__ -
-                                                                            __ZPSAVE_SIZE__;
+                                                                            __LOWBUFS_SIZE__;
+
+# defines entry point into program
+    TRAILER:       file = %O,               start = $0000, size = $0006;
 
 # address of relocated character generator
     CHARGEN:       file = "", define = yes, start = $D800, size = $0400;
 
 # memory beneath the ROM
-    RAM_BELOW_ROM: file = "",               start = $DC00, size = $FFF0 - $DC00;
-
-# defines entry point into program
-    TRAILER:       file = %O,               start = $0000, size = $0006;
+    RAM_BELOW_ROM: file = "", define = yes, start = $DC00, size = $FFF0 - $DC00;
 }
 
 SEGMENTS {
@@ -55,7 +53,6 @@ SEGMENTS {
     SRPREPHDR:  load = SRPREPHDR,                   type = ro;
     SAVEAREA:   load = SRPREP,                      type = bss, define = yes;  # shared btw. SRPREP and RAM
     LOWBUFS:    load = SRPREP,                      type = bss, define = yes;
-    ZPSAVE:     load = SRPREP,                      type = bss, define = yes;
     SRPREP:     load = SRPREP,                      type = rw,  define = yes;
     SHADOW_RAM: load = SRPREP, run = RAM_BELOW_ROM, type = rw,  define = yes, optional = yes;
     SRPREPTRL:  load = SRPREPTRL,                   type = ro;