From 400f593fb29be5441dfc7197cb23d82bf066a5a7 Mon Sep 17 00:00:00 2001 From: cuz Date: Wed, 31 Aug 2005 21:46:12 +0000 Subject: [PATCH] Added HuC6280 cpu git-svn-id: svn://svn.cc65.org/cc65/trunk@3610 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/common/cpu.c | 2 ++ src/common/cpu.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/common/cpu.c b/src/common/cpu.c index b2ed0a0c5..064614253 100644 --- a/src/common/cpu.c +++ b/src/common/cpu.c @@ -58,6 +58,7 @@ const char* CPUNames[CPU_COUNT] = { "65816", "sunplus", "sweet16", + "huc6280", }; /* Tables with CPU instruction sets */ @@ -70,6 +71,7 @@ const unsigned CPUIsets[CPU_COUNT] = { CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02 | CPU_ISET_65816, CPU_ISET_SUNPLUS, CPU_ISET_SWEET16, + CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02 | CPU_ISET_HUC6280, }; diff --git a/src/common/cpu.h b/src/common/cpu.h index 4217915bb..6a6cd73d7 100644 --- a/src/common/cpu.h +++ b/src/common/cpu.h @@ -55,6 +55,7 @@ typedef enum { CPU_65816, CPU_SUNPLUS, /* Not in the freeware version - sorry */ CPU_SWEET16, + CPU_HUC6280, /* Used in PC engine */ CPU_COUNT /* Number of different CPUs */ } cpu_t; @@ -68,6 +69,7 @@ enum { CPU_ISET_65816 = 1 << CPU_65816, CPU_ISET_SUNPLUS = 1 << CPU_SUNPLUS, CPU_ISET_SWEET16 = 1 << CPU_SWEET16, + CPU_ISET_HUC6280 = 1 << CPU_HUC6280, }; /* CPU used */ -- 2.39.5