~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to src/mame/drivers/segas16b.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
882
882
#include "sound/2413intf.h"
883
883
#include "sound/upd7759.h"
884
884
#include "video/segaic16.h"
 
885
#include "includes/segaipt.h"
885
886
 
886
887
 
887
888
/*************************************
1584
1585
 
1585
1586
/*************************************
1586
1587
 *
 
1588
 *  Ace Attacker custom I/O
 
1589
 *
 
1590
 *************************************/
 
1591
 
 
1592
static READ16_HANDLER( aceattac_custom_io_r )
 
1593
{
 
1594
        switch (offset & (0x3000/2))
 
1595
        {
 
1596
                case 0x1000/2:
 
1597
                        switch (offset & 3)
 
1598
                        {
 
1599
                                case 0x01:
 
1600
                                        return input_port_read(space->machine(), "P1");
 
1601
 
 
1602
                                case 0x02:
 
1603
                                        return input_port_read(space->machine(), "DIAL1") | (input_port_read(space->machine(), "DIAL2") << 4);
 
1604
                                        // low nibble: Sega 56pin Edge "16"-"19" // rotary switch 10positions 4bit-binary-pinout
 
1605
                                        // high nibble: Sega 56pin Edge "T"-"W"  // ditto
 
1606
 
 
1607
                                case 0x03:
 
1608
                                        return input_port_read(space->machine(), "P2");
 
1609
                        }
 
1610
                        break;
 
1611
                case 0x3000/2:
 
1612
                        switch (offset & 3)
 
1613
                        {
 
1614
                                case 0: return input_port_read(space->machine(), "HANDX1");
 
1615
                                case 1: return input_port_read(space->machine(), "TRACKX1");
 
1616
                                case 2: return input_port_read(space->machine(), "TRACKY1");
 
1617
                                case 3: return input_port_read(space->machine(), "HANDY1");
 
1618
                                case 4: return input_port_read(space->machine(), "HANDX2");
 
1619
                                case 5: return input_port_read(space->machine(), "TRACKX2");
 
1620
                                case 6: return input_port_read(space->machine(), "TRACKY2");
 
1621
                                case 7: return input_port_read(space->machine(), "HANDY2");
 
1622
                        }
 
1623
                        break;
 
1624
        }
 
1625
 
 
1626
        return standard_io_r(space, offset, mem_mask);
 
1627
}
 
1628
 
 
1629
 
 
1630
/*************************************
 
1631
 *
1587
1632
 *  Atomic Point custom sound
1588
1633
 *
1589
1634
 *************************************/
1879
1924
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_8WAY PORT_COCKTAIL
1880
1925
 
1881
1926
        PORT_START("DSW2")
1882
 
        PORT_DIPUNUSED_DIPLOC( 0x0001, 0x0001, "SW2:1" )
1883
 
        PORT_DIPUNUSED_DIPLOC( 0x0002, 0x0002, "SW2:2" )
1884
 
        PORT_DIPUNUSED_DIPLOC( 0x0004, 0x0004, "SW2:3" )
1885
 
        PORT_DIPUNUSED_DIPLOC( 0x0008, 0x0008, "SW2:4" )
1886
 
        PORT_DIPUNUSED_DIPLOC( 0x0010, 0x0010, "SW2:5" )
1887
 
        PORT_DIPUNUSED_DIPLOC( 0x0020, 0x0020, "SW2:6" )
1888
 
        PORT_DIPUNUSED_DIPLOC( 0x0040, 0x0040, "SW2:7" )
1889
 
        PORT_DIPUNUSED_DIPLOC( 0x0080, 0x0080, "SW2:8" )
 
1927
        PORT_DIPUNUSED_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW2:1" )
 
1928
        PORT_DIPUNUSED_DIPLOC( 0x02, IP_ACTIVE_LOW, "SW2:2" )
 
1929
        PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW2:3" )
 
1930
        PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW2:4" )
 
1931
        PORT_DIPUNUSED_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW2:5" )
 
1932
        PORT_DIPUNUSED_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW2:6" )
 
1933
        PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW2:7" )
 
1934
        PORT_DIPUNUSED_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW2:8" )
1890
1935
 
1891
1936
        PORT_START("DSW1")
1892
 
        PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:1,2,3,4")
1893
 
        PORT_DIPSETTING(    0x07, DEF_STR( 4C_1C ) )
1894
 
        PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
1895
 
        PORT_DIPSETTING(    0x09, DEF_STR( 2C_1C ) )
1896
 
        PORT_DIPSETTING(    0x05, "2 Coins/1 Credit 5/3 6/4" )
1897
 
        PORT_DIPSETTING(    0x04, "2 Coins/1 Credit 4/3" )
1898
 
        PORT_DIPSETTING(    0x0f, DEF_STR( 1C_1C ) )
1899
 
        PORT_DIPSETTING(    0x01, "1 Coin/1 Credit 2/3" )
1900
 
        PORT_DIPSETTING(    0x02, "1 Coin/1 Credit 4/5" )
1901
 
        PORT_DIPSETTING(    0x03, "1 Coin/1 Credit 5/6" )
1902
 
        PORT_DIPSETTING(    0x06, DEF_STR( 2C_3C ) )
1903
 
        PORT_DIPSETTING(    0x0e, DEF_STR( 1C_2C ) )
1904
 
        PORT_DIPSETTING(    0x0d, DEF_STR( 1C_3C ) )
1905
 
        PORT_DIPSETTING(    0x0c, DEF_STR( 1C_4C ) )
1906
 
        PORT_DIPSETTING(    0x0b, DEF_STR( 1C_5C ) )
1907
 
        PORT_DIPSETTING(    0x0a, DEF_STR( 1C_6C ) )
1908
 
        PORT_DIPSETTING(    0x00, "Free Play (if Coin B too) or 1/1" )
1909
 
        PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:5,6,7,8")
1910
 
        PORT_DIPSETTING(    0x70, DEF_STR( 4C_1C ) )
1911
 
        PORT_DIPSETTING(    0x80, DEF_STR( 3C_1C ) )
1912
 
        PORT_DIPSETTING(    0x90, DEF_STR( 2C_1C ) )
1913
 
        PORT_DIPSETTING(    0x50, "2 Coins/1 Credit 5/3 6/4" )
1914
 
        PORT_DIPSETTING(    0x40, "2 Coins/1 Credit 4/3" )
1915
 
        PORT_DIPSETTING(    0xf0, DEF_STR( 1C_1C ) )
1916
 
        PORT_DIPSETTING(    0x10, "1 Coin/1 Credit 2/3" )
1917
 
        PORT_DIPSETTING(    0x20, "1 Coin/1 Credit 4/5" )
1918
 
        PORT_DIPSETTING(    0x30, "1 Coin/1 Credit 5/6" )
1919
 
        PORT_DIPSETTING(    0x60, DEF_STR( 2C_3C ) )
1920
 
        PORT_DIPSETTING(    0xe0, DEF_STR( 1C_2C ) )
1921
 
        PORT_DIPSETTING(    0xd0, DEF_STR( 1C_3C ) )
1922
 
        PORT_DIPSETTING(    0xc0, DEF_STR( 1C_4C ) )
1923
 
        PORT_DIPSETTING(    0xb0, DEF_STR( 1C_5C ) )
1924
 
        PORT_DIPSETTING(    0xa0, DEF_STR( 1C_6C ) )
1925
 
        PORT_DIPSETTING(    0x00, "Free Play (if Coin A too) or 1/1" )
 
1937
        SEGA_COINAGE_LOC(SW1)
1926
1938
INPUT_PORTS_END
1927
1939
 
1928
1940
 
1940
1952
 *************************************/
1941
1953
 
1942
1954
static INPUT_PORTS_START( aceattac )
 
1955
        #define TMP_PL1HAND 2
 
1956
        #define TMP_PL1BALL 1
 
1957
        #define TMP_PL2HAND 4
 
1958
        #define TMP_PL2BALL 3
 
1959
 
1943
1960
        PORT_INCLUDE( system16b_generic )
1944
1961
 
1945
1962
        PORT_MODIFY("SERVICE")
1946
1963
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 )                    /* Block Switch */
1947
1964
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)     /* Block Switch */
1948
1965
 
1949
 
        /* This is the direction control of the "hand" device for player 1 */
1950
 
        /* I'm sure there is a better way to do this but I don't fully understand how the device works yet */
1951
1966
        PORT_MODIFY("P1")
1952
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 )
1953
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 )
1954
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 )
1955
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 )
1956
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 )
1957
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON7 )
1958
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON8 )
1959
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON9 )
1960
 
 
1961
 
        /* This is the power control of the "hand" device for player 1 */
1962
 
        PORT_MODIFY("UNUSED")
1963
 
        PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10 )
1964
 
        PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11 )
1965
 
        PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON12 )
1966
 
 
1967
 
        /* This is the direction control of the "hand" device for player 2 */
1968
 
        /* I'm sure there is a better way to do this but I don't fully understand how the device works yet */
 
1967
        PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
 
1968
        // on System16A, "P1" reads 4 analog devices via multiplexer
 
1969
        // but on System16B, "P1" is connected nothing (analog devices are read via I/O sub-board)
 
1970
 
1969
1971
        PORT_MODIFY("P2")
1970
 
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2)
1971
 
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_PLAYER(2)
1972
 
        PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_PLAYER(2)
1973
 
        PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_PLAYER(2)
1974
 
        PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_PLAYER(2)
1975
 
        PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_PLAYER(2)
1976
 
        PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON8 ) PORT_PLAYER(2)
1977
 
        PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON9 ) PORT_PLAYER(2)
1978
 
 
1979
 
        /* This is the power control of the "hand" device for player 2 */
1980
 
        PORT_START("POW2")
