]> git.sur5r.net Git - cc65/blobdiff - cfg/lynx.cfg
Renamed RAM to MAIN for all disk based targets.
[cc65] / cfg / lynx.cfg
index 2c9e76207bad08a675e09d2601b7478573e0208a..5140b342fe90a43360607f99a8cabf3d912dd486 100644 (file)
@@ -11,28 +11,28 @@ MEMORY {
     HEADER: file = %O,               start = $0000, size = $0040;
     BOOT:   file = %O,               start = $0200, size = __STARTOFDIRECTORY__;
     DIR:    file = %O,               start = $0000, size = 8;
-    RAM:    file = %O, define = yes, start = $0200, size = $BE38 - __STACKSIZE__;
+    MAIN:   file = %O, define = yes, start = $0200, size = $BE38 - __STACKSIZE__;
 }
 SEGMENTS {
-    EXEHDR:    load = HEADER, type = ro;
-    BOOTLDR:   load = BOOT,   type = ro;
-    DIRECTORY: load = DIR,    type = ro;
-    STARTUP:   load = RAM,    type = ro,  define = yes;
-    LOWCODE:   load = RAM,    type = ro,  define = yes, optional = yes;
-    INIT:      load = RAM,    type = ro,  define = yes, optional = yes;
-    CODE:      load = RAM,    type = ro,  define = yes;
-    RODATA:    load = RAM,    type = ro,  define = yes;
-    DATA:      load = RAM,    type = rw,  define = yes;
-    BSS:       load = RAM,    type = bss, define = yes;
     ZEROPAGE:  load = ZP,     type = zp;
     EXTZP:     load = ZP,     type = zp,                optional = yes;
     APPZP:     load = ZP,     type = zp,                optional = yes;
+    EXEHDR:    load = HEADER, type = ro;
+    BOOTLDR:   load = BOOT,   type = ro;
+    DIRECTORY: load = DIR,    type = ro;
+    STARTUP:   load = MAIN,   type = ro,  define = yes;
+    LOWCODE:   load = MAIN,   type = ro,  define = yes, optional = yes;
+    ONCE:      load = MAIN,   type = ro,  define = yes, optional = yes;
+    CODE:      load = MAIN,   type = ro,  define = yes;
+    RODATA:    load = MAIN,   type = ro,  define = yes;
+    DATA:      load = MAIN,   type = rw,  define = yes;
+    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__,