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 {
|
2014-01-22 17:13:04 +00:00
|
|
|
ZP: start = $0080, size = $001A, define = yes;
|
2012-06-14 20:59:08 +00:00
|
|
|
HEADER: file = %O, start = $0000, size = $0004;
|
|
|
|
RAM: file = %O, start = %S, size = $C000 - %S;
|
|
|
|
}
|
|
|
|
SEGMENTS {
|
2014-01-22 17:13:04 +00:00
|
|
|
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
|
|
|
EXEHDR: load = HEADER, type = ro, optional = yes;
|
|
|
|
CODE: load = RAM, type = rw, optional = yes, define = yes;
|
|
|
|
RODATA: load = RAM, type = ro, optional = yes;
|
|
|
|
DATA: load = RAM, type = rw, optional = yes;
|
|
|
|
BSS: load = RAM, type = bss, optional = yes, define = yes;
|
2012-06-14 20:59:08 +00:00
|
|
|
}
|