1981
 
        PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON10 ) PORT_PLAYER(2)
1982
 
        PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON11 ) PORT_PLAYER(2)
1983
 
        PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON12 ) PORT_PLAYER(2)
 
1972
        PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
 
1973
        // on System16A, "P2" reads 4 analog devices via multiplexer
 
1974
        // but on System16B, "P2" is connected nothing (analog devices are read via I/O sub-board)
1984
1975
 
1985
1976
        PORT_MODIFY("DSW2")
1986
1977
        PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:1")
2006
1997
        PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
2007
1998
        PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
2008
1999
 
2009
 
        PORT_START("ANALOGX1")
2010
 
        PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_X ) PORT_SENSITIVITY(75) PORT_KEYDELTA(5) PORT_REVERSE
2011
 
 
2012
 
        PORT_START("ANALOGY1")
2013
 
        PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(75) PORT_KEYDELTA(5)
2014
 
 
2015
 
        PORT_START("DIAL1")
2016
 
        PORT_BIT( 0x0f, 0x00, IPT_DIAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(15)
2017
 
 
2018
 
        PORT_START("ANALOGX2")
2019
 
        PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_X ) PORT_SENSITIVITY(75) PORT_KEYDELTA(5) PORT_REVERSE
2020
 
 
2021
 
        PORT_START("ANALOGY2")
2022
 
        PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(75) PORT_KEYDELTA(5)
2023
 
 
2024
 
        PORT_START("DIAL2")
2025
 
        PORT_BIT( 0x0f, 0x00, IPT_DIAL ) PORT_SENSITIVITY(100) PORT_KEYDELTA(15)
 
2000
        PORT_START("HANDX1") // direction of "hand" device
 
2001
        PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(100) PORT_KEYDELTA(30) PORT_PLAYER(TMP_PL1HAND)
 
2002
 
 
2003
        PORT_START("TRACKX1")
 
2004
        PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_X ) PORT_SENSITIVITY(100) PORT_KEYDELTA(30) PORT_PLAYER(TMP_PL1BALL) PORT_REVERSE
 
2005
 
 
2006
        PORT_START("TRACKY1")
 
2007
        PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(100) PORT_KEYDELTA(30) PORT_PLAYER(TMP_PL1BALL)
 
2008
 
 
2009
        PORT_START("HANDY1") // power of "hand" device
 
2010
        PORT_BIT( 0x7f, 0x40, IPT_PEDAL2 ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_CENTERDELTA(30) PORT_PLAYER(TMP_PL1HAND)
 
2011
        // maybe, read 8 bits, and masked 0x70
 
2012
 
 
2013
        PORT_START("DIAL1") // toss formation
 
2014
        PORT_BIT( 0x0f, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(10) PORT_WRAPS PORT_SENSITIVITY(10) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_Z) PORT_CODE_INC(KEYCODE_X) PORT_PLAYER(1) PORT_INVERT PORT_FULL_TURN_COUNT(10)
 
2015
        // AUTOMATIC 1 /  2  3  \ AUTOMATIC 2
 
2016
        // LEFT SIDE  / 1      4 \ RIGHT SIDE   // (out of range)
 
2017
        // B QUICK   | 0        5 |   D QUICK   // 10 A QUICK       13 A QUICK
 
2018
        // A QUICK    \ 9      6 /    C QUICK   // 11 (buggy blank) 14 B QUICK
 
2019
        // CENTER      \  8  7  / BACK ATTACK   // 12 A QUICK       15 A QUICK
 
2020
 
 
2021
        PORT_START("HANDX2") // direction of "hand" device
 
2022
        PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(100) PORT_KEYDELTA(30) PORT_PLAYER(TMP_PL2HAND)
 
2023
 
 
2024
        PORT_START("TRACKX2")
 
2025
        PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_X ) PORT_SENSITIVITY(100) PORT_KEYDELTA(30) PORT_PLAYER(TMP_PL2BALL) PORT_REVERSE
 
2026
 
 
2027
        PORT_START("TRACKY2")
 
2028
        PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_Y ) PORT_SENSITIVITY(100) PORT_KEYDELTA(30) PORT_PLAYER(TMP_PL2BALL)
 
2029
 
 
2030
        PORT_START("HANDY2") // power of "hand" device
 
2031
        PORT_BIT( 0x7f, 0x40, IPT_PEDAL2 ) PORT_SENSITIVITY(100) PORT_KEYDELTA(10) PORT_CENTERDELTA(30) PORT_PLAYER(TMP_PL2HAND)
 
2032
        // maybe, read 8 bits, and masked 0x70
 
2033
 
 
2034
        PORT_START("DIAL2") // toss formation
 
2035
        PORT_BIT( 0x0f, 0x00, IPT_POSITIONAL ) PORT_POSITIONS(10) PORT_WRAPS PORT_SENSITIVITY(10) PORT_KEYDELTA(1) PORT_CODE_DEC(KEYCODE_N) PORT_CODE_INC(KEYCODE_M) PORT_PLAYER(2) PORT_INVERT PORT_FULL_TURN_COUNT(10)
 
2036
 
 
2037
        #undef TMP_PL1HAND
 
2038
        #undef TMP_PL1BALL
 
2039
        #undef TMP_PL2HAND
 
2040
        #undef TMP_PL2BALL
2026
2041
INPUT_PORTS_END
2027
2042
 
2028
2043
static INPUT_PORTS_START( aliensyn )
2029
2044
        PORT_INCLUDE( system16b_generic )
2030
2045
 
2031
2046
        PORT_MODIFY("DSW2")
 
2047
        //"SW2:1" unused
2032
2048
        PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:2")
2033
2049
        PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2034
2050
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2054
2070
        PORT_INCLUDE( system16b_generic )
2055
2071
 
2056
2072
        PORT_MODIFY("DSW2")
 
2073
        //"SW2:1" unused
2057
2074
        PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:2")
2058
2075
        PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2059
2076
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2210
2227
        PORT_DIPSETTING(    0x0c, "3" )
2211
2228
        PORT_DIPSETTING(    0x08, "4" )
2212
2229
        PORT_DIPSETTING(    0x04, "5" )
 
2230
        //"SW2:5" unused
 
2231
        //"SW2:6" unused
 
2232
        //"SW2:7" unused
 
2233
        //"SW2:8" unused
2213
2234
INPUT_PORTS_END
2214
2235
 
2215
2236
 
2230
2251
        PORT_DIPSETTING(    0x18, DEF_STR( Normal ) )
2231
2252
        PORT_DIPSETTING(    0x08, DEF_STR( Hard ) )
2232
2253
        PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
 
2254
        //"SW2:6" unused
 
2255
        //"SW2:7" unused
 
2256
        //"SW2:8" unused
2233
2257
INPUT_PORTS_END
2234
2258
 
2235
2259
 
2255
2279
        PORT_DIPSETTING(    0x60, "200k" )
2256
2280
        PORT_DIPSETTING(    0x20, "300k" )
2257
2281
        PORT_DIPSETTING(    0x00, "400k" )
 
2282
        //"SW2:8" unused
2258
2283
        /* Switch #8 is listed as "NOT USED" and "Always OFF" */
2259
2284
INPUT_PORTS_END
2260
2285
 
2280
2305
        PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
2281
2306
 
2282
2307
        PORT_MODIFY("DSW2")
 
2308
        //"SW2:1" unused
2283
2309
        PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:2")
2284
2310
        PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2285
2311
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2286
 
        PORT_DIPNAME( 0x0c, 0x0c, "VS Time" )
 
2312
        PORT_DIPNAME( 0x0c, 0x0c, "VS Time" ) PORT_DIPLOCATION("SW2:3,4")
2287
2313
        PORT_DIPSETTING(    0x08, "2P 1:30/ 3P 2:00/ 4P 2:30" )
2288
2314
        PORT_DIPSETTING(    0x0c, "2P 2:00/ 3P 2:30/ 4P 3:00" )
2289
2315
        PORT_DIPSETTING(    0x04, "2P 2:30/ 3P 3:00/ 4P 3:30" )
2296
2322
        PORT_DIPNAME( 0x40, 0x40, "CPU Starts With +6 Pts." ) PORT_DIPLOCATION("SW2:7")
2297
2323
        PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
2298
2324
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
 
2325
        //"SW2:8" unused
2299
2326
 
2300
2327
        PORT_START("ANALOGX1")                          /* fake analog X */
2301
2328
        PORT_BIT( 0xff, 0x00, IPT_TRACKBALL_X ) PORT_SENSITIVITY(75) PORT_KEYDELTA(5) PORT_PLAYER(1) PORT_REVERSE
2433
2460
        PORT_INCLUDE( system16b_generic )
2434
2461
 
2435
2462
        PORT_MODIFY("DSW2")
 
2463
        //"SW2:1" unused
2436
2464
        PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:2")
2437
2465
        PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2438
2466
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
 
2467
        //"SW2:3" unused
 
2468
        //"SW2:4" unused
2439
2469
        PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5,6")
2440
2470
        PORT_DIPSETTING(    0x20, DEF_STR( Easy ) )
2441
2471
        PORT_DIPSETTING(    0x30, DEF_STR( Normal ) )
2483
2513
    PORT_DIPSETTING(    0x10, "4" )
2484
2514
    PORT_DIPSETTING(    0x00, "5" )
2485
2515
*/
 
2516
        //"SW2:7" unused
 
2517
        //"SW2:8" unused
2486
2518
INPUT_PORTS_END
2487
2519
 
2488
2520
 
2496
2528
        PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
2497
2529
 
2498
2530
        PORT_MODIFY("DSW2")
 
2531
        //"SW2:1" unused
2499
2532
        PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:2")
2500
2533
        PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2501
2534
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2828
2861
        PORT_MODIFY("P2")
2829
2862
        PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
