From: cuz Date: Fri, 2 May 2003 13:47:21 +0000 (+0000) Subject: Added a nes target X-Git-Tag: V2.12.0~1595 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c347c2ce94334e2986e4d81f4dd2f8fdb6b6ce68;p=cc65 Added a nes target git-svn-id: svn://svn.cc65.org/cc65/trunk@2119 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/common/target.c b/src/common/target.c index 5a513d758..a32f08a80 100644 --- a/src/common/target.c +++ b/src/common/target.c @@ -68,7 +68,8 @@ const char* TargetNames [TGT_COUNT] = { "apple2", "geos", "lunix", - "atmos" + "atmos", + "nes", }; @@ -92,6 +93,7 @@ const cpu_t DefaultCPU[TGT_COUNT] = { CPU_6502, /* geos */ CPU_6502, /* lunix */ CPU_6502, /* atmos */ + CPU_6502, /* nes */ }; diff --git a/src/common/target.h b/src/common/target.h index 8809b724a..03affe2bf 100644 --- a/src/common/target.h +++ b/src/common/target.h @@ -69,6 +69,7 @@ typedef enum { TGT_GEOS, TGT_LUNIX, TGT_ATMOS, + TGT_NES, TGT_COUNT /* Number of target systems */ } target_t; diff --git a/src/common/tgttrans.c b/src/common/tgttrans.c index 221146c05..ef7a45e06 100644 --- a/src/common/tgttrans.c +++ b/src/common/tgttrans.c @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 2000-2002 Ullrich von Bassewitz */ -/* Wacholderweg 14 */ -/* D-70597 Stuttgart */ -/* EMail: uz@musoftware.de */ +/* (C) 2000-2003 Ullrich von Bassewitz */ +/* Römerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -157,6 +157,7 @@ void TgtTranslateInit (void) case TGT_GEOS: memcpy (Tab, CTNone, sizeof (Tab)); break; case TGT_LUNIX: memcpy (Tab, CTNone, sizeof (Tab)); break; case TGT_ATMOS: memcpy (Tab, CTNone, sizeof (Tab)); break; + case TGT_NES: memcpy (Tab, CTNone, sizeof (Tab)); break; default: AbEnd ("Internal error: Target system unknown (%d)", Target); } @@ -218,3 +219,4 @@ void TgtTranslateSet (unsigned Index, unsigned char C) + diff --git a/src/common/tgttrans.h b/src/common/tgttrans.h index 9adb96e32..67d5addc9 100644 --- a/src/common/tgttrans.h +++ b/src/common/tgttrans.h @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 2000-2002 Ullrich von Bassewitz */ -/* Wacholderweg 14 */ -/* D-70597 Stuttgart */ -/* EMail: uz@musoftware.de */ +/* (C) 2000-2003 Ullrich von Bassewitz */ +/* Römerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */