emailler/cfg/vic20prg.cfg
Oliver Schmidt 09c718b74f Removed explicit copying of defaults.
It's the very purpose of the DATA segment to consolidate all items that potentially need to be copied from ROM to RAM. So there's no need to / point in doing that on a per-item-base.
2014-04-27 19:17:48 +02:00

24 lines
928 B
INI

# Memory configuration for the VIC20 with 32K RAM Cartridge
SYMBOLS {
__LOADADDR__: type = import;
__EXEHDR__: type = import;
}
MEMORY {
ZP: start = $02, size = $1A;
IP65ZP: start = $5F, size = $10;
LOADADDR: start = $11FF, size = $02, file = %O;
HEADER: start = $1201, size = $0C, file = %O;
RAM: start = $120D, size = $6DF3, file = %O;
}
SEGMENTS {
ZEROPAGE: load = ZP, type = zp;
IP65ZP: load = IP65ZP, type = zp, optional = yes;
LOADADDR: load = LOADADDR, type = ro;
EXEHDR: load = HEADER, type = ro;
STARTUP: load = RAM, type = ro, define = yes;
CODE: load = RAM, type = ro;
RODATA: load = RAM, type = ro, optional = yes;
DATA: load = RAM, type = rw;
BSS: load = RAM, type = bss;
}