]> git.sur5r.net Git - cc65/blobdiff - cfg/none.cfg
Merge pull request #289 from OzHawk/patch-1
[cc65] / cfg / none.cfg
index 54ae54eb4ccae0a3cfea9d02277bd7a156d3dbce..6742da7c8d93c06c9c0ff986a1e6f735c92e01c6 100644 (file)
@@ -2,17 +2,17 @@ SYMBOLS {
     __STACKSIZE__: type = weak, value = $0800; # 2k stack
 }
 MEMORY {
-    ZP:  file = "", define = yes, start = $0000, size = $0001F;
-    RAM: file = %O,               start = %S,    size = $10000 - __STACKSIZE__;
+    ZP:   file = "", define = yes, start = $0000, size = $0001F;
+    MAIN: file = %O,               start = %S,    size = $10000 - __STACKSIZE__;
 }
 SEGMENTS {
-    ZEROPAGE: load = ZP,  type = zp;
-    LOWCODE:  load = RAM, type = ro,                optional = yes;
-    ONCE:     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;
+    LOWCODE:  load = MAIN, type = ro,  optional = yes;
+    ONCE:     load = MAIN, type = ro,  optional = yes;
+    CODE:     load = MAIN, type = rw;
+    RODATA:   load = MAIN, type = rw;
+    DATA:     load = MAIN, type = rw;
+    BSS:      load = MAIN, type = bss, define   = yes;
 }
 FEATURES {
     CONDES: type    = constructor,