/*****************************************************************************/
-/* Data */
+/* Data */
/*****************************************************************************/
"65SC02",
"65C02",
"65816",
- "sunplus",
"sweet16",
"huc6280",
"m740",
+ "4510",
};
/* Tables with CPU instruction sets */
CPU_ISET_6502 | CPU_ISET_65SC02,
CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02,
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,
CPU_ISET_6502 | CPU_ISET_M740,
+ CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02 | CPU_ISET_4510,
};
/*****************************************************************************/
-/* Code */
+/* Code */
/*****************************************************************************/
cpu_t FindCPU (const char* Name)
/* Find a CPU by name and return the target id. CPU_UNKNOWN is returned if
- * the given name is no valid target.
- */
+** the given name is no valid target.
+*/
{
unsigned I;
/* Check all CPU names */
for (I = 0; I < CPU_COUNT; ++I) {
- if (StrCaseCmp (CPUNames [I], Name) == 0) {
- return (cpu_t)I;
- }
+ if (StrCaseCmp (CPUNames [I], Name) == 0) {
+ return (cpu_t)I;
+ }
}
/* Not found */
return CPU_UNKNOWN;
}
-
-
-