New target: supervision

git-svn-id: svn://svn.cc65.org/cc65/trunk@2495 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-10-10 16:30:55 +00:00
parent d88ee416f0
commit 2541ddd2f6
5 changed files with 42 additions and 1 deletions

View File

@@ -0,0 +1,32 @@
# if you want to combine the 2 16 kbyte roms
# make sure the halves are mirrored in the 64kbyte cartridge image
# or reset from code >0xc000 and switch bank to the 3rd bank
MEMORY {
ZP: start = $0000, size = $100;
CPUSTACK: start = $0100, size =$100;
RAM: start = $0200, size = $1e00, define = yes;
VRAM: start = $4000, size = $2000;
ROM: start = $8000, size = $8000, fill = yes, fillval = $ff, file = %O, define = yes;
}
SEGMENTS {
CODE: load = ROM, type = ro, define=yes;
RODATA: load = ROM, type = ro, define=yes;
DATA: load = ROM, run=RAM, type = rw, define = yes;
FFF0: load = ROM, type = ro, offset = $7FF0;
VECTOR: load = ROM, type = ro, offset = $7FFA;
BSS: load = RAM, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp, define = yes;
}
FEATURES {
CONDES: segment = RODATA,
type = constructor,
label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__;
CONDES: segment = RODATA,
type = destructor,
label = __DESTRUCTOR_TABLE__,
count = __DESTRUCTOR_COUNT__;
}