2013-11-25 21:52:04 +00:00
|
|
|
SYMBOLS {
|
2018-02-10 10:29:50 +00:00
|
|
|
__STACKSIZE__: type = weak, value = $0040;
|
2013-11-25 21:52:04 +00:00
|
|
|
}
|
|
|
|
MEMORY {
|
|
|
|
ZP: file = "", define = yes, start = $0020, size = $00E0;
|
2017-12-18 18:19:59 +00:00
|
|
|
RAM: file = "", define = yes, start = $01FA, size = $0206 - __STACKSIZE__;
|
2017-03-17 20:42:51 +00:00
|
|
|
ROM: file = %O, define = yes, start = $B000, size = $1000, fill = yes, fillval = $FF;
|
2013-11-25 21:52:04 +00:00
|
|
|
}
|
|
|
|
SEGMENTS {
|
|
|
|
ZEROPAGE: load = ZP, type = zp;
|
|
|
|
ZP: load = ZP, type = zp, optional = yes;
|
|
|
|
VECTORS: load = ROM, run = RAM, type = rw, define = yes;
|
|
|
|
DATA: load = ROM, run = RAM, type = rw, define = yes, start = $0204;
|
2023-08-19 17:08:46 +00:00
|
|
|
INIT: load = RAM, type = bss, optional = yes;
|
2013-11-25 21:52:04 +00:00
|
|
|
BSS: load = RAM, type = bss, define = yes;
|
2017-02-01 18:46:04 +00:00
|
|
|
ONCE: load = ROM, type = ro, optional = yes;
|
2013-11-25 21:52:04 +00:00
|
|
|
CODE: load = ROM, type = ro;
|
|
|
|
RODATA: load = ROM, type = ro;
|
|
|
|
AUDIO: load = ROM, type = ro, optional = yes, start = $BF00;
|
|
|
|
SETUP: load = ROM, type = ro, start = $BFE8;
|
|
|
|
}
|
|
|
|
FEATURES {
|
|
|
|
CONDES: type = constructor,
|
|
|
|
label = __CONSTRUCTOR_TABLE__,
|
|
|
|
count = __CONSTRUCTOR_COUNT__,
|
|
|
|
segment = INIT;
|
|
|
|
CONDES: type = destructor,
|
|
|
|
label = __DESTRUCTOR_TABLE__,
|
|
|
|
count = __DESTRUCTOR_COUNT__,
|
|
|
|
segment = RODATA;
|
|
|
|
CONDES: type = interruptor,
|
|
|
|
label = __INTERRUPTOR_TABLE__,
|
|
|
|
count = __INTERRUPTOR_COUNT__,
|
|
|
|
segment = RODATA,
|
|
|
|
import = __CALLIRQ__;
|
|
|
|
}
|