2830
2863
 
 
2864
        PORT_MODIFY("DSW1")
 
2865
        PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW1:1,2,3,4")
 
2866
        PORT_DIPSETTING(    0x07, DEF_STR( 4C_1C ) )
 
2867
        PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) )
 
2868
        PORT_DIPSETTING(    0x09, DEF_STR( 2C_1C ) )
 
2869
        PORT_DIPSETTING(    0x0f, DEF_STR( 1C_1C ) )
 
2870
        PORT_DIPSETTING(    0x00, " 1 Coin/1 Credit" )
 
2871
        PORT_DIPSETTING(    0x06, DEF_STR( 2C_3C ) )
 
2872
        PORT_DIPSETTING(    0x0e, DEF_STR( 1C_2C ) )
 
2873
        PORT_DIPSETTING(    0x0d, DEF_STR( 1C_3C ) )
 
2874
        PORT_DIPSETTING(    0x0c, DEF_STR( 1C_4C ) )
 
2875
        PORT_DIPSETTING(    0x0b, DEF_STR( 1C_5C ) )
 
2876
        PORT_DIPSETTING(    0x0a, DEF_STR( 1C_6C ) )
 
2877
        PORT_DIPSETTING(    0x05, DEF_STR( None ) )
 
2878
        PORT_DIPSETTING(    0x04, DEF_STR( None ) )
 
2879
        PORT_DIPSETTING(    0x03, DEF_STR( None ) )
 
2880
        PORT_DIPSETTING(    0x02, DEF_STR( None ) )
 
2881
        PORT_DIPSETTING(    0x01, DEF_STR( None ) )
 
2882
        PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("SW1:5,6,7,8")
 
2883
        PORT_DIPSETTING(    0x70, DEF_STR( 4C_1C ) )
 
2884
        PORT_DIPSETTING(    0x80, DEF_STR( 3C_1C ) )
 
2885
        PORT_DIPSETTING(    0x90, DEF_STR( 2C_1C ) )
 
2886
        PORT_DIPSETTING(    0xf0, DEF_STR( 1C_1C ) )
 
2887
        PORT_DIPSETTING(    0x00, " 1 Coin/1 Credit" )
 
2888
        PORT_DIPSETTING(    0x60, DEF_STR( 2C_3C ) )
 
2889
        PORT_DIPSETTING(    0xe0, DEF_STR( 1C_2C ) )
 
2890
        PORT_DIPSETTING(    0xd0, DEF_STR( 1C_3C ) )
 
2891
        PORT_DIPSETTING(    0xc0, DEF_STR( 1C_4C ) )
 
2892
        PORT_DIPSETTING(    0xb0, DEF_STR( 1C_5C ) )
 
2893
        PORT_DIPSETTING(    0xa0, DEF_STR( 1C_6C ) )
 
2894
        PORT_DIPSETTING(    0x50, DEF_STR( None ) )
 
2895
        PORT_DIPSETTING(    0x40, DEF_STR( None ) )
 
2896
        PORT_DIPSETTING(    0x30, DEF_STR( None ) )
 
2897
        PORT_DIPSETTING(    0x20, DEF_STR( None ) )
 
2898
        PORT_DIPSETTING(    0x10, DEF_STR( None ) )
 
2899
 
 
2900
        PORT_MODIFY("DSW2")
 
2901
        PORT_DIPNAME( 0x03, 0x03, "CPU Level" ) PORT_DIPLOCATION("SW2:1,2")
 
2902
        PORT_DIPSETTING(    0x03, "Weak" )
 
2903
        PORT_DIPSETTING(    0x02, "Medium Weak" )
 
2904
        PORT_DIPSETTING(    0x01, "Medium Strong" )
 
2905
        PORT_DIPSETTING(    0x00, "Strong" )
 
2906
        PORT_DIPNAME( 0x04, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:3")
 
2907
        PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
 
2908
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
 
2909
        //"SW2:4" unused
 
2910
        //"SW2:5" unused
 
2911
        //"SW2:6" unused
 
2912
        //"SW2:7" unused
 
2913
        //"SW2:8" unused
 
2914
 
2831
2915
        PORT_START("MJ0")
2832
2916
        PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_MAHJONG_A )
2833
2917
        PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_MAHJONG_B )
2913
2997
        /* SW2:1,3,4,7,8 Unused according to manual.
2914
2998
    From the code SW2:3,4 looks like some kind of difficulty level,
2915
2999
    but all 4 levels points to the same place so it doesn't actually change anything!! */
 
3000
        //"SW2:1" unused
2916
3001
        PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:2")
2917
3002
        PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
2918
3003
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
 
3004
        //"SW2:3" unused
 
3005
        //"SW2:4" unused
2919
3006
        PORT_DIPNAME( 0x30, 0x30, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("SW2:5,6")
2920
3007
        PORT_DIPSETTING(    0x20, DEF_STR( Easy ) )
2921
3008
        PORT_DIPSETTING(    0x30, DEF_STR( Normal ) )
2922
3009
        PORT_DIPSETTING(    0x10, DEF_STR( Hard ) )
2923
3010
        PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
 
3011
        //"SW2:7" unused
 
3012
        //"SW2:8" unused
2924
3013
INPUT_PORTS_END
2925
3014
 
2926
3015
 
2937
3026
        PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) ) PORT_DIPLOCATION("SWE:1")
2938
3027
        PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2939
3028
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
2940
 
        PORT_DIPNAME( 0x02, 0x02, "Out Lane Pin" ) PORT_DIPLOCATION("SWE:2")
 
3029
        PORT_DIPNAME( 0x02, 0x02, "Out Lane Pin" ) PORT_DIPLOCATION("SWE:2") // Distance between out-lane-pins
2941
3030
        PORT_DIPSETTING(    0x02, "Near" )
2942
3031
        PORT_DIPSETTING(    0x00, "Far" )
2943
 
        PORT_DIPNAME( 0x0c, 0x0c, "Special" ) PORT_DIPLOCATION("SWE:3,4")
2944
 
        PORT_DIPSETTING(    0x08, "7 Credits" )
2945
 
        PORT_DIPSETTING(    0x0c, "3 Credits" )
 
3032
        PORT_DIPNAME( 0x0c, 0x0c, "Special" ) PORT_DIPLOCATION("SWE:3,4") // SPECIAL-stage clear bonus
 
3033
        PORT_DIPSETTING(    0x08, "3 Credits" )
 
3034
        PORT_DIPSETTING(    0x0c, "2 Credits" )
2946
3035
        PORT_DIPSETTING(    0x04, "1 Credit" )
2947
3036
        PORT_DIPSETTING(    0x00, "2000000 Points" )
2948
3037
        PORT_DIPNAME( 0x10, 0x10, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SWE:5")
2949
3038
        PORT_DIPSETTING(    0x00, DEF_STR( No ) )
2950
3039
        PORT_DIPSETTING(    0x10, DEF_STR( Yes ) )
2951
 
        PORT_DIPUNUSED_DIPLOC( 0x0020, 0x0020, "SWE:6" ) /* Listed as "Unused" */
2952
 
        PORT_DIPUNUSED_DIPLOC( 0x0040, 0x0040, "SWE:7" ) /* Listed as "Unused" */
2953
 
        PORT_DIPUNUSED_DIPLOC( 0x0080, 0x0080, "SWE:8" ) /* Listed as "Unused" */
 
3040
        PORT_DIPUNUSED_DIPLOC( 0x20, IP_ACTIVE_LOW, "SWE:6" ) /* Listed as "Unused" */
 
3041
        PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SWE:7" ) /* Listed as "Unused" */
 
3042
        PORT_DIPUNUSED_DIPLOC( 0x80, IP_ACTIVE_LOW, "SWE:8" ) /* Listed as "Unused" */
 
3043
        //"SWE:1" = "EXT.SW1" = Sega 56pin Edge "16"
 
3044
        //"SWE:2" = "EXT.SW2" =                 "17"
 
3045
        //"SWE:3" = "EXT.SW3" =                 "18"
 
3046
        //"SWE:4" = "EXT.SW4" =                 "19"
 
3047
        //"SWE:5" = "EXT.SW5" =                 "T"
 
3048
        //"SWE:6" = "EXT.SW6" =                 "U"
 
3049
        //"SWE:7" = "EXT.SW7" =                 "V"
 
3050
        //"SWE:8" = "EXT.SW8" =                 "W"
2954
3051
 
2955
3052
        PORT_MODIFY("DSW2")
2956
3053
        PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:1")
2976
3073
        PORT_DIPNAME( 0x20, 0x20, "Number Match" ) PORT_DIPLOCATION("SW2:6")
2977
3074
        PORT_DIPSETTING(    0x00, DEF_STR( No ) )
2978
3075
        PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
2979
 
        PORT_DIPNAME( 0x40, 0x40, "Pin Rebound" ) PORT_DIPLOCATION("SW2:7")
 
3076
        PORT_DIPNAME( 0x40, 0x40, "Pin Rebound" ) PORT_DIPLOCATION("SW2:7") // Rebounding strength of out-lane-pins
2980
3077
        PORT_DIPSETTING(    0x40, "Well" )
2981
3078
        PORT_DIPSETTING(    0x00, "A Little" )
2982
3079
        /*
2997
3094
        PORT_DIPNAME( 0x01, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:1")
2998
3095
        PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
2999
3096
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
 
3097
        //"SW2:2" unused
 
3098
        //"SW2:3" unused
 
3099
        //"SW2:4" unused
3000
3100
        PORT_DIPNAME( 0x10, 0x10, "VS Play Mode" ) PORT_DIPLOCATION("SW2:5")
3001
3101
        PORT_DIPSETTING(    0x10, "1 Set" )
3002
3102
        PORT_DIPSETTING(    0x00, "3 Set" )
3044
3144
        PORT_INCLUDE( system16b_generic )
3045
3145
 
3046
3146
        PORT_MODIFY("DSW2")
 
3147
        //"SW2:1" unused
3047
3148
        PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:2")
3048
3149
        PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3049
3150
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3061
3162
        PORT_DIPNAME( 0x40, 0x40, "Test Mode" ) PORT_DIPLOCATION("SW2:7")
3062
3163
        PORT_DIPSETTING(    0x40, DEF_STR( No ) )       /* Normal game */
3063
3164
        PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )      /* Levels are selectable / Player is Invincible */
 
