2000-10-31 18:08:25 +00:00
|
|
|
MEMORY {
|
2010-01-17 21:47:03 +00:00
|
|
|
ZP: start = $0002, size = $001A, type = rw, define = yes;
|
|
|
|
HEADER: start = $07FF, size = $000E, file = %O;
|
|
|
|
RAM: start = $080D, size = $C7F3, file = %O, define = yes;
|
2000-10-31 18:08:25 +00:00
|
|
|
}
|
|
|
|
SEGMENTS {
|
2010-01-17 21:47:03 +00:00
|
|
|
EXEHDR: load = HEADER, type = ro;
|
|
|
|
STARTUP: load = RAM, type = ro;
|
|
|
|
LOWCODE: load = RAM, type = ro, optional = yes;
|
|
|
|
INIT: load = RAM, type = ro, define = yes, optional = yes;
|
|
|
|
CODE: load = RAM, type = ro;
|
|
|
|
RODATA: load = RAM, type = ro;
|
|
|
|
DATA: load = RAM, type = rw;
|
|
|
|
ZPSAVE: load = RAM, type = bss;
|
|
|
|
BSS: load = RAM, type = bss, define = yes;
|
|
|
|
HEAP: load = RAM, type = bss, optional = yes; # must sit just below stack
|
|
|
|
ZEROPAGE: load = ZP, type = zp;
|
2000-10-31 18:08:25 +00:00
|
|
|
}
|
2005-02-26 09:06:12 +00:00
|
|
|
FEATURES {
|
|
|
|
CONDES: segment = INIT,
|
2000-11-20 22:58:41 +00:00
|
|
|
type = constructor,
|
|
|
|
label = __CONSTRUCTOR_TABLE__,
|
|
|
|
count = __CONSTRUCTOR_COUNT__;
|
|
|
|
CONDES: segment = RODATA,
|
|
|
|
type = destructor,
|
|
|
|
label = __DESTRUCTOR_TABLE__,
|
|
|
|
count = __DESTRUCTOR_COUNT__;
|
2004-03-23 21:50:15 +00:00
|
|
|
CONDES: segment = RODATA,
|
2004-09-20 10:24:59 +00:00
|
|
|
type = interruptor,
|
|
|
|
label = __INTERRUPTOR_TABLE__,
|
|
|
|
count = __INTERRUPTOR_COUNT__;
|
2000-11-20 22:58:41 +00:00
|
|
|
}
|
2001-03-10 14:24:58 +00:00
|
|
|
SYMBOLS {
|
2009-10-01 17:00:10 +00:00
|
|
|
__STACKSIZE__: value = $0800, weak = yes; # 2k stack
|
2001-03-10 14:24:58 +00:00
|
|
|
}
|
2000-11-20 22:58:41 +00:00
|
|
|
|
2001-03-08 14:49:31 +00:00
|
|
|
|