diff --git a/src/ld65/cfg/bbc.cfg b/src/ld65/cfg/bbc.cfg new file mode 100644 index 000000000..7b19096ee --- /dev/null +++ b/src/ld65/cfg/bbc.cfg @@ -0,0 +1,23 @@ +MEMORY { + ZP: start = $70, size = $20, type = rw; + RAM: start = $E00, size = $7200, file = %O; +} +SEGMENTS { + CODE: load = RAM, type = wprot; + RODATA: load = RAM, type = wprot; + DATA: load = RAM, type = rw; + BSS: load = RAM, type = bss, define = yes; + ZEROPAGE: load = ZP, type = zp; +} +FEATURES { + CONDES: segment = RODATA, + type = constructor, + label = __CONSTRUCTOR_TABLE__, + count = __CONSTRUCTOR_COUNT__; + CONDES: segment = RODATA, + type = destructor, + label = __DESTRUCTOR_TABLE__, + count = __DESTRUCTOR_COUNT__; +} + +