diff options
author | 2008-12-09 06:21:15 +0000 | |
---|---|---|
committer | 2008-12-09 06:21:15 +0000 | |
commit | eb43d347250b70ebbc5e3ec03d21ec727973e643 (patch) | |
tree | b81831a4a21af46f47f8bcbaf5729bab7bf5359c /src/emu/cpu/i8x41 | |
parent | 183b7c9de7fdafcd7b24a7acf76d37fa1da3a927 (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/i8x41')
-rw-r--r-- | src/emu/cpu/i8x41/i8x41.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/emu/cpu/i8x41/i8x41.c b/src/emu/cpu/i8x41/i8x41.c index eec1b47407d..559f1e1ac16 100644 --- a/src/emu/cpu/i8x41/i8x41.c +++ b/src/emu/cpu/i8x41/i8x41.c @@ -1009,19 +1009,6 @@ static CPU_EXECUTE( i8x41 ) /**************************************************************************** - * Get all registers in given buffer - ****************************************************************************/ - -static CPU_GET_CONTEXT( i8x41 ) { } - - -/**************************************************************************** - * Set all registers to given values - ****************************************************************************/ - -static CPU_SET_CONTEXT( i8x41 ) { } - -/**************************************************************************** * Set IRQ line state ****************************************************************************/ @@ -1267,8 +1254,8 @@ CPU_GET_INFO( i8041 ) /* --- the following bits of info are returned as pointers to data or functions --- */ case CPUINFO_PTR_SET_INFO: info->setinfo = CPU_SET_INFO_NAME(i8x41); break; - case CPUINFO_PTR_GET_CONTEXT: info->getcontext = CPU_GET_CONTEXT_NAME(i8x41); break; - case CPUINFO_PTR_SET_CONTEXT: info->setcontext = CPU_SET_CONTEXT_NAME(i8x41); 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(i8x41); break; case CPUINFO_PTR_RESET: info->reset = CPU_RESET_NAME(i8x41); break; case CPUINFO_PTR_EXIT: info->exit = CPU_EXIT_NAME(i8x41); break; |