1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-08 15:29:37 +00:00

made more segments optional so that the config file can be used for assembler programs, too

This commit is contained in:
Christian Groessler 2014-01-16 23:45:21 +01:00
parent 692ec4a05b
commit 94df0e8ef4

View File

@ -11,17 +11,17 @@ SYMBOLS {
MEMORY {
ZP: file = "", define = yes, start = $0082, size = $007E;
RAM: file = "", define = yes, start = %S, size = $2000;
ROM: file = %O, define = yes, start = $A000, size = $1FFA, fill = yes, fillval = $ff;
ROM: file = %O, define = yes, start = $A000, size = $1FFA, fill = yes, fillval = $FF;
CARTID: file = %O, start = $BFFA, size = $0006;
}
SEGMENTS {
STARTUP: load = ROM, type = ro, define = yes;
STARTUP: load = ROM, type = ro, define = yes, optional = yes;
LOWCODE: load = ROM, type = ro, define = yes, optional = yes;
INIT: load = ROM, type = ro, optional = yes;
CODE: load = ROM, type = ro, define = yes;
RODATA: load = ROM, type = ro;
DATA: load = ROM, run = RAM, type = rw, define = yes;
BSS: load = RAM, type = bss, define = yes;
RODATA: load = ROM, type = ro; optional = yes;
DATA: load = ROM, run = RAM, type = rw, define = yes; optional = yes;
BSS: load = RAM, type = bss, define = yes; optional = yes;
CARTHDR: load = CARTID, type = ro;
ZEROPAGE: load = ZP, type = zp;
EXTZP: load = ZP, type = zp, optional = yes;