2010-11-14 13:11:09 +00:00
|
|
|
FEATURES {
|
|
|
|
STARTADDRESS: default = $0801;
|
|
|
|
}
|
|
|
|
SYMBOLS {
|
2013-02-12 20:55:19 +00:00
|
|
|
__LOADADDR__: type = import;
|
2010-11-14 13:11:09 +00:00
|
|
|
}
|
|
|
|
MEMORY {
|
2014-01-22 17:13:04 +00:00
|
|
|
ZP: file = "", start = $0002, size = $001A, define = yes;
|
2010-11-14 13:11:09 +00:00
|
|
|
LOADADDR: file = %O, start = %S - 2, size = $0002;
|
2010-11-14 17:00:21 +00:00
|
|
|
RAM: file = %O, start = %S, size = $D000 - %S;
|
2010-11-14 13:11:09 +00:00
|
|
|
}
|
|
|
|
SEGMENTS {
|
|
|
|
LOADADDR: load = LOADADDR, type = ro;
|
|
|
|
EXEHDR: load = RAM, type = ro, optional = yes;
|
|
|
|
CODE: load = RAM, type = rw, optional = yes;
|
|
|
|
RODATA: load = RAM, type = ro, optional = yes;
|
|
|
|
DATA: load = RAM, type = rw, optional = yes;
|
|
|
|
BSS: load = RAM, type = bss, optional = yes;
|
2014-01-22 17:13:04 +00:00
|
|
|
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
2010-11-14 13:11:09 +00:00
|
|
|
}
|