]> git.sur5r.net Git - cc65/blobdiff - src/ld65/cfg/bbc.cfg
Added the new INIT segment to all configs and adjusted formatting.
[cc65] / src / ld65 / cfg / bbc.cfg
index 0487733ddcb937e03f4d10a7a12a34716d0a717a..8b6fe2d23d76b47b1ca7b41526ef96b4e390f0e6 100644 (file)
@@ -1,13 +1,16 @@
 MEMORY {
-    ZP: start = $70, size = $20, type = rw, define = yes;
-    RAM: start = $E00, size = $7200, file = %O;
+    ZP:  start = $0070, size = $0020, type = rw, define = yes;
+    RAM: start = $0E00, size = $7200, file = %O;
 }
 SEGMENTS {
-    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;
+    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;
 }
 FEATURES {
     CONDES: segment = RODATA,