Memory system: added endianness to the memory_share class.

Tilemap system: numerous changes:

 * Moved remaining legacy macros and typedefs to tilelgcy.h. This revealed
   a few drivers mixing and matching modern & legcy, which have now been 
   fixed.

 * Changed get info callback signature to no longer pass the user_data
   pointer, but instead pass a reference to the tilemap object itself.
   Updated those few drivers using user_data to pull it out of the
   tilemap object with the new user_data() getter method.
 
 * Changed get info and mapping callbacks to be device_delegates so that
   they can be described at config time.
 
 * Added tilemap_memory object that is used internally for reading/
   writing to memory that backs a tilemap. This object is used to track
   a memory pointer that backs tilemap memory, and also is designed to
   transparently handle all bus width and endianness associated with
   reading and writing data in a tilemap.
   
 * Incorporated two tilemap_memory objects (basemem and extmem) into the 
   tilemap object and added accessors to them, as well as read/write 
   handlers for reading/writing to entries stored in the memory. This
   means that tilemap get info callbacks can now easily read data out of
   the tilemap in a generic way.
 
 * Rejiggered the initialization sequence for tilemap objects so that
   the tilemap_manager is not required to be present at instantiation.  
 
 * Created a new tilemap_device, which can be used to declare a tilemap
   in the machine config, and which also is a tilemap object itself.
   The tilemap device will look for shared memory regions called
   "<tag>" and "<tag>_ext" and automatically plug them into the tilemap.
   The device also provides write handlers that can be used to write
   to the tilemap memory and mark tiles dirty, saving the need for each 
   driver to write their own.
   
Device system: moved required/optional device finders to a new header
devfind.h.

Atari drivers: removed all playfield and alpha memory and tilemap
variables, apart from those needed by atarivc-using games (this will
become a device in a future update). Updated all Atari 16-bit drivers to
use the new tilemap_device instead, which provides all the needed
functionality in a more generic way.



git-svn-id: svn://dspnet.fr/mame/trunk@24389 749742ba-7341-0410-aadc-df50b521781e
Fix for seiham by Osso (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24390 749742ba-7341-0410-aadc-df50b521781e
Expand read_line to all 0s or all 1s; fixes cases where read_line
(specifically vblank) callbacks are mapped to multiple bits.


git-svn-id: svn://dspnet.fr/mame/trunk@24391 749742ba-7341-0410-aadc-df50b521781e
refactor deco104 to pump most games through a standard function, a function that will eventually be much better once Charles gets his hands on a board :-)

git-svn-id: svn://dspnet.fr/mame/trunk@24392 749742ba-7341-0410-aadc-df50b521781e
let double wings share the common protection handlers for ones we already know from other games, might make things worse due to the missing ones thos.. (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24393 749742ba-7341-0410-aadc-df50b521781e
Fixed stuck INT line after resetting.


git-svn-id: svn://dspnet.fr/mame/trunk@24394 749742ba-7341-0410-aadc-df50b521781e
(MESS) ti99: Fixed a copy/paste error, enabling the second UART.


git-svn-id: svn://dspnet.fr/mame/trunk@24395 749742ba-7341-0410-aadc-df50b521781e
(MESS) Mac updates: [R. Belmont]
- Corrected memory map errors with the SE and Classic
- Preliminary support for the SE's 68000 processor-direct slot
- Preliminary support for the Radius Full Page Display card which goes in the
  SE PDS slot



git-svn-id: svn://dspnet.fr/mame/trunk@24396 749742ba-7341-0410-aadc-df50b521781e
volfied.c: Added dipswitch locations to the Volfied sets. [Brian Troha]

git-svn-id: svn://dspnet.fr/mame/trunk@24397 749742ba-7341-0410-aadc-df50b521781e
volfied.c: Format the cheat dipswitch name like most other sets in MAME. - NW

git-svn-id: svn://dspnet.fr/mame/trunk@24398 749742ba-7341-0410-aadc-df50b521781e
decodmd: Made machine config use inline configuration.

git-svn-id: svn://dspnet.fr/mame/trunk@24399 749742ba-7341-0410-aadc-df50b521781e
there's always a forgotten file (nw)


git-svn-id: svn://dspnet.fr/mame/trunk@24400 749742ba-7341-0410-aadc-df50b521781e
suna8.c: Added dipswitch locations to Rough Ranger / Super Ranger, Hard Head, Spark Man, Star Fighter, Hard Head 2 and Brick Zone sets. Correct default settings as per manuals. [Brian Troha]

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

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

git-svn-id: svn://dspnet.fr/mame/trunk@24403 749742ba-7341-0410-aadc-df50b521781e
try a different bg pen in fghthist (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24404 749742ba-7341-0410-aadc-df50b521781e
HISCORE DIFF's for all MAME versions without hiscore support

The diff performs the following:
1) Adds hiscore support back into MAME
2) Removes all nag screens
3) Removes loading messages (decoding/decrypting/Updating Artwork, etc.) and the 'white box' when loading.

 Add the following to the mame.ini file to disable the appropiate patch section:

disable_hiscore_patch   1   <- To disable highscore support. Set to 0 or omit it entirely from ini file to enable.
disable_nagscreen_patch   1  <- To disable removal of nagscreens /white box. Set to 0 or omit it entirely from ini file to enable.
disable_loading_patch   1      <- To disable suppresssion of loading/decypting/etc messages. Set to 0 or omit it entirely from ini file to enable.
Adding the GroovyMame's patch