]> git.sur5r.net Git - cc65/blobdiff - cfg/none.cfg
Fixed _textcolor definition.
[cc65] / cfg / none.cfg
index 6742da7c8d93c06c9c0ff986a1e6f735c92e01c6..cedd2d839dff089428cba53183941984f9640423 100644 (file)
@@ -1,12 +1,18 @@
+FEATURES {
+    STARTADDRESS: default = $1000;
+}
 SYMBOLS {
-    __STACKSIZE__: type = weak, value = $0800; # 2k stack
+    __STACKSIZE__:  type = weak, value = $0800; # 2k stack
+    __STACKSTART__: type = weak, value = $8000;
+    __ZPSTART__:    type = weak, value = $0080;
 }
 MEMORY {
-    ZP:   file = "", define = yes, start = $0000, size = $0001F;
-    MAIN: file = %O,               start = %S,    size = $10000 - __STACKSIZE__;
+    ZP:   file = "", define = yes, start = __ZPSTART__, size = $001F;
+    MAIN: file = %O,               start = %S,          size = __STACKSTART__ - __STACKSIZE__ - %S;
 }
 SEGMENTS {
     ZEROPAGE: load = ZP,   type = zp;
+    STARTUP:  load = MAIN, type = ro,  optional = yes;
     LOWCODE:  load = MAIN, type = ro,  optional = yes;
     ONCE:     load = MAIN, type = ro,  optional = yes;
     CODE:     load = MAIN, type = rw;