]> git.sur5r.net Git - cc65/blobdiff - cfg/osic1p-asm.cfg
Fixed gcc compiler warning (#867)
[cc65] / cfg / osic1p-asm.cfg
index 4000890bea8ff4a41b1d002a5992b9ce9e38cd33..a16f248abccebd75e45ec9e14b1518364875b379 100644 (file)
@@ -10,16 +10,15 @@ SYMBOLS {
 }
 MEMORY {
     # for size of ZP, see runtime/zeropage.s and c1p/extzp.s
-    ZP:       file = "", define = yes, start = $0002, size = $001A + $0006;
-    HEAD:     file = %O,               start = $0000, size = $00B6;
-    RAM:      file = %O, define = yes, start = %S, size = __HIMEM__ - __STACKSIZE__ - %S;
+    ZP:   file = "", define = yes, start = $0002, size = $00FE;
+    HEAD: file = %O,               start = $0000, size = $00B6;
+    MAIN: file = %O, define = yes, start = %S,    size = __HIMEM__ - __STACKSIZE__ - %S;
 }
 SEGMENTS {
-    BOOT:     load = HEAD, 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;
+    ZEROPAGE: load = ZP,   type = zp,  optional = yes;
+    BOOT:     load = HEAD, type = ro,  optional = yes;
+    CODE:     load = MAIN, type = rw;
+    RODATA:   load = MAIN, type = ro,  optional = yes;
+    DATA:     load = MAIN, type = rw,  optional = yes;
+    BSS:      load = MAIN, type = bss, optional = yes, define   = yes;
 }