mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
35 lines
1.2 KiB
INI
35 lines
1.2 KiB
INI
|
SYMBOLS {
|
||
|
__STARTUP__: type = import;
|
||
|
__STACKSIZE__: type = weak, value = $0800;
|
||
|
}
|
||
|
MEMORY {
|
||
|
ZP: file = "", define = yes, start = $0000, size = $0100;
|
||
|
CPUSTACK: file = "", start = $0100, size = $0100;
|
||
|
RAM: file = %O, define = yes, start = $0200, size = $FD00 - __STACKSIZE__;
|
||
|
}
|
||
|
SEGMENTS {
|
||
|
ZEROPAGE: load = ZP, type = zp;
|
||
|
STARTUP: load = RAM, type = ro;
|
||
|
LOWCODE: load = RAM, type = ro, optional = yes;
|
||
|
ONCE: load = RAM, type = ro, optional = yes;
|
||
|
CODE: load = RAM, type = ro;
|
||
|
RODATA: load = RAM, type = ro;
|
||
|
DATA: load = RAM, type = rw, define = yes;
|
||
|
BSS: load = RAM, type = bss, define = yes;
|
||
|
}
|
||
|
FEATURES {
|
||
|
CONDES: type = constructor,
|
||
|
label = __CONSTRUCTOR_TABLE__,
|
||
|
count = __CONSTRUCTOR_COUNT__,
|
||
|
segment = ONCE;
|
||
|
CONDES: type = destructor,
|
||
|
label = __DESTRUCTOR_TABLE__,
|
||
|
count = __DESTRUCTOR_COUNT__,
|
||
|
segment = RODATA;
|
||
|
CONDES: type = interruptor,
|
||
|
label = __INTERRUPTOR_TABLE__,
|
||
|
count = __INTERRUPTOR_COUNT__,
|
||
|
segment = RODATA,
|
||
|
import = __CALLIRQ__;
|
||
|
}
|