summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/cop400/cop440.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-09 06:21:15 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-09 06:21:15 +0000
commiteb43d347250b70ebbc5e3ec03d21ec727973e643 (patch)
treeb81831a4a21af46f47f8bcbaf5729bab7bf5359c /src/emu/cpu/cop400/cop440.c
parent183b7c9de7fdafcd7b24a7acf76d37fa1da3a927 (diff)
Re-routed empty get/set context calls to the dummy CPU's, and removed them
from the CPU cores. Disabled the use of PULSE_LINE for any input lines except NMI and RESET. Added a helper function generic_pulse_irq_line() for doing a single-cycle assert/deassert for those few drivers remaining that were trying to use PULSE_LINE directly.
Diffstat (limited to 'src/emu/cpu/cop400/cop440.c')
-rw-r--r--src/emu/cpu/cop400/cop440.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/emu/cpu/cop400/cop440.c b/src/emu/cpu/cop400/cop440.c
index 601cc8a9370..3b545c794ca 100644
--- a/src/emu/cpu/cop400/cop440.c
+++ b/src/emu/cpu/cop400/cop440.c
@@ -451,16 +451,6 @@ static CPU_EXECUTE( cop444 )
return cycles - cop400->icount;
}
-/****************************************************************************
- * Get all registers in given buffer
- ****************************************************************************/
-static CPU_GET_CONTEXT( cop444 ) { }
-
-/****************************************************************************
- * Set all registers to given values
- ****************************************************************************/
-static CPU_SET_CONTEXT( cop444 ) { }
-
/**************************************************************************
* Validity check
**************************************************************************/
@@ -559,8 +549,8 @@ CPU_GET_INFO( cop444 )
/* --- the following bits of info are returned as pointers to data or functions --- */
case CPUINFO_PTR_SET_INFO: info->setinfo = CPU_SET_INFO_NAME(cop444); break;
- case CPUINFO_PTR_GET_CONTEXT: info->getcontext = CPU_GET_CONTEXT_NAME(cop444); break;
- case CPUINFO_PTR_SET_CONTEXT: info->setcontext = CPU_SET_CONTEXT_NAME(cop444); break;
+ case CPUINFO_PTR_GET_CONTEXT: info->getcontext = CPU_GET_CONTEXT_NAME(dummy); break;
+ case CPUINFO_PTR_SET_CONTEXT: info->setcontext = CPU_SET_CONTEXT_NAME(dummy); break;
case CPUINFO_PTR_INIT: info->init = CPU_INIT_NAME(cop444); break;
case CPUINFO_PTR_RESET: info->reset = CPU_RESET_NAME(cop444); break;
case CPUINFO_PTR_EXECUTE: info->execute = CPU_EXECUTE_NAME(cop444); break;