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 {
|
|
|
|
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;
|
|
|
|
}
|