added definition for Mega65 CPU

This commit is contained in:
FeralChild64 committed 2019-12-31 17:38:34 +01:00
1 parent 58b21e3fa4
commit 2975b171be
8 files changed
+15 -3

No files matched your search

+4
View File
@@ -74,6 +74,10 @@ Choose if your CPU supports the Commodore Semiconductor Group 65CE02 instruction
It enables some speed/size code optimizations.
### `CONFIG_CPU_M65_45GS02`
Choose if you have a Mega65 FPGA board.
### `CONFIG_CPU_WDC_65816`
Choose if your CPU supports the 16-bit Western Design Center 65816 instruction set, like:
+1
View File
@@ -33,6 +33,7 @@
#define CONFIG_CPU_MOS_6502
// #define CONFIG_CPU_WDC_65C02
// #define CONFIG_CPU_CSG_65CE02
// #define CONFIG_CPU_M65_45GS02
// #define CONFIG_CPU_WDC_65816
+1
View File
@@ -30,6 +30,7 @@
#define CONFIG_CPU_MOS_6502
// #define CONFIG_CPU_WDC_65C02
// #define CONFIG_CPU_CSG_65CE02
// #define CONFIG_CPU_M65_45GS02
// #define CONFIG_CPU_WDC_65816
+2 -1
View File
@@ -29,7 +29,8 @@
// #define CONFIG_CPU_MOS_6502
// #define CONFIG_CPU_WDC_65C02
#define CONFIG_CPU_CSG_65CE02
// #define CONFIG_CPU_CSG_65CE02
#define CONFIG_CPU_M65_45GS02
// #define CONFIG_CPU_WDC_65816
+1
View File
@@ -30,6 +30,7 @@
#define CONFIG_CPU_MOS_6502
// #define CONFIG_CPU_WDC_65C02
// #define CONFIG_CPU_CSG_65CE02
// #define CONFIG_CPU_M65_45GS02
// #define CONFIG_CPU_WDC_65816
+1
View File
@@ -30,6 +30,7 @@
#define CONFIG_CPU_MOS_6502
// #define CONFIG_CPU_WDC_65C02
// #define CONFIG_CPU_CSG_65CE02
// #define CONFIG_CPU_M65_45GS02
// #define CONFIG_CPU_WDC_65816
+3
View File
@@ -88,6 +88,9 @@
#if CONFIG_CPU_CSG_65CE02
.eval selected++
#endif
#if CONFIG_CPU_M65_45GS02
.eval selected++
#endif
#if CONFIG_CPU_WDC_65816
.eval selected++
#endif
+2 -2
View File
@@ -8,7 +8,7 @@
#define HAS_OPCODES_65C02
#endif
#if CONFIG_CPU_CSG_65CE02
#if CONFIG_CPU_CSG_65CE02 || CONFIG_CPU_M65_45GS02
#define HAS_OPCODES_65CE02
#endif
@@ -17,7 +17,7 @@
#endif
#if CONFIG_CPU_WDC_65C02 || CONFIG_CPU_CSG_65CE02 || CONFIG_CPU_WDC_65816
#if CONFIG_CPU_WDC_65C02 || CONFIG_CPU_CSG_65CE02 || CONFIG_CPU_M65_45GS02 || CONFIG_CPU_WDC_65816
#define HAS_BCD_SAFE_INTERRUPTS
#endif