8bitworkshop/src/worker/lib/exidy/exidy.cfg

51 lines
1.8 KiB
INI

SYMBOLS {
__STACKSIZE__: type = weak, value = $0100;
}
MEMORY {
# Zero Page
ZP: file = "", start = $0000, size = $0100, type = rw, define = yes;
# RAM
RAM0: file = "", start = $200, size = $200, define = yes;
# ROM Bank
PRG: file = %O, start = $8000, size = $8000 - 6, fill = yes, define = yes;
# CPU Vectors
VECTORS: file = %O, start = $FFFA, size = $0006, fill = yes;
# Sprite Bitmaps
SPRITES: file = %O, start = $0, size = $800, fill = yes, define = yes;
# Audio ROM
AUDIO: file = %O, start = $5800, size = $2800, fill = yes, define = yes;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
STARTUP: load = PRG, type = ro, define = yes;
RODATA: load = PRG, type = ro, define = yes;
ONCE: load = PRG, type = ro, optional = yes;
CODE: load = PRG, type = ro, define = yes;
DATA: load = PRG, run = RAM0, type = rw, define = yes;
VECTORS: load = VECTORS, type = ro;
SPRITES: load = SPRITES, type = ro, optional = yes;
BSS: load = RAM0, type = bss, define = yes;
RAM: load = RAM0, type = rw, optional = yes;
AUDIO: load = AUDIO, type = ro, optional = 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__;
}