diff options
author | 2008-01-14 00:42:14 +0000 | |
---|---|---|
committer | 2008-01-14 00:42:14 +0000 | |
commit | fe41f9bd011fdfcad27bb071d47646f3dd04a284 (patch) | |
tree | d9da9a5c5e1da786d53ef9e13fc87bd8d371509e /src/emu/cpu/m6805/m6805.h | |
parent | 5c4577f3643ec89935bf292c61d4ed322503d946 (diff) |
Added CPUINFO_INT_CLOCK_MULTIPLIER to support CPU clock multipliers.
Updated all CPU cores to return a CPUINFO_INT_CLOCK_MULTIPLIER of 1.
Changed the core to actually respect both CPUINFO_INT_CLOCK_MULTIPLIER and CPUINFO_INT_CLOCK_DIVIDER.
Updated a number of drivers to use cpunum_get_clock() instead of Machine->drv->cpu[x].clock.
***** Raw input clock speeds should now be specified for all CPUs in the MACHINE_DRIVER. *****
Removed explicit divisors from all drivers using the following CPU types,
which were already specifying non-1 values for CPUINFO_INT_CLOCK_DIVIDER:
* COP4x0
* I8039/8048 families
* M68(7)05, HD63705
* M6809E
* PIC16C5X
* TMS32010
* TMS340x0
In a few cases, it appears that the divisor was not being used, so I guessed in those cases whether or not
the specified clock speed was raw.
Diffstat (limited to 'src/emu/cpu/m6805/m6805.h')
-rw-r--r-- | src/emu/cpu/m6805/m6805.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/emu/cpu/m6805/m6805.h b/src/emu/cpu/m6805/m6805.h index a4d320de689..30db96fbe71 100644 --- a/src/emu/cpu/m6805/m6805.h +++ b/src/emu/cpu/m6805/m6805.h @@ -9,8 +9,6 @@ enum { M6805_PC=1, M6805_S, M6805_CC, M6805_A, M6805_X, M6805_IRQ_STATE }; #define M6805_IRQ_LINE 0 -#define M6805_CLOCK_DIVIDER 4 - extern void m6805_get_info(UINT32 state, cpuinfo *info); /**************************************************************************** @@ -28,8 +26,6 @@ extern void m6805_get_info(UINT32 state, cpuinfo *info); #define M68705_IRQ_LINE M6805_IRQ_LINE #define M68705_INT_TIMER 0x01 -#define M68705_CLOCK_DIVIDER M6805_CLOCK_DIVIDER - extern void m68705_get_info(UINT32 state, cpuinfo *info); #endif @@ -59,8 +55,6 @@ extern void m68705_get_info(UINT32 state, cpuinfo *info); #define HD63705_INT_ADCONV 0x07 #define HD63705_INT_NMI 0x08 -#define HD3705_CLOCK_DIVIDER M6805_CLOCK_DIVIDER - extern void hd63705_get_info(UINT32 state, cpuinfo *info); #endif |