mame/src/emu/cpu
Aaron Giles 5201d52344 Expanded address maps from 3 to 4. Moved ADDRESS_SPACE_PROGRAM/DATA/IO
constants to cpuintrf, as those names are really only applicable to 
CPUs. Added new ADDRESS_MAP_0/1/2/3 constants to identify address maps 
more generically. 

Updated memory system to be more general about address map handling.
Added the concept of default address maps (in addition to the already
existing internal memory maps). The difference between internal and
default memory maps is that internal memory maps always override
everything (including user-specified maps), but default memory maps
simply provide a default that can be overridden.

Converted the okim6295 sound driver to use address maps for access.
By default, it defines a ROM address map that overlays its full
region. As a result, the validity checks require all okim6295 regions
to be at least 256k, unless you provide your own address map. Updated
all regions to meet this requirement.

Updated the atarijsa code to use a custom address space for its
okim6295 accesses (which are banked on the first half and static on
the second half), as an example of configuring a device with a
custom address space.

For now, attempts to use okim6295_set_bank_base() will still work,
though banking for the okim chips should be moved to custom address
maps in the drivers eventually. The first time okim6295_set_bank_base()
is called, it will install a banked memory handler over the region
and use memory_set_bankptr() to change the base on subsequent bank
switches.

Moved address map validity checks to be run for each device instead of
just each CPU.
2009-07-09 07:10:40 +00:00
..
adsp2100 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
alph8201 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
apexc Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
arm Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
arm7 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
asap Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
avr8 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
ccpu Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
cdp1802 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
cop400 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
cp1610 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
cubeqcpu Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
dsp32 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
dsp56k Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
e132xs Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
esrip Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
f8 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
g65816 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
h6280 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
h83002 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
hd6309 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
i86 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
i386 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
i860 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
i960 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
i8085 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
jaguar Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
konami Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
lh5801 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
lr35902 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
m6502 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
m6800 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
m6805 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
m6809 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
m37710 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
m68000 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
mb88xx Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
mb86233 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
mc68hc11 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
mcs48 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
mcs51 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
minx Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
mips Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
nec Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
pdp1 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
pic16c5x Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
powerpc Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
rsp Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
s2650 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
saturn Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
sc61860 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
se3208 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
sh2 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
sh4 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
sharc Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
sm8500 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
spc700 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
ssem Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
ssp1601 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
t11 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
tlcs90 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
tlcs900 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
tms0980 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
tms7000 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
tms9900 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
tms32010 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
tms32025 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
tms32031 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
tms32051 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
tms34010 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
tms57002 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
upd7810 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
v30mz Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
v60 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
v810 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
z80 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
z180 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
z8000 Another step. Moved the address-space related get_info constants 2009-07-08 16:20:01 +00:00
cpu.mak Added TMS0980 cpu core. 2009-06-26 17:49:45 +00:00
drcbec.c Added missing casts and made other tweaks. The entire project 2009-04-27 09:18:17 +00:00
drcbeut.c CPU cores now compile cleanly. 2009-03-15 17:12:40 +00:00
drcbeut.h Final CPU header updates. Mostly just re-naming the re-inclusions. 2008-08-13 02:48:52 +00:00
drcbex64.c Moved some of the CPU cores over to use get_safe_token like other devices. 2009-03-12 16:54:49 +00:00
drcbex86.c Added missing casts and made other tweaks. The entire project 2009-04-27 09:18:17 +00:00
drccache.c Moved some of the CPU cores over to use get_safe_token like other devices. 2009-03-12 16:54:49 +00:00
drccache.h Final CPU header updates. Mostly just re-naming the re-inclusions. 2008-08-13 02:48:52 +00:00
drcfe.c Bulk change alert. 2009-04-26 23:54:37 +00:00
drcfe.h DRC frontends must do their own opcode fetching unfortunately. Updated all 2009-01-18 00:39:40 +00:00
drcuml.c Moved some of the CPU cores over to use get_safe_token like other devices. 2009-03-12 16:54:49 +00:00
drcuml.h Expanded address maps from 3 to 4. Moved ADDRESS_SPACE_PROGRAM/DATA/IO 2009-07-09 07:10:40 +00:00
drcumlsh.h Final CPU header updates. Mostly just re-naming the re-inclusions. 2008-08-13 02:48:52 +00:00
vtlb.c fixed visual studio 64 bit compile 2009-05-07 19:43:17 +00:00
vtlb.h Major cpuintrf changes: 2008-11-10 07:42:09 +00:00
x86emit.h Final CPU header updates. Mostly just re-naming the re-inclusions. 2008-08-13 02:48:52 +00:00
x86log.c Bulk change alert. 2009-04-26 23:54:37 +00:00
x86log.h Copyright cleanup: 2008-01-06 00:47:40 +00:00