]> git.sur5r.net Git - cc65/blobdiff - cfg/bbc.cfg
Adjusted to the current multiline-comment style.
[cc65] / cfg / bbc.cfg
index 6304c309b7c19d5e144a3b841eb1917d25722e41..60bf372f0110deb2366a852000ab4a382f47db69 100644 (file)
@@ -2,24 +2,24 @@ SYMBOLS {
     __STACKSIZE__: type = weak, value = $0800; # 2k stack
 }
 MEMORY {
-    ZP:  file = "", define = yes, start = $0070, size = $0020;
-    RAM: file = %O,               start = $0E00, size = $7200 - __STACKSIZE__;
+    ZP:   file = "", define = yes, start = $0070, size = $0020;
+    MAIN: file = %O,               start = $0E00, size = $7200 - __STACKSIZE__;
 }
 SEGMENTS {
-    STARTUP:  load = RAM, type = ro,  define = yes;
-    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;
-    BSS:      load = RAM, type = bss, define = yes;
-    ZEROPAGE: load = ZP,  type = zp;
+    ZEROPAGE: load = ZP,   type = zp;
+    STARTUP:  load = MAIN, type = ro,  define   = yes;
+    LOWCODE:  load = MAIN, type = ro,  optional = yes;
+    ONCE:     load = MAIN, type = ro,  optional = yes;
+    CODE:     load = MAIN, type = ro;
+    RODATA:   load = MAIN, type = ro;
+    DATA:     load = MAIN, type = rw;
+    BSS:      load = MAIN, type = bss, define   = yes;
 }
 FEATURES {
     CONDES: type    = constructor,
             label   = __CONSTRUCTOR_TABLE__,
             count   = __CONSTRUCTOR_COUNT__,
-            segment = INIT;
+            segment = ONCE;
     CONDES: type    = destructor,
             label   = __DESTRUCTOR_TABLE__,
             count   = __DESTRUCTOR_COUNT__,