2001-09-13 19:49:27 +00:00
|
|
|
MEMORY {
|
|
|
|
ZP: start = $02, size = $1A, type = rw;
|
2001-09-14 16:48:41 +00:00
|
|
|
RAM: start = $0001, size = $F3FF, file = %O;
|
|
|
|
VIDRAM: start = $F400, size = $0400, define = yes, file = "";
|
2001-09-13 19:49:27 +00:00
|
|
|
}
|
|
|
|
SEGMENTS {
|
|
|
|
CODE: load = RAM, type = wprot;
|
|
|
|
RODATA: load = RAM, type = wprot;
|
|
|
|
DATA: load = RAM, type = rw;
|
|
|
|
BSS: load = RAM, type = bss, define = yes;
|
|
|
|
ZEROPAGE: load = ZP, type = zp;
|
|
|
|
}
|
|
|
|
FEATURES {
|
|
|
|
CONDES: segment = RODATA,
|
|
|
|
type = constructor,
|
|
|
|
label = __CONSTRUCTOR_TABLE__,
|
|
|
|
count = __CONSTRUCTOR_COUNT__;
|
|
|
|
CONDES: segment = RODATA,
|
|
|
|
type = destructor,
|
|
|
|
label = __DESTRUCTOR_TABLE__,
|
|
|
|
count = __DESTRUCTOR_COUNT__;
|
2001-09-19 08:23:10 +00:00
|
|
|
CONDES: segment = RODATA,
|
|
|
|
type = 2,
|
|
|
|
label = __IRQFUNC_TABLE__,
|
|
|
|
count = __IRQFUNC_COUNT__;
|
2001-09-13 19:49:27 +00:00
|
|
|
}
|
|
|
|
SYMBOLS {
|
2001-09-14 16:48:41 +00:00
|
|
|
__STACKSIZE__ = $781; # ~2K stack
|
2001-09-13 19:49:27 +00:00
|
|
|
}
|