mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Added the CBM510 as a new target system
git-svn-id: svn://svn.cc65.org/cc65/trunk@910 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
3ab5a002df
commit
6be0510138
@ -1,3 +1,3 @@
|
||||
.depend
|
||||
ar65
|
||||
|
||||
.kdbgrc.ar65
|
||||
|
@ -1,2 +1,3 @@
|
||||
.depend
|
||||
ca65
|
||||
.kdbgrc.ca65
|
||||
|
@ -1,5 +1,6 @@
|
||||
.depend
|
||||
ld65
|
||||
.kdbgrc.ld65
|
||||
*.map
|
||||
*.s
|
||||
apple2.inc
|
||||
@ -7,6 +8,7 @@ atari.inc
|
||||
bbc.inc
|
||||
c128.inc
|
||||
c64.inc
|
||||
cbm510.inc
|
||||
cbm610.inc
|
||||
geos.inc
|
||||
none.inc
|
||||
|
24
src/ld65/cfg/cbm510.cfg
Normal file
24
src/ld65/cfg/cbm510.cfg
Normal file
@ -0,0 +1,24 @@
|
||||
MEMORY {
|
||||
ZP: start = $02, size = $1A, type = rw;
|
||||
RAM: start = $0001, size = $FFF0, file = %O;
|
||||
}
|
||||
SEGMENTS {
|
||||
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;
|
||||
}
|
||||
FEATURES {
|
||||
CONDES: segment = RODATA,
|
||||
type = constructor,
|
||||
label = __CONSTRUCTOR_TABLE__,
|
||||
count = __CONSTRUCTOR_COUNT__;
|
||||
CONDES: segment = RODATA,
|
||||
type = destructor,
|
||||
label = __DESTRUCTOR_TABLE__,
|
||||
count = __DESTRUCTOR_COUNT__;
|
||||
}
|
||||
SYMBOLS {
|
||||
__STACKSIZE__ = $800; # 2K stack
|
||||
}
|
@ -51,6 +51,7 @@ INCS = apple2.inc \
|
||||
bbc.inc \
|
||||
c64.inc \
|
||||
c128.inc \
|
||||
cbm510.inc \
|
||||
cbm610.inc \
|
||||
geos.inc \
|
||||
none.inc \
|
||||
@ -115,6 +116,9 @@ c64.inc: cfg/c64.cfg
|
||||
c128.inc: cfg/c128.cfg
|
||||
@$(CVT) $< $@ CfgC128
|
||||
|
||||
cbm510.inc: cfg/cbm510.cfg
|
||||
@$(CVT) $< $@ CfgCBM510
|
||||
|
||||
cbm610.inc: cfg/cbm610.cfg
|
||||
@$(CVT) $< $@ CfgCBM610
|
||||
|
||||
|
@ -53,6 +53,7 @@ static const char CfgEmpty[] = "";
|
||||
#include "bbc.inc"
|
||||
#include "c128.inc"
|
||||
#include "c64.inc"
|
||||
#include "cbm510.inc"
|
||||
#include "cbm610.inc"
|
||||
#include "geos.inc"
|
||||
#include "none.inc"
|
||||
@ -75,6 +76,7 @@ const TargetDesc Targets [TGT_COUNT] = {
|
||||
{ BINFMT_BINARY, CfgC128 },
|
||||
{ BINFMT_BINARY, CfgEmpty }, /* Ace */
|
||||
{ BINFMT_BINARY, CfgPlus4 },
|
||||
{ BINFMT_BINARY, CfgCBM510 },
|
||||
{ BINFMT_BINARY, CfgCBM610 },
|
||||
{ BINFMT_BINARY, CfgPET },
|
||||
{ BINFMT_BINARY, CfgBBC },
|
||||
|
Loading…
Reference in New Issue
Block a user