add names and bit(field)s for WDC65C02 and 65CE02

This commit is contained in:
mrdudz
2025-06-27 19:40:41 +02:00
parent 91bf4352a9
commit 76aa7cbc40
3 changed files with 19 additions and 7 deletions

View File

@@ -56,14 +56,16 @@ const char* CPUNames[CPU_COUNT] = {
"6502",
"6502X",
"6502DTV",
"65SC02",
"65C02",
"65SC02", /* the original CMOS instruction set */
"65C02", /* CMOS with Rockwell extensions */
"65816",
"sweet16",
"huc6280",
"m740",
"4510",
"45GS02"
"W65C02", /* CMOS with WDC extensions */
"65CE02", /* CMOS with GTE extensions */
};
/* Tables with CPU instruction sets
@@ -84,8 +86,10 @@ const unsigned CPUIsets[CPU_COUNT] = {
CPU_ISET_M740 | CPU_ISET_6502,
/* 4510 does NOT have indirect-zp (without z), so we can not use 65SC02 */
/* FIXME: 4510 does not have wai/stp */
CPU_ISET_4510 | CPU_ISET_6502 | CPU_ISET_65C02,
CPU_ISET_45GS02 | CPU_ISET_6502 | CPU_ISET_65C02 | CPU_ISET_4510,
CPU_ISET_4510 | CPU_ISET_6502 | CPU_ISET_65C02,
CPU_ISET_45GS02 | CPU_ISET_6502 | CPU_ISET_65C02 | CPU_ISET_4510,
CPU_ISET_W65C02 | CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02,
CPU_ISET_65CE02 | CPU_ISET_6502 | CPU_ISET_65SC02 | CPU_ISET_65C02,
};