]> git.sur5r.net Git - cc65/blobdiff - cfg/osic1p-asm.cfg
added optimization for indexed 16-bit array load of form (array[i & 0x7f])
[cc65] / cfg / osic1p-asm.cfg
index 1cebe444991c3b67c7842dcfe1eb58a22df7b86a..a16f248abccebd75e45ec9e14b1518364875b379 100644 (file)
@@ -10,15 +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;
+    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;
+    MAIN: file = %O, define = yes, start = %S,    size = __HIMEM__ - __STACKSIZE__ - %S;
 }
 SEGMENTS {
-    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 = rw;
-    DATA:     load = MAIN, type = rw;
-    BSS:      load = MAIN, type = bss, define   = yes;
+    RODATA:   load = MAIN, type = ro,  optional = yes;
+    DATA:     load = MAIN, type = rw,  optional = yes;
+    BSS:      load = MAIN, type = bss, optional = yes, define   = yes;
 }