]> git.sur5r.net Git - cc65/blobdiff - cfg/c1p.cfg
Adapt to memory size of C1P.
[cc65] / cfg / c1p.cfg
index 752e815332a742a3a96c422f2a6fe3b0350f2999..f1d73921574db7d697f62ae33d378467c3df41b6 100644 (file)
@@ -3,20 +3,17 @@ SYMBOLS {
 }
 MEMORY {
     ZP:       file = "", define = yes, start = $0002, size = $001A;
-    LOADADDR: file = %O,               start = $0FFF, size = $0002;
-    HEADER:   file = %O,               start = $1001, size = $000C;
-    RAM:      file = %O, define = yes, start = $100D, size = $0DF3 - __STACKSIZE__;
+    RAM:      file = %O, define = yes, start = $0400, size = $2000 - __STACKSIZE__;
 }
 SEGMENTS {
-    STARTUP:  load = RAM,      type = ro;
-    LOWCODE:  load = RAM,      type = ro,                optional = yes;
-    INIT:     load = RAM,      type = ro,  define = yes, optional = yes;
-    CODE:     load = RAM,      type = ro;
-    RODATA:   load = RAM,      type = ro;
-    DATA:     load = RAM,      type = rw;
-    ZPSAVE:   load = RAM,      type = bss;
-    BSS:      load = RAM,      type = bss, define = yes;
-    ZEROPAGE: load = ZP,       type = zp;
+    STARTUP:  load = RAM, type = ro;
+    LOWCODE:  load = RAM, type = ro,                optional = yes;
+    INIT:     load = RAM, type = ro,  define = yes, optional = yes;
+    CODE:     load = RAM, type = rw;
+    RODATA:   load = RAM, type = rw;
+    DATA:     load = RAM, type = rw;
+    BSS:      load = RAM, type = bss, define = yes;
+    ZEROPAGE: load = ZP,  type = zp;
 }
 FEATURES {
     CONDES: type    = constructor,