3165
        //"SW2:8" unused
3064
3166
        /* Switches 1 & 8 are listed as "Always off" */
3065
3167
INPUT_PORTS_END
3066
3168
 
3069
3171
        PORT_INCLUDE( system16b_generic )
3070
3172
 
3071
3173
        PORT_MODIFY("DSW2")
 
3174
        //"SW2:1" unused
3072
3175
        PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW2:2")
3073
3176
        PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3074
3177
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3077
3180
        PORT_DIPSETTING(    0x0c, "110" )
3078
3181
        PORT_DIPSETTING(    0x08, "120" )
3079
3182
        PORT_DIPSETTING(    0x04, "130" )
 
3183
        //"SW2:5" unused
3080
3184
        PORT_DIPNAME( 0x20, 0x20, DEF_STR( Allow_Continue ) ) PORT_DIPLOCATION("SW2:6")
3081
3185
        PORT_DIPSETTING(    0x00, DEF_STR( No ) )
3082
3186
        PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
3207
3311
        PORT_DIPSETTING(    0x00, "5" )
3208
3312
 
3209
3313
        PORT_START("P2")        /* DSW1 */
3210
 
        PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:1")
3211
 
        PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
3212
 
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3213
 
        PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:2")
3214
 
        PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
3215
 
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3216
 
        PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:3")
3217
 
        PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
3218
 
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3219
 
        PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:4")
3220
 
        PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
3221
 
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
 
3314
        PORT_DIPUNUSED_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW1:1" )
 
3315
        PORT_DIPUNUSED_DIPLOC( 0x02, IP_ACTIVE_LOW, "SW1:2" )
 
3316
        PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW1:3" )
 
3317
        PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW1:4" )
3222
3318
        PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) ) PORT_DIPLOCATION("SW1:5")
3223
3319
        PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
3224
3320
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3225
 
        PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:6")
3226
 
        PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
3227
 
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
3228
 
        PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:7")
3229
 
        PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
3230
 
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
 
3321
        PORT_DIPUNUSED_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW1:6" )
 
3322
        PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW1:7" )
3231
3323
        PORT_SERVICE_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW1:8" )
3232
3324
 
3233
3325
        PORT_START("DSW2")      /* DUMMY */
4876
4968
*/
4877
4969
ROM_START( goldnaxej )
4878
4970
        ROM_REGION( 0x0c0000, "maincpu", 0 ) /* 68000 code */
4879
 
        /* fails rom test on 8 & 6 ?! roms verfied from two seperate sources */
 
4971
        /* fails rom test on 8 & 6 ?! roms verfied from two separate sources */
4880
4972
        ROM_LOAD16_BYTE( "epr-12540.a7", 0x00000, 0x20000, CRC(0c7ccc6d) SHA1(25bc29eee731befc665472c2c1998cac8447cc21) )
4881
4973
        ROM_LOAD16_BYTE( "epr-12539.a5", 0x00001, 0x20000, CRC(1f24f7d0) SHA1(a09cdf394c03069707f7ed400b8fbdc13674fa74) )
4882
4974
        /* emtpy 0x40000 - 0x80000 */
4918
5010
*/
4919
5011
ROM_START( goldnaxe3 )
4920
5012
        ROM_REGION( 0xc0000, "maincpu", 0) /* 68000 code */
4921
 
        /* fails rom test on 8 & 6 ?! roms verfied from two seperate sources */
 
5013
        /* fails rom test on 8 & 6 ?! roms verfied from two separate sources */
4922
5014
        ROM_LOAD16_BYTE( "epr-12525.a7", 0x00000, 0x20000, CRC(48332c76) SHA1(4cdf7dc2f504a030ae63b4854bb76a3f2cc1d96b) )
4923
5015
        ROM_LOAD16_BYTE( "epr-12524.a5", 0x00001, 0x20000, CRC(8e58f342) SHA1(a972b05f7d5d7228067f97724191fce1aeb0371d) )
4924
5016
        /* emtpy 0x40000 - 0x80000 */
6359
6451
 *
6360
6452
 *************************************/
6361
6453
 
 
6454
static DRIVER_INIT( aceattac_5358 )
 
6455
{
 
6456
        segas1x_state *state = machine.driver_data<segas1x_state>();
 
6457
 
 
6458
        DRIVER_INIT_CALL(generic_5358);
 
6459
        state->m_custom_io_r = aceattac_custom_io_r;
 
6460
}
 
6461
 
 
6462
 
