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/cp1610/cp1610.c | |
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/cp1610/cp1610.c')
-rw-r--r-- | src/emu/cpu/cp1610/cp1610.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/cpu/cp1610/cp1610.c b/src/emu/cpu/cp1610/cp1610.c index db5c2028478..aa1c6485a59 100644 --- a/src/emu/cpu/cp1610/cp1610.c +++ b/src/emu/cpu/cp1610/cp1610.c @@ -3447,6 +3447,7 @@ void cp1610_get_info(UINT32 state, cpuinfo *info) case CPUINFO_INT_INPUT_LINES: info->i = 2; break; case CPUINFO_INT_DEFAULT_IRQ_VECTOR: info->i = 0; break; case CPUINFO_INT_ENDIANNESS: info->i = CPU_IS_BE; break; + case CPUINFO_INT_CLOCK_MULTIPLIER: info->i = 1; break; case CPUINFO_INT_CLOCK_DIVIDER: info->i = 1; break; case CPUINFO_INT_MIN_INSTRUCTION_BYTES: info->i = 2; break; case CPUINFO_INT_MAX_INSTRUCTION_BYTES: info->i = 8; break; |