]> git.sur5r.net Git - cc65/blobdiff - src/ld65/cfg/apple2.cfg
Interruptor support for all systems.
[cc65] / src / ld65 / cfg / apple2.cfg
index 0aeb52aa212abc4548261d73166c4c2cca0573b4..fef2b4e79cc8d261774efae1a25401d1cca68e57 100644 (file)
@@ -12,6 +12,7 @@ SEGMENTS {
     RODATA:   load = RAM,    type = ro;
     DATA:     load = RAM,    type = rw;
     BSS:      load = RAM,    type = bss, define = yes;
+    HEAP:     load = RAM,    type = bss, optional = yes; # must sit just below stack
     ZEROPAGE: load = ZP,     type = zp;
 }
 FEATURES {
@@ -23,6 +24,10 @@ FEATURES {
            type = destructor,
            label = __DESTRUCTOR_TABLE__,
            count = __DESTRUCTOR_COUNT__;
+    CONDES: type = interruptor,
+           segment = RODATA,
+           label = __INTERRUPTOR_TABLE__,
+           count = __INTERRUPTOR_COUNT__;
 }
 SYMBOLS {
     __STACKSIZE__ = $800;      # 2K stack