]> git.sur5r.net Git - cc65/blobdiff - cfg/atari5200.cfg
Merge pull request #405 from IrgendwerA8/65SC02_sim65_support
[cc65] / cfg / atari5200.cfg
index fb151d4ec47d98d155e7fc939cdff036d381e663..3db8765d67b057fb1d5f4cc6c8ebe9d1b78f877e 100644 (file)
@@ -2,7 +2,7 @@ SYMBOLS {
     __CARTSIZE__:        type = weak,   value = $4000;   # possible values: $4000 and $8000
     __CART_ENTRY__:      type = import;
     __STACKSIZE__:       type = weak,   value = $0400;   # 4 pages stack
-    __RESERVED_MEMORY__: type = export, value = $0200;   # space for display list and 20x24 screen buffer
+    __RESERVED_MEMORY__: type = export, value = $01E0;   # space for 20x24 screen buffer (default display list is in ROM)
 }
 MEMORY {
     ZP:        file = "", start = $001D,                size = $00E3,                                               define = yes;
@@ -13,9 +13,11 @@ MEMORY {
     CARTENTRY: file = %O, start = $BFFE,                size = $0002;
 }
 SEGMENTS {
+    ZEROPAGE:  load = ZP,             type = zp,                optional = yes;
+    EXTZP:     load = ZP,             type = zp,                optional = yes;
     STARTUP:   load = ROM,            type = ro,  define = yes, optional = yes;
     LOWCODE:   load = ROM,            type = ro,  define = yes, optional = yes;
-    INIT:      load = ROM,            type = ro,                optional = yes;
+    ONCE:      load = ROM,            type = ro,                optional = yes;
     CODE:      load = ROM,            type = ro,  define = yes;
     RODATA:    load = ROM,            type = ro,                optional = yes;
     DATA:      load = ROM, run = RAM, type = rw,  define = yes, optional = yes;
@@ -23,14 +25,12 @@ SEGMENTS {
     CARTNAME:  load = CARTNAME,       type = ro,  define = yes;
     CARTYEAR:  load = CARTYEAR,       type = ro,  define = yes;
     CARTENTRY: load = CARTENTRY,      type = ro,  define = yes;
-    ZEROPAGE:  load = ZP,             type = zp,                optional = yes;
-    EXTZP:     load = ZP,             type = zp,                optional = yes;
 }
 FEATURES {
     CONDES: type    = constructor,
             label   = __CONSTRUCTOR_TABLE__,
             count   = __CONSTRUCTOR_COUNT__,
-            segment = INIT;
+            segment = ONCE;
     CONDES: type    = destructor,
             label   = __DESTRUCTOR_TABLE__,
             count   = __DESTRUCTOR_COUNT__,