31 lines
894 B
Plaintext
31 lines
894 B
Plaintext
MEMORY
|
|
{
|
|
ZP: start = $0, size = $100, type = rw, define = yes;
|
|
SDRAM: start = $200, size = $ee00, type = rw, define = yes;
|
|
ROM: start = $f000, size = $1000, file = %O;
|
|
}
|
|
|
|
SEGMENTS {
|
|
ZEROPAGE: load = ZP, type = zp, define = yes;
|
|
CODE: load = ROM, type = ro;
|
|
RODATA: load = ROM, type = ro;
|
|
VECTORS: load = ROM, type = ro, start = $FFFA;
|
|
}
|
|
|
|
FEATURES {
|
|
CONDES: segment = STARTUP,
|
|
type = constructor,
|
|
label = __CONSTRUCTOR_TABLE__,
|
|
count = __CONSTRUCTOR_COUNT__;
|
|
CONDES: segment = STARTUP,
|
|
type = destructor,
|
|
label = __DESTRUCTOR_TABLE__,
|
|
count = __DESTRUCTOR_COUNT__;
|
|
}
|
|
|
|
SYMBOLS {
|
|
# Define the stack size for the application
|
|
__STACKSIZE__: value = $0200, type = weak;
|
|
__STACKSTART__: type = weak, value = $0800; # 2k stack
|
|
}
|