6362
6463
static DRIVER_INIT( aliensy3_5358 )
6363
6464
{
6364
6465
        DRIVER_INIT_CALL(generic_5358);
6573
6674
 *
6574
6675
 *************************************/
6575
6676
 
6576
 
GAME( 1988, aceattac,   0,        system16b,      aceattac, generic_5358,       ROT0,   "Sega",           "Ace Attacker (FD1094 317-0059)", GAME_NOT_WORKING )
6577
 
 
6578
 
GAME( 1987, aliensyn,   0,        system16b,      aliensyn, generic_5358,       ROT0,   "Sega",           "Alien Syndrome (set 4, System 16B, unprotected)", 0 )
6579
 
GAME( 1987, aliensyn3,  aliensyn, system16b,      aliensyn, aliensy3_5358,      ROT0,   "Sega",           "Alien Syndrome (set 3, System 16B, FD1089A 317-0033)", 0 )
6580
 
GAME( 1987, aliensynj,  aliensyn, system16b,      aliensynj,aliensy3_5358,      ROT0,   "Sega",           "Alien Syndrome (set 6, Japan, new, System 16B, FD1089A 317-0033)", 0 )
6581
 
 
6582
 
GAME( 1988, altbeast,   0,        system16b_8751, altbeast, altbeast_5521,      ROT0,   "Sega",           "Altered Beast (set 8, 8751 317-0078)", 0 )
6583
 
GAME( 1988, altbeastj,  altbeast, system16b_8751, altbeast, altbeasj_5521,      ROT0,   "Sega",           "Juuouki (set 7, Japan, 8751 317-0077)", 0 )
6584
 
GAME( 1988, altbeast5,  altbeast, system16b_8751, altbeast, altbeas5_5521,      ROT0,   "Sega",           "Altered Beast (set 6, 8751 317-0076)", 0 )
6585
 
GAME( 1988, altbeast4,  altbeast, system16b,      altbeast, altbeas4_5521,      ROT0,   "Sega",           "Altered Beast (set 4, MC-8123B 317-0066)", 0 )
6586
 
GAME( 1988, altbeastj3, altbeast, system16b,      altbeast, generic_5521,       ROT0,   "Sega",           "Juuouki (set 3, Japan, FD1094 317-0068)", 0 )
6587
 
GAME( 1988, altbeast2,  altbeast, system16b,      altbeast, altbeas4_5521,      ROT0,   "Sega",           "Altered Beast (set 2, MC-8123B 317-0066)", 0 )
6588
 
GAME( 1988, altbeastj1, altbeast, system16b,      altbeast, generic_5521,       ROT0,   "Sega",           "Juuouki (set 1, Japan, FD1094 317-0065)", GAME_NOT_WORKING ) /* No CPU decrypt key */
6589
 
GAME( 1988, altbeastj2, altbeast, system16b,      altbeast, generic_5521,       ROT0,   "Sega",           "Juuouki (set 5, Japan, FD1094 317-0069)", GAME_NOT_WORKING ) /* No CPU decrypt key */
6590
 
 
6591
 
GAME( 1990, aurail,     0,        system16b,      aurail,   generic_5704,       ROT0,   "Sega / Westone", "Aurail (set 3, US, unprotected)", 0 )
6592
 
GAME( 1990, aurail1,    aurail,   system16b,      aurail,   aurail1_5704,       ROT0,   "Sega / Westone", "Aurail (set 2, World, FD1089B 317-0168)", 0 )
6593
 
GAME( 1990, aurailj,    aurail,   system16b,      aurail,   aurailj_5704,       ROT0,   "Sega / Westone", "Aurail (set 1, Japan, FD1089A 317-0167)", 0 )
6594
 
 
6595
 
GAME( 1989, bayroute,   0,        system16b,      bayroute, generic_5704,       ROT0,   "Sunsoft / Sega", "Bay Route (set 3, World, FD1094 317-0116)", 0 )
6596
 
GAME( 1989, bayroutej,  bayroute, system16b,      bayroute, generic_5704,       ROT0,   "Sunsoft / Sega", "Bay Route (set 2, Japan, FD1094 317-0115)", 0 )
6597
 
GAME( 1989, bayroute1,  bayroute, system16b,      bayroute, generic_5358,       ROT0,   "Sunsoft / Sega", "Bay Route (set 1, US, unprotected)", 0 )
6598
 
 
6599
 
GAME( 1987, bullet,     0,        system16b,      bullet,   generic_5358_small, ROT0,   "Sega",           "Bullet (FD1094 317-0041)", 0 )
 
6677
//    YEAR, NAME,       PARENT,   MACHINE,             INPUT,    INIT,               MONITOR,COMPANY,FULLNAME,FLAGS
 
6678
GAME( 1988, aceattac,   0,        system16b,           aceattac, aceattac_5358,      ROT0,   "Sega", "Ace Attacker (FD1094 317-0059)", GAME_NOT_WORKING )
 
6679
 
 
6680
GAME( 1987, aliensyn,   0,        system16b,           aliensyn, generic_5358,       ROT0,   "Sega", "Alien Syndrome (set 4, System 16B, unprotected)", 0 )
 
6681
GAME( 1987, aliensyn3,  aliensyn, system16b,           aliensyn, aliensy3_5358,      ROT0,   "Sega", "Alien Syndrome (set 3, System 16B, FD1089A 317-0033)", 0 )
 
6682
GAME( 1987, aliensynj,  aliensyn, system16b,           aliensynj,aliensy3_5358,      ROT0,   "Sega", "Alien Syndrome (set 6, Japan, new, System 16B, FD1089A 317-0033)", 0 )
 
6683
 
 
6684
GAME( 1988, altbeast,   0,        system16b_8751,      altbeast, altbeast_5521,      ROT0,   "Sega", "Altered Beast (set 8, 8751 317-0078)", 0 )
 
6685
GAME( 1988, altbeastj,  altbeast, system16b_8751,      altbeast, altbeasj_5521,      ROT0,   "Sega", "Juuouki (set 7, Japan, 8751 317-0077)", 0 )
 
6686
GAME( 1988, altbeast5,  altbeast, system16b_8751,      altbeast, altbeas5_5521,      ROT0,   "Sega", "Altered Beast (set 6, 8751 317-0076)", 0 )
 
6687
GAME( 1988, altbeast4,  altbeast, system16b,           altbeast, altbeas4_5521,      ROT0,   "Sega", "Altered Beast (set 4, MC-8123B 317-0066)", 0 )
 
6688
GAME( 1988, altbeastj3, altbeast, system16b,           altbeast, generic_5521,       ROT0,   "Sega", "Juuouki (set 3, Japan, FD1094 317-0068)", 0 )
 
6689
GAME( 1988, altbeast2,  altbeast, system16b,           altbeast, altbeas4_5521,      ROT0,   "Sega", "Altered Beast (set 2, MC-8123B 317-0066)", 0 )
 
6690
GAME( 1988, altbeastj1, altbeast, system16b,           altbeast, generic_5521,       ROT0,   "Sega", "Juuouki (set 1, Japan, FD1094 317-0065)", GAME_NOT_WORKING ) /* No CPU decrypt key */
 
6691
GAME( 1988, altbeastj2, altbeast, system16b,           altbeast, generic_5521,       ROT0,   "Sega", "Juuouki (set 5, Japan, FD1094 317-0069)", GAME_NOT_WORKING ) /* No CPU decrypt key */
 
6692
 
 
6693
GAME( 1990, aurail,     0,        system16b,           aurail,   generic_5704,       ROT0,   "Sega / Westone", "Aurail (set 3, US, unprotected)", 0 )
 
6694
GAME( 1990, aurail1,    aurail,   system16b,           aurail,   aurail1_5704,       ROT0,   "Sega / Westone", "Aurail (set 2, World, FD1089B 317-0168)", 0 )
 
6695
GAME( 1990, aurailj,    aurail,   system16b,           aurail,   aurailj_5704,       ROT0,   "Sega / Westone", "Aurail (set 1, Japan, FD1089A 317-0167)", 0 )
 
6696
 
 
6697
GAME( 1989, bayroute,   0,        system16b,           bayroute, generic_5704,       ROT0,   "Sunsoft / Sega", "Bay Route (set 3, World, FD1094 317-0116)", 0 )
 
6698
GAME( 1989, bayroutej,  bayroute, system16b,           bayroute, generic_5704,       ROT0,   "Sunsoft / Sega", "Bay Route (set 2, Japan, FD1094 317-0115)", 0 )
 
6699
GAME( 1989, bayroute1,  bayroute, system16b,           bayroute, generic_5358,       ROT0,   "Sunsoft / Sega", "Bay Route (set 1, US, unprotected)", 0 )
 
6700
 
 
6701
GAME( 1987, bullet,     0,        system16b,           bullet,   generic_5358_small, ROT0,   "Sega", "Bullet (FD1094 317-0041)", 0 )
6600
6702
/* Charon */
6601
 
GAME( 1991, cotton,     0,        system16b,      cotton,   generic_5704,       ROT0,   "Sega / Success", "Cotton (set 3, World, FD1094 317-0181a)", 0 )
6602
 
GAME( 1991, cottonu,    cotton,   system16b,      cotton,   generic_5704,       ROT0,   "Sega / Success", "Cotton (set 2, US, FD1094 317-0180)", 0 )
6603
 
GAME( 1991, cottonj,    cotton,   system16b,      cotton,   generic_5704,       ROT0,   "Sega / Success", "Cotton (set 1, Japan, FD1094 317-0179a)", 0 )
6604
 
 
6605
 
GAME( 1988, ddux,       0,        system16b,      ddux,     generic_5521,       ROT0,   "Sega",           "Dynamite Dux (set 2, FD1094 317-0096)", 0 )
6606
 
GAME( 1988, ddux1,      ddux,     system16b_8751, ddux,     ddux_5704,          ROT0,   "Sega",           "Dynamite Dux (set 1, 8751 317-0095)", 0 )
6607
 
 
6608
 
GAME( 1986, dunkshot,   0,        timescan,       dunkshot, dunkshot_5358,      ROT0,   "Sega",           "Dunk Shot (FD1089A 317-0022)", 0 )
6609
 
 
6610
 
GAME( 1989, eswat,      0,        system16b_5248, eswat,    generic_5797,       ROT0,   "Sega",           "E-Swat - Cyber Police (set 3, World, FD1094 317-0130)", 0 )
6611
 
GAME( 1989, eswatu,     eswat,    system16b_5248, eswat,    generic_5797,       ROT0,   "Sega",           "E-Swat - Cyber Police (set 2, US, FD1094 317-0129)", 0 )
6612
 
GAME( 1989, eswatj,     eswat,    system16b_5248, eswat,    generic_5797,       ROT0,   "Sega",           "E-Swat - Cyber Police (set 1, Japan, FD1094 317-0128)", 0 )
6613
 
 
6614
 
GAME( 1988, exctleag,   0,        system16b,      exctleag, exctleag_5358,      ROT0,   "Sega",           "Excite League (FD1094 317-0079)", 0 )
6615
 
 
6616
 
GAME( 1989, fpoint,     0,        system16b,      fpoint,   generic_5358,       ROT0,   "Sega",           "Flash Point (set 2, Japan, FD1094 317-0127A)", 0 )
6617
 
GAME( 1989, fpoint1,    fpoint,   system16b,      fpoint,   generic_5704,       ROT0,   "Sega",           "Flash Point (set 1, Japan, FD1094 317-0127A)", 0 )
6618
 
 
6619
 
GAME( 1989, goldnaxe,   0,        system16b_8751_5248, goldnaxe, goldnaxe_5797, ROT0,   "Sega",           "Golden Axe (set 6, US, 8751 317-123A)", 0 )
6620
 
GAME( 1989, goldnaxeu,  goldnaxe, system16b_5248, goldnaxe, generic_5797,       ROT0,   "Sega",           "Golden Axe (set 5, US, FD1094 317-0122)", 0 )
6621
 
GAME( 1989, goldnaxej,  goldnaxe, system16b,      goldnaxe, generic_5704,       ROT0,   "Sega",           "Golden Axe (set 4, Japan, FD1094 317-0121)", 0 )
6622
 
GAME( 1989, goldnaxe3,  goldnaxe, system16b,      goldnaxe, generic_5704,       ROT0,   "Sega",           "Golden Axe (set 3, World, FD1094 317-0120)" , 0)
6623
 
GAME( 1989, goldnaxe2,  goldnaxe, system16b_8751, goldnaxe, goldnaxe_5704,      ROT0,   "Sega",           "Golden Axe (set 2, US, 8751 317-0112)", 0 )
6624
 
GAME( 1989, goldnaxe1,  goldnaxe, system16b_5248, goldnaxe, generic_5797,       ROT0,   "Sega",           "Golden Axe (set 1, World, FD1094 317-0110)", 0 )
6625
 
 
6626
 
GAME( 1987, hwchamp,    0,        system16b,      hwchamp,  hwchamp_5521,       ROT0,   "Sega",           "Heavyweight Champ", 0 )
6627
 
GAME( 1987, hwchampj,   hwchamp,  system16b,      hwchamp,  hwchamp_5521,       ROT0,   "Sega",           "Heavyweight Champ (Japan, FD1094 317-0046)", 0 )
6628
 
 
6629
 
GAME( 1989, mvp,        0,        system16b_5248, mvp,      generic_5797,       ROT0,   "Sega",           "MVP (set 2, US, FD1094 317-0143)", 0 )
6630
 
GAME( 1989, mvpj,       mvp,      system16b,      mvp,      generic_5704,       ROT0,   "Sega",           "MVP (set 1, Japan, FD1094 317-0142)", 0 )
6631
 
 
6632
 
GAME( 1988, passsht,    0,        system16b,      passsht,  generic_5358,       ROT270, "Sega",           "Passing Shot (World, 2 Players, FD1094 317-0080)", 0 )
6633
 
GAME( 1988, passshta,   passsht,  system16b,      passshtj, passshtj_5358,      ROT270, "Sega",           "Passing Shot (World, 4 Players, FD1094 317-0074)", 0 )
6634
 
GAME( 1988, passshtj,   passsht,  system16b,      passshtj, passshtj_5358,      ROT270, "Sega",           "Passing Shot (Japan, 4 Players, FD1094 317-0070)", 0 )
6635
 
 
6636
 
GAME( 1991, riotcity,   0,        system16b,      riotcity, generic_5704,       ROT0,   "Sega / Westone", "Riot City (Japan)", 0 )
6637
 
 
6638
 
GAME( 1990, ryukyu,     0,        system16b,      ryukyu,   generic_5704,       ROT0,   "Success / Sega", "RyuKyu (Japan, FD1094 317-5023)", 0 )
6639
 
 
6640
 
GAME( 1987, defense,    sdi,      system16b,      sdi,      defense_5358,       ROT0,   "Sega",           "Defense (System 16B, FD1089A 317-0028)", 0 )
6641
 
GAME( 1987, sdib,       sdi,      system16b,      sdi,      defense_5358,       ROT0,   "Sega",           "SDI - Strategic Defense Initiative (System 16B, FD1089A 317-0028)", 0 )
6642
 
GAME( 1987, sdibl,      sdi,      system16b,      sdi,      sdi_5358,           ROT0,   "bootleg",        "SDI - Strategic Defense Initiative (bootleg)", 0 )
6643
 
 
6644
 
GAME( 1987, shinobi5,   shinobi,  system16b,      shinobi,  generic_5521,       ROT0,   "Sega",           "Shinobi (set 5, System 16B, unprotected)", 0 )
6645
 
GAME( 1987, shinobi4,   shinobi,  system16b,      shinobi,  shinobi4_5521,      ROT0,   "Sega",           "Shinobi (set 4, System 16B, MC-8123B 317-0054)", 0 )
6646
 
GAME( 1987, shinobi3,   shinobi,  system16b,      shinobi,  shinobi3_5358,      ROT0,   "Sega",           "Shinobi (set 3, System 16B, MC-8123B 317-0054)", 0 )
6647
 
GAME( 1987, shinobi2,   shinobi,  system16b,      shinobi,  generic_5358,       ROT0,   "Sega",           "Shinobi (set 2, System 16B, FD1094 317-0049)", 0 )
6648
 
 
6649
 
GAME( 1987, sonicbom,   0,        system16b,      sonicbom, generic_5358,       ROT270, "Sega",           "Sonic Boom (FD1094 317-0053)", 0 )
6650
 
 
6651
 
GAME( 1988, sjryuko,    0,        timescan,       sjryuko,  sjryuko_5358,       ROT0,   "White Board",    "Sukeban Jansi Ryuko (set 2, System 16B, FD1089B 317-5021)", 0 )
6652
 
 
6653
 
GAME( 1987, suprleag,   0,        system16b,      exctleag, exctleag_5358,      ROT0,   "Sega",           "Super League (FD1094 317-0045)", 0 )
6654
 
 
6655
 
GAME( 1988, tetris2,    tetris,   system16b,      tetris,   generic_5704,       ROT0,   "Sega",           "Tetris (set 2, Japan, System 16B, FD1094 317-0092)", 0 )
6656
 
GAME( 1988, tetris1,    tetris,   system16b,      tetris,   generic_5358,       ROT0,   "Sega",           "Tetris (set 1, Japan, System 16B, FD1094 317-0091)", 0 )
6657
 
 
6658
 
GAME( 1987, timescan,   0,        timescan,       timescan, generic_5358,       ROT270, "Sega",           "Time Scanner (set 2, System 16B)", 0 )
6659
 
 
6660
 
GAME( 1994, toryumon,   0,        system16b_5248, toryumon, generic_5797,       ROT0,   "Sega",           "Toryumon", 0 )
6661
 
 
6662
 
GAME( 1989, tturf,      0,        system16b_8751, tturf,    tturf_5704,         ROT0,   "Sega / Sunsoft", "Tough Turf (set 2, Japan, 8751 317-0104)", GAME_NO_SOUND /* due to missing ROM only */)
6663
 
GAME( 1989, tturfu,     tturf,    system16b_8751, tturf,    generic_5358,       ROT0,   "Sega / Sunsoft", "Tough Turf (set 1, US, 8751 317-0099)", 0)
6664
 
 
6665
 
GAME( 1988, wb3,        0,        system16b_8751, wb3,      wb3_5704,           ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 5, World, System 16B, 8751 317-0098)", 0 )
6666
 
GAME( 1988, wb34,       wb3,      system16b,      wb3,      generic_5704,       ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 4, Japan, System 16B, FD1094 317-0087)", 0 )
6667
 
GAME( 1988, wb33,       wb3,      system16b,      wb3,      generic_5704,       ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 3, World, System 16B, FD1094 317-0089)", 0 )
6668
 
GAME( 1988, wb32,       wb3,      system16b,      wb3,      generic_5358,       ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 2, Japan, System 16B, FD1094 317-0085)", 0 )
6669
 
 
6670
 
GAME( 1989, wrestwar,   0,        system16b_8751, wrestwar, generic_5704,       ROT270, "Sega",           "Wrestle War (set 3, World, 8751 317-0103)", 0 )
6671
 
GAME( 1989, wrestwar2,  wrestwar, system16b,      wrestwar, generic_5704,       ROT270, "Sega",           "Wrestle War (set 2, World, FD1094 317-0102)", 0 )
6672
 
GAME( 1989, wrestwar1,  wrestwar, system16b,      wrestwar, generic_5704,       ROT270, "Sega",           "Wrestle War (set 1, Japan, FD1094 317-0090)", 0 )
 
6703
GAME( 1991, cotton,     0,        system16b,           cotton,   generic_5704,       ROT0,   "Sega / Success", "Cotton (set 3, World, FD1094 317-0181a)", 0 )
 
6704
GAME( 1991, cottonu,    cotton,   system16b,           cotton,   generic_5704,       ROT0,   "Sega / Success", "Cotton (set 2, US, FD1094 317-0180)", 0 )
 
6705
GAME( 1991, cottonj,    cotton,   system16b,           cotton,   generic_5704,       ROT0,   "Sega / Success", "Cotton (set 1, Japan, FD1094 317-0179a)", 0 )
 
6706
 
 
6707
GAME( 1988, ddux,       0,        system16b,           ddux,     generic_5521,       ROT0,   "Sega", "Dynamite Dux (set 2, FD1094 317-0096)", 0 )
 
6708
GAME( 1988, ddux1,      ddux,     system16b_8751,      ddux,     ddux_5704,          ROT0,   "Sega", "Dynamite Dux (set 1, 8751 317-0095)", 0 )
 
6709
 
 
6710
GAME( 1986, dunkshot,   0,        timescan,            dunkshot, dunkshot_5358,      ROT0,   "Sega", "Dunk Shot (FD1089A 317-0022)", 0 )
 
6711
 
 
6712
GAME( 1989, eswat,      0,        system16b_5248,      eswat,    generic_5797,       ROT0,   "Sega", "E-Swat - Cyber Police (set 3, World, FD1094 317-0130)", 0 )
 
6713
GAME( 1989, eswatu,     eswat,    system16b_5248,      eswat,    generic_5797,       ROT0,   "Sega", "E-Swat - Cyber Police (set 2, US, FD1094 317-0129)", 0 )
 
6714
GAME( 1989, eswatj,     eswat,    system16b_5248,      eswat,    generic_5797,       ROT0,   "Sega", "E-Swat - Cyber Police (set 1, Japan, FD1094 317-0128)", 0 )
 
6715
 
 
6716
GAME( 1988, exctleag,   0,        system16b,           exctleag, exctleag_5358,      ROT0,   "Sega", "Excite League (FD1094 317-0079)", 0 )
 
6717
 
 
6718
GAME( 1989, fpoint,     0,        system16b,           fpoint,   generic_5358,       ROT0,   "Sega", "Flash Point (set 2, Japan, FD1094 317-0127A)", 0 )
 
6719
GAME( 1989, fpoint1,    fpoint,   system16b,           fpoint,   generic_5704,       ROT0,   "Sega", "Flash Point (set 1, Japan, FD1094 317-0127A)", 0 )
 
6720
 
 
6721
GAME( 1989, goldnaxe,   0,        system16b_8751_5248, goldnaxe, goldnaxe_5797,      ROT0,   "Sega", "Golden Axe (set 6, US, 8751 317-123A)", 0 )
 
6722
GAME( 1989, goldnaxeu,  goldnaxe, system16b_5248,      goldnaxe, generic_5797,       ROT0,   "Sega", "Golden Axe (set 5, US, FD1094 317-0122)", 0 )
 
6723
GAME( 1989, goldnaxej,  goldnaxe, system16b,           goldnaxe, generic_5704,       ROT0,   "Sega", "Golden Axe (set 4, Japan, FD1094 317-0121)", 0 )
 
6724
GAME( 1989, goldnaxe3,  goldnaxe, system16b,           goldnaxe, generic_5704,       ROT0,   "Sega", "Golden Axe (set 3, World, FD1094 317-0120)", 0)
 
6725
GAME( 1989, goldnaxe2,  goldnaxe, system16b_8751,      goldnaxe, goldnaxe_5704,      ROT0,   "Sega", "Golden Axe (set 2, US, 8751 317-0112)", 0 )
 
6726
GAME( 1989, goldnaxe1,  goldnaxe, system16b_5248,      goldnaxe, generic_5797,       ROT0,   "Sega", "Golden Axe (set 1, World, FD1094 317-0110)", 0 )
 
6727
 
 
6728
GAME( 1987, hwchamp,    0,        system16b,           hwchamp,  hwchamp_5521,       ROT0,   "Sega", "Heavyweight Champ", 0 )
 
6729
GAME( 1987, hwchampj,   hwchamp,  system16b,           hwchamp,  hwchamp_5521,       ROT0,   "Sega", "Heavyweight Champ (Japan, FD1094 317-0046)", 0 )
 
6730
 
 
6731
GAME( 1989, mvp,        0,        system16b_5248,      mvp,      generic_5797,       ROT0,   "Sega", "MVP (set 2, US, FD1094 317-0143)", 0 )
 
6732
GAME( 1989, mvpj,       mvp,      system16b,           mvp,      generic_5704,       ROT0,   "Sega", "MVP (set 1, Japan, FD1094 317-0142)", 0 )
 
6733
 
 
6734
GAME( 1988, passsht,    0,        system16b,           passsht,  generic_5358,       ROT270, "Sega", "Passing Shot (World, 2 Players, FD1094 317-0080)", 0 )
 
6735
GAME( 1988, passshta,   passsht,  system16b,           passshtj, passshtj_5358,      ROT270, "Sega", "Passing Shot (World, 4 Players, FD1094 317-0074)", 0 )
 
6736
GAME( 1988, passshtj,   passsht,  system16b,           passshtj, passshtj_5358,      ROT270, "Sega", "Passing Shot (Japan, 4 Players, FD1094 317-0070)", 0 )
 
6737
 
 
6738
GAME( 1991, riotcity,   0,        system16b,           riotcity, generic_5704,       ROT0,   "Sega / Westone", "Riot City (Japan)", 0 )
 
6739
 
 
6740
GAME( 1990, ryukyu,     0,        system16b,           ryukyu,   generic_5704,       ROT0,   "Success / Sega", "RyuKyu (Japan, FD1094 317-5023)", 0 )
 
6741
 
 
6742
GAME( 1987, defense,    sdi,      system16b,           sdi,      defense_5358,       ROT0,   "Sega", "Defense (System 16B, FD1089A 317-0028)", 0 )
 
6743
GAME( 1987, sdib,       sdi,      system16b,           sdi,      defense_5358,       ROT0,   "Sega", "SDI - Strategic Defense Initiative (System 16B, FD1089A 317-0028)", 0 )
 
6744
GAME( 1987, sdibl,      sdi,      system16b,           sdi,      sdi_5358,           ROT0,   "bootleg", "SDI - Strategic Defense Initiative (bootleg)", 0 )
 
6745
 
 
6746
GAME( 1987, shinobi5,   shinobi,  system16b,           shinobi,  generic_5521,       ROT0,   "Sega", "Shinobi (set 5, System 16B, unprotected)", 0 )
 
6747
GAME( 1987, shinobi4,   shinobi,  system16b,           shinobi,  shinobi4_5521,      ROT0,   "Sega", "Shinobi (set 4, System 16B, MC-8123B 317-0054)", 0 )
 
6748
GAME( 1987, shinobi3,   shinobi,  system16b,           shinobi,  shinobi3_5358,      ROT0,   "Sega", "Shinobi (set 3, System 16B, MC-8123B 317-0054)", 0 )
 
6749
GAME( 1987, shinobi2,   shinobi,  system16b,           shinobi,  generic_5358,       ROT0,   "Sega", "Shinobi (set 2, System 16B, FD1094 317-0049)", 0 )
 
6750
 
 
6751
GAME( 1987, sonicbom,   0,        system16b,           sonicbom, generic_5358,       ROT270, "Sega", "Sonic Boom (FD1094 317-0053)", 0 )
 
6752
 
 
6753
GAME( 1988, sjryuko,    0,        timescan,            sjryuko,  sjryuko_5358,       ROT0,   "White Board", "Sukeban Jansi Ryuko (set 2, System 16B, FD1089B 317-5021)", 0 )
 
6754
 
 
6755
GAME( 1987, suprleag,   0,        system16b,           exctleag, exctleag_5358,      ROT0,   "Sega", "Super League (FD1094 317-0045)", 0 )
 
6756
 
 
6757
GAME( 1988, tetris2,    tetris,   system16b,           tetris,   generic_5704,       ROT0,   "Sega", "Tetris (set 2, Japan, System 16B, FD1094 317-0092)", 0 )
 
6758
GAME( 1988, tetris1,    tetris,   system16b,           tetris,   generic_5358,       ROT0,   "Sega", "Tetris (set 1, Japan, System 16B, FD1094 317-0091)", 0 )
 
6759
 
 
6760
GAME( 1987, timescan,   0,        timescan,            timescan, generic_5358,       ROT270, "Sega", "Time Scanner (set 2, System 16B)", 0 )
 
6761
 
 
6762
GAME( 1994, toryumon,   0,        system16b_5248,      toryumon, generic_5797,       ROT0,   "Sega", "Toryumon", 0 )
 
6763
 
 
6764
GAME( 1989, tturf,      0,        system16b_8751,      tturf,    tturf_5704,         ROT0,   "Sega / Sunsoft", "Tough Turf (set 2, Japan, 8751 317-0104)", GAME_NO_SOUND /* due to missing ROM only */)
 
6765
GAME( 1989, tturfu,     tturf,    system16b_8751,      tturf,    generic_5358,       ROT0,   "Sega / Sunsoft", "Tough Turf (set 1, US, 8751 317-0099)", 0)
 
6766
 
 
6767
GAME( 1988, wb3,        0,        system16b_8751,      wb3,      wb3_5704,           ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 5, World, System 16B, 8751 317-0098)", 0 )
 
6768
GAME( 1988, wb34,       wb3,      system16b,           wb3,      generic_5704,       ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 4, Japan, System 16B, FD1094 317-0087)", 0 )
 
6769
GAME( 1988, wb33,       wb3,      system16b,           wb3,      generic_5704,       ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 3, World, System 16B, FD1094 317-0089)", 0 )
 
6770
GAME( 1988, wb32,       wb3,      system16b,           wb3,      generic_5358,       ROT0,   "Sega / Westone", "Wonder Boy III - Monster Lair (set 2, Japan, System 16B, FD1094 317-0085)", 0 )
 
6771
 
 
6772
GAME( 1989, wrestwar,   0,        system16b_8751,      wrestwar, generic_5704,       ROT270, "Sega", "Wrestle War (set 3, World, 8751 317-0103)", 0 )
 
6773
GAME( 1989, wrestwar2,  wrestwar, system16b,           wrestwar, generic_5704,       ROT270, "Sega", "Wrestle War (set 2, World, FD1094 317-0102)", 0 )
 
6774
GAME( 1989, wrestwar1,  wrestwar, system16b,           wrestwar, generic_5704,       ROT270, "Sega", "Wrestle War (set 1, Japan, FD1094 317-0090)", 0 )
6673
6775
 
6674
6776
/* Custom Korean Board - these probably belong with the bootlegs... */
6675
 
GAME( 1990, atomicp,    0,        atomicp,        atomicp,  atomicp,            ROT0,   "Philko",         "Atomic Point (Korea)" , 0) // korean clone board..
6676
 
GAME( 1990, snapper,    0,        atomicp,        snapper,  snapper,            ROT0,   "Philko",         "Snapper (Korea)" , 0) // korean clone board..
 
6777
GAME( 1990, atomicp,    0,        atomicp,             atomicp,  atomicp,            ROT0,   "Philko", "Atomic Point (Korea)", 0) // korean clone board..
 
6778
GAME( 1990, snapper,    0,        atomicp,             snapper,  snapper,            ROT0,   "Philko", "Snapper (Korea)", 0) // korean clone board..
6677
6779
 
6678
6780
 
6679
6781
 
7022
7124
static INPUT_PORTS_START( isgsm )
7023
7125
        PORT_INCLUDE( system16b_generic )
7024
7126
 
7025
 
        PORT_MODIFY("DSW2")
7026
 
        PORT_DIPUNUSED_DIPLOC( 0x0001, 0x0001, "SW2:1" )
7027
 
        PORT_DIPUNUSED_DIPLOC( 0x0002, 0x0002, "SW2:2" )
7028
 
        PORT_DIPUNUSED_DIPLOC( 0x0004, 0x0004, "SW2:3" )
7029
 
        PORT_DIPUNUSED_DIPLOC( 0x0008, 0x0008, "SW2:4" )
7030
 
        PORT_DIPUNUSED_DIPLOC( 0x0010, 0x0010, "SW2:5" )
7031
 
        PORT_DIPUNUSED_DIPLOC( 0x0020, 0x0020, "SW2:6" )
7032
 
        PORT_DIPUNUSED_DIPLOC( 0x0040, 0x0040, "SW2:7" )
7033
 
        PORT_DIPUNUSED_DIPLOC( 0x0080, 0x0080, "SW2:8" )
 
7127
        //PORT_MODIFY("DSW2")
 
7128
        //"SW2:1" unused
 
7129
        //"SW2:2" unused
 
7130
        //"SW2:3" unused
 
7131
        //"SW2:4" unused
 
7132
        //"SW2:5" unused
 
7133
        //"SW2:6" unused
 
7134
        //"SW2:7" unused
 
7135
        //"SW2:8" unused
7034
7136
 
7035
7137
        PORT_MODIFY("UNUSED")
7036
7138
        PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
7037
7139
 
7038
7140
        PORT_MODIFY("DSW1")
7039
 
        PORT_DIPUNUSED_DIPLOC( 0x0001, 0x0001, "SW1:1" )
7040
 
        PORT_DIPUNUSED_DIPLOC( 0x0002, 0x0002, "SW1:2" )
7041
 
        PORT_DIPUNUSED_DIPLOC( 0x0004, 0x0004, "SW1:3" )
7042
 
        PORT_DIPUNUSED_DIPLOC( 0x0008, 0x0008, "SW1:4" )
7043
 
        PORT_DIPUNUSED_DIPLOC( 0x0010, 0x0010, "SW1:5" )
7044
 
        PORT_DIPUNUSED_DIPLOC( 0x0020, 0x0020, "SW1:6" )
7045
 
        PORT_DIPUNUSED_DIPLOC( 0x0040, 0x0040, "SW1:7" )
7046
 
        PORT_DIPUNUSED_DIPLOC( 0x0080, 0x0080, "SW1:8" )
 
7141
        PORT_DIPUNUSED_DIPLOC( 0x01, IP_ACTIVE_LOW, "SW1:1" )
 
7142
        PORT_DIPUNUSED_DIPLOC( 0x02, IP_ACTIVE_LOW, "SW1:2" )
 
7143
        PORT_DIPUNUSED_DIPLOC( 0x04, IP_ACTIVE_LOW, "SW1:3" )
 
7144
        PORT_DIPUNUSED_DIPLOC( 0x08, IP_ACTIVE_LOW, "SW1:4" )
 
7145
        PORT_DIPUNUSED_DIPLOC( 0x10, IP_ACTIVE_LOW, "SW1:5" )
 
7146
        PORT_DIPUNUSED_DIPLOC( 0x20, IP_ACTIVE_LOW, "SW1:6" )
 
7147
        PORT_DIPUNUSED_DIPLOC( 0x40, IP_ACTIVE_LOW, "SW1:7" )
 
7148
        PORT_DIPUNUSED_DIPLOC( 0x80, IP_ACTIVE_LOW, "SW1:8" )
7047
7149
 
7048
7150
        PORT_START("CARDDSW") // on the gamecard..
7049
7151
        PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
7051
7153
 
7052
7154
 
7053
7155
static INPUT_PORTS_START( shinfz )
7054
 
        PORT_INCLUDE( system16b_generic )
 
7156
        PORT_INCLUDE( isgsm )
7055
7157
 
7056
7158
        PORT_MODIFY("DSW2")
7057
7159
        PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) ) PORT_DIPLOCATION("SW2:1")
