1
0
mirror of https://github.com/cc65/cc65.git synced 2025-02-06 12:31:12 +00:00

Replaced the unused NES target by BBC

git-svn-id: svn://svn.cc65.org/cc65/trunk@497 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2000-11-30 08:55:16 +00:00
parent fef6e7d7d6
commit 6632756ceb
7 changed files with 17 additions and 11 deletions

View File

@ -159,8 +159,8 @@ static void SetSys (const char* Sys)
cbmsys ("__PET__");
break;
case TGT_NES:
AddNumericMacro ("__NES__", 1);
case TGT_BBC:
AddNumericMacro ("__BBC__", 1);
break;
case TGT_APPLE2:

View File

@ -60,7 +60,7 @@ const char* TargetNames [TGT_COUNT] = {
"plus4",
"cbm610",
"pet",
"nes",
"bbc",
"apple2",
"geos",
};

View File

@ -55,7 +55,7 @@ typedef enum {
TGT_PLUS4,
TGT_CBM610,
TGT_PET,
TGT_NES,
TGT_BBC,
TGT_APPLE2,
TGT_GEOS,
TGT_COUNT /* Number of target systems */

View File

@ -108,7 +108,7 @@ void TgtTranslateInit (void)
case TGT_PLUS4: Tab = CTPET; break;
case TGT_CBM610: Tab = CTAtari; break;
case TGT_PET: Tab = CTAtari; break;
case TGT_NES: break;
case TGT_BBC: break;
case TGT_APPLE2: break;
case TGT_GEOS: break;
default:

View File

@ -4,6 +4,7 @@ ld65
*.s
apple2.inc
atari.inc
bbc.inc
c128.inc
c64.inc
cbm610.inc

View File

@ -44,6 +44,7 @@ OBJS = bin.o \
INCS = apple2.inc \
atari.inc \
bbc.inc \
c64.inc \
c128.inc \
cbm610.inc \
@ -100,6 +101,9 @@ apple2.inc: cfg/apple2.cfg
atari.inc: cfg/atari.cfg
@$(CVT) $< $@ CfgAtari
bbc.inc: cfg/bbc.cfg
@$(CVT) $< $@ CfgBBC
c64.inc: cfg/c64.cfg
@$(CVT) $< $@ CfgC64

View File

@ -50,6 +50,7 @@ static const char CfgEmpty[] = "";
/* Actual target configurations, converted into C strings by a perl script */
#include "apple2.inc"
#include "atari.inc"
#include "bbc.inc"
#include "c128.inc"
#include "c64.inc"
#include "cbm610.inc"
@ -72,11 +73,11 @@ const TargetDesc Targets [TGT_COUNT] = {
{ BINFMT_BINARY, CfgAtari },
{ BINFMT_BINARY, CfgC64 },
{ BINFMT_BINARY, CfgC128 },
{ BINFMT_BINARY, CfgEmpty }, /* Ace */
{ BINFMT_BINARY, CfgEmpty }, /* Ace */
{ BINFMT_BINARY, CfgPlus4 },
{ BINFMT_BINARY, CfgCBM610 },
{ BINFMT_BINARY, CfgPET },
{ BINFMT_BINARY, CfgEmpty }, /* NES */
{ BINFMT_BINARY, CfgBBC },
{ BINFMT_BINARY, CfgApple2 },
{ BINFMT_BINARY, CfgGeos },
};