From: Alan Cox Date: Fri, 29 Sep 2017 21:46:54 +0000 (+0100) Subject: 65c816: ld config file X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=08ebd987d1255c7671ce140daca4f744f7ae183f;p=FUZIX.git 65c816: ld config file --- diff --git a/Library/libs/ld65-v65c816.cfg b/Library/libs/ld65-v65c816.cfg new file mode 100644 index 00000000..3ae59b11 --- /dev/null +++ b/Library/libs/ld65-v65c816.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; +}