2000-10-31 18:08:25 +00:00
|
|
|
MEMORY {
|
2002-11-20 01:34:56 +00:00
|
|
|
ZP: start = $55, size = $1A, type = rw, define = yes;
|
2000-10-31 18:08:25 +00:00
|
|
|
RAM: start = $03FF, size = $7BFF, file = %O;
|
|
|
|
}
|
|
|
|
SEGMENTS {
|
2002-11-22 17:43:47 +00:00
|
|
|
STARTUP: load = RAM, type = wprot;
|
|
|
|
LOWCODE: load = RAM, type = wprot;
|
2000-10-31 18:08:25 +00:00
|
|
|
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;
|
|
|
|
}
|
2000-11-20 23:04:30 +00:00
|
|
|
FEATURES {
|
|
|
|
CONDES: segment = RODATA,
|
|
|
|
type = constructor,
|
|
|
|
label = __CONSTRUCTOR_TABLE__,
|
|
|
|
count = __CONSTRUCTOR_COUNT__;
|
|
|
|
CONDES: segment = RODATA,
|
|
|
|
type = destructor,
|
|
|
|
label = __DESTRUCTOR_TABLE__,
|
|
|
|
count = __DESTRUCTOR_COUNT__;
|
|
|
|
}
|
2001-03-10 14:24:58 +00:00
|
|
|
SYMBOLS {
|
|
|
|
__STACKSIZE__ = $800; # 2K stack
|
|
|
|
}
|
2000-11-20 23:04:30 +00:00
|
|
|
|