7058
7160
        PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
7059
7161
        PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
7060
 
        PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unused ) ) PORT_DIPLOCATION("SW2:2")
7061
 
        PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
7062
 
        PORT_DIPSETTING(    0x00, DEF_STR( On ) )
 
7162
        //"SW2:2" unused
7063
7163
        PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) ) PORT_DIPLOCATION("SW2:3,4")
7064
7164
        PORT_DIPSETTING(    0x08, "2" )
7065
7165
        PORT_DIPSETTING(    0x0c, "3" )
7076
7176
        PORT_DIPSETTING(    0x40, DEF_STR( Hard ) )
7077
7177
        PORT_DIPSETTING(    0x00, DEF_STR( Hardest ) )
7078
7178
 
7079
 
        PORT_MODIFY("UNUSED")
7080
 
        PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
7081
 
 
7082
 
        PORT_MODIFY("DSW1")
7083
 
        PORT_DIPUNUSED_DIPLOC( 0x0001, 0x0001, "SW1:1" )
7084
 
        PORT_DIPUNUSED_DIPLOC( 0x0002, 0x0002, "SW1:2" )
7085
 
        PORT_DIPUNUSED_DIPLOC( 0x0004, 0x0004, "SW1:3" )
7086
 
        PORT_DIPUNUSED_DIPLOC( 0x0008, 0x0008, "SW1:4" )
