From eb43d347250b70ebbc5e3ec03d21ec727973e643 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Tue, 9 Dec 2008 06:21:15 +0000 Subject: 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. --- src/emu/cpu/i8x41/i8x41.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'src/emu/cpu/i8x41') 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 @@ -1008,19 +1008,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; -- cgit v1.2.3-70-g09d2