2021-09-22 09:38:49 +00:00
|
|
|
FEATURES {
|
|
|
|
STARTADDRESS: default = $1001;
|
|
|
|
}
|
|
|
|
SYMBOLS {
|
|
|
|
__LOADADDR__: type = import;
|
|
|
|
}
|
|
|
|
MEMORY {
|
|
|
|
ZP: file = "", start = $0002, size = $001A, define = yes;
|
2022-06-06 12:01:16 +00:00
|
|
|
LOADADDR: file = %O, start = %S - 2, size = $0002;
|
2021-09-22 09:38:49 +00:00
|
|
|
MAIN: file = %O, start = %S, size = $0DF3 - %S;
|
|
|
|
}
|
|
|
|
SEGMENTS {
|
|
|
|
ZEROPAGE: load = ZP, type = zp, optional = yes;
|
|
|
|
LOADADDR: load = LOADADDR, type = ro;
|
|
|
|
CODE: load = MAIN, type = ro;
|
|
|
|
RODATA: load = MAIN, type = ro;
|
|
|
|
DATA: load = MAIN, type = rw;
|
|
|
|
BSS: load = MAIN, type = bss, optional = yes, define = yes;
|
|
|
|
}
|