summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cpu/adsp2100/adsp2100.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-22 17:35:27 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-22 17:35:27 +0000
commita70fdf00a1e29a2009b1f148373a6be79c1584cc (patch)
treebc9c76b96d6c8bb28d58a1b13b052b736e507c02 /src/emu/cpu/adsp2100/adsp2100.c
parentb4c9d1fc8786fee54e56a20d69625ffb6285631d (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/adsp2100/adsp2100.c')
-rw-r--r--src/emu/cpu/adsp2100/adsp2100.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/adsp2100/adsp2100.c b/src/emu/cpu/adsp2100/adsp2100.c
index d071dbb101c..0b24e7884e2 100644
--- a/src/emu/cpu/adsp2100/adsp2100.c
+++ b/src/emu/cpu/adsp2100/adsp2100.c
@@ -685,9 +685,9 @@ static adsp2100_state *adsp21xx_init(const device_config *device, cpu_irq_callba
/* fetch device parameters */
adsp->device = device;
- adsp->program = cpu_get_address_space(device, ADDRESS_SPACE_PROGRAM);
- adsp->data = cpu_get_address_space(device, ADDRESS_SPACE_DATA);
- adsp->io = cpu_get_address_space(device, ADDRESS_SPACE_IO);
+ adsp->program = memory_find_address_space(device, ADDRESS_SPACE_PROGRAM);
+ adsp->data = memory_find_address_space(device, ADDRESS_SPACE_DATA);
+ adsp->io = memory_find_address_space(device, ADDRESS_SPACE_IO);
/* copy function pointers from the config */
if (config != NULL)