From: Alan Cox Date: Fri, 29 Sep 2017 21:46:01 +0000 (+0100) Subject: ld65-65c816: config file for near 64K sized binaries X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=3b2f1f0e488c632f008cbae239260ae812853b12;p=FUZIX.git ld65-65c816: config file for near 64K sized binaries --- diff --git a/Library/libs/ld65-65c816.cfg b/Library/libs/ld65-65c816.cfg new file mode 100644 index 00000000..3ae59b11 --- /dev/null +++ b/Library/libs/ld65-65c816.cfg @@ -0,0 +1,17 @@ +MEMORY { + RAMZ: start = $0000, size = $0100, type = rw, define = yes; + RAM1: start = $0100, size = $FB00, type = rw, define = yes; +} + +SEGMENTS { + ZEROPAGE: load = RAMZ, type = zp, define = yes; + STARTUP: load = RAM1, type = ro, define=yes; + CODE: load = RAM1, type = ro, define=yes; + RODATA: load = RAM1, type = ro, define=yes; + DATA: load = RAM1, type = rw, define=yes; + BSS: load = RAM1, type = bss, define=yes; +} + +FILES { + %O: format = bin; +}