diff options
author | 2008-12-22 17:35:27 +0000 | |
---|---|---|
committer | 2008-12-22 17:35:27 +0000 | |
commit | a70fdf00a1e29a2009b1f148373a6be79c1584cc (patch) | |
tree | bc9c76b96d6c8bb28d58a1b13b052b736e507c02 /src/emu/cpu/m68000/m68kcpu.c | |
parent | b4c9d1fc8786fee54e56a20d69625ffb6285631d (diff) |
CPU interface organization shuffle. The file cpuintrf.h now merely
describes the interface, but does not contain any implementation.
All remaining bits of implementation have been migrated either to
cpuexec.c or to debugcpu.c. Specifically, cpu_dasm() is now
debug_cpu_disassemble(), and cpu_set_dasm_override() is now
debug_cpu_set_dasm_override(). Also moved memory_address_physical()
to debug_cpu_translate(), since it was only ever used for
debugging.
Changed all CPU and sound cores to use memory_find_address_space()
instead of cpu_get_address_space(). The former is reliable even
during early initialization when the CPU cores generally need it.
Removed the dummy CPU core and cpuintrf.c.
Changed the core execution loop to directly call the execute
function instead of using the inline helper (which has been removed).
Diffstat (limited to 'src/emu/cpu/m68000/m68kcpu.c')
-rw-r--r-- | src/emu/cpu/m68000/m68kcpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/m68000/m68kcpu.c b/src/emu/cpu/m68000/m68kcpu.c index f23acb8ae34..0244b1c53bd 100644 --- a/src/emu/cpu/m68000/m68kcpu.c +++ b/src/emu/cpu/m68000/m68kcpu.c @@ -504,7 +504,7 @@ static CPU_INIT( m68k ) m68ki_cpu_core *m68k = device->token; m68k->device = device; - m68k->program = cpu_get_address_space(device, ADDRESS_SPACE_PROGRAM); + m68k->program = memory_find_address_space(device, ADDRESS_SPACE_PROGRAM); m68k->int_ack_callback = irqcallback; /* The first call to this function initializes the opcode handler jump table */ |