You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.1 KiB
INI
40 lines
1.1 KiB
INI
MEMORY {
|
|
ZP: start = $0020, size = $00C0, define = yes;
|
|
HEADER: start = $0000, size = $0004, file = %O;
|
|
RAM1: start = $0280, size = $0D80, file = "code.1";
|
|
RAM2: start = $E000, size = $1000, file = "code.2";
|
|
}
|
|
SEGMENTS {
|
|
EXEHDR: load = HEADER, type = ro;
|
|
STARTUP: load = RAM1, type = ro, define = yes;
|
|
LOWCODE: load = RAM1, type = ro, optional = yes;
|
|
INIT: load = RAM1, type = ro, define = yes, optional = yes;
|
|
CODE1: load = RAM1, type = ro;
|
|
CODE: load = RAM2, type = ro;
|
|
RODATA: load = RAM1, type = ro;
|
|
DATA: load = RAM1, type = rw;
|
|
BSS: load = RAM1, type = bss, define = yes;
|
|
HEAP: load = RAM1, type = bss, optional = yes;
|
|
ZEROPAGE: load = ZP, type = zp;
|
|
}
|
|
FEATURES {
|
|
CONDES: segment = INIT,
|
|
type = constructor,
|
|
label = __CONSTRUCTOR_TABLE__,
|
|
count = __CONSTRUCTOR_COUNT__;
|
|
CONDES: segment = RODATA,
|
|
type = destructor,
|
|
label = __DESTRUCTOR_TABLE__,
|
|
count = __DESTRUCTOR_COUNT__;
|
|
CONDES: type = interruptor,
|
|
segment = RODATA,
|
|
label = __INTERRUPTOR_TABLE__,
|
|
count = __INTERRUPTOR_COUNT__;
|
|
}
|
|
SYMBOLS {
|
|
__STACKSIZE__ = $800;
|
|
}
|
|
|
|
|
|
|