mirror of
https://github.com/bradgrantham/apple2a.git
synced 2024-12-22 13:30:06 +00:00
36 lines
1.1 KiB
INI
36 lines
1.1 KiB
INI
MEMORY {
|
|
ZP: start = $0, size = $100, type = rw, define = yes;
|
|
RAM: start = $4000, size = $4000, define = yes;
|
|
ROM: start = $D000, size = $3000, file = %O;
|
|
}
|
|
|
|
SEGMENTS {
|
|
ZEROPAGE: load = ZP, type = zp, define = yes;
|
|
DATA: load = ROM, type = rw, define = yes, run = RAM;
|
|
BSS: load = RAM, type = bss, define = yes;
|
|
HEAP: load = RAM, type = bss, optional = yes;
|
|
STARTUP: load = ROM, type = ro;
|
|
ONCE: load = ROM, type = ro, optional = 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;
|
|
# __STACKSIZE__: type = weak, value = $0800; # 2k stack
|
|
}
|
|
|