Added the builtin config for the lynx game console

git-svn-id: svn://svn.cc65.org/cc65/trunk@3224 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2004-10-08 18:51:37 +00:00
parent 77c0b62f9b
commit f962da83c2
4 changed files with 46 additions and 5 deletions

33
src/ld65/cfg/lynx.cfg Normal file
View File

@@ -0,0 +1,33 @@
MEMORY {
ZP: start = $00, size = $100, type = rw, define = yes;
HEADER: start = $0000, size = $A, file = %O;
RAM: start = $0400, size = $BA3F, define = yes, file = %O;
}
SEGMENTS {
EXEHDR: load = HEADER, type = wprot;
STARTUP: load = RAM, type = wprot;
LOWCODE: load = RAM, type = wprot, optional = yes;
CODE: load = RAM, type = wprot;
RODATA: load = RAM, type = wprot;
DATA: load = RAM, type = rw;
BSS: load = RAM, type = bss, define = yes;
ZEROPAGE: load = ZP, type = zp;
EXTZP: load = ZP, type = zp;
}
FEATURES {
CONDES: segment = RODATA,
type = constructor,
label = __CONSTRUCTOR_TABLE__,
count = __CONSTRUCTOR_COUNT__;
CONDES: segment = RODATA,
type = destructor,
label = __DESTRUCTOR_TABLE__,
count = __DESTRUCTOR_COUNT__;
CONDES: segment = RODATA,
type = interruptor,
label = __INTERRUPTOR_TABLE__,
count = __INTERRUPTOR_COUNT__;
}
SYMBOLS {
__STACKSIZE__ = $800; # 2K stack
}