1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00
cc65/cfg/module.cfg
Oliver Schmidt 37c492b544 Replaced builtin linker configs with ordinary .cfg files.
The benefits are:
- Independency of ld65 build from perl
- More transparent behaviour
2013-04-09 23:09:46 +02:00

22 lines
637 B
INI

MEMORY {
ZP: file = %O, start = $0000, size = $0100, type = rw, define = yes;
COMBINED: file = %O, start = $0000, size = $FFFF;
}
SEGMENTS {
JUMPTABLE: load = COMBINED, type = ro;
INIT: load = COMBINED, type = ro, optional = yes;
CODE: load = COMBINED, type = ro;
RODATA: load = COMBINED, type = ro;
DATA: load = COMBINED, type = rw, define = yes;
BSS: load = COMBINED, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp;
EXTZP: load = ZP, type = zp;
}
FILES {
%O: format = o65;
}
FORMATS {
o65: os = cc65,
type = small;
}