experiment with mutant fighter too.. it's also similar, if not the same...

git-svn-id: svn://dspnet.fr/mame/trunk@24336 749742ba-7341-0410-aadc-df50b521781e
temp until I have time to do it better (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24337 749742ba-7341-0410-aadc-df50b521781e
New games added as GAME_NOT_WORKING
-----------------------------------
Carnival King (v1.00.11) [Brian Troha, R. Belmont]



git-svn-id: svn://dspnet.fr/mame/trunk@24338 749742ba-7341-0410-aadc-df50b521781e
thedeep.c: Added dipswitch locations to the Run Deep / The Deep sets. [Brian Troha]

git-svn-id: svn://dspnet.fr/mame/trunk@24339 749742ba-7341-0410-aadc-df50b521781e
thepit.c: Added dipswitch locations to The Pit sets, Fitter sets, Intrepid sets and Dock Man / Port Man sets.  Gave Desert Dan it's own dipswitches and corrected them based on results and game play. [Brian Troha]

git-svn-id: svn://dspnet.fr/mame/trunk@24340 749742ba-7341-0410-aadc-df50b521781e
use poker/gambling macros instead of assigning custom keycode

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

git-svn-id: svn://dspnet.fr/mame/trunk@24342 749742ba-7341-0410-aadc-df50b521781e
Funky Jet works with the new code too, note the address bitswap is the *reverse* of the one to get from Fighters History to Nitro Ball format..  I suspect there is a way to get from where we are to both of those too, and that there are in reality 2 different chip types 146 (+ various rebadges of it) and 104

git-svn-id: svn://dspnet.fr/mame/trunk@24343 749742ba-7341-0410-aadc-df50b521781e
fixed out-of-bounds access in amstrad_plus palette initialization (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24344 749742ba-7341-0410-aadc-df50b521781e
move some functions around for further research, also marked Super Shanghai as working, pretty sure it's ok with the current code.

new working
------------
Super Shanghai Dragon's Eye (Japan) [Charles MacDonald, David Haywood]

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

git-svn-id: svn://dspnet.fr/mame/trunk@24346 749742ba-7341-0410-aadc-df50b521781e
shift some more bits around for further studying (nw)

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

git-svn-id: svn://dspnet.fr/mame/trunk@24348 749742ba-7341-0410-aadc-df50b521781e
decoprot -> deco104

git-svn-id: svn://dspnet.fr/mame/trunk@24349 749742ba-7341-0410-aadc-df50b521781e
move the double wings protection sim to the 104 file - no functional change. (nw)

git-svn-id: svn://dspnet.fr/mame/trunk@24350 749742ba-7341-0410-aadc-df50b521781e
Modernized the k001604 video device.  [Osso]

git-svn-id: svn://dspnet.fr/mame/trunk@24351 749742ba-7341-0410-aadc-df50b521781e
switch around the address bits on output port handling on the fighters history / nitro ball type
this brings special sound/xor/mask ports to the same as shanghai etc. and also keeps values in the 0-127 range.  this is most likely the unscrambled state based on tests.

still need to investigate the read side of it.

should be no functional change.


git-svn-id: svn://dspnet.fr/mame/trunk@24352 749742ba-7341-0410-aadc-df50b521781e
re-order fighters history / nitroball read in the same way, this makes the read ports consistent with robocop 2 and lemmings... although I can't find a connection with shanghai on the read addresses, seems like an alt mode maybe?

git-svn-id: svn://dspnet.fr/mame/trunk@24353 749742ba-7341-0410-aadc-df50b521781e
hopefully keep tafoid happy until I resolve this with proper devices ;-)

git-svn-id: svn://dspnet.fr/mame/trunk@24354 749742ba-7341-0410-aadc-df50b521781e
moved the bit reordering out of 'core' function and into the per-game ones for nitrobal and fighters history. (nw)

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