cs4031: fix for the previous commit, ignore external gate a20 when emulation is enabled

git-svn-id: svn://dspnet.fr/mame/trunk@24740 749742ba-7341-0410-aadc-df50b521781e
sneaky, must also read back the cart region here when the reset command is issued, also applied same logic to our other sims. (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24741 749742ba-7341-0410-aadc-df50b521781e
Workaround for finding screens owned by device_video_interface devices.
The typical usage pattern is the video device controls a screen that is
owned by its owner, not by the device itself. The nubus video cards break
this model, so they need to compute the full path to the screen device
in order for it to be found.


git-svn-id: svn://dspnet.fr/mame/trunk@24742 749742ba-7341-0410-aadc-df50b521781e
Bulk removal of machine().primary_screen references from MAME drivers, in
favor of using the common m_screen. This is 98% reliable except for cases
where there were multiple screens or where the screens were not named
'screen' like everywhere else. Those cases will need to be revisited but
should reveal themselves in the next round of regression tests.

Eventual plan is primary_screen will go away. Devices that need to know the
screen should have a device_video_interface. Drivers should find the screen
device like any other, or use the pre-found m_screen for the common
single-screen case.


git-svn-id: svn://dspnet.fr/mame/trunk@24743 749742ba-7341-0410-aadc-df50b521781e
cave.c: cosmetic cleanup, give banks meaningful names and remove some stone age relic code (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24744 749742ba-7341-0410-aadc-df50b521781e
small MACHINE_RESET cleanup

git-svn-id: svn://dspnet.fr/mame/trunk@24745 749742ba-7341-0410-aadc-df50b521781e
some SCREEN_UPDATE_* cleanups (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24746 749742ba-7341-0410-aadc-df50b521781e
lh5801.c: Modernized cpu core(nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24747 749742ba-7341-0410-aadc-df50b521781e
(MESS) fix some regressions (nw)

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

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

git-svn-id: svn://dspnet.fr/mame/trunk@24750 749742ba-7341-0410-aadc-df50b521781e
apricot.c: cleaned up, fixed regression, back to error 08 now

git-svn-id: svn://dspnet.fr/mame/trunk@24751 749742ba-7341-0410-aadc-df50b521781e
Modernized the skeleton namco62.c device. (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24752 749742ba-7341-0410-aadc-df50b521781e
Modernized the Amiga sound device. (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24753 749742ba-7341-0410-aadc-df50b521781e
Moved targ/spectar audio functions into driver state while having no luck in fixing MT05217. (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24754 749742ba-7341-0410-aadc-df50b521781e
switched lockload sample regions around (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24755 749742ba-7341-0410-aadc-df50b521781e
(MESS) studio2: Fixed loose .bin/.rom cartridge file loading, and supported loading ROMs to multiple base addresses in the software list. [Curt Coder]
(MESS) visicom: Added cartridge software list. [ranger_lennier, Charles MacDonald]

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

git-svn-id: svn://dspnet.fr/mame/trunk@24757 749742ba-7341-0410-aadc-df50b521781e
Fixed folder FDIs

git-svn-id: svn://dspnet.fr/mame/trunk@24758 749742ba-7341-0410-aadc-df50b521781e
Some cleanups of remaining machine->primary_screen references in drivers. Mostly
minor except for the megadriv stuff, where I made a first pass at removing some
of the legacy cruft.


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