]> git.sur5r.net Git - cc65/blobdiff - cfg/creativision.cfg
C90 param, void
[cc65] / cfg / creativision.cfg
index 9122ccd42baf6a8b0b622c34242a2e8737d1c964..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;
@@ -12,6 +12,7 @@ SEGMENTS {
     VECTORS:  load = ROM, run = RAM, type = rw,  define = yes;
     DATA:     load = ROM, run = RAM, type = rw,  define = yes,                 start = $0204;
     BSS:      load = RAM,            type = bss, define = yes;
+    ONCE:     load = ROM,            type = ro,                optional = yes;
     CODE:     load = ROM,            type = ro;
     INIT:     load = ROM,            type = ro;
     RODATA:   load = ROM,            type = ro;