]> git.sur5r.net Git - cc65/blobdiff - src/ld65/cfg/bbc.cfg
Interruptor support for all systems.
[cc65] / src / ld65 / cfg / bbc.cfg
index 1965d55e6314c56595d6da43c68131eea95c17b6..e1b2f771f6bd32c3c6e9f07c60310db691d5ecbf 100644 (file)
@@ -10,6 +10,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 {
@@ -21,6 +22,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