7087
 
        PORT_DIPUNUSED_DIPLOC( 0x0010, 0x0010, "SW1:5" )
7088
 
        PORT_DIPUNUSED_DIPLOC( 0x0020, 0x0020, "SW1:6" )
7089
 
        PORT_DIPUNUSED_DIPLOC( 0x0040, 0x0040, "SW1:7" )
7090
 
        PORT_DIPUNUSED_DIPLOC( 0x0080, 0x0080, "SW1:8" )
7091
 
 
7092
 
        PORT_START("CARDDSW") // on the gamecard..
 
7179
        //PORT_MODIFY("DSW1")
 
7180
        //"SW1:1" unused
 
7181
        //"SW1:2" unused
 
7182
        //"SW1:3" unused
 
7183
        //"SW1:4" unused
 
7184
        //"SW1:5" unused
 
7185
        //"SW1:6" unused
 
7186
        //"SW1:7" unused
 
7187
        //"SW1:8" unused
 
7188
 
 
7189
        PORT_MODIFY("CARDDSW") // on the gamecard..
7093
7190
        PORT_DIPNAME( 0x0003, 0x0000, "Game Type" )
7094
7191
        PORT_DIPSETTING(      0x0000, "Shinobi Ninja Game" )
7095
7192
        PORT_DIPSETTING(      0x0001, "FZ-2006 Game I" )
