2012-06-14 20:59:08 +00:00
|
|
|
# Configuration for assembler programs which don't need a special setup
|
|
|
|
|
|
|
|
FEATURES {
|
|
|
|
STARTADDRESS: default = $0803;
|
|
|
|
}
|
|
|
|
SYMBOLS {
|
|
|
|
__LOADADDR__: type = weak, value = __CODE_RUN__;
|
|
|
|
__LOADSIZE__: type = weak, value = __BSS_RUN__ - __CODE_RUN__;
|
|
|
|
}
|
|
|
|
MEMORY {
|
|
|
|
HEADER: file = %O, start = $0000, size = $0004;
|
2016-03-07 01:28:55 +01:00
|
|
|
MAIN: file = %O, start = %S, size = $C000 - %S;
|
2012-06-14 20:59:08 +00:00
|
|
|
}
|
|
|
|
SEGMENTS {
|
|
|
|
EXEHDR: load = HEADER, type = ro, optional = yes;
|
2016-03-07 01:28:55 +01:00
|
|
|
CODE: load = MAIN, type = rw, optional = yes, define = yes;
|
|
|
|
RODATA: load = MAIN, type = ro, optional = yes;
|
|
|
|
DATA: load = MAIN, type = rw, optional = yes;
|
|
|
|
BSS: load = MAIN, type = bss, optional = yes, define = yes;
|
2012-06-14 20:59:08 +00:00
|
|
|
}
|