1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00

Added the Commdore 510 target system

git-svn-id: svn://svn.cc65.org/cc65/trunk@909 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2001-09-13 19:44:43 +00:00
parent 3c68940c4b
commit 3ab5a002df
4 changed files with 9 additions and 2 deletions

View File

@ -158,6 +158,10 @@ static void SetSys (const char* Sys)
cbmsys ("__PLUS4__");
break;
case TGT_CBM510:
cbmsys ("__CBM510__");
break;
case TGT_CBM610:
cbmsys ("__CBM610__");
break;
@ -289,7 +293,7 @@ static void OptAnsi (const char* Opt, const char* Arg)
static void OptBssName (const char* Opt, const char* Arg)
/* Handle the --bss-name option */
{
{
/* Check for a valid name */
CheckSegName (Arg);

View File

@ -58,6 +58,7 @@ const char* TargetNames [TGT_COUNT] = {
"c128",
"ace",
"plus4",
"cbm510",
"cbm610",
"pet",
"bbc",
@ -100,4 +101,4 @@ target_t FindTarget (const char* Name)
}

View File

@ -53,6 +53,7 @@ typedef enum {
TGT_C128,
TGT_ACE,
TGT_PLUS4,
TGT_CBM510,
TGT_CBM610,
TGT_PET,
TGT_BBC,

View File

@ -106,6 +106,7 @@ void TgtTranslateInit (void)
case TGT_C128: Tab = CTPET; break;
case TGT_ACE: Tab = CTPET; break;
case TGT_PLUS4: Tab = CTPET; break;
case TGT_CBM510: Tab = CTPET; break;
case TGT_CBM610: Tab = CTPET; break;
case TGT_PET: Tab = CTPET; break;
case TGT_BBC: break;