diexec.c: Cache a pointer directly to the machine scheduler at startup,
to eliminate device().machine().scheduler() chains all over the place (nw)

This change has been sitting in my local tree for months, from when I was
(mostly unsuccessfully) working on c64 performance. It gives a small speedup
to drivers with many tightly-interleaved executing devices (i.e. Commodore
drivers) I didn't think it was worth making everyone do a clean build for
such tiny gains but I didn't have the heart to chuck it. Since I'm already
making another core-touching, clean-build-needed commit tonight, in it goes.


git-svn-id: svn://dspnet.fr/mame/trunk@32162 749742ba-7341-0410-aadc-df50b521781e
Memory system and Namco improvements: [Alex Jackson]

Explicit regions in address maps (AM_REGION) are now looked up relative to the
device rather than as siblings when in an internal address map (similar to
devices and shared pointers)  Besides being more orthogonal than before, this
allows internal ROMs of MCUs and similar devices to be hooked up in a nicer
and more foolproof way. Updated the m37710 and m5074x (m6502 derivative)
to take advantage of this.

Divided the M37702/M37710 into specific models, with each model having its own
internal address map containing the correct amounts of internal RAM and ROM.

M37702 MCUs found on various Namco PCBs are now all unique devices and have
their respective internal ROMs loaded as device ROMs.

(nw)
Also did some spring (fall) cleaning in addrmap.c/memory.c/dimemory.c

m_devbase (the base device used for tagmap lookup when late-binding handlers and
finding memory regions and shares) is now a reference rather than a pointer,
since we know what it is when the address_map_entry is constructed and it
doesn't change (it depends solely on whether it's an entry in an MCFG-provided
address map or an internal one) And for the same reason, there's now only one
m_devbase per address_map_entry rather than individual copies for
read/write/setoffset/sharedptr.

Removed mysterious unused address_map_entry member "m_region_string", along
with a silly assert probably left over from when Aaron was replacing AM_BASE
with AM_SHARE years ago.

Added a comment noting that "make sure all devices exist" in
device_memory_interface::interface_validity_check() actually does nothing,
like the proverbial goggles. The reason there's just a comment and not a fix
is I haven't figured out how to fix it yet
(is it possible to extract the original device tag that was given to a
proto-delegate? Sorry, the template hell in devdelegate.h and
lib/util/delegate.h makes me want to run screaming like a little girl)


git-svn-id: svn://dspnet.fr/mame/trunk@32163 749742ba-7341-0410-aadc-df50b521781e
namcops2: Documentation fixes [Guru]


git-svn-id: svn://dspnet.fr/mame/trunk@32164 749742ba-7341-0410-aadc-df50b521781e
trident: fixed busy bit, added logging of 2D acceleration registers.

git-svn-id: svn://dspnet.fr/mame/trunk@32165 749742ba-7341-0410-aadc-df50b521781e
spinb.c : wip

git-svn-id: svn://dspnet.fr/mame/trunk@32166 749742ba-7341-0410-aadc-df50b521781e
Magic strings, just say no (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@32167 749742ba-7341-0410-aadc-df50b521781e
Typos in unused macros, catch them before they catch you (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@32168 749742ba-7341-0410-aadc-df50b521781e
(MESS) a7800: changed header bits for pokey at 
$0450, after discussion with Mike Saarna. also, 
when loading from softlist, let's rely on the xml
to detect oncart RAM and NVRAM. nw.

git-svn-id: svn://dspnet.fr/mame/trunk@32169 749742ba-7341-0410-aadc-df50b521781e
Amiga: Add preliminary software lists for the Amiga 1000 and Amiga 3000,
a general workbench list and an application list for testing. Images in
those lists are either verified good or best available currently. Many
images are still missing.

git-svn-id: svn://dspnet.fr/mame/trunk@32172 749742ba-7341-0410-aadc-df50b521781e
use standard video code in new raiden 2/dx / zt sets (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@32175 749742ba-7341-0410-aadc-df50b521781e
it still has the sprite protection (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@32176 749742ba-7341-0410-aadc-df50b521781e
scroll (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@32177 749742ba-7341-0410-aadc-df50b521781e
(nw)

git-svn-id: svn://dspnet.fr/mame/trunk@32178 749742ba-7341-0410-aadc-df50b521781e
tx bank for the r2/dx_v33 (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@32179 749742ba-7341-0410-aadc-df50b521781e
make r2dx_v33 2 sets for now, with different eeprom, the codepath it takes (R2 or RDX) depends on the content of the EEPROM, I haven't found a switching mechanism (there appears to be code in the ROM for booting with buttons pressed, but it looks broken to me)

git-svn-id: svn://dspnet.fr/mame/trunk@32180 749742ba-7341-0410-aadc-df50b521781e
fix - All sets in flyball.c: Controls for Batter and Pitcher are intertwined

git-svn-id: svn://dspnet.fr/mame/trunk@32181 749742ba-7341-0410-aadc-df50b521781e
r2dx_v33: fix tile banking (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@32182 749742ba-7341-0410-aadc-df50b521781e
better CPU banking (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@32183 749742ba-7341-0410-aadc-df50b521781e
added msx1 game "Genius" by YGW 
-thanks to fukenko!


git-svn-id: svn://dspnet.fr/mame/trunk@32184 749742ba-7341-0410-aadc-df50b521781e
(MESS) unified some functions for generic socket / cart and
converted a few more drivers to use the new code instead of
old cartslot. nw.

git-svn-id: svn://dspnet.fr/mame/trunk@32185 749742ba-7341-0410-aadc-df50b521781e