7099
7196
INPUT_PORTS_END
7100
7197
 
7101
7198
static INPUT_PORTS_START( tetrbx )
7102
 
        PORT_INCLUDE( system16b_generic )
7103
 
 
7104
 
        PORT_MODIFY("DSW2")
7105
 
        PORT_DIPUNUSED_DIPLOC( 0x0001, 0x0001, "SW2:1" )
7106
 
        PORT_DIPUNUSED_DIPLOC( 0x0002, 0x0002, "SW2:2" )
7107
 
        PORT_DIPUNUSED_DIPLOC( 0x0004, 0x0004, "SW2:3" )
7108
 
        PORT_DIPUNUSED_DIPLOC( 0x0008, 0x0008, "SW2:4" )
7109
 
        PORT_DIPUNUSED_DIPLOC( 0x0010, 0x0010, "SW2:5" )
7110
 
        PORT_DIPUNUSED_DIPLOC( 0x0020, 0x0020, "SW2:6" )
7111
 
        PORT_DIPUNUSED_DIPLOC( 0x0040, 0x0040, "SW2:7" )
7112
 
        PORT_DIPUNUSED_DIPLOC( 0x0080, 0x0080, "SW2:8" )
7113
 
 
7114
 
        PORT_MODIFY("UNUSED")
7115
 
        PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
7116
 
 
7117
 
        PORT_MODIFY("DSW1")
7118
 
        PORT_DIPUNUSED_DIPLOC( 0x0001, 0x0001, "SW1:1" )
7119
 
        PORT_DIPUNUSED_DIPLOC( 0x0002, 0x0002, "SW1:2" )
7120
 
        PORT_DIPUNUSED_DIPLOC( 0x0004, 0x0004, "SW1:3" )
7121
 
        PORT_DIPUNUSED_DIPLOC( 0x0008, 0x0008, "SW1:4" )
7122
 
        PORT_DIPUNUSED_DIPLOC( 0x0010, 0x0010, "SW1:5" )
7123
 
        PORT_DIPUNUSED_DIPLOC( 0x0020, 0x0020, "SW1:6" )
7124
 
        PORT_DIPUNUSED_DIPLOC( 0x0040, 0x0040, "SW1:7" )
7125
 
        PORT_DIPUNUSED_DIPLOC( 0x0080, 0x0080, "SW1:8" )
7126
 
 
7127
 
        PORT_START("CARDDSW") // on the gamecard..
 
7199
        PORT_INCLUDE( isgsm )
 
7200
 
 
7201
        //PORT_MODIFY("DSW2")
 
7202
        //"SW2:1" unused
 
7203
        //"SW2:2" unused
 
7204
        //"SW2:3" unused
 
7205
        //"SW2:4" unused
 
7206
        //"SW2:5" unused
 
7207
        //"SW2:6" unused
 
7208
        //"SW2:7" unused
 
7209
        //"SW2:8" unused
 
7210
 
 
7211
        //PORT_MODIFY("DSW1")
 
7212
        //"SW1:1" unused
 
7213
        //"SW1:2" unused
 
7214
        //"SW1:3" unused
 
7215
        //"SW1:4" unused
 
7216
        //"SW1:5" unused
 
7217
        //"SW1:6" unused
 
7218
        //"SW1:7" unused
 
7219
        //"SW1:8" unused
 
7220
 
 
7221
        PORT_MODIFY("CARDDSW") // on the gamecard..
7128
7222
        PORT_DIPNAME( 0x0003, 0x0000, "Game Type" )
7129
7223
        PORT_DIPSETTING(      0x0000, "Tetris" )
7130
7224
        PORT_DIPSETTING(      0x0001, "Tetris II (Blox)" )
7258
7352
 
7259
7353
 
7260
7354
 
7261
 
GAME( 2006, isgsm,  0,      isgsm, isgsm,  isgsm,         ROT0,  "ISG", "ISG Selection Master Type 2006 BIOS", GAME_IS_BIOS_ROOT )
 
7355
//             YEAR, NAME,   PARENT, MACHINE,INPUT,  INIT,   MONITOR, COMPANY,         FULLNAME, FLAGS
 
7356
GAME(          2006, isgsm,  0,      isgsm,  isgsm,  isgsm,  ROT0,   "bootleg (ISG)", "ISG Selection Master Type 2006 BIOS", GAME_IS_BIOS_ROOT )
7262
7357
 
7263
7358
/* 01 */ // ?? unknown
7264
 
/* 02 */ GAME( 2006, tetrbx, isgsm,  isgsm, tetrbx, tetrbx,        ROT0,  "ISG", "Tetris / Bloxeed (Korean System 16 bootleg) (ISG Selection Master Type 2006)", 0 )
7265
 
/* 03 */ GAME( 2006, shinfz, isgsm,  isgsm, shinfz, shinfz,        ROT0,  "ISG", "Shinobi / FZ-2006 (Korean System 16 bootleg) (ISG Selection Master Type 2006)", 0 )
7266
 
 
7267
 
 
 
7359
/* 02 */ GAME( 2006, tetrbx, isgsm,  isgsm,  tetrbx, tetrbx, ROT0,   "bootleg (ISG)", "Tetris / Bloxeed (Korean System 16 bootleg) (ISG Selection Master Type 2006)", 0 )
 
7360
/* 03 */ GAME( 2008, shinfz, isgsm,  isgsm,  shinfz, shinfz, ROT0,   "bootleg (ISG)", "Shinobi / FZ-2006 (Korean System 16 bootleg) (ISG Selection Master Type 2006)", 0 ) // claims it's released in 2006, but set includes the PS2/S16 remake of Fantasy Zone II which is clearly from 2008