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 {
|
2016-03-17 20:51:20 +00:00
|
|
|
ZP: file = "", start = $0002, size = $00FE, 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;
|
2016-03-17 20:51:20 +00:00
|
|
|
CODE: load = MAIN, type = rw;
|
2016-03-07 00:28:55 +00:00
|
|
|
RODATA: load = MAIN, type = ro, optional = yes;
|
|
|
|
DATA: load = MAIN, type = rw, optional = yes;
|
2016-03-17 20:51:20 +00:00
|
|
|
BSS: load = MAIN, type = bss, optional = yes, define = yes;
|
2010-11-14 13:11:09 +00:00
|
|
|
}
|