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;
|
2016-03-07 00:28:55 +00:00
|
|
|
MAIN: file = %O, start = %S, size = $D000 - %S;
|
2010-11-14 13:11:09 +00:00
|
|
|
}
|
|
|
|
SEGMENTS {
|
2016-03-13 13:32:07 +00:00
|
|
|
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
2010-11-14 13:11:09 +00:00
|
|
|
LOADADDR: load = LOADADDR, type = ro;
|
2016-03-07 00:28:55 +00:00
|
|
|
EXEHDR: load = MAIN, type = ro, optional = yes;
|
|
|
|
CODE: load = MAIN, type = rw, optional = yes;
|
|
|
|
RODATA: load = MAIN, type = ro, optional = yes;
|
|
|
|
DATA: load = MAIN, type = rw, optional = yes;
|
|
|
|
BSS: load = MAIN, type = bss, optional = yes;
|
2010-11-14 13:11:09 +00:00
|
|
|
}
|