]> git.sur5r.net Git - cc65/blobdiff - cfg/creativision.cfg
fixed optimization bug where array index is 16-bit, e.g. arr16[i & 0x7f7f]
[cc65] / cfg / creativision.cfg
index 06e39b36ffdcb73a8612838b6dde52571ecb740f..2eb9ac4278e82ab6e72fa430420551d4e77708fe 100644 (file)
@@ -1,10 +1,10 @@
 SYMBOLS {
-    __STACKSIZE__: type = weak, value = $0180;
+    __STACKSIZE__: type = weak, value = $0040;
 }
 MEMORY {
     ZP:  file = "", define = yes, start = $0020, size = $00E0;
-    RAM: file = "", define = yes, start = $01FA, size = $0206;
-    ROM: file = %O, define = yes, start = $B000, size = $1000;
+    RAM: file = "", define = yes, start = $01FA, size = $0206 - __STACKSIZE__;
+    ROM: file = %O, define = yes, start = $B000, size = $1000, fill = yes, fillval = $FF;
 }
 SEGMENTS {
     ZEROPAGE: load = ZP,             type = zp;