QuarterArcade Coin-Op Tech Net

Quick Nav: # A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Coin-Op : Arcade : Phantom II : VM Driver Source

Source Listing


     1: /****************************************************************************/
     2: /*                                                                          */
     3: /*  8080bw.c                                                                */
     4: /*                                                                          */
     5: /*  Michael Strutts, Nicola Salmoria, Tormod Tjaberg, Mirko Buffoni         */
     6: /*  Lee Taylor, Valerio Verrando, Marco Cassili, Zsolt Vasvari and others   */
     7: /*                                                                          */
     8: /*                                                                          */
     9: /*  Notes:                                                                  */
    10: /*  -----                                                                   */
    11: /*                                                                          */
    12: /*  - "The Amazing Maze Game" on title screen, but manual, flyer,           */
    13: /*    cabinet side art all call it just "Amazing Maze"                      */
    14: /*                                                                          */
    15: /*  - Desert Gun is also known as Road Runner                               */
    16: /*                                                                          */
    17: /*  - Space Invaders Deluxe still says Space Invaders Part II,              */
    18: /*    because according to KLOV, Midway was only allowed to make minor      */
    19: /*    modifications of the Taito code.  Read all about it here:             */
    20: /*    http://www.klov.com/S/Space_Invaders_Deluxe.html                      */
    21: /*                                                                          */
    22: /*                                                                          */
    23: /*  To Do:                                                                  */
    24: /*  -----                                                                   */
    25: /*                                                                          */
    26: /*  - Space Invaders Deluxe: overlay                                        */
    27: /*                                                                          */
    28: /*  - Space Encounters: 'trench' circuit                                    */
    29: /*                                                                          */
    30: /*  - Phantom II: verify clouds                                             */
    31: /*                                                                          */
    32: /*  - Helifire: analog wave and star background                             */
    33: /*                                                                          */
    34: /*  - Sheriff: color PROM                                           		*/
    35: /*                                                                          */
    36: /*                                                                          */
    37: /*  Games confirmed not use an overlay (pure black and white):              */
    38: /*  ---------------------------------------------------------               */
    39: /*                                                                          */
    40: /*  - 4 Player Bowling                                                      */
    41: /*                                                                          */
    42: /****************************************************************************/
    43: /*                                                                          */
    44: /* Change Log                                                               */
    45: /*                                                                          */
    46: /* 26 May 2001 - Following were renamed                                     */
    47: /* galxwars -> galxwart - Galaxy Wars (c)1979 Taito, possible bootleg       */
    48: /* spaceatt -> spaceat2 - Space Attack Part II                              */
    49: /*                                                                          */
    50: /* 26 May 2001 - Following were added                                       */
    51: /* galxwars - Galaxy Wars (set 1) (c)1979 Universal                         */
    52: /* galxwar2 - Galaxy Wars (set 2) (c)1979 Universal                         */
    53: /* jspectr2 - Jatre Specter (set 2) (c)1979 Jatre                           */
    54: /* ozmawar2 - Ozma Wars (set 2) (c)1979 SNK, on Taito 3 Colour Invaders BD  */
    55: /* spaceatt - Space Attack (c)1978 Video Game GMBH                          */
    56: /* sstrangr - Space Stranger (c)1978 Yachiyo Electronics, Ltd.              */
    57: /*                                                                          */
    58: /* 26 May 2001 - galxwars input port changed slightly so the new sets work  */
    59: /*                                                                          */
    60: /* ------------------------------------------------------------------------ */
    61: /*                                                                          */
    62: /* 30 July 2001 - sstrngr2 Added (c)1979 Yachiyo, Colour version of Space   */
    63: /*                Stranger, board has Stranger 2 written on it              */
    64: /****************************************************************************/
    65: 
    66: #include "driver.h" 
    67: #include "8080bw.h" 
    68: #include "vidhrdw/generic.h" 
    69: #include "cpu/i8039/i8039.h" 
    70: 
    71: extern struct Samplesinterface circus_samples_interface;
    72: 
    73: 
    74: static PALETTE_INIT( 8080bw )
    75: {
    76: 	palette_set_color(0,0x00,0x00,0x00); /* black */
    77: 	palette_set_color(1,0xff,0xff,0xff); /* white */
    78: }
    79: 
    80: 
    81: static MEMORY_READ_START( c8080bw_readmem )
    82: 	{ 0x0000, 0x1fff, MRA_ROM },
    83: 	{ 0x2000, 0x3fff, MRA_RAM },
    84: 	{ 0x4000, 0x63ff, MRA_ROM },
    85: MEMORY_END
    86: 
    87: static MEMORY_WRITE_START( c8080bw_writemem )
    88: 	{ 0x0000, 0x1fff, MWA_ROM },
    89: 	{ 0x2000, 0x3fff, c8080bw_videoram_w, &videoram, &videoram_size },
    90: 	{ 0x4000, 0x63ff, MWA_ROM },
    91: MEMORY_END
    92: 
    93: static PORT_READ_START( c8080bw_readport )
    94: 	{ 0x00, 0x00, input_port_0_r },
    95: 	{ 0x01, 0x01, input_port_1_r },
    96: 	{ 0x02, 0x02, input_port_2_r },
    97: 	{ 0x03, 0x03, c8080bw_shift_data_r },
    98: PORT_END
    99: 
   100: static PORT_WRITE_START( writeport_0_3 )
   101: 	{ 0x00, 0x00, c8080bw_shift_amount_w },
   102: 	{ 0x03, 0x03, c8080bw_shift_data_w },
   103: PORT_END
   104: 
   105: static PORT_WRITE_START( writeport_1_2 )
   106: 	{ 0x01, 0x01, c8080bw_shift_amount_w },
   107: 	{ 0x02, 0x02, c8080bw_shift_data_w },
   108: PORT_END
   109: 
   110: static PORT_WRITE_START( writeport_2_3 )
   111: 	{ 0x02, 0x02, c8080bw_shift_amount_w },
   112: 	{ 0x03, 0x03, c8080bw_shift_data_w },
   113: PORT_END
   114: 
   115: static PORT_WRITE_START( writeport_2_4 )
   116: 	{ 0x02, 0x02, c8080bw_shift_amount_w },
   117: 	{ 0x04, 0x04, c8080bw_shift_data_w },
   118: PORT_END
   119: 
   120: static PORT_WRITE_START( writeport_4_3 )
   121: 	{ 0x03, 0x03, c8080bw_shift_data_w },
   122: 	{ 0x04, 0x04, c8080bw_shift_amount_w },
   123: PORT_END
   124: 
   125: static MACHINE_DRIVER_START( 8080bw )
   126: 
   127: 	/* basic machine hardware */
   128: 	MDRV_CPU_ADD_TAG("main",8080,2000000)        /* 2 MHz? */
   129: 	MDRV_CPU_MEMORY(c8080bw_readmem,c8080bw_writemem)
   130: 	MDRV_CPU_PORTS(c8080bw_readport,writeport_2_4)
   131: 	MDRV_CPU_VBLANK_INT(c8080bw_interrupt,2)    /* two interrupts per frame */
   132: 	MDRV_FRAMES_PER_SECOND(60)
   133: 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
   134: 
   135: 	/* video hardware */
   136: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
   137: 	MDRV_SCREEN_SIZE(32*8, 32*8)
   138: 	MDRV_VISIBLE_AREA(0*8, 32*8-1, 4*8, 32*8-1)
   139: 	MDRV_PALETTE_LENGTH(2)
   140: 	MDRV_PALETTE_INIT(8080bw)
   141: 	MDRV_VIDEO_START(generic_bitmapped)
   142: 	MDRV_VIDEO_UPDATE(8080bw)
   143: 
   144: 	/* sound hardware */
   145: MACHINE_DRIVER_END
   146: 
   147: 
   148: /*******************************************************/
   149: /*                                                     */
   150: /* Midway "Space Invaders"                             */
   151: /*                                                     */
   152: /*******************************************************/
   153: 
   154: INPUT_PORTS_START( invaders )
   155: 	PORT_START      /* IN0 */
   156: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   157: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   158: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   159: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   160: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   161: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   162: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   163: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   164: 
   165: 	PORT_START      /* IN1 */
   166: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   167: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   168: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   169: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   170: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   171: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   172: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   173: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )	/* must be ACTIVE_HIGH Super Invaders */
   174: 
   175: 	PORT_START      /* DSW0 */
   176: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
   177: 	PORT_DIPSETTING(    0x00, "3" )
   178: 	PORT_DIPSETTING(    0x01, "4" )
   179: 	PORT_DIPSETTING(    0x02, "5" )
   180: 	PORT_DIPSETTING(    0x03, "6" )
   181: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT )
   182: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Bonus_Life ) )
   183: 	PORT_DIPSETTING(    0x08, "1000" )
   184: 	PORT_DIPSETTING(    0x00, "1500" )
   185: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   186: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
   187: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   188: 	PORT_DIPNAME( 0x80, 0x00, "Coin Info" )
   189: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   190: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   191: 
   192: 	PORT_START		/* Dummy port for cocktail mode */
   193: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
   194: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   195: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
   196: INPUT_PORTS_END
   197: 
   198: static MACHINE_DRIVER_START( invaders )
   199: 
   200: 	/* basic machine hardware */
   201: 	MDRV_IMPORT_FROM(8080bw)
   202: 	MDRV_CPU_MODIFY("main")
   203: 	MDRV_MACHINE_INIT(invaders)
   204: 
   205: 	/* video hardware */
   206: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 32*8-1)
   207: 
   208: 	/* sound hardware */
   209: 	MDRV_SOUND_ADD(SAMPLES, invaders_samples_interface)
   210: 	MDRV_SOUND_ADD(SN76477, invaders_sn76477_interface)
   211: MACHINE_DRIVER_END
   212: 
   213: 
   214: /*******************************************************/
   215: /*                                                     */
   216: /* Space Invaders TV Version (Taito)                   */
   217: /*                                                     */
   218: /*LT 24-12-1998                                        */
   219: /*******************************************************/
   220: 
   221: /* same as Invaders with a test mode switch */
   222: 
   223: INPUT_PORTS_START( sitv )
   224: 	PORT_START		/* TEST MODE */
   225: 	PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
   226: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   227: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   228: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   229: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   230: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   231: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   232: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   233: 
   234: 	PORT_START      /* IN1 */
   235: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   236: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   237: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   238: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   239: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   240: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   241: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   242: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )
   243: 
   244: 	PORT_START      /* DSW0 */
   245: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
   246: 	PORT_DIPSETTING(    0x00, "3" )
   247: 	PORT_DIPSETTING(    0x01, "4" )
   248: 	PORT_DIPSETTING(    0x02, "5" )
   249: 	PORT_DIPSETTING(    0x03, "6" )
   250: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT )
   251: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Bonus_Life ) )
   252: 	PORT_DIPSETTING(    0x08, "1000" )
   253: 	PORT_DIPSETTING(    0x00, "1500" )
   254: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   255: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
   256: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   257: 	PORT_DIPNAME( 0x80, 0x00, "Coin Info" )
   258: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   259: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   260: 
   261: 	PORT_START		/* Dummy port for cocktail mode */
   262: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
   263: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   264: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
   265: INPUT_PORTS_END
   266: 
   267: 
   268: /*******************************************************/
   269: /*                                                     */
   270: /* Midway "Space Invaders Part II"                     */
   271: /*                                                     */
   272: /*******************************************************/
   273: 
   274: INPUT_PORTS_START( invadpt2 )
   275: 	PORT_START      /* IN0 */
   276: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   277: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   278: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   279: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   280: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   281: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   282: 	PORT_BIT( 0x40, IP_ACTIVE_LOW,  IPT_UNKNOWN )	/* otherwise high score entry ends right away */
   283: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   284: 
   285: 	PORT_START		/* IN1 */
   286: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   287: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   288: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   289: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   290: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   291: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   292: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   293: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )
   294: 
   295: 	PORT_START      /* DSW0 */
   296: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Lives ) )
   297: 	PORT_DIPSETTING(    0x00, "3" )
   298: 	PORT_DIPSETTING(    0x01, "4" )
   299: 	PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
   300: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
   301: 	PORT_DIPSETTING(    0x02, DEF_STR( On ) )
   302: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT )
   303: 	PORT_DIPNAME( 0x08, 0x00, "High Score Preset Mode" )
   304: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
   305: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
   306: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   307: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
   308: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   309: 	PORT_DIPNAME( 0x80, 0x00, "Coin Info" )
   310: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   311: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   312: 
   313: 	PORT_START		/* Dummy port for cocktail mode */
   314: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
   315: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   316: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
   317: INPUT_PORTS_END
   318: 
   319: 
   320: /* same as regular invaders, but with a color board added */
   321: 
   322: static MACHINE_DRIVER_START( invadpt2 )
   323: 
   324: 	/* basic machine hardware */
   325: 	MDRV_IMPORT_FROM(invaders)
   326: 
   327: 	/* video hardware */
   328: 	MDRV_PALETTE_LENGTH(8)
   329: 	MDRV_PALETTE_INIT(invadpt2)
   330: MACHINE_DRIVER_END
   331: 
   332: 
   333: /*******************************************************/
   334: /*                                                     */
   335: /* ?????? "Super Earth Invasion"                       */
   336: /*                                                     */
   337: /*******************************************************/
   338: 
   339: INPUT_PORTS_START( earthinv )
   340: 	PORT_START      /* IN0 */
   341: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   342: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   343: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   344: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   345: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   346: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   347: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   348: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   349: 
   350: 	PORT_START      /* IN1 */
   351: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   352: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   353: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   354: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   355: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   356: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   357: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   358: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )
   359: 
   360: 	PORT_START      /* DSW0 */
   361: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )
   362: 	PORT_DIPSETTING(    0x00, "2" )
   363: 	PORT_DIPSETTING(    0x01, "3" )
   364: 	PORT_DIPNAME( 0x02, 0x02, "Pence Coinage" )
   365: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   366: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   367: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_COIN2 ) /* Pence Coin */
   368: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) /* Not bonus */
   369: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
   370: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
   371: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   372: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
   373: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   374: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Coinage ) )
   375: 	PORT_DIPSETTING(    0x00, "2C/1C 50p/3C (+ Bonus Life)" )
   376: 	PORT_DIPSETTING(    0x80, "1C/1C 50p/5C" )
   377: 
   378: 	PORT_START		/* Dummy port for cocktail mode */
   379: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
   380: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   381: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
   382: INPUT_PORTS_END
   383: 
   384: 
   385: /*******************************************************/
   386: /*                                                     */
   387: /* ?????? "Space Attack II"                            */
   388: /*                                                     */
   389: /*******************************************************/
   390: 
   391: INPUT_PORTS_START( spaceatt )
   392: 	PORT_START      /* IN0 */
   393: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   394: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   395: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   396: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   397: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   398: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   399: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   400: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   401: 
   402: 	PORT_START      /* IN1 */
   403: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
   404: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   405: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   406: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   407: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   408: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   409: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   410: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   411: 
   412: 	PORT_START      /* DSW0 */
   413: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
   414: 	PORT_DIPSETTING(    0x00, "3" )
   415: 	PORT_DIPSETTING(    0x01, "4" )
   416: 	PORT_DIPSETTING(    0x02, "5" )
   417: 	PORT_DIPSETTING(    0x03, "6" )
   418: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT )
   419: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Bonus_Life ) )
   420: 	PORT_DIPSETTING(    0x08, "1000" )
   421: 	PORT_DIPSETTING(    0x00, "1500" )
   422: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
   423: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   424: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   425: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
   426: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   427: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   428: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
   429: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   430: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   431: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Coinage ) )
   432: 	PORT_DIPSETTING(    0x80, DEF_STR( 2C_1C ) )
   433: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
   434: 
   435: 	PORT_START		/* Dummy port for cocktail mode (not used) */
   436: 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   437: INPUT_PORTS_END
   438: 
   439: 
   440: /*******************************************************/
   441: /*                                                     */
   442: /* Zenitone Microsec "Invaders Revenge"                */
   443: /*                                                     */
   444: /*******************************************************/
   445: 
   446: INPUT_PORTS_START( invrvnge )
   447: 	PORT_START      /* IN0 */
   448: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   449: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   450: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   451: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   452: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   453: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   454: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   455: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   456: 
   457: 	PORT_START      /* IN1 */
   458: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   459: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   460: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   461: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   462: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   463: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   464: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   465: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )
   466: 
   467: 	PORT_START      /* DSW0 */
   468: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
   469: 	PORT_DIPSETTING(    0x00, "3" )
   470: 	PORT_DIPSETTING(    0x01, "4" )
   471: 	PORT_DIPSETTING(    0x02, "5" )
   472: 	PORT_DIPSETTING(    0x03, "6" )
   473: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT )
   474: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
   475: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   476: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   477: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   478: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
   479: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   480: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Coinage ) )
   481: 	PORT_DIPSETTING(    0x80, DEF_STR( 2C_1C ) )
   482: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
   483: 
   484: 	PORT_START		/* Dummy port for cocktail mode */
   485: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
   486: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   487: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
   488: INPUT_PORTS_END
   489: 
   490: 
   491: static MACHINE_DRIVER_START( invrvnge )
   492: 
   493: 	/* basic machine hardware */
   494: 	MDRV_IMPORT_FROM(8080bw)
   495: 	MDRV_CPU_MODIFY("main")
   496: 
   497: 	/* video hardware */
   498: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 32*8-1)
   499: MACHINE_DRIVER_END
   500: 
   501: 
   502: /*******************************************************/
   503: /*                                                     */
   504: /* Midway "Space Invaders II Cocktail"                 */
   505: /*                                                     */
   506: /*******************************************************/
   507: 
   508: INPUT_PORTS_START( invad2ct )
   509: 	PORT_START
   510: 	PORT_SERVICE(0x01, IP_ACTIVE_LOW) 			  /* dip 8 */
   511: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* tied to pull-down */
   512: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* tied to pull-up */
   513: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* tied to pull-down */
   514: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* tied to pull-up */
   515: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* tied to pull-up */
   516:     PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* labelled reset but tied to pull-up */
   517: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* tied to pull-up */
   518: 
   519: 	PORT_START
   520: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   521: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   522: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   523: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* tied to pull-down */
   524: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   525: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT  | IPF_2WAY )
   526: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_2WAY )
   527: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )  /* tied to pull-up */
   528: 
   529: 	PORT_START
   530: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) ) /* dips 4 & 3 */
   531: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
   532: 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_2C ) )
   533: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
   534: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
   535: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )   /* tied to pull-up */
   536: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) ) /* dip 2 */
   537: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   538: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   539: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_COCKTAIL )
   540: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_COCKTAIL )
   541: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_COCKTAIL )
   542: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Bonus_Life ) ) /* dip 1 */
   543: 	PORT_DIPSETTING(    0x80, "1500" )
   544: 	PORT_DIPSETTING(    0x00, "2000" )
   545: 
   546: 	PORT_START		/* Dummy port for cocktail mode (not used) */
   547: 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   548: INPUT_PORTS_END
   549: 
   550: static MACHINE_DRIVER_START( invad2ct )
   551: 
   552: 	/* basic machine hardware */
   553: 	MDRV_IMPORT_FROM(8080bw)
   554: 	MDRV_CPU_MODIFY("main")
   555: 	MDRV_MACHINE_INIT(invad2ct)
   556: 
   557: 	/* sound hardware */
   558: 	MDRV_SOUND_ADD(SAMPLES, invad2ct_samples_interface)
   559: 	MDRV_SOUND_ADD(SN76477, invad2ct_sn76477_interface)
   560: MACHINE_DRIVER_END
   561: 
   562: 
   563: /*******************************************************/
   564: /*                                                     */
   565: /* Yachiro "Space Strangers"                           */
   566: /*                                                     */
   567: /*******************************************************/
   568: 
   569: static PORT_READ_START( sstrangr_readport )
   570: 	{ 0x41, 0x41, input_port_2_r },
   571: 	{ 0x42, 0x42, input_port_1_r },
   572: 	{ 0x44, 0x44, input_port_4_r },
   573: PORT_END
   574: 
   575: static PORT_WRITE_START( sstrangr_writeport )
   576: 	/* no shifter circuit */
   577: PORT_END
   578: 
   579: INPUT_PORTS_START( sstrangr )
   580: 	PORT_START      /* IN0 */
   581: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   582: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   583: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   584: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   585: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   586: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   587: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   588: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   589: 
   590: 	PORT_START      /* IN1 */
   591: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   592: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   593: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   594: 	PORT_SERVICE( 0x08, IP_ACTIVE_HIGH )
   595: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   596: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   597: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   598: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   599: 
   600: 	PORT_START      /* DSW0 */
   601: 	PORT_DIPNAME( 0x03, 0x01, "Extra Play" )
   602: 	PORT_DIPSETTING(    0x00, "Never" )
   603: 	PORT_DIPSETTING(    0x01, "3000" )
   604: 	PORT_DIPSETTING(    0x02, "4000" )
   605: 	PORT_DIPSETTING(    0x03, "5000" )
   606: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Lives ) )
   607: 	PORT_DIPSETTING(    0x00, "3" )
   608: 	PORT_DIPSETTING(    0x04, "4" )
   609: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )
   610: 	PORT_DIPSETTING(    0x08, "1000" )
   611: 	PORT_DIPSETTING(    0x00, "2000" )
   612: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* Must be ACTIVE_LOW for game to boot */
   613: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   614: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
   615: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   616: 
   617: 	PORT_START		/* Dummy port for cocktail mode */
   618: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
   619: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   620: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
   621: 
   622: 	PORT_START      /* External switches */
   623: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_VBLANK )
   624: 	PORT_DIPNAME( 0x02, 0x00, "Player's Bullet Speed" )
   625: 	PORT_DIPSETTING(    0x00, "Slow" )
   626: 	PORT_BITX(0,  0x02, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Fast", IP_KEY_NONE, IP_JOY_NONE )
   627: INPUT_PORTS_END
   628: 
   629: static MACHINE_DRIVER_START( sstrangr )
   630: 
   631: 	/* basic machine hardware */
   632: 	MDRV_IMPORT_FROM(8080bw)
   633: 	MDRV_CPU_MODIFY("main")
   634: 	MDRV_CPU_PORTS(sstrangr_readport,sstrangr_writeport)
   635: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,2)
   636: 	MDRV_MACHINE_INIT(sstrangr)
   637: 
   638: 	/* video hardware */
   639: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 32*8-1)
   640: 
   641: 	/* sound hardware */
   642: 	MDRV_SOUND_ADD(SAMPLES, invaders_samples_interface)
   643: 	MDRV_SOUND_ADD(SN76477, invaders_sn76477_interface)
   644: MACHINE_DRIVER_END
   645: 
   646: 
   647: /*******************************************************/
   648: /*                                                     */
   649: /* Yachiro "Space Strangers 2"                         */
   650: /*                                                     */
   651: /*******************************************************/
   652: 
   653: INPUT_PORTS_START( sstrngr2 )
   654: 	PORT_START      /* IN0 */
   655: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   656: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   657: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   658: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   659: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   660: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   661: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   662: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   663: 
   664: 	PORT_START      /* IN1 */
   665: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   666: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   667: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   668: 	PORT_SERVICE( 0x08, IP_ACTIVE_HIGH )
   669: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   670: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   671: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   672: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   673: 
   674: 	PORT_START      /* DSW0 */
   675: 	PORT_DIPNAME( 0x03, 0x01, "Extra Play" )
   676: 	PORT_DIPSETTING(    0x00, "Never" )
   677: 	PORT_DIPSETTING(    0x01, "3000" )
   678: 	PORT_DIPSETTING(    0x02, "4000" )
   679: 	PORT_DIPSETTING(    0x03, "5000" )
   680: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Lives ) )
   681: 	PORT_DIPSETTING(    0x00, "3" )
   682: 	PORT_DIPSETTING(    0x04, "4" )
   683: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Bonus_Life ) )
   684: 	PORT_DIPSETTING(    0x08, "1000" )
   685: 	PORT_DIPSETTING(    0x00, "2000" )
   686: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR(Coinage) )
   687: 	PORT_DIPSETTING(    0x10, DEF_STR( 1C_1C ) )
   688: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
   689: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   690: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
   691: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   692: 
   693: 	PORT_START		/* Dummy port for cocktail mode */
   694: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
   695: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   696: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
   697: 
   698: 	PORT_START      /* External switches */
   699: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_VBLANK )
   700: 	PORT_DIPNAME( 0x02, 0x00, "Player's Bullet Speed" )
   701: 	PORT_DIPSETTING(    0x00, "Slow" )
   702: 	PORT_BITX(0,  0x02, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Fast", IP_KEY_NONE, IP_JOY_NONE )
   703: INPUT_PORTS_END
   704: 
   705: static MACHINE_DRIVER_START( sstrngr2 )
   706: 
   707: 	/* basic machine hardware */
   708: 	MDRV_IMPORT_FROM(8080bw)
   709: 	MDRV_CPU_MODIFY("main")
   710: 	MDRV_CPU_PORTS(sstrangr_readport,sstrangr_writeport)
   711: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,2)
   712: 	MDRV_MACHINE_INIT(sstrangr)
   713: 
   714: 	/* video hardware */
   715: 	MDRV_PALETTE_LENGTH(8)
   716: 	MDRV_PALETTE_INIT(invadpt2)
   717: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 32*8-1)
   718: 
   719: 	/* sound hardware */
   720: 	MDRV_SOUND_ADD(SAMPLES, invaders_samples_interface)
   721: 	MDRV_SOUND_ADD(SN76477, invaders_sn76477_interface)
   722: MACHINE_DRIVER_END
   723: 
   724: 
   725: /*******************************************************/
   726: /*                                                     */
   727: /* Taito "Space Laser"                                 */
   728: /*                                                     */
   729: /*******************************************************/
   730: 
   731: INPUT_PORTS_START( spclaser )
   732: 	PORT_START      /* IN0 */
   733: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   734: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   735: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   736: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   737: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   738: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   739: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   740: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   741: 
   742: 	PORT_START      /* IN1 */
   743: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
   744: 	/*PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )*/ /*This is not 2 Player*/
   745: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   746: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   747: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   748: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   749: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   750: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   751: 
   752: 	PORT_START      /* DSW0 */
   753: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
   754: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
   755: 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
   756: 	PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
   757: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
   758: 	PORT_DIPSETTING(    0x02, DEF_STR( On ) )
   759: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
   760: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
   761: 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
   762: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
   763: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
   764: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
   765: 	/*PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   766: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
   767: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   768:     PORT_DIPNAME( 0x80, 0x00, DEF_STR(Coinage) )
   769:     PORT_DIPSETTING(    0x00, "1 Coin/1 or 2 Players" )
   770:     PORT_DIPSETTING(    0x80, "1 Coin/1 Player  2 Coins/2 Players" )   Irrelevant, causes bugs*/
   771: 
   772: 	PORT_START		/* Dummy port for cocktail mode (not used) */
   773: 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   774: INPUT_PORTS_END
   775: 
   776: 
   777: /*******************************************************/
   778: /*                                                     */
   779: /* Space War Part 3                                    */
   780: /*                                                     */
   781: /* Added 21/11/1999 By LT                              */
   782: /* Thanks to Peter Fyfe for machine info               */
   783: /*                                                     */
   784: /*******************************************************/
   785: 
   786: INPUT_PORTS_START( spacewr3 )
   787: 	PORT_START      /* IN0 */
   788: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   789: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   790: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   791: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   792: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   793: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   794: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   795: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   796: 
   797: 	PORT_START      /* IN1 */
   798: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   799: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   800: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   801: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   802: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   803: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   804: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   805: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )
   806: 
   807: 	PORT_START      /* DSW0 */
   808: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Lives ) )
   809: 	PORT_DIPSETTING(    0x00, "3" )
   810: 	PORT_DIPSETTING(    0x01, "4" )
   811: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   812: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
   813: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   814: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   815: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Bonus_Life ) )
   816: 	PORT_DIPSETTING(    0x08, "1000" )
   817: 	PORT_DIPSETTING(    0x00, "1500" )
   818: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   819: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
   820: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   821: 	PORT_DIPNAME( 0x80, 0x00, "Coin Info" )
   822: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   823: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   824: 
   825: 	PORT_START		/* Dummy port for cocktail mode */
   826: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
   827: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   828: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
   829: INPUT_PORTS_END
   830: 
   831: 
   832: /*******************************************************/
   833: /*                                                     */
   834: /* Taito "Galaxy Wars"                                 */
   835: /*                                                     */
   836: /*******************************************************/
   837: 
   838: INPUT_PORTS_START( galxwars )
   839: 	PORT_START      /* IN0 */
   840: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   841: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   842: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   843: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   844: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   845: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   846: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* must be IP_ACTIVE_LOW for Universal Sets */
   847: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   848: 
   849: 	PORT_START      /* IN1 */
   850: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   851: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   852: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   853: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   854: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   855: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   856: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   857: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )
   858: 
   859: 	PORT_START      /* DSW0 */
   860: 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )
   861: 	PORT_DIPSETTING(    0x00, "2" )
   862: 	PORT_DIPSETTING(    0x01, "3" )
   863: 	PORT_DIPSETTING(    0x02, "4" )
   864: 	PORT_DIPSETTING(    0x03, "5" )
   865: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
   866: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   867: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   868: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Bonus_Life ) )
   869: 	PORT_DIPSETTING(    0x00, "3000" )
   870: 	PORT_DIPSETTING(    0x08, "5000" )
   871: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   872: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY| IPF_PLAYER2 )
   873: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY| IPF_PLAYER2 )
   874: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Coinage ) )
   875: 	PORT_DIPSETTING(    0x80, DEF_STR( 2C_1C ) )
   876: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
   877: 
   878: 	PORT_START		/* Dummy port for cocktail mode */
   879: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
   880: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   881: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
   882: INPUT_PORTS_END
   883: 
   884: 
   885: /*******************************************************/
   886: /*                                                     */
   887: /* Taito "Lunar Rescue"                                */
   888: /*                                                     */
   889: /*******************************************************/
   890: 
   891: INPUT_PORTS_START( lrescue )
   892: 	PORT_START      /* IN0 */
   893: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   894: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   895: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   896: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   897: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   898: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   899: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   900: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   901: 
   902: 	PORT_START      /* IN1 */
   903: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   904: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   905: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   906: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   907: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   908: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   909: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   910: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )
   911: 
   912: 	PORT_START      /* DSW0 */
   913: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
   914: 	PORT_DIPSETTING(    0x00, "3" )
   915: 	PORT_DIPSETTING(    0x01, "4" )
   916: 	PORT_DIPSETTING(    0x02, "5" )
   917: 	PORT_DIPSETTING(    0x03, "6" )
   918: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT )
   919: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
   920: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   921: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   922: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   923: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
   924: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   925: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
   926: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   927: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   928: 
   929: 	PORT_START		/* Dummy port for cocktail mode */
   930: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
   931: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   932: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
   933: INPUT_PORTS_END
   934: 
   935: 
   936: /*******************************************************/
   937: /*                                                     */
   938: /* Universal "Cosmic Monsters"                         */
   939: /*                                                     */
   940: /*******************************************************/
   941: 
   942: INPUT_PORTS_START( cosmicmo )
   943: 	PORT_START      /* IN0 */
   944: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   945: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   946: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   947: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   948: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   949: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   950: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   951: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   952: 
   953: 	PORT_START      /* IN1 */
   954: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
   955: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
   956: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
   957: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
   958: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
   959: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
   960: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   961: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )
   962: 
   963: 	PORT_START      /* DSW0 */
   964: 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Lives ) )
   965: 	PORT_DIPSETTING(    0x00, "2" )
   966: 	PORT_DIPSETTING(    0x01, "3" )
   967: 	PORT_DIPSETTING(    0x02, "4" )
   968: 	PORT_DIPSETTING(    0x03, "5" )
   969: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
   970: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   971: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   972: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
   973: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   974: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   975: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
   976: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
   977: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   978: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Coinage ) )
   979: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
   980: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
   981: 
   982: 	PORT_START		/* Dummy port for cocktail mode */
   983: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
   984: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   985: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
   986: INPUT_PORTS_END
   987: 
   988: 
   989: 
   990: /*******************************************************/
   991: /*                                                     */
   992: /* Nichibutsu "Rolling Crash"                          */
   993: /*                                                     */
   994: /*******************************************************/
   995: 
   996: static MEMORY_READ_START( rollingc_readmem )
   997: 	{ 0x0000, 0x1fff, MRA_ROM },
   998: 	{ 0x2000, 0x3fff, MRA_RAM },
   999: //  { 0x2000, 0x2002, MRA_RAM },
  1000: //  { 0x2003, 0x2003, hack },
  1001: 	{ 0x4000, 0x5fff, MRA_ROM },
  1002: 	{ 0xa000, 0xbfff, schaser_colorram_r },
  1003: 	{ 0xe400, 0xffff, MRA_RAM },
  1004: MEMORY_END
  1005: 
  1006: static MEMORY_WRITE_START( rollingc_writemem )
  1007: 	{ 0x0000, 0x1fff, MWA_ROM },
  1008: 	{ 0x2000, 0x3fff, c8080bw_videoram_w, &videoram, &videoram_size },
  1009: 	{ 0x4000, 0x5fff, MWA_ROM },
  1010: 	{ 0xa000, 0xbfff, schaser_colorram_w, &colorram },
  1011: 	{ 0xe400, 0xffff, MWA_RAM },
  1012: MEMORY_END
  1013: 
  1014: INPUT_PORTS_START( rollingc )
  1015: 	PORT_START      /* IN0 */
  1016: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1017: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) /* Game Select */
  1018: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) /* Game Select */
  1019: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1020: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1021: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1022: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1023: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1024: 
  1025: 	PORT_START      /* IN1 */
  1026: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
  1027: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  1028: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  1029: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1030: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  1031: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
  1032: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
  1033: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1034: 
  1035: 	PORT_START      /* DSW0 */
  1036: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  1037: 	PORT_DIPSETTING(    0x00, "3" )
  1038: 	PORT_DIPSETTING(    0x01, "4" )
  1039: 	PORT_DIPSETTING(    0x02, "5" )
  1040: 	PORT_DIPSETTING(    0x03, "6" )
  1041: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT )
  1042: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
  1043: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  1044: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1045: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  1046: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
  1047: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
  1048: 	PORT_DIPNAME( 0x80, 0x00, "Coin Info" )
  1049: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  1050: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1051: 
  1052: 	PORT_START		/* Dummy port for cocktail mode */
  1053: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
  1054: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  1055: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
  1056: INPUT_PORTS_END
  1057: 
  1058: static MACHINE_DRIVER_START( rollingc )
  1059: 
  1060: 	/* basic machine hardware */
  1061: 	MDRV_IMPORT_FROM(8080bw)
  1062: 	MDRV_CPU_MODIFY("main")
  1063: 	MDRV_CPU_MEMORY(rollingc_readmem,rollingc_writemem)
  1064: 
  1065: 	/* video hardware */
  1066: 	MDRV_PALETTE_LENGTH(8)
  1067: 	MDRV_PALETTE_INIT(invadpt2)
  1068: 
  1069: 	/* sound hardware */
  1070: MACHINE_DRIVER_END
  1071: 
  1072: 
  1073: 
  1074: /*********************************************************/
  1075: /*                                                       */
  1076: /* Nintendo "Sheriff"                                    */
  1077: /*                                                       */
  1078: /* The only difference between Sheriff and Bandido,      */
  1079: /* beside the copyright notice is the adjustable coinage */
  1080: /* in Bandido.											 */
  1081: /*                                                       */
  1082: /*********************************************************/
  1083: 
  1084: static MEMORY_READ_START( sheriff_readmem )
  1085: 	{ 0x0000, 0x27ff, MRA_ROM },
  1086: 	{ 0x4000, 0x7fff, MRA_RAM },
  1087: MEMORY_END
  1088: 
  1089: static MEMORY_WRITE_START( sheriff_writemem )
  1090: 	{ 0x0000, 0x27ff, MWA_ROM },
  1091: 	{ 0x4000, 0x5fff, c8080bw_videoram_w, &videoram, &videoram_size },
  1092: 	{ 0x6000, 0x7fff, MWA_RAM },
  1093: MEMORY_END
  1094: 
  1095: static PORT_READ_START( sheriff_readport )
  1096: 	{ 0x00, 0x00, input_port_0_r },
  1097: 	{ 0x01, 0x01, input_port_1_r },
  1098: 	{ 0x02, 0x02, input_port_2_r },
  1099: 	{ 0x03, 0x03, c8080bw_shift_data_r },
  1100: 	{ 0x04, 0x04, input_port_3_r },
  1101: PORT_END
  1102: 
  1103: static MEMORY_READ_START( sheriff_sound_readmem )
  1104: 	{ 0x0000, 0x03ff, MRA_ROM },
  1105: MEMORY_END
  1106: static MEMORY_WRITE_START( sheriff_sound_writemem )
  1107: 	{ 0x0000, 0x03ff, MWA_ROM },
  1108: MEMORY_END
  1109: 
  1110: static PORT_READ_START( sheriff_sound_readport )
  1111: 	{ I8039_p1, I8039_p1, sheriff_sh_p1_r },
  1112: 	{ I8039_p2, I8039_p2, sheriff_sh_p2_r },
  1113: 	{ I8039_t0, I8039_t0, sheriff_sh_t0_r },
  1114: 	{ I8039_t1, I8039_t1, sheriff_sh_t1_r },
  1115: PORT_END
  1116: 
  1117: static PORT_WRITE_START( sheriff_sound_writeport )
  1118: 	{ I8039_p2, I8039_p2, sheriff_sh_p2_w },
  1119: PORT_END
  1120: 
  1121: /* All of the controls/dips for cocktail mode are as per the schematic */
  1122: /* BUT a coffee table version was never manufactured and support was   */
  1123: /* probably never completed.                                           */
  1124: /* e.g. cocktail players button will give 6 credits!                   */
  1125: 
  1126: INPUT_PORTS_START( sheriff )
  1127: 	PORT_START      /* 00 Main Controls */
  1128: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_RIGHT  | IPF_8WAY )
  1129: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_LEFT   | IPF_8WAY )
  1130: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_UP     | IPF_8WAY )
  1131: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_DOWN   | IPF_8WAY )
  1132: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_RIGHT | IPF_8WAY )
  1133: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_LEFT  | IPF_8WAY )
  1134: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_UP    | IPF_8WAY )
  1135: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_DOWN  | IPF_8WAY )
  1136: 
  1137: 	PORT_START      /* 01 Player 2 Controls */
  1138: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_RIGHT  | IPF_8WAY | IPF_COCKTAIL )
  1139: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_LEFT   | IPF_8WAY | IPF_COCKTAIL )
  1140: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_UP     | IPF_8WAY | IPF_COCKTAIL )
  1141: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_DOWN   | IPF_8WAY | IPF_COCKTAIL )
  1142: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_RIGHT | IPF_8WAY | IPF_COCKTAIL )
  1143: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_LEFT  | IPF_8WAY | IPF_COCKTAIL )
  1144: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_UP    | IPF_8WAY | IPF_COCKTAIL )
  1145: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_DOWN  | IPF_8WAY | IPF_COCKTAIL )
  1146: 
  1147: 	PORT_START      /* 02 */
  1148: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  1149: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_COCKTAIL )
  1150: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  1151: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START2 )
  1152: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )           /* Marked for   */
  1153: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )           /* Expansion    */
  1154: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )           /* on Schematic */
  1155: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 )
  1156: 
  1157: 	PORT_START      /* 04 */
  1158: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  1159: 	PORT_DIPSETTING(    0x00, "3" )
  1160: 	PORT_DIPSETTING(    0x01, "4" )
  1161: 	PORT_DIPSETTING(    0x02, "5" )
  1162: 	PORT_DIPSETTING(    0x03, "6" )
  1163: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
  1164: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  1165: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1166: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
  1167: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  1168: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1169: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
  1170: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  1171: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1172: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
  1173: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  1174: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1175: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
  1176: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  1177: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1178: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
  1179: 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
  1180: 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  1181: INPUT_PORTS_END
  1182: 
  1183: INPUT_PORTS_START( bandido )
  1184: 	PORT_START      /* 00 Main Controls */
  1185: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_RIGHT  | IPF_8WAY )
  1186: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_LEFT   | IPF_8WAY )
  1187: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_UP     | IPF_8WAY )
  1188: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_DOWN   | IPF_8WAY )
  1189: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_RIGHT | IPF_8WAY )
  1190: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_LEFT  | IPF_8WAY )
  1191: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_UP    | IPF_8WAY )
  1192: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_DOWN  | IPF_8WAY )
  1193: 
  1194: 	PORT_START      /* 01 Player 2 Controls */
  1195: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_RIGHT  | IPF_8WAY | IPF_COCKTAIL )
  1196: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_LEFT   | IPF_8WAY | IPF_COCKTAIL )
  1197: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_UP     | IPF_8WAY | IPF_COCKTAIL )
  1198: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICKLEFT_DOWN   | IPF_8WAY | IPF_COCKTAIL )
  1199: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_RIGHT | IPF_8WAY | IPF_COCKTAIL )
  1200: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_LEFT  | IPF_8WAY | IPF_COCKTAIL )
  1201: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_UP    | IPF_8WAY | IPF_COCKTAIL )
  1202: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICKRIGHT_DOWN  | IPF_8WAY | IPF_COCKTAIL )
  1203: 
  1204: 	PORT_START      /* 02 */
  1205: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  1206: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_COCKTAIL )
  1207: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  1208: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START2 )
  1209: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )           /* Marked for   */
  1210: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )           /* Expansion    */
  1211: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )           /* on Schematic */
  1212: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 )
  1213: 
  1214: 	PORT_START      /* 04 */
  1215: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  1216: 	PORT_DIPSETTING(    0x00, "3" )
  1217: 	PORT_DIPSETTING(    0x01, "4" )
  1218: 	PORT_DIPSETTING(    0x02, "5" )
  1219: 	PORT_DIPSETTING(    0x03, "6" )
  1220: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Coinage ) )
  1221: 	PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
  1222: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1223: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
  1224: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  1225: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1226: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
  1227: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  1228: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1229: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
  1230: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  1231: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1232: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
  1233: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  1234: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1235: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
  1236: 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
  1237: 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  1238: INPUT_PORTS_END
  1239: 
  1240: static MACHINE_DRIVER_START( sheriff )
  1241: 
  1242: 	/* basic machine hardware */
  1243: 	MDRV_IMPORT_FROM(8080bw)
  1244: 	MDRV_CPU_REPLACE("main",8080,20160000/8)        /* 2.52 MHz */
  1245: 	MDRV_CPU_MEMORY(sheriff_readmem,sheriff_writemem)
  1246: 	MDRV_CPU_PORTS(sheriff_readport,writeport_2_3)
  1247: 
  1248: 	MDRV_CPU_ADD(I8035,6000000/15)
  1249: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
  1250: 	MDRV_CPU_MEMORY(sheriff_sound_readmem,sheriff_sound_writemem)
  1251: 	MDRV_CPU_PORTS(sheriff_sound_readport,sheriff_sound_writeport)
  1252: 
  1253: 	MDRV_MACHINE_INIT(sheriff)
  1254: 
  1255: 	/* video hardware */
  1256: 	MDRV_VISIBLE_AREA(0*8, 32*8-1, 2*8, 30*8-1)
  1257: 
  1258: 	/* sound hardware */
  1259: 	MDRV_SOUND_ADD(DAC, sheriff_dac_interface)
  1260: 	MDRV_SOUND_ADD(SN76477, sheriff_sn76477_interface)
  1261: MACHINE_DRIVER_END
  1262: 
  1263: 
  1264: /*******************************************************/
  1265: /*                                                     */
  1266: /* Midway "Space Encounters"                           */
  1267: /*                                                     */
  1268: /*******************************************************/
  1269: 
  1270: static PORT_READ_START( spcenctr_readport )
  1271: 	{ 0x00, 0x00, spcenctr_port_0_r }, /* These 2 ports use Gray's binary encoding */
  1272: 	{ 0x01, 0x01, spcenctr_port_1_r },
  1273: 	{ 0x02, 0x02, input_port_2_r },
  1274: PORT_END
  1275: 
  1276: 
  1277: INPUT_PORTS_START( spcenctr )
  1278: 	PORT_START      /* IN0 */
  1279: 	PORT_ANALOG( 0x3f, 0x1f, IPT_AD_STICK_X | IPF_REVERSE, 10, 10, 0, 0x3f) /* 6 bit horiz encoder - Gray's binary */
  1280: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON1 )    /* fire */
  1281: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
  1282: 
  1283: 	PORT_START      /* IN1 */
  1284: 	PORT_ANALOG( 0x3f, 0x1f, IPT_AD_STICK_Y, 10, 10, 0, 0x3f) /* 6 bit vert encoder - Gray's binary */
  1285: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
  1286: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
  1287: 
  1288: 	PORT_START      /* IN2 Dips & Coins */
  1289: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Bonus_Life ) )
  1290: 	PORT_DIPSETTING(    0x00, "2000 4000 8000" )
  1291: 	PORT_DIPSETTING(    0x01, "3000 6000 12000" )
  1292: 	PORT_DIPSETTING(    0x02, "4000 8000 16000" )
  1293: 	PORT_DIPSETTING(    0x03, "5000 10000 20000" )
  1294: 	PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) )
  1295: 	PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
  1296: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1297: 	PORT_DIPSETTING(    0x0c, DEF_STR( 2C_3C ) )
  1298: 	PORT_DIPSETTING(    0x08, DEF_STR( 1C_3C ) )
  1299: 	PORT_DIPNAME( 0x30, 0x00, "Bonus/Test Mode" )
  1300: 	PORT_DIPSETTING(    0x00, "Bonus On" )
  1301: 	PORT_DIPSETTING(    0x30, "Bonus Off" )
  1302: 	PORT_DIPSETTING(    0x20, "Cross Hatch" )
  1303: 	PORT_DIPSETTING(    0x10, "Test Mode" )
  1304: 	PORT_DIPNAME( 0xc0, 0x00, "Time" )
  1305: 	PORT_DIPSETTING(    0x00, "45" )
  1306: 	PORT_DIPSETTING(    0x40, "60" )
  1307: 	PORT_DIPSETTING(    0x80, "75" )
  1308: 	PORT_DIPSETTING(    0xc0, "90" )
  1309: INPUT_PORTS_END
  1310: 
  1311: static MACHINE_DRIVER_START( spcenctr )
  1312: 
  1313: 	/* basic machine hardware */
  1314: 	MDRV_IMPORT_FROM(8080bw)
  1315: 	MDRV_CPU_MODIFY("main")
  1316: 	MDRV_CPU_PORTS(spcenctr_readport,0)
  1317: 
  1318: 	/* sound hardware */
  1319: MACHINE_DRIVER_END
  1320: 
  1321: 
  1322: /*******************************************************/
  1323: /*                                                     */
  1324: /* Midway "Gun Fight"                                  */
  1325: /*                                                     */
  1326: /*******************************************************/
  1327: 
  1328: static PORT_READ_START( gunfight_readport )
  1329: 	{ 0x00, 0x00, input_port_0_r },
  1330: 	{ 0x01, 0x01, input_port_1_r },
  1331: 	{ 0x02, 0x02, input_port_2_r },
  1332: 	{ 0x03, 0x03, boothill_shift_data_r },
  1333: PORT_END
  1334: 
  1335: INPUT_PORTS_START( gunfight )
  1336:     /* Gun position uses bits 4-6, handled using fake paddles */
  1337: 	PORT_START      /* IN0 - Player 2 */
  1338: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  1339: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )        /* Move Man */
  1340: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  1341: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  1342: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )              /* Fire */
  1343: 
  1344: 	PORT_START      /* IN1 - Player 1 */
  1345: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_8WAY )
  1346: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_8WAY )              /* Move Man */
  1347: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_8WAY )
  1348: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_8WAY )
  1349: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON1 )                    /* Fire */
  1350: 
  1351: #ifdef NOTDEF 
  1352: 	PORT_START      /* IN2 Dips & Coins */
  1353: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
  1354: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 )
  1355: 	PORT_DIPNAME( 0x0C, 0x00, "Plays" )
  1356: 	PORT_DIPSETTING(    0x00, "1" )
  1357: 	PORT_DIPSETTING(    0x04, "2" )
  1358: 	PORT_DIPSETTING(    0x08, "3" )
  1359: 	PORT_DIPSETTING(    0x0C, "4" )
  1360: 	PORT_DIPNAME( 0x30, 0x00, "Time" ) /* These are correct */
  1361: 	PORT_DIPSETTING(    0x00, "60" )
  1362: 	PORT_DIPSETTING(    0x10, "70" )
  1363: 	PORT_DIPSETTING(    0x20, "80" )
  1364: 	PORT_DIPSETTING(    0x30, "90" )
  1365: 	PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coinage ) )
  1366: 	PORT_DIPSETTING(    0x00, "1 Coin/1 Player" )
  1367: 	PORT_DIPSETTING(    0x40, "1 Coin/2 Players" )
  1368: 	PORT_DIPSETTING(    0x80, "1 Coin/3 Players" )
  1369: 	PORT_DIPSETTING(    0xc0, "1 Coin/4 Players" )
  1370: #endif 
  1371: 
  1372: 	PORT_START      /* IN2 Dips & Coins */
  1373: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1374: 	PORT_DIPSETTING(    0x00, "1 Coin" )
  1375: 	PORT_DIPSETTING(    0x01, "2 Coins" )
  1376: 	PORT_DIPSETTING(    0x02, "3 Coins" )
  1377: 	PORT_DIPSETTING(    0x03, "4 Coins" )
  1378: 	PORT_DIPNAME( 0x0C, 0x00, "Plays" )
  1379: 	PORT_DIPSETTING(    0x00, "1" )
  1380: 	PORT_DIPSETTING(    0x04, "2" )
  1381: 	PORT_DIPSETTING(    0x08, "3" )
  1382: 	PORT_DIPSETTING(    0x0C, "4" )
  1383: 	PORT_DIPNAME( 0x30, 0x00, "Time" ) /* These are correct */
  1384: 	PORT_DIPSETTING(    0x00, "60" )
  1385: 	PORT_DIPSETTING(    0x10, "70" )
  1386: 	PORT_DIPSETTING(    0x20, "80" )
  1387: 	PORT_DIPSETTING(    0x30, "90" )
  1388: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_COIN1 )
  1389: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_START1 )
  1390: 
  1391: 	PORT_START                                                                                          /* Player 2 Gun */
  1392: 	PORT_ANALOGX( 0xff, 0x00, IPT_PADDLE | IPF_PLAYER2, 50, 10, 1, 255, KEYCODE_H, KEYCODE_Y, IP_JOY_NONE, IP_JOY_NONE )
  1393: 
  1394: 	PORT_START                                                                                          /* Player 1 Gun */
  1395: 	PORT_ANALOGX( 0xff, 0x00, IPT_PADDLE, 50, 10, 1, 255, KEYCODE_Z, KEYCODE_A, IP_JOY_NONE, IP_JOY_NONE )
  1396: INPUT_PORTS_END
  1397: 
  1398: static MACHINE_DRIVER_START( gunfight )
  1399: 
  1400: 	/* basic machine hardware */
  1401: 	MDRV_IMPORT_FROM(8080bw)
  1402: 	MDRV_CPU_MODIFY("main")
  1403: 	MDRV_CPU_PORTS(gunfight_readport,writeport_2_4)
  1404: 	MDRV_MACHINE_INIT(gunfight)
  1405: 
  1406: 	/* sound hardware */
  1407: MACHINE_DRIVER_END
  1408: 
  1409: 
  1410: /*******************************************************/
  1411: /*                                                     */
  1412: /* Midway "M-4"                                        */
  1413: /*                                                     */
  1414: /*******************************************************/
  1415: 
  1416: INPUT_PORTS_START( m4 )
  1417: 	PORT_START      /* IN0 */
  1418: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_UNUSED )
  1419: 	PORT_BIT( 0x02, IP_ACTIVE_LOW,  IPT_JOYSTICK_UP   | IPF_2WAY | IPF_PLAYER2 )
  1420: 	PORT_BIT( 0x04, IP_ACTIVE_LOW,  IPT_UNUSED )
  1421: 	PORT_BIT( 0x08, IP_ACTIVE_LOW,  IPT_JOYSTICK_DOWN | IPF_2WAY | IPF_PLAYER2 )
  1422: 	PORT_BIT( 0x10, IP_ACTIVE_LOW,  IPT_BUTTON1 | IPF_PLAYER2 ) /* left trigger */
  1423: 	PORT_BIT( 0x20, IP_ACTIVE_LOW,  IPT_BUTTON2 | IPF_PLAYER2 ) /* left reload */
  1424: 	PORT_BIT( 0x40, IP_ACTIVE_LOW,  IPT_UNUSED )
  1425: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNUSED )
  1426: 
  1427: 	PORT_START      /* IN1 */
  1428: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
  1429: 	PORT_BIT( 0x02, IP_ACTIVE_LOW,  IPT_JOYSTICK_UP   | IPF_2WAY )
  1430: 	PORT_BIT( 0x04, IP_ACTIVE_LOW,  IPT_START1 )
  1431: 	PORT_BIT( 0x08, IP_ACTIVE_LOW,  IPT_JOYSTICK_DOWN | IPF_2WAY )
  1432: 	PORT_BIT( 0x10, IP_ACTIVE_LOW,  IPT_BUTTON1 ) /* right trigger */
  1433: 	PORT_BIT( 0x20, IP_ACTIVE_LOW,  IPT_BUTTON2 ) /* right reload */
  1434: 	PORT_BIT( 0x40, IP_ACTIVE_LOW,  IPT_START2 )
  1435: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNUSED )
  1436: 
  1437: 	PORT_START      /* IN2 Dips & Coins */
  1438: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1439: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
  1440: 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_2C ) )
  1441: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1442: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  1443: 	PORT_DIPNAME( 0x0c, 0x0c, "Time" )
  1444: 	PORT_DIPSETTING(    0x00, "60" )
  1445: 	PORT_DIPSETTING(    0x04, "70" )
  1446: 	PORT_DIPSETTING(    0x08, "80" )
  1447: 	PORT_DIPSETTING(    0x0C, "90" )
  1448: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )
  1449: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1450: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1451: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1452: INPUT_PORTS_END
  1453: 
  1454: static MACHINE_DRIVER_START( m4 )
  1455: 
  1456: 	/* basic machine hardware */
  1457: 	MDRV_IMPORT_FROM(8080bw)
  1458: 	MDRV_CPU_MODIFY("main")
  1459: 	MDRV_CPU_PORTS(gunfight_readport,writeport_1_2)
  1460: 
  1461: 	/* sound hardware */
  1462: MACHINE_DRIVER_END
  1463: 
  1464: 
  1465: /*******************************************************/
  1466: /*                                                     */
  1467: /* Midway "Boot Hill"                                  */
  1468: /*                                                     */
  1469: /*******************************************************/
  1470: 
  1471: INPUT_PORTS_START( boothill )
  1472:     /* Gun position uses bits 4-6, handled using fake paddles */
  1473: 	PORT_START      /* IN0 - Player 2 */
  1474: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  1475: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )        /* Move Man */
  1476: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  1477: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  1478: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 ) /* Fire */
  1479: 
  1480: 	PORT_START      /* IN1 - Player 1 */
  1481: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
  1482: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY ) /* Move Man */
  1483: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
  1484: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
  1485: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) /* Fire */
  1486: 
  1487: 	PORT_START      /* IN2 Dips & Coins */
  1488: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1489: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
  1490: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1491: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  1492: //	PORT_DIPSETTING(    0x03, DEF_STR( 1C_2C ) )
  1493: 	PORT_DIPNAME( 0x0c, 0x00, "Time" )
  1494: 	PORT_DIPSETTING(    0x00, "64" )
  1495: 	PORT_DIPSETTING(    0x04, "74" )
  1496: 	PORT_DIPSETTING(    0x08, "84" )
  1497: 	PORT_DIPSETTING(    0x0C, "94" )
  1498: 	PORT_SERVICE( 0x10, IP_ACTIVE_HIGH )
  1499: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
  1500: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  1501: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )
  1502: 
  1503: 	PORT_START                                                                                          /* Player 2 Gun */
  1504: 	PORT_ANALOGX( 0xff, 0x00, IPT_PADDLE | IPF_PLAYER2, 50, 10, 1, 255, KEYCODE_X, KEYCODE_S, IP_JOY_NONE, IP_JOY_NONE )
  1505: 
  1506: 	PORT_START                                                                                          /* Player 1 Gun */
  1507: 	PORT_ANALOGX( 0xff, 0x00, IPT_PADDLE, 50, 10, 1, 255, KEYCODE_Z, KEYCODE_A, IP_JOY_NONE, IP_JOY_NONE )
  1508: INPUT_PORTS_END
  1509: 
  1510: static MACHINE_DRIVER_START( boothill )
  1511: 
  1512: 	/* basic machine hardware */
  1513: 	MDRV_IMPORT_FROM(8080bw)
  1514: 	MDRV_CPU_MODIFY("main")
  1515: 	MDRV_CPU_PORTS(gunfight_readport,writeport_1_2)
  1516: 	MDRV_MACHINE_INIT(boothill)
  1517: 
  1518: 	/* sound hardware */
  1519: 	MDRV_SOUND_ADD(SAMPLES, boothill_samples_interface)
  1520: MACHINE_DRIVER_END
  1521: 
  1522: 
  1523: /*******************************************************/
  1524: /*                                                     */
  1525: /* Taito "Space Chaser"                                */
  1526: /*                                                     */
  1527: /*******************************************************/
  1528: 
  1529: static MEMORY_READ_START( schaser_readmem )
  1530: 	{ 0x0000, 0x1fff, MRA_ROM },
  1531: 	{ 0x2000, 0x3fff, MRA_RAM },
  1532: 	{ 0x4000, 0x5fff, MRA_ROM },
  1533: 	{ 0xc000, 0xdfff, schaser_colorram_r },
  1534: MEMORY_END
  1535: 
  1536: static MEMORY_WRITE_START( schaser_writemem )
  1537: 	{ 0x0000, 0x1fff, MWA_ROM },
  1538: 	{ 0x2000, 0x3fff, c8080bw_videoram_w, &videoram, &videoram_size },
  1539: 	{ 0x4000, 0x5fff, MWA_ROM },
  1540: 	{ 0xc000, 0xdfff, schaser_colorram_w, &colorram },
  1541: MEMORY_END
  1542: 
  1543: INPUT_PORTS_START( schaser )
  1544: 	PORT_START      /* IN0 */
  1545: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_PLAYER2 )
  1546: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_PLAYER2 )
  1547: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_PLAYER2 )
  1548: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_PLAYER2 )
  1549: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  1550: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1551: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1552: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1553: 
  1554: 	PORT_START      /* IN1 */
  1555: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_4WAY )
  1556: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_4WAY )
  1557: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_4WAY )
  1558: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY )
  1559: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  1560: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_START2 )
  1561: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_START1 )
  1562: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 )
  1563: 
  1564: 	PORT_START      /* DSW0 */
  1565: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  1566: 	PORT_DIPSETTING(    0x00, "3" )
  1567: 	PORT_DIPSETTING(    0x01, "4" )
  1568: 	PORT_DIPSETTING(    0x02, "5" )
  1569: 	PORT_DIPSETTING(    0x03, "6" )
  1570: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
  1571: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1572: 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
  1573: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Difficulty ) )
  1574: 	PORT_DIPSETTING(    0x00, "Easy" )
  1575: 	PORT_DIPSETTING(    0x08, "Hard" )
  1576: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
  1577: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1578: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  1579: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_TILT )
  1580: 	PORT_DIPNAME( 0x40, 0x00, "Number of Controllers" )
  1581: 	PORT_DIPSETTING(    0x00, "1" )
  1582: 	PORT_DIPSETTING(    0x40, "2" )
  1583: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
  1584: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1585: 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  1586: 
  1587: 	PORT_START		/* Dummy port for cocktail mode */
  1588: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
  1589: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  1590: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
  1591: INPUT_PORTS_END
  1592: 
  1593: static MACHINE_DRIVER_START( schaser )
  1594: 
  1595: 	/* basic machine hardware */
  1596: 	MDRV_IMPORT_FROM(8080bw)
  1597: 	MDRV_CPU_REPLACE("main",8080,1996800)        /* 19.968MHz / 10 */
  1598: 	MDRV_CPU_MEMORY(schaser_readmem,schaser_writemem)
  1599: 	MDRV_MACHINE_INIT(schaser)
  1600: 
  1601: 	/* video hardware */
  1602: 	MDRV_PALETTE_LENGTH(8)
  1603: 	MDRV_PALETTE_INIT(invadpt2)
  1604: 	MDRV_VISIBLE_AREA(0*8, 31*8-1, 4*8, 32*8-1)
  1605: 
  1606: 	/* sound hardware */
  1607: 	MDRV_SOUND_ADD(SN76477, schaser_sn76477_interface)
  1608: 	MDRV_SOUND_ADD(DAC, schaser_dac_interface)
  1609: 	MDRV_SOUND_ADD(CUSTOM, schaser_custom_interface)
  1610: MACHINE_DRIVER_END
  1611: 
  1612: 
  1613: /*******************************************************/
  1614: /*                                                     */
  1615: /* Taito "Space Chaser" (CV version)                   */
  1616: /*                                                     */
  1617: /*******************************************************/
  1618: 
  1619: INPUT_PORTS_START( schasrcv )
  1620: 	PORT_START      /* IN0 */
  1621: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1622: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1623: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1624: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1625: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1626: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1627: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1628: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1629: 
  1630: 	PORT_START		/* IN1 */
  1631: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
  1632: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  1633: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  1634: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_4WAY )
  1635: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  1636: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_4WAY )
  1637: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY )
  1638: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_4WAY )
  1639: 
  1640: 	PORT_START      /* DSW0 */
  1641: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Lives ) )
  1642: 	PORT_DIPSETTING(    0x00, "3" )
  1643: 	PORT_DIPSETTING(    0x01, "4" )
  1644: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_PLAYER2 )
  1645: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_PLAYER2 )
  1646: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Difficulty ) )
  1647: 	PORT_DIPSETTING(    0x00, "Easy" )
  1648: 	PORT_DIPSETTING(    0x08, "Hard" )
  1649: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  1650: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_PLAYER2 )
  1651: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_PLAYER2 )
  1652: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
  1653: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1654: 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  1655: 
  1656: 	PORT_START		/* Dummy port for cocktail mode */
  1657: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
  1658: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  1659: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
  1660: INPUT_PORTS_END
  1661: 
  1662: /*******************************************************/
  1663: /*                                                     */
  1664: /* Taito "Staright Flush"                              */
  1665: /*                                                     */
  1666: /*******************************************************/
  1667: 
  1668: static int sfl_int=0;
  1669: 
  1670: static READ_HANDLER( sfl_input_r )
  1671: {
  1672: 	sfl_int^=0x80;//vblank flag ?
  1673: 	return sfl_int|input_port_1_r(0);
  1674: }
  1675: 
  1676: static MEMORY_READ_START( sflush_readmem )
  1677: 	{ 0x0000, 0x1fff, MRA_RAM}, //?
  1678: 	{ 0x4000, 0x5fff, MRA_RAM},
  1679: 	{ 0xa000, 0xbfff, schaser_colorram_r},
  1680: 	{ 0x8008, 0x8008, input_port_2_r},
  1681: 	{ 0x8009, 0x8009, c8080bw_shift_data_r },
  1682: 	{ 0x800a, 0x800a, sfl_input_r },
  1683: 	{ 0x800b, 0x800b, input_port_0_r },
  1684: 	{ 0xd800, 0xffff, MRA_ROM },
  1685: 
  1686: MEMORY_END
  1687: 
  1688: static MEMORY_WRITE_START( sflush_writemem )
  1689: 	{0x0000, 0x1fff, MWA_RAM},
  1690: 	{0x4000, 0x5fff, c8080bw_videoram_w, &videoram, &videoram_size},
  1691: 	{0x8018, 0x8018, c8080bw_shift_data_w },
  1692: 	{0x8019, 0x8019, c8080bw_shift_amount_w },
  1693: 	{0x801a, 0x801a, MWA_NOP },
  1694: 	{0x801c, 0x801c, MWA_NOP },
  1695: 	{0x801d, 0x801d, MWA_NOP },
  1696: 	{0xa000, 0xbfff, schaser_colorram_w, &colorram},
  1697: 	{0xd800, 0xffff, MWA_ROM },
  1698: MEMORY_END
  1699: 
  1700: static MACHINE_DRIVER_START( sflush )
  1701: 
  1702: 	/* basic machine hardware */
  1703: 	MDRV_IMPORT_FROM(8080bw)
  1704: 	MDRV_CPU_REPLACE("main",M6800,2000000)        /* ?? */
  1705: 	MDRV_CPU_MEMORY(sflush_readmem,sflush_writemem)
  1706: 	MDRV_CPU_VBLANK_INT(irq0_line_pulse,2)
  1707: 
  1708: 	/* video hardware */
  1709: 	MDRV_PALETTE_LENGTH(8)
  1710: 	MDRV_PALETTE_INIT(sflush)
  1711: 	MDRV_VISIBLE_AREA(0*8, 31*8-1, 4*8, 30*8-1)
  1712: 
  1713: MACHINE_DRIVER_END
  1714: 
  1715: INPUT_PORTS_START( sflush )
  1716: 	PORT_START
  1717: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
  1718: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START1 )
  1719: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START2 )
  1720: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_TILT  )
  1721: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
  1722: 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
  1723: 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  1724: 
  1725: 	PORT_START
  1726: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  1727: 	PORT_DIPSETTING(    0x00, "3" )
  1728: 	PORT_DIPSETTING(    0x01, "4" )
  1729: 	PORT_DIPSETTING(    0x02, "5" )
  1730: 	PORT_DIPSETTING(    0x03, "6" )
  1731: 	PORT_DIPNAME( 0x08, 0x00, "Hiscore" )
  1732: 	PORT_DIPSETTING(    0x00, "0" )
  1733: 	PORT_DIPSETTING(    0x08, "30 000" )
  1734: 	PORT_DIPNAME( 0x40, 0x00, "Coinage Display" )
  1735: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1736: 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  1737: 
  1738: 	PORT_START
  1739: 	PORT_ANALOG( 0xff, 0x6a, IPT_PADDLE, 30, 30, 0x16,0xbf)
  1740: INPUT_PORTS_END
  1741: 
  1742: 
  1743: 
  1744: /*******************************************************/
  1745: /*                                                     */
  1746: /* Midway "Clowns"                                     */
  1747: /*                                                     */
  1748: /*******************************************************/
  1749: 
  1750: /*
  1751:  * Clowns (EPROM version)
  1752:  */
  1753: INPUT_PORTS_START( clowns )
  1754: 	PORT_START      /* IN0 */
  1755: 	PORT_ANALOG( 0xff, 0x7f, IPT_PADDLE, 100, 10, 0x01, 0xfe)
  1756: 
  1757: 	PORT_START      /* IN1 */
  1758: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1759: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1760: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1761: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1762: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 )
  1763: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
  1764: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  1765: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1766: 
  1767: 	PORT_START      /* IN2 Dips & Coins */
  1768: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1769: 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
  1770: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_2C ) )
  1771: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1772: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  1773: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
  1774: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1775: 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
  1776: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
  1777: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1778: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
  1779: 	PORT_DIPNAME( 0x10, 0x00, "Balloon Resets" )
  1780: 	PORT_DIPSETTING(    0x00, "Each row" )
  1781: 	PORT_DIPSETTING(    0x10, "All rows" )
  1782: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Bonus_Life ) )
  1783: 	PORT_DIPSETTING(    0x00, "3000" )
  1784: 	PORT_DIPSETTING(    0x20, "4000" )
  1785: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Lives ) )
  1786: 	PORT_DIPSETTING(    0x00, "3" )
  1787: 	PORT_DIPSETTING(    0x40, "4" )
  1788: 	PORT_SERVICE( 0x80, IP_ACTIVE_HIGH )
  1789: INPUT_PORTS_END
  1790: 
  1791: 
  1792: INPUT_PORTS_START( clowns1 )
  1793: 	PORT_START      /* IN0 */
  1794: 	PORT_ANALOG( 0xff, 0x7f, IPT_PADDLE, 100, 10, 0x01, 0xfe)
  1795: 
  1796: 	PORT_START      /* IN1 */
  1797: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1798: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1799: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1800: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1801: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 )
  1802: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START1 )
  1803: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  1804: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1805: 
  1806: 	PORT_START      /* IN2 Dips & Coins */
  1807: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1808: 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
  1809: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_2C ) )
  1810: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1811: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  1812: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
  1813: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1814: 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
  1815: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
  1816: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1817: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
  1818: 	PORT_DIPNAME( 0x10, 0x00, "Balloon Resets" )
  1819: 	PORT_DIPSETTING(    0x00, "Each row" )
  1820: 	PORT_DIPSETTING(    0x10, "All rows" )
  1821: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Bonus_Life ) )
  1822: 	PORT_DIPSETTING(    0x00, "3000" )
  1823: 	PORT_DIPSETTING(    0x20, "4000" )
  1824: 	PORT_DIPNAME( 0x40, 0x00, "Lives? (Possible ROM bug)"  )
  1825: 	PORT_DIPSETTING(    0x00, "2 Lives" )
  1826: 	PORT_DIPSETTING(    0x40, "Input Test ?" )
  1827: 	PORT_SERVICE( 0x80, IP_ACTIVE_HIGH )
  1828: INPUT_PORTS_END
  1829: 
  1830: static MACHINE_DRIVER_START( clowns )
  1831: 
  1832: 	/* basic machine hardware */
  1833: 	MDRV_IMPORT_FROM(8080bw)
  1834: 	MDRV_CPU_MODIFY("main")
  1835: 	MDRV_CPU_PORTS(c8080bw_readport,writeport_1_2)
  1836: 	MDRV_MACHINE_INIT(clowns)
  1837: 
  1838: 	/* sound hardware */
  1839: 	MDRV_SOUND_ADD(SAMPLES, circus_samples_interface)
  1840: MACHINE_DRIVER_END
  1841: 
  1842: 
  1843: /*******************************************************/
  1844: /*                                                     */
  1845: /* Midway "Guided Missile"                             */
  1846: /*                                                     */
  1847: /*******************************************************/
  1848: 
  1849: INPUT_PORTS_START( gmissile )
  1850: 	PORT_START      /* IN0 */
  1851: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1852: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1853: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
  1854: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
  1855: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1856: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1857: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1 )
  1858: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  1859: 
  1860: 	PORT_START      /* IN1 */
  1861: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1862: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1 )
  1863: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_2WAY )
  1864: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY )
  1865: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1866: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1867: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1868: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
  1869: 
  1870: 	PORT_START      /* IN2 Dips & Coins */
  1871: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
  1872: 	PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
  1873: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
  1874: 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_3C ) )
  1875: 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
  1876: 	PORT_DIPNAME( 0x0c, 0x0c, "Time" )
  1877: 	PORT_DIPSETTING(    0x00, "60" )
  1878: 	PORT_DIPSETTING(    0x08, "70" )
  1879: 	PORT_DIPSETTING(    0x04, "80" )
  1880: 	PORT_DIPSETTING(    0x0c, "90" )
  1881: 	PORT_DIPNAME( 0x30, 0x00, "Extra Play" )
  1882: 	PORT_DIPSETTING(    0x00, "500" )
  1883: 	PORT_DIPSETTING(    0x20, "700" )
  1884: 	PORT_DIPSETTING(    0x10, "1000" )
  1885: 	PORT_DIPSETTING(    0x30, "None" )
  1886: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1887: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  1888: INPUT_PORTS_END
  1889: 
  1890: 
  1891: /*******************************************************/
  1892: /*                                                     */
  1893: /* Midway "280 ZZZAP"                                  */
  1894: /*                                                     */
  1895: /*******************************************************/
  1896: 
  1897: INPUT_PORTS_START( 280zzzap )
  1898: 	PORT_START      /* IN0 */
  1899: 	PORT_ANALOG( 0x0f, 0x00, IPT_PEDAL, 100, 64, 0x00, 0x0f )	/* accelerator */
  1900: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 | IPF_TOGGLE )  /* shift */
  1901: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  1902: 	PORT_BIT( 0x40, IP_ACTIVE_LOW,  IPT_COIN1 )
  1903: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_START1 )
  1904: 
  1905: 	PORT_START      /* IN1 - Steering Wheel */
  1906: 	PORT_ANALOG( 0xff, 0x7f, IPT_PADDLE | IPF_REVERSE, 100, 10, 0x01, 0xfe)
  1907: 
  1908: 	PORT_START      /* IN2 Dips & Coins */
  1909: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1910: 	PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
  1911: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1912: 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_3C ) )
  1913: 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_3C ) )
  1914: 	PORT_DIPNAME( 0x0c, 0x00, "Time" )
  1915: 	PORT_DIPSETTING(    0x0c, "60" )
  1916: 	PORT_DIPSETTING(    0x00, "80" )
  1917: 	PORT_DIPSETTING(    0x08, "99" )
  1918: 	PORT_DIPSETTING(    0x04, "Test Mode" )
  1919: 	PORT_DIPNAME( 0x30, 0x00, "Extended Time" )
  1920: 	PORT_DIPSETTING(    0x00, "Score >= 2.5" )
  1921: 	PORT_DIPSETTING(    0x10, "Score >= 2" )
  1922: 	PORT_DIPSETTING(    0x20, "None" )
  1923: /* 0x30 same as 0x20 */
  1924: 	PORT_DIPNAME( 0xc0, 0x00, "Language")
  1925: 	PORT_DIPSETTING(    0x00, "English" )
  1926: 	PORT_DIPSETTING(    0x40, "German" )
  1927: 	PORT_DIPSETTING(    0x80, "French" )
  1928: 	PORT_DIPSETTING(    0xc0, "Spanish" )
  1929: INPUT_PORTS_END
  1930: 
  1931: static MACHINE_DRIVER_START( 280zzzap )
  1932: 
  1933: 	/* basic machine hardware */
  1934: 	MDRV_IMPORT_FROM(8080bw)
  1935: 	MDRV_CPU_MODIFY("main")
  1936: 	MDRV_CPU_PORTS(c8080bw_readport,writeport_4_3)
  1937: 
  1938: 	/* sound hardware */
  1939: MACHINE_DRIVER_END
  1940: 
  1941: 
  1942: /*******************************************************/
  1943: /*                                                     */
  1944: /* Taito "Lupin III"                                   */
  1945: /*                                                     */
  1946: /*******************************************************/
  1947: 
  1948: INPUT_PORTS_START( lupin3 )
  1949: 	PORT_START      /* IN0 */
  1950: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )	/* selects color mode (dynamic vs. static) */
  1951: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )	/* something has to do with sound */
  1952: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT )
  1953: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_COCKTAIL)
  1954: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
  1955: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_4WAY | IPF_COCKTAIL )
  1956: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_4WAY | IPF_COCKTAIL )
  1957: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_4WAY | IPF_COCKTAIL )
  1958: 
  1959: 	PORT_START      /* IN1 */
  1960: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
  1961: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  1962: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  1963: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  1964: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_4WAY )
  1965: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_4WAY )
  1966: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_4WAY )
  1967: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_4WAY )
  1968: 
  1969: 	PORT_START      /* DSW0 */
  1970: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  1971: 	PORT_DIPSETTING(    0x00, "3" )
  1972: 	PORT_DIPSETTING(    0x01, "4" )
  1973: 	PORT_DIPSETTING(    0x02, "5" )
  1974: 	PORT_DIPSETTING(    0x03, "6" )
  1975: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
  1976: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  1977: 	PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
  1978: 	PORT_DIPNAME( 0x08, 0x00, "Bags to Collect" )
  1979: 	PORT_DIPSETTING(    0x08, "2" )
  1980: 	PORT_DIPSETTING(    0x00, "8" )
  1981: 	PORT_DIPNAME( 0x10, 0x00, "Language" )
  1982: 	PORT_DIPSETTING(    0x00, "English" )
  1983: 	PORT_DIPSETTING(    0x10, "Japanese" )
  1984: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH,  IPT_UNUSED )
  1985: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH,  IPT_UNUSED )
  1986: 	PORT_BITX(0x80,     0x00, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Invulnerability", IP_KEY_NONE, IP_JOY_NONE )
  1987: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1988: 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  1989: INPUT_PORTS_END
  1990: 
  1991: static MACHINE_DRIVER_START( lupin3 )
  1992: 
  1993: 	/* basic machine hardware */
  1994: 	MDRV_IMPORT_FROM(8080bw)
  1995: 	MDRV_CPU_MODIFY("main")
  1996: 	MDRV_CPU_MEMORY(schaser_readmem,schaser_writemem)
  1997: 
  1998: 	/* video hardware */
  1999: 	MDRV_PALETTE_LENGTH(8)
  2000: 	MDRV_PALETTE_INIT(invadpt2)
  2001: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 32*8-1)
  2002: 
  2003: 	/* sound hardware */
  2004: MACHINE_DRIVER_END
  2005: 
  2006: 
  2007: /*******************************************************/
  2008: /*                                                     */
  2009: /* Nintendo "Heli Fire"                                */
  2010: /*                                                     */
  2011: /*******************************************************/
  2012: 
  2013: static MEMORY_READ_START( helifire_readmem )
  2014: 	{ 0x0000, 0x27ff, MRA_ROM },
  2015: 	{ 0x4000, 0x7fff, MRA_RAM },
  2016: 	{ 0xc000, 0xddff, MRA_RAM },
  2017: MEMORY_END
  2018: 
  2019: static MEMORY_WRITE_START( helifire_writemem )
  2020: 	{ 0x0000, 0x27ff, MWA_ROM },
  2021: 	{ 0x4000, 0x5fff, c8080bw_videoram_w, &videoram, &videoram_size },
  2022: 	{ 0x6000, 0x7fff, MWA_RAM },
  2023: 	{ 0xc000, 0xdfff, helifire_colorram_w, &colorram },
  2024: MEMORY_END
  2025: 
  2026: static MEMORY_READ_START( helifire_sound_readmem )
  2027: 	{ 0x0000, 0x03ff, MRA_ROM },
  2028: MEMORY_END
  2029: static MEMORY_WRITE_START( helifire_sound_writemem )
  2030: 	{ 0x0000, 0x03ff, MWA_ROM },
  2031: MEMORY_END
  2032: 
  2033: static PORT_READ_START( helifire_sound_readport )
  2034: 	//{ I8039_p1, I8039_p1, sheriff_sh_p1_r },
  2035: 	//{ I8039_p2, I8039_p2, sheriff_sh_p2_r },
  2036: 	//{ I8039_t0, I8039_t0, sheriff_sh_t0_r },
  2037: 	//{ I8039_t1, I8039_t1, sheriff_sh_t1_r },
  2038: PORT_END
  2039: 
  2040: static PORT_WRITE_START( helifire_sound_writeport )
  2041: 	//{ I8039_p2, I8039_p2, sheriff_sh_p2_w },
  2042: PORT_END
  2043: 
  2044: 
  2045: INPUT_PORTS_START( helifire )
  2046: 	PORT_START      /* 00 Main Controls */
  2047: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_8WAY  )
  2048: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_8WAY )
  2049: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_8WAY )
  2050: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_8WAY )
  2051: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  2052: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
  2053: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
  2054: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
  2055: 
  2056: 	PORT_START      /* 01 Player 2 Controls */
  2057: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_COCKTAIL )
  2058: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_COCKTAIL )
  2059: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_COCKTAIL )
  2060: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_COCKTAIL )
  2061: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_COCKTAIL )
  2062: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
  2063: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
  2064: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
  2065: 
  2066: 	PORT_START      /* Start and Coin Buttons */
  2067: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNUSED )
  2068: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNUSED )
  2069: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  2070: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START2 )
  2071: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED ) /* Marked for   */
  2072: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED ) /* Expansion    */
  2073: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED ) /* on Schematic */
  2074: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 )
  2075: 
  2076: 	PORT_START      /* DSW */
  2077: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  2078: 	PORT_DIPSETTING(    0x00, "3" )
  2079: 	PORT_DIPSETTING(    0x01, "4" )
  2080: 	PORT_DIPSETTING(    0x02, "5" )
  2081: 	PORT_DIPSETTING(    0x03, "6" )
  2082: 	PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Bonus_Life ) )
  2083: 	PORT_DIPSETTING(    0x0c, "5000" )
  2084: 	PORT_DIPSETTING(    0x04, "6000" )
  2085: 	PORT_DIPSETTING(    0x08, "8000" )
  2086: 	PORT_DIPSETTING(    0x00, "10000" )
  2087: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Coinage ) )
  2088: 	PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) )
  2089: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  2090: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
  2091: 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
  2092: 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  2093: INPUT_PORTS_END
  2094: 
  2095: static MACHINE_DRIVER_START( helifire )
  2096: 
  2097: 	/* basic machine hardware */
  2098: 	MDRV_IMPORT_FROM(8080bw)
  2099: 	MDRV_CPU_REPLACE("main",8080,20160000/8)        /* 2.52 MHz */
  2100: 	MDRV_CPU_MEMORY(helifire_readmem,helifire_writemem)
  2101: 	MDRV_CPU_PORTS(sheriff_readport,writeport_2_3)
  2102: 	MDRV_MACHINE_INIT(helifire)
  2103: 
  2104: 	MDRV_CPU_ADD(I8035,6000000/15)
  2105: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
  2106: 	MDRV_CPU_MEMORY(helifire_sound_readmem,helifire_sound_writemem)
  2107: 	MDRV_CPU_PORTS(helifire_sound_readport,helifire_sound_writeport)
  2108: 
  2109: 	/* video hardware */
  2110: 	MDRV_PALETTE_LENGTH(8)
  2111: 	MDRV_PALETTE_INIT(helifire)
  2112: 	MDRV_VISIBLE_AREA(1*8, 32*8-1, 2*8, 30*8-1)
  2113: 
  2114: 	/* sound hardware */
  2115: MACHINE_DRIVER_END
  2116: 
  2117: 
  2118: /*******************************************************/
  2119: /*                                                     */
  2120: /* Nintendo "Space Fever (Color)"                      */
  2121: /*                                                     */
  2122: /*******************************************************/
  2123: 
  2124: INPUT_PORTS_START( spacefev )
  2125: 	PORT_START      /* 00 Main Controls */
  2126: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  2127: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
  2128: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
  2129: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START1 )
  2130: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_START2 )
  2131: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2132: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2133: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 )
  2134: 
  2135: 	PORT_START      /* 01 Player 2 Controls */
  2136: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  2137: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
  2138: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
  2139: 	PORT_BITX(0x08, 0x00, 0, "Start Game A", KEYCODE_Q, IP_JOY_NONE )
  2140: 	PORT_BITX(0x10, 0x00, 0, "Start Game B", KEYCODE_W, IP_JOY_NONE )
  2141: 	PORT_BITX(0x20, 0x00, 0, "Start Game C", KEYCODE_E, IP_JOY_NONE )
  2142: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
  2143: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED ) /* If on low the game doesn't start */
  2144: 
  2145: 	PORT_START      /* DSW */
  2146: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  2147: 	PORT_DIPSETTING(    0x00, "3" )
  2148: 	PORT_DIPSETTING(    0x01, "4" )
  2149: 	PORT_DIPSETTING(    0x02, "5" )
  2150: 	PORT_DIPSETTING(    0x03, "6" )
  2151: //	PORT_DIPNAME( 0xfc, 0x00, DEF_STR( Unknown ) )
  2152: //	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2153: //	PORT_DIPSETTING(    0xfc, DEF_STR( Off ) )
  2154: INPUT_PORTS_END
  2155: 
  2156: 
  2157: /*******************************************************/
  2158: /*                                                     */
  2159: /* Taito "Polaris"                                     */
  2160: /*                                                     */
  2161: /*******************************************************/
  2162: 
  2163: INPUT_PORTS_START( polaris )
  2164: 
  2165: 	PORT_START      /* IN0 */
  2166: 	PORT_DIPNAME( 0x01, 0x00, "Not Used" )
  2167: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2168: 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
  2169: 	PORT_DIPNAME( 0x02, 0x00, "Not Used" )
  2170: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2171: 	PORT_DIPSETTING(    0x02, DEF_STR( On ) )
  2172: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT )
  2173: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  2174: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  2175: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  2176: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  2177: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  2178: 
  2179: 	PORT_START      /* IN1 */
  2180: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
  2181: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  2182: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  2183: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER1 )
  2184: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
  2185: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
  2186: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
  2187: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
  2188: 
  2189: 	PORT_START      /* DSW0 */
  2190: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  2191: 	PORT_DIPSETTING(    0x00, "3" )
  2192: 	PORT_DIPSETTING(    0x01, "4" )
  2193: 	PORT_DIPSETTING(    0x02, "5" )
  2194: 	PORT_DIPSETTING(    0x03, "6" )
  2195: 	/* 0x04 should be Cabinet - Upright/Cocktail,
  2196: 	   but until the coctail hack is changed,
  2197: 	   this will have to do. */
  2198: 	PORT_DIPNAME( 0x04, 0x00, "Number of Controls" )
  2199: 	PORT_DIPSETTING(    0x00, "1" )
  2200: 	PORT_DIPSETTING(    0x04, "2" )
  2201: 	PORT_DIPNAME( 0x08, 0x00, "Invincible Test" )
  2202: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2203: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
  2204: 	/* The Demo Sounds dip switch does function.
  2205: 	 * It allows the sonar sounds to play in demo mode. */
  2206: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Demo_Sounds ) )
  2207: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2208: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  2209: 	PORT_DIPNAME( 0x20, 0x00, "Not Used" )
  2210: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2211: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  2212: 	PORT_DIPNAME( 0x40, 0x00, "Not Used" )
  2213: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2214: 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  2215: 	PORT_DIPNAME( 0x80, 0x00, "High Score Preset Mode" )
  2216: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2217: 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  2218: 
  2219: 	PORT_START		/* Dummy port for cocktail mode */
  2220: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
  2221: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  2222: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
  2223: INPUT_PORTS_END
  2224: 
  2225: static MACHINE_DRIVER_START( polaris )
  2226: 
  2227: 	/* basic machine hardware */
  2228: 	MDRV_IMPORT_FROM(8080bw)
  2229: 	MDRV_CPU_REPLACE("main",8080,1996800)        /* 19.968MHz / 10 */
  2230: 	MDRV_CPU_MEMORY(schaser_readmem,schaser_writemem)
  2231: 	MDRV_CPU_PORTS(c8080bw_readport,writeport_0_3)
  2232: 	MDRV_CPU_VBLANK_INT(polaris_interrupt,2)
  2233: 	MDRV_MACHINE_INIT(polaris)
  2234: 
  2235: 	/* video hardware */
  2236: 	MDRV_PALETTE_LENGTH(8)
  2237: 	MDRV_PALETTE_INIT(invadpt2)
  2238: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 32*8-1)
  2239: 
  2240: 	/* sound hardware */
  2241: 	MDRV_SOUND_ADD_TAG("disc", DISCRETE, polaris_sound_interface)
  2242: MACHINE_DRIVER_END
  2243: 
  2244: 
  2245: /*******************************************************/
  2246: /*                                                     */
  2247: /* Midway "Laguna Racer"                               */
  2248: /*                                                     */
  2249: /*******************************************************/
  2250: 
  2251: INPUT_PORTS_START( lagunar )
  2252: 	PORT_START      /* IN0 */
  2253: 	PORT_ANALOG( 0x0f, 0x00, IPT_PEDAL, 100, 64, 0x00, 0x0f )	/* accelerator */
  2254: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON2 | IPF_TOGGLE )  /* shift */
  2255: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2256: 	PORT_BIT( 0x40, IP_ACTIVE_LOW,  IPT_COIN1 )
  2257: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_START1 )
  2258: 
  2259: 	PORT_START      /* IN1 - Steering Wheel */
  2260: 	PORT_ANALOG( 0xff, 0x7f, IPT_PADDLE | IPF_REVERSE, 100, 10, 0x01, 0xfe)
  2261: 
  2262: 	PORT_START      /* IN2 Dips & Coins */
  2263: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  2264: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
  2265: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  2266: 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_3C ) )
  2267: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  2268: 	PORT_DIPNAME( 0x0c, 0x0c, "Time" )
  2269: 	PORT_DIPSETTING(    0x00, "45" )
  2270: 	PORT_DIPSETTING(    0x04, "60" )
  2271: 	PORT_DIPSETTING(    0x08, "75" )
  2272: 	PORT_DIPSETTING(    0x0c, "90" )
  2273: 	PORT_DIPNAME( 0x30, 0x00, "Extended Time" )
  2274: 	PORT_DIPSETTING(    0x00, "350" )
  2275: 	PORT_DIPSETTING(    0x10, "400" )
  2276: 	PORT_DIPSETTING(    0x20, "450" )
  2277: 	PORT_DIPSETTING(    0x30, "500" )
  2278: 	PORT_DIPNAME( 0xc0, 0x00, "Test Modes")
  2279: 	PORT_DIPSETTING(    0x00, "Play Mode" )
  2280: 	PORT_DIPSETTING(    0x40, "RAM/ROM" )
  2281: 	PORT_DIPSETTING(    0x80, "Steering" )
  2282: 	PORT_DIPSETTING(    0xc0, "No Extended Play" )
  2283: INPUT_PORTS_END
  2284: 
  2285: 
  2286: /*******************************************************/
  2287: /*                                                     */
  2288: /* Midway "Phantom II"                                 */
  2289: /*                                                     */
  2290: /*******************************************************/
  2291: 
  2292: static PALETTE_INIT( phantom2 )
  2293: {
  2294: 	palette_set_color(0,0x00,0x00,0x00); /* black */
  2295: 	palette_set_color(1,0xff,0xff,0xff); /* white */
  2296: 	palette_set_color(2,0xc0,0xc0,0xc0); /* grey */
  2297: }
  2298: 
  2299: 
  2300: INPUT_PORTS_START( phantom2 )
  2301: 	PORT_START      /* IN0 */
  2302: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2303: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2304: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2305: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2306: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2307: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2308: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2309: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2310: 
  2311: 	PORT_START      /* IN1 */
  2312: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )
  2313: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )
  2314: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )
  2315: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT )
  2316: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
  2317: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  2318: 
  2319: 	PORT_START      /* IN2 Dips & Coins */
  2320: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Coinage ) )
  2321: 	PORT_DIPSETTING(    0x01, DEF_STR( 2C_1C ) )
  2322: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  2323: 	PORT_DIPNAME( 0x06, 0x06, "Time" )
  2324: 	PORT_DIPSETTING(    0x00, "45sec 20sec 20" )
  2325: 	PORT_DIPSETTING(    0x02, "60sec 25sec 25" )
  2326: 	PORT_DIPSETTING(    0x04, "75sec 30sec 30" )
  2327: 	PORT_DIPSETTING(    0x06, "90sec 35sec 35" )
  2328: 	PORT_SERVICE( 0x20, IP_ACTIVE_LOW )
  2329: 
  2330: INPUT_PORTS_END
  2331: 
  2332: static MACHINE_DRIVER_START( phantom2 )
  2333: 
  2334: 	/* basic machine hardware */
  2335: 	MDRV_IMPORT_FROM(8080bw)
  2336: 	MDRV_CPU_MODIFY("main")
  2337: 	MDRV_CPU_PORTS(gunfight_readport,writeport_1_2)
  2338: 	MDRV_CPU_VBLANK_INT(phantom2_interrupt,2)
  2339: 	MDRV_MACHINE_INIT(phantom2)
  2340: 
  2341: 	/* video hardware */
  2342: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 32*8-1)
  2343: 	MDRV_PALETTE_LENGTH(3)
  2344: 	MDRV_PALETTE_INIT(phantom2)
  2345: 
  2346: 	/* sound hardware */
  2347: MACHINE_DRIVER_END
  2348: 
  2349: 
  2350: /*******************************************************/
  2351: /*                                                     */
  2352: /* Midway "Dog Patch"                                  */
  2353: /*                                                     */
  2354: /*******************************************************/
  2355: 
  2356: INPUT_PORTS_START( dogpatch )
  2357: 	PORT_START      /* IN0 */
  2358: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
  2359: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 )
  2360: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START2 )
  2361: 	PORT_ANALOG( 0x38, 0x1f, IPT_AD_STICK_X |IPF_PLAYER2, 25, 10, 0x05, 0x48)
  2362: 	/* 6 bit horiz encoder - Gray's binary? */
  2363: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
  2364: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 )
  2365: 
  2366: 	PORT_START      /* IN1 */
  2367: 	PORT_ANALOG( 0x3f, 0x1f, IPT_AD_STICK_X, 25, 10, 0x01, 0x3e) /* 6 bit horiz encoder - Gray's binary? */
  2368: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 )
  2369: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
  2370: 
  2371: 	PORT_START      /* IN2 Dips & Coins */
  2372: 	PORT_DIPNAME( 0x03, 0x00, "# Cans" )
  2373: 	PORT_DIPSETTING(    0x03, "10" )
  2374: 	PORT_DIPSETTING(    0x02, "15" )
  2375: 	PORT_DIPSETTING(    0x01, "20" )
  2376: 	PORT_DIPSETTING(    0x00, "25" )
  2377: 	PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) )
  2378: 	PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
  2379: 	PORT_DIPSETTING(    0x0c, DEF_STR( 2C_2C ) )
  2380: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  2381: 	PORT_DIPSETTING(    0x04, DEF_STR( 1C_2C ) )
  2382: 	PORT_DIPNAME( 0x10, 0x00, "Extended Play" )
  2383: 	PORT_DIPSETTING(    0x10, "3 extra cans" )
  2384: 	PORT_DIPSETTING(    0x00, "5 extra cans" )
  2385: 	PORT_SERVICE( 0x20, IP_ACTIVE_LOW )
  2386: 	PORT_DIPNAME( 0xc0, 0x00, "Extended Play" )
  2387: 	PORT_DIPSETTING(    0xc0, "150 Pts" )
  2388: 	PORT_DIPSETTING(    0x80, "175 Pts" )
  2389: 	PORT_DIPSETTING(    0x40, "225 Pts" )
  2390: 	PORT_DIPSETTING(    0x00, "275 Pts" )
  2391: INPUT_PORTS_END
  2392: 
  2393: 
  2394: /*******************************************************/
  2395: /*                                                     */
  2396: /* Midway "4 Player Bowling"                           */
  2397: /*                                                     */
  2398: /*******************************************************/
  2399: 
  2400: static PORT_READ_START( bowler_readport )
  2401: 	{ 0x01, 0x01, c8080bw_shift_data_comp_r },
  2402: 	{ 0x02, 0x02, input_port_0_r },				/* dip switch */
  2403: 	{ 0x04, 0x04, input_port_1_r },				/* coins / switches */
  2404: 	{ 0x05, 0x05, input_port_2_r },				/* ball vert */
  2405: 	{ 0x06, 0x06, input_port_3_r },				/* ball horz */
  2406: PORT_END
  2407: 
  2408: INPUT_PORTS_START( bowler )
  2409: 	PORT_START      /* IN2 */
  2410: 	PORT_DIPNAME( 0x03, 0x00, "Language" )
  2411: 	PORT_DIPSETTING(    0x00, "English" )
  2412: 	PORT_DIPSETTING(    0x01, "French" )
  2413: 	PORT_DIPSETTING(    0x02, "German" )
  2414:   /*PORT_DIPSETTING(    0x03, "German" )*/
  2415: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
  2416: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2417: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2418: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
  2419: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2420: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2421: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Coinage ) )
  2422: 	PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) )
  2423: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  2424: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
  2425: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2426: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2427: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* effects button 1 */
  2428: 	PORT_SERVICE( 0x80, IP_ACTIVE_HIGH )
  2429: 
  2430: 	PORT_START      /* IN4 */
  2431: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
  2432: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  2433: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  2434: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON2 )
  2435: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )
  2436: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
  2437: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
  2438: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
  2439: 
  2440: 	PORT_START      /* IN5 */
  2441: 	PORT_ANALOG( 0xff, 0, IPT_TRACKBALL_Y | IPF_REVERSE, 10, 10, 0, 0)
  2442: 
  2443: 	PORT_START      /* IN6 */
  2444: 	PORT_ANALOG( 0xff, 0, IPT_TRACKBALL_X, 10, 10, 0, 0)
  2445: INPUT_PORTS_END
  2446: 
  2447: static MACHINE_DRIVER_START( bowler )
  2448: 
  2449: 	/* basic machine hardware */
  2450: 	MDRV_IMPORT_FROM(8080bw)
  2451: 	MDRV_CPU_MODIFY("main")
  2452: 	MDRV_CPU_PORTS(bowler_readport,writeport_1_2)
  2453: 	MDRV_MACHINE_INIT(bowler)
  2454: 
  2455: 	/* video hardware */
  2456: 	MDRV_SCREEN_SIZE(35*8, 32*8)	/* Extra 3 lines for the bonus display */
  2457: 	MDRV_VISIBLE_AREA(0*8, 35*8-1, 4*8, 32*8-1)
  2458: 
  2459: 	/* sound hardware */
  2460: MACHINE_DRIVER_END
  2461: 
  2462: 
  2463: /*******************************************************/
  2464: /*                                                     */
  2465: /* Midway "Shuffleboard"                               */
  2466: /*                                                     */
  2467: /*******************************************************/
  2468: 
  2469: static PORT_READ_START( shuffle_readport )
  2470: 	{ 0x01, 0x01, c8080bw_shift_data_r },
  2471: 	{ 0x02, 0x02, input_port_0_r },				/* dip switch */
  2472: 	{ 0x04, 0x04, input_port_1_r },				/* coins / switches */
  2473: 	{ 0x05, 0x05, input_port_2_r },				/* ball vert */
  2474: 	{ 0x06, 0x06, input_port_3_r },				/* ball horz */
  2475: PORT_END
  2476: 
  2477: INPUT_PORTS_START( shuffle )
  2478: 	PORT_START      /* DSW0 */
  2479: 	PORT_DIPNAME( 0x03, 0x00, "Language" )
  2480: 	PORT_DIPSETTING(    0x00, "English" )
  2481: 	PORT_DIPSETTING(    0x01, "French" )
  2482: 	PORT_DIPSETTING(    0x02, "German" )
  2483:   /*PORT_DIPSETTING(    0x03, "German" )*/
  2484: 	PORT_DIPNAME( 0x0c, 0x04, "Points to Win" )
  2485: 	PORT_DIPSETTING(    0x00, "25" )
  2486: 	PORT_DIPSETTING(    0x04, "35" )
  2487: 	PORT_DIPSETTING(    0x08, "40" )
  2488: 	PORT_DIPSETTING(    0x0c, "50" )
  2489: 	PORT_DIPNAME( 0x30, 0x10, DEF_STR( Coinage ) )
  2490: 	PORT_DIPSETTING(    0x30, "2 Coins/1 Player  4 Coins/2 Players" )
  2491: 	PORT_DIPSETTING(    0x20, "2 Coins/1 or 2 Players" )
  2492: 	PORT_DIPSETTING(    0x10, "1 Coin/1 Player  2 Coins/2 Players" )
  2493: 	PORT_DIPSETTING(    0x00, "1 Coin/1 or 2 Players" )
  2494: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )	/* time limit? */
  2495: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2496: 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  2497: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  2498: 
  2499: 	PORT_START      /* IN1 */
  2500: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
  2501: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START1 )
  2502: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START2 )
  2503: 	PORT_BITX(0x08, IP_ACTIVE_LOW, IPT_BUTTON1, "Game Select", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  2504: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
  2505: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
  2506: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
  2507: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
  2508: 
  2509: 	PORT_START      /* IN2 */
  2510: 	PORT_ANALOG( 0xff, 0, IPT_TRACKBALL_Y, 10, 10, 0, 0)
  2511: 
  2512: 	PORT_START      /* IN3 */
  2513: 	PORT_ANALOG( 0xff, 0, IPT_TRACKBALL_X | IPF_REVERSE, 10, 10, 0, 0)
  2514: INPUT_PORTS_END
  2515: 
  2516: static MACHINE_DRIVER_START( shuffle )
  2517: 
  2518: 	/* basic machine hardware */
  2519: 	MDRV_IMPORT_FROM(8080bw)
  2520: 	MDRV_CPU_MODIFY("main")
  2521: 	MDRV_CPU_PORTS(shuffle_readport,writeport_1_2)
  2522: 
  2523: 	/* sound hardware */
  2524: MACHINE_DRIVER_END
  2525: 
  2526: 
  2527: /*******************************************************/
  2528: /*                                                     */
  2529: /* Midway "Sea Wolf"                                   */
  2530: /*                                                     */
  2531: /*******************************************************/
  2532: 
  2533: static PORT_READ_START( seawolf_readport )
  2534: 	{ 0x00, 0x00, c8080bw_shift_data_rev_r },
  2535: 	{ 0x01, 0x01, input_port_0_r },
  2536: 	{ 0x02, 0x02, input_port_1_r },
  2537: 	{ 0x03, 0x03, c8080bw_shift_data_r },
  2538: PORT_END
  2539: 
  2540: INPUT_PORTS_START( seawolf )
  2541: 	PORT_START      /* IN0 */
  2542: 	PORT_ANALOG( 0x1f, 0x01, IPT_PADDLE, 20, 5, 0, 0x1f)
  2543: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  2544: 	PORT_DIPNAME( 0xc0, 0x00, "Time" )
  2545: 	PORT_DIPSETTING(    0x00, "61" )
  2546: 	PORT_DIPSETTING(    0x40, "71" )
  2547: 	PORT_DIPSETTING(    0x80, "81" )
  2548: 	PORT_DIPSETTING(    0xc0, "91" )
  2549: 
  2550: 	PORT_START      /* IN1 Dips & Coins */
  2551: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
  2552: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START1 )
  2553: 	PORT_DIPNAME( 0x0c, 0x00, DEF_STR( Coinage ) )
  2554: 	PORT_DIPSETTING(    0x04, DEF_STR( 2C_1C ) )
  2555: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  2556: 	PORT_DIPSETTING(    0x0c, DEF_STR( 2C_3C ) )
  2557: 	PORT_DIPSETTING(    0x08, DEF_STR( 1C_2C ) )
  2558: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_TILT ) // Reset High Scores
  2559: 	PORT_DIPNAME( 0xe0, 0x20, "Extended Play" )
  2560: 	PORT_DIPSETTING(    0x00, "None" )
  2561: 	PORT_DIPSETTING(    0x20, "2000" )
  2562: 	PORT_DIPSETTING(    0x40, "3000" )
  2563: 	PORT_DIPSETTING(    0x60, "4000" )
  2564: 	PORT_DIPSETTING(    0x80, "5000" )
  2565: 	PORT_DIPSETTING(    0xa0, "6000" )
  2566: 	PORT_DIPSETTING(    0xc0, "7000" )
  2567: 	PORT_DIPSETTING(    0xe0, "Test Mode" )
  2568: INPUT_PORTS_END
  2569: 
  2570: static MACHINE_DRIVER_START( seawolf )
  2571: 
  2572: 	/* basic machine hardware */
  2573: 	MDRV_IMPORT_FROM(8080bw)
  2574: 	MDRV_CPU_MODIFY("main")
  2575: 	MDRV_CPU_PORTS(seawolf_readport,writeport_4_3)
  2576: 	MDRV_MACHINE_INIT(seawolf)
  2577: 
  2578: 	/* sound hardware */
  2579: 	MDRV_SOUND_ADD(SAMPLES, seawolf_samples_interface)
  2580: MACHINE_DRIVER_END
  2581: 
  2582: 
  2583: /*******************************************************/
  2584: /*                                                     */
  2585: /* Midway "Blue Shark"                                 */
  2586: /*                                                     */
  2587: /*******************************************************/
  2588: 
  2589: INPUT_PORTS_START( blueshrk )
  2590: 	PORT_START      /* IN0 */
  2591: 	PORT_ANALOG( 0x7f, 0x45, IPT_PADDLE, 100, 10, 0xf, 0x7f)
  2592: 
  2593: 	PORT_START      /* IN1 Dips & Coins */
  2594: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
  2595: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN1 )
  2596: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2597: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_TILT )
  2598: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2599: 	PORT_DIPNAME( 0x60, 0x20, "Replay" )
  2600: 	PORT_DIPSETTING(    0x20, "14000" )
  2601: 	PORT_DIPSETTING(    0x40, "18000" )
  2602: 	PORT_DIPSETTING(    0x60, "22000" )
  2603: 	PORT_DIPSETTING(    0x00, "None" )
  2604: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  2605: INPUT_PORTS_END
  2606: 
  2607: static MACHINE_DRIVER_START( blueshrk )
  2608: 
  2609: 	/* basic machine hardware */
  2610: 	MDRV_IMPORT_FROM(8080bw)
  2611: 	MDRV_CPU_MODIFY("main")
  2612: 	MDRV_CPU_PORTS(seawolf_readport,writeport_1_2)
  2613: 
  2614: 	/* sound hardware */
  2615: MACHINE_DRIVER_END
  2616: 
  2617: 
  2618: /*******************************************************/
  2619: /*                                                     */
  2620: /* Midway "Desert Gun"                                 */
  2621: /*                                                     */
  2622: /*******************************************************/
  2623: 
  2624: INPUT_PORTS_START( desertgu )
  2625: 	PORT_START      /* IN0 */
  2626: 	PORT_ANALOG( 0x7f, 0x55, IPT_LIGHTGUN_X, 70, 10, 0xf, 0x7f)
  2627: 
  2628: 	PORT_START
  2629: 	PORT_DIPNAME( 0x03, 0x00, "Time" )
  2630: 	PORT_DIPSETTING(    0x00, "40" )
  2631: 	PORT_DIPSETTING(    0x01, "50" )
  2632: 	PORT_DIPSETTING(    0x02, "60" )
  2633: 	PORT_DIPSETTING(    0x03, "70" )
  2634: 	PORT_DIPNAME( 0x0c, 0x00, "Language" )
  2635: 	PORT_DIPSETTING(    0x00, "English" )
  2636: 	PORT_DIPSETTING(    0x04, "German" )
  2637: 	PORT_DIPSETTING(    0x08, "French" )
  2638:     PORT_DIPSETTING(    0x0c, "Norwegian?" )
  2639: 	PORT_DIPNAME( 0x30, 0x00, "Extended Play" )
  2640: 	PORT_DIPSETTING(    0x00, "5000" )
  2641: 	PORT_DIPSETTING(    0x10, "7000" )
  2642: 	PORT_DIPSETTING(    0x20, "9000" )
  2643: 	PORT_DIPSETTING(    0x30, "Test Mode" )
  2644: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  2645: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
  2646: 
  2647: 	PORT_START      /* IN2 */
  2648: 	PORT_ANALOG( 0x7f, 0x45, IPT_LIGHTGUN_Y, 70, 10, 0xf, 0x7f)
  2649: INPUT_PORTS_END
  2650: 
  2651: static MACHINE_DRIVER_START( desertgu )
  2652: 
  2653: 	/* basic machine hardware */
  2654: 	MDRV_IMPORT_FROM(8080bw)
  2655: 	MDRV_CPU_MODIFY("main")
  2656: 	MDRV_CPU_PORTS(seawolf_readport,writeport_1_2)
  2657: 	MDRV_MACHINE_INIT(desertgu)
  2658: 
  2659: 	/* sound hardware */
  2660: MACHINE_DRIVER_END
  2661: 
  2662: 
  2663: /*******************************************************/
  2664: /*                                                     */
  2665: /* Midway "Extra Innings"                              */
  2666: /*                                                     */
  2667: /*******************************************************/
  2668: 
  2669: /*
  2670:  * The cocktail version has independent bat, pitch, and field controls
  2671:  * while the upright version ties the pairs of inputs together through
  2672:  * jumpers in the wiring harness.
  2673:  */
  2674: INPUT_PORTS_START( einnings )
  2675: 	PORT_START      /* IN0 */
  2676: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )			/* home bat */
  2677: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_PLAYER2 )	/* home fielders left */
  2678: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_PLAYER2 )	/* home fielders right */
  2679: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_PLAYER2 )		/* home pitch left */
  2680: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_PLAYER2 )	/* home pitch right */
  2681: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )			/* home pitch slow */
  2682: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2)			/* home pitch fast */
  2683: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  2684: 
  2685: 	PORT_START      /* IN1 */
  2686: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )		/* vistor bat */
  2687: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT )	/* vistor fielders left */
  2688: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT )	/* visitor fielders right */
  2689: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP )	/* visitor pitch left */
  2690: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN )	/* visitor pitch right */
  2691: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 )		/* visitor pitch slow */
  2692: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 )		/* visitor pitch fast */
  2693: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )
  2694: 
  2695: 	PORT_START      /* IN2 Dips & Coins */
  2696: 	PORT_DIPNAME( 0x07, 0x00, DEF_STR( Coinage ))
  2697: 	PORT_DIPSETTING(    0x02, "2C/1 In (1 or 2 Players)" )
  2698: 	PORT_DIPSETTING(    0x03, "2C/1 In 4C/3 In (1 or 2 Pls)" )
  2699: 	PORT_DIPSETTING(    0x00, "1 Coin/1 Inning (1 or 2 Pls)" )
  2700: 	PORT_DIPSETTING(    0x01, "1C/1 In 2C/3 In (1 or 2 Pls)" )
  2701: 	PORT_DIPSETTING(    0x04, "1C/1Pl 2C/2Pl 4C/3Inn" )
  2702: 	PORT_DIPSETTING(    0x05, "2C/1Pl 4C/2Pl 8C/3Inn" )
  2703: /* 0x06 and 0x07 same as 0x00 */
  2704: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2705: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2706: 	PORT_SERVICE( 0x40, IP_ACTIVE_LOW )
  2707: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
  2708: INPUT_PORTS_END
  2709: 
  2710: 
  2711: /*******************************************************/
  2712: /*                                                     */
  2713: /* Midway "Amazing Maze"                               */
  2714: /*                                                     */
  2715: /*******************************************************/
  2716: 
  2717: INPUT_PORTS_START( maze )
  2718: 	PORT_START      /* IN0 */
  2719: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_PLAYER1 )
  2720: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_PLAYER1 )
  2721: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_PLAYER1 )
  2722: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_PLAYER1 )
  2723: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_PLAYER2 )
  2724: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_PLAYER2 )
  2725: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_PLAYER2 )
  2726: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_PLAYER2 )
  2727: 
  2728: 	PORT_START      /* IN1 */
  2729: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 )
  2730: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  2731: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2732: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_COIN1  )
  2733: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2734: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2735: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN)
  2736: 	PORT_SERVICE( 0x80, IP_ACTIVE_HIGH )
  2737: 
  2738: 	PORT_START      /* DSW0 - Never read (?) */
  2739: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
  2740: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2741: 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
  2742: 	PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
  2743: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2744: 	PORT_DIPSETTING(    0x02, DEF_STR( On ) )
  2745: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
  2746: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2747: 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
  2748: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) )
  2749: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2750: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
  2751: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
  2752: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2753: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  2754: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) )
  2755: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2756: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  2757: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) )
  2758: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2759: 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  2760: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Unknown ) )
  2761: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2762: 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  2763: INPUT_PORTS_END
  2764: 
  2765: 
  2766: /*******************************************************/
  2767: /*                                                     */
  2768: /* Midway "Tornado Baseball"                           */
  2769: /*                                                     */
  2770: /*******************************************************/
  2771: 
  2772: INPUT_PORTS_START( tornbase )
  2773: 	PORT_START      /* IN0 */
  2774: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON3 | IPF_PLAYER1)
  2775: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_PLAYER2 )
  2776: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_PLAYER2 )
  2777: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_PLAYER2 )
  2778: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_PLAYER2 )
  2779: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  2780: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 | IPF_PLAYER2 )
  2781: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN)
  2782: 
  2783: 	PORT_START      /* IN1 */
  2784: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_BUTTON3 | IPF_PLAYER2)
  2785: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_PLAYER1 )
  2786: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_PLAYER1 )
  2787: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_PLAYER1 )
  2788: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_PLAYER1 )
  2789: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER1 )
  2790: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_BUTTON2 | IPF_PLAYER1)
  2791: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN)
  2792: 
  2793: 	PORT_START      /* DSW0 */
  2794: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
  2795: 	PORT_BIT( 0x02, IP_ACTIVE_LOW,  IPT_UNKNOWN )
  2796: 	PORT_BIT( 0x04, IP_ACTIVE_LOW,  IPT_UNKNOWN )
  2797: 	PORT_DIPNAME( 0x78, 0x40, DEF_STR( Coinage ) )
  2798: 	PORT_DIPSETTING(    0x18, "4 Coins/1 Inning 32/9" )
  2799: 	PORT_DIPSETTING(    0x10, "3 Coins/1 Inning 24/9" )
  2800: 	PORT_DIPSETTING(    0x38, "4 Coins/2 Innings 16/9" )
  2801: 	PORT_DIPSETTING(    0x08, "2 Coins/1 Inning 16/9" )
  2802: 	PORT_DIPSETTING(    0x30, "3 Coins/2 Innings 12/9" )
  2803: 	PORT_DIPSETTING(    0x28, "2 Coins/2 Innings 8/9" )
  2804: 	PORT_DIPSETTING(    0x00, "1 Coin/1 Inning 8/9" )
  2805: 	PORT_DIPSETTING(    0x58, "4 Coins/4 Innings 8/9" )
  2806: 	PORT_DIPSETTING(    0x50, "3 Coins/4 Innings 6/9" )
  2807: 	PORT_DIPSETTING(    0x48, "2 Coins/4 Innings 4/9" )
  2808: 	PORT_DIPSETTING(    0x20, "1 Coin/2 Innings 4/9" )
  2809: 	PORT_DIPSETTING(    0x40, "1 Coin/4 Innings 2/9" )
  2810: 	PORT_DIPSETTING(    0x78, "4 Coins/9 Innings" )
  2811: 	PORT_DIPSETTING(    0x70, "3 Coins/9 Innings" )
  2812: 	PORT_DIPSETTING(    0x68, "2 Coins/9 Innings" )
  2813: 	PORT_DIPSETTING(    0x60, "1 Coin/9 Innings" )
  2814: 	PORT_SERVICE( 0x80, IP_ACTIVE_HIGH )
  2815: INPUT_PORTS_END
  2816: 
  2817: 
  2818: /*******************************************************/
  2819: /*                                                     */
  2820: /* Midway "Checkmate"                                  */
  2821: /*                                                     */
  2822: /*******************************************************/
  2823: 
  2824: static PORT_READ_START( checkmat_readport )
  2825: 	{ 0x00, 0x00, input_port_0_r },
  2826: 	{ 0x01, 0x01, input_port_1_r },
  2827: 	{ 0x02, 0x02, input_port_2_r },
  2828: 	{ 0x03, 0x03, input_port_3_r },
  2829: PORT_END
  2830: 
  2831: 
  2832: INPUT_PORTS_START( checkmat )
  2833: 	PORT_START      /* IN0  */
  2834: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_PLAYER1 )
  2835: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_PLAYER1 )
  2836: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_PLAYER1 )
  2837: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_PLAYER1 )
  2838: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_PLAYER2 )
  2839: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_PLAYER2 )
  2840: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_PLAYER2 )
  2841: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_PLAYER2 )
  2842: 
  2843: 	PORT_START      /* IN1  */
  2844: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_PLAYER3 )
  2845: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_PLAYER3 )
  2846: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_PLAYER3 )
  2847: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_PLAYER3 )
  2848: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_JOYSTICK_UP    | IPF_PLAYER4 )
  2849: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  | IPF_PLAYER4 )
  2850: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_PLAYER4 )
  2851: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_PLAYER4 )
  2852: 
  2853: 	PORT_START      /* IN2 Dips & Coins */
  2854: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Coinage ) )
  2855: 	PORT_DIPSETTING(    0x00, "1 Coin/1 or 2 Playera" )
  2856: 	PORT_DIPSETTING(    0x01, "1 Coin/1 to 4 Players" )
  2857: 	PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) )
  2858: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2859: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2860: 	PORT_DIPNAME( 0x0c, 0x00, "Rounds" )
  2861: 	PORT_DIPSETTING(    0x00, "2" )
  2862: 	PORT_DIPSETTING(    0x04, "3" )
  2863: 	PORT_DIPSETTING(    0x08, "4" )
  2864: 	PORT_DIPSETTING(    0x0c, "5" )
  2865: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) )
  2866: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2867: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2868: 	PORT_DIPNAME( 0x60, 0x00, "Language?" )
  2869: 	PORT_DIPSETTING(    0x00, "English?" )
  2870: 	PORT_DIPSETTING(    0x20, "German?" )
  2871: 	PORT_DIPSETTING(    0x40, "French?" )
  2872: 	PORT_DIPSETTING(    0x60, "Spanish?" )
  2873: 	PORT_SERVICE( 0x80, IP_ACTIVE_HIGH )
  2874: 
  2875: 	PORT_START       /* IN3  */
  2876: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_START1 )
  2877: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  2878: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START3 )
  2879: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_START4 )
  2880: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNUSED )
  2881: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
  2882: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
  2883: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_COIN1 )
  2884: INPUT_PORTS_END
  2885: 
  2886: static MACHINE_DRIVER_START( checkmat )
  2887: 
  2888: 	/* basic machine hardware */
  2889: 	MDRV_IMPORT_FROM(8080bw)
  2890: 	MDRV_CPU_MODIFY("main")
  2891: 	MDRV_CPU_PORTS(checkmat_readport,0)
  2892: 
  2893: 	/* sound hardware */
  2894: MACHINE_DRIVER_END
  2895: 
  2896: 
  2897: /*******************************************************/
  2898: /*                                                     */
  2899: /* Taito "Ozma Wars"                                   */
  2900: /*                                                     */
  2901: /*******************************************************/
  2902: 
  2903: INPUT_PORTS_START( ozmawars )
  2904: 	PORT_START		/* IN0 */
  2905: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2906: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2907: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2908: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2909: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2910: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2911: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2912: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2913: 
  2914: 	PORT_START		/* IN1 */
  2915: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
  2916: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  2917: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  2918: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2919: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  2920: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
  2921: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
  2922: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2923: 
  2924: 	PORT_START      /* DSW0 */
  2925: 	PORT_DIPNAME( 0x03, 0x00, "Energy" )
  2926: 	PORT_DIPSETTING(    0x00, "15000" )
  2927: 	PORT_DIPSETTING(    0x01, "20000" )
  2928: 	PORT_DIPSETTING(    0x02, "25000" )
  2929: 	PORT_DIPSETTING(    0x03, "35000" )
  2930: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
  2931: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2932: 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
  2933: 	PORT_DIPNAME( 0x08, 0x00, "Bonus Energy" )
  2934: 	PORT_DIPSETTING(    0x00, "15000" )
  2935: 	PORT_DIPSETTING(    0x08, "10000" )
  2936: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  2937: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
  2938: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
  2939: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Coinage ) )
  2940: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  2941: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
  2942: 
  2943: 	PORT_START		/* Dummy port for cocktail mode */
  2944: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
  2945: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  2946: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
  2947: INPUT_PORTS_END
  2948: 
  2949: INPUT_PORTS_START( spaceph )
  2950: 	PORT_START      /* IN0 */
  2951: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2952: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2953: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2954: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2955: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2956: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2957: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2958: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2959: 
  2960: 	PORT_START      /* IN1 */
  2961: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
  2962: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  2963: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  2964: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  2965: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  2966: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT | IPF_2WAY )
  2967: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
  2968: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2969: 
  2970: 	PORT_START      /* IN1 */
  2971: 	PORT_DIPNAME( 0x03, 0x00, "Energy" )
  2972: 	PORT_DIPSETTING(    0x00, "15000" )
  2973: 	PORT_DIPSETTING(    0x01, "20000" )
  2974: 	PORT_DIPSETTING(    0x02, "25000" )
  2975: 	PORT_DIPSETTING(    0x03, "35000" )
  2976: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
  2977: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2978: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2979: 	PORT_DIPNAME( 0x08, 0x00, "Bonus Energy" )
  2980: 	PORT_DIPSETTING(    0x08, "10000" )
  2981: 	PORT_DIPSETTING(    0x00, "15000" )
  2982: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* Fire */
  2983: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* Left */
  2984: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* Right */
  2985: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Coinage ) )
  2986: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  2987: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
  2988: INPUT_PORTS_END
  2989: 
  2990: 
  2991: 
  2992: /*******************************************************/
  2993: /*                                                     */
  2994: /* Emag "Super Invaders"                               */
  2995: /*                                                     */
  2996: /*******************************************************/
  2997: 
  2998: INPUT_PORTS_START( sinvemag )
  2999: 	PORT_START      /* IN0 */
  3000: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3001: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3002: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3003: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3004: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3005: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3006: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3007: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3008: 
  3009: 	PORT_START      /* IN1 */
  3010: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
  3011: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  3012: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  3013: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3014: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  3015: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
  3016: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
  3017: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )
  3018: 
  3019: 	PORT_START      /* DSW0 */
  3020: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  3021: 	PORT_DIPSETTING(    0x00, "3" )
  3022: 	PORT_DIPSETTING(    0x01, "4" )
  3023: 	PORT_DIPSETTING(    0x02, "5" )
  3024: 	PORT_DIPSETTING(    0x03, "6" )
  3025: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
  3026: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3027: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3028: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Bonus_Life ) )
  3029: 	PORT_DIPSETTING(    0x08, "1000" )
  3030: 	PORT_DIPSETTING(    0x00, "1500" )
  3031: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  3032: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
  3033: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
  3034: 	PORT_DIPNAME( 0x80, 0x00, "Coin Info" )
  3035: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3036: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3037: 
  3038: 	PORT_START		/* Dummy port for cocktail mode */
  3039: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
  3040: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  3041: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
  3042: INPUT_PORTS_END
  3043: 
  3044: 
  3045: 
  3046: /*******************************************************/
  3047: /*                                                     */
  3048: /* Jatre Specter (Taito?)                              */
  3049: /*                                                     */
  3050: /*******************************************************/
  3051: 
  3052: INPUT_PORTS_START( jspecter )
  3053: 	PORT_START      /* IN0 */
  3054: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3055: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3056: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3057: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3058: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3059: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3060: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3061: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3062: 
  3063: 	PORT_START      /* IN1 */
  3064: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
  3065: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  3066: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  3067: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3068: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  3069: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
  3070: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
  3071: 	/* Note: There must have been a toggle switch on the outside of the unit.
  3072: 	   The difficulty can be set by the player */
  3073: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Difficulty ) )
  3074: 	PORT_DIPSETTING(    0x80, "Easy" )
  3075: 	PORT_DIPSETTING(    0x00, "Hard" )
  3076: 
  3077: 	PORT_START      /* DSW0 */
  3078: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  3079: 	PORT_DIPSETTING(    0x00, "3" )
  3080: 	PORT_DIPSETTING(    0x01, "4" )
  3081: 	PORT_DIPSETTING(    0x02, "5" )
  3082: 	PORT_DIPSETTING(    0x03, "6" )
  3083: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
  3084: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3085: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3086: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Bonus_Life ) )
  3087: 	PORT_DIPSETTING(    0x08, "1000" )
  3088: 	PORT_DIPSETTING(    0x00, "1500" )
  3089: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  3090: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
  3091: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
  3092: 	PORT_DIPNAME( 0x80, 0x00, "Coin Info" )
  3093: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3094: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3095: 
  3096: 	PORT_START		/* Dummy port for cocktail mode */
  3097: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
  3098: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  3099: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
  3100: INPUT_PORTS_END
  3101: 
  3102: 
  3103: /*******************************************************/
  3104: /*                                                     */
  3105: /* Taito "Balloon Bomber"                              */
  3106: /*                                                     */
  3107: /*******************************************************/
  3108: 
  3109: INPUT_PORTS_START( ballbomb )
  3110: 	PORT_START		/* IN0 */
  3111: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3112: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3113: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3114: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3115: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3116: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3117: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3118: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3119: 
  3120: 	PORT_START		/* IN1 */
  3121: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 )
  3122: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  3123: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  3124: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3125: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  3126: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
  3127: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
  3128: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3129: 
  3130: 	PORT_START      /* DSW0 */
  3131: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  3132: 	PORT_DIPSETTING(    0x00, "3" )
  3133: 	PORT_DIPSETTING(    0x01, "4" )
  3134: 	PORT_DIPSETTING(    0x02, "5" )
  3135: 	PORT_DIPSETTING(    0x03, "6" )
  3136: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_TILT )
  3137: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3138: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  3139: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
  3140: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
  3141: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3142: 
  3143: 	PORT_START		/* Dummy port for cocktail mode */
  3144: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
  3145: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  3146: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
  3147: INPUT_PORTS_END
  3148: 
  3149: static MACHINE_DRIVER_START( ballbomb )
  3150: 
  3151: 	/* basic machine hardware */
  3152: 	MDRV_IMPORT_FROM(8080bw)
  3153: 	MDRV_CPU_MODIFY("main")
  3154: 	MDRV_MACHINE_INIT(ballbomb)
  3155: 
  3156: 	/* video hardware */
  3157: 	MDRV_PALETTE_LENGTH(8)
  3158: 	MDRV_PALETTE_INIT(invadpt2)
  3159: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 32*8-1)
  3160: 
  3161: 	/* sound hardware */
  3162: MACHINE_DRIVER_END
  3163: 
  3164: 
  3165: /*******************************************************/
  3166: /*                                                     */
  3167: /* Yosaku To Donbee                                    */
  3168: /*                                                     */
  3169: /*******************************************************/
  3170: 
  3171: static MACHINE_DRIVER_START( yosakdon )
  3172: 
  3173: 	/* basic machine hardware */
  3174: 	MDRV_IMPORT_FROM(8080bw)
  3175: 	MDRV_CPU_MODIFY("main")
  3176: 
  3177: 	/* video hardware */
  3178: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 32*8-1)
  3179: 
  3180: 	/* sound hardware */
  3181: MACHINE_DRIVER_END
  3182: 
  3183: 
  3184: INPUT_PORTS_START( spceking )
  3185: 	PORT_START      /* IN0 */
  3186: 	PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3187: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3188: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3189: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3190: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3191: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3192: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3193: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3194: 
  3195: 	PORT_START		/* IN1 */
  3196: 	PORT_BIT( 0x01, IP_ACTIVE_LOW,  IPT_COIN1 )
  3197: 	PORT_BIT( 0x02, IP_ACTIVE_HIGH, IPT_START2 )
  3198: 	PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_START1 )
  3199: 	PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_UNKNOWN )
  3200: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 )
  3201: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY )
  3202: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY )
  3203: 	PORT_BIT( 0x80, IP_ACTIVE_LOW,  IPT_UNKNOWN )
  3204: 
  3205: 	PORT_START      /* DSW0 */
  3206: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
  3207: 	PORT_DIPSETTING(    0x00, "3" )
  3208: 	PORT_DIPSETTING(    0x01, "4" )
  3209: 	PORT_DIPSETTING(    0x02, "5" )
  3210: 	PORT_DIPSETTING(    0x03, "6" )
  3211: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) )
  3212: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3213: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3214: 	PORT_DIPNAME( 0x08, 0x00, "High Score Preset Mode" )
  3215: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3216: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
  3217: 	PORT_BIT( 0x10, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_PLAYER2 )
  3218: 	PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_JOYSTICK_LEFT  | IPF_2WAY | IPF_PLAYER2 )
  3219: 	PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
  3220: 	PORT_DIPNAME( 0x80, 0x00, "Coin Info" )
  3221: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3222: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3223: 
  3224: 	PORT_START		/* Dummy port for cocktail mode */
  3225: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Cabinet ) )
  3226: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  3227: 	PORT_DIPSETTING(    0x01, DEF_STR( Cocktail ) )
  3228: INPUT_PORTS_END
  3229: 
  3230: 
  3231: 
  3232: 
  3233: ROM_START( invaders )
  3234: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3235: 	ROM_LOAD( "invaders.h",   0x0000, 0x0800, CRC(734f5ad8) SHA1(ff6200af4c9110d8181249cbcef1a8a40fa40b7f) )
  3236: 	ROM_LOAD( "invaders.g",   0x0800, 0x0800, CRC(6bfaca4a) SHA1(16f48649b531bdef8c2d1446c429b5f414524350) )
  3237: 	ROM_LOAD( "invaders.f",   0x1000, 0x0800, CRC(0ccead96) SHA1(537aef03468f63c5b9e11dd61e253f7ae17d9743) )
  3238: 	ROM_LOAD( "invaders.e",   0x1800, 0x0800, CRC(14e538b0) SHA1(1d6ca0c99f9df71e2990b610deb9d7da0125e2d8) )
  3239: ROM_END
  3240: 
  3241: ROM_START( earthinv )
  3242: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )             /* 64k for code */
  3243: 	ROM_LOAD( "earthinv.h",   0x0000, 0x0800, CRC(58a750c8) SHA1(90bfa4ea06f38e67fe4286d37d151632439249d2) )
  3244: 	ROM_LOAD( "earthinv.g",   0x0800, 0x0800, CRC(b91742f1) SHA1(8d9ca92405fbaf1d5a7138d400986616378d061e) )
  3245: 	ROM_LOAD( "earthinv.f",   0x1000, 0x0800, CRC(4acbbc60) SHA1(b8c1efb4251a1e690ff6936ec956d6f66136a085) )
  3246: 	ROM_LOAD( "earthinv.e",   0x1800, 0x0800, CRC(df397b12) SHA1(e7e8c080cb6baf342ec637532e05d38129ae73cf) )
  3247: ROM_END
  3248: 
  3249: ROM_START( spaceatt )
  3250: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3251: 	ROM_LOAD( "h",            0x0000, 0x0400, CRC(d0c32d72) SHA1(b3bd950b1ba940fbeb5d95e55113ed8f4c311434) )
  3252: 	ROM_LOAD( "sv02.bin",     0x0400, 0x0400, CRC(0e159534) SHA1(94b2015a9d38ca738705b8d024a79fd2f9855b98) )
  3253: 	ROM_LOAD( "f",            0x0800, 0x0400, CRC(483e651e) SHA1(ae795ee3bc53ac3936f6cf2c72cca7a890783513) )
  3254: 	ROM_LOAD( "c",            0x1400, 0x0400, CRC(1293b826) SHA1(165cd5d08a19eadbe954145b12807f10df9e691a) )
  3255: 	ROM_LOAD( "b",            0x1800, 0x0400, CRC(6fc782aa) SHA1(0275adbeec455e146f4443b0b836b1171436b79b) )
  3256: 	ROM_LOAD( "a",            0x1c00, 0x0400, CRC(211ac4a3) SHA1(e08e90a4e77cfa30400626a484c9f37c87ea13f9) )
  3257: ROM_END
  3258: 
  3259: ROM_START( spaceat2 )
  3260: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3261: 	ROM_LOAD( "spaceatt.h",   0x0000, 0x0800, CRC(a31d0756) SHA1(2b76929654ed0b180091348546dac29fc6e5438e) )
  3262: 	ROM_LOAD( "spaceatt.g",   0x0800, 0x0800, CRC(f41241f7) SHA1(d93cead75922510075433849c4f7099279eafc18) )
  3263: 	ROM_LOAD( "spaceatt.f",   0x1000, 0x0800, CRC(4c060223) SHA1(957e75a978aa600627399061cae0a6525e92ad11) )
  3264: 	ROM_LOAD( "spaceatt.e",   0x1800, 0x0800, CRC(7cf6f604) SHA1(469557de15178c4b2d686e5724e1006f7c20d7a4) )
  3265: ROM_END
  3266: 
  3267: ROM_START( sinvzen )
  3268: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3269: 	ROM_LOAD( "1.bin",        0x0000, 0x0400, CRC(9b0da779) SHA1(a52ccdb252eb69c497aa5eafb35d7f25a311b44e) )
  3270: 	ROM_LOAD( "2.bin",        0x0400, 0x0400, CRC(9858ccab) SHA1(5ad8e5ef0d95779f0e513634b97bc330c9269ce4) )
  3271: 	ROM_LOAD( "3.bin",        0x0800, 0x0400, CRC(a1cc38b5) SHA1(45fc9466b548d511b8174f6f3a4783164dd59489) )
  3272: 	ROM_LOAD( "4.bin",        0x0c00, 0x0400, CRC(1f2db7a8) SHA1(354ad155743f724f2bebcab422f1ef96cb57c683) )
  3273: 	ROM_LOAD( "5.bin",        0x1000, 0x0400, CRC(9b505fcd) SHA1(7461b7087d31dbe09f7b3078584ccaa2c9122c95) )
  3274: 	ROM_LOAD( "6.bin",        0x1400, 0x0400, CRC(de0ca0ae) SHA1(a15d1218361839a2a2bf8da3f78d81621251fe1c) )
  3275: 	ROM_LOAD( "7.bin",        0x1800, 0x0400, CRC(25a296f6) SHA1(37df98384c1513f0e33a350dfcaa99655f91c9ba) )
  3276: 	ROM_LOAD( "8.bin",        0x1c00, 0x0400, CRC(f4bc4a98) SHA1(bff3806750a3695a136f398c7dbb69a0b7daa88a) )
  3277: ROM_END
  3278: 
  3279: ROM_START( sinvemag )
  3280: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3281: 	ROM_LOAD( "sv0h.bin",     0x0000, 0x0400, CRC(86bb8cb6) SHA1(a75648e7f2446c756d86624b15d387d25ce47b66) )
  3282: 	ROM_LOAD( "emag_si.b",    0x0400, 0x0400, CRC(febe6d1a) SHA1(e1c3a24b4fa5862107ada1f9d7249466e8c3f06a) )
  3283: 	ROM_LOAD( "emag_si.c",    0x0800, 0x0400, CRC(aafb24f7) SHA1(6718cdfae09f77d735be5145b9d202a73d8ed9db) )
  3284: 	ROM_LOAD( "emag_si.d",    0x1400, 0x0400, CRC(68c4b9da) SHA1(8953dc0427b09b71bd763e65caa7deaca09a15da) )
  3285: 	ROM_LOAD( "emag_si.e",    0x1800, 0x0400, CRC(c4e80586) SHA1(3d427d5a2eea3c911ec7bd055e06e6747ce5e84d) )
  3286: 	ROM_LOAD( "emag_si.f",    0x1c00, 0x0400, CRC(077f5ef2) SHA1(625de6839073ac4c904f949efc1b2e0afea5d676) )
  3287: ROM_END
  3288: 
  3289: ROM_START( alieninv )
  3290: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3291: 	ROM_LOAD( "1h.bin",       0x0000, 0x0800, CRC(c46df7f4) SHA1(eec34b3d5585bae03c7b80585daaa05ddfcc2164) )
  3292: 	ROM_LOAD( "1g.bin",       0x0800, 0x0800, CRC(4b1112d6) SHA1(b693667656e5d8f44eeb2ea730f4d4db436da579) )
  3293: 	ROM_LOAD( "1f.bin",       0x1000, 0x0800, CRC(adca18a5) SHA1(7e02651692113db31fd469868ae5ffdb0f941ecf) )
  3294: 	ROM_LOAD( "1e.bin",       0x1800, 0x0800, CRC(0449cb52) SHA1(8adcb7cd4492fa6649d9ee81172d8dff56621d64) )
  3295: ROM_END
  3296: 
  3297: ROM_START( sitv )
  3298: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3299: 	ROM_LOAD( "tv0h.s1",      0x0000, 0x0800, CRC(fef18aad) SHA1(043edeefe6a6d4934bd384eafea19326de1dbeec) )
  3300: 	ROM_LOAD( "tv02.rp1",     0x0800, 0x0800, CRC(3c759a90) SHA1(d847d592dee592b1d3a575c21d89eaf3f7f6ae1b) )
  3301: 	ROM_LOAD( "tv03.n1",      0x1000, 0x0800, CRC(0ad3657f) SHA1(a501f316535c50f7d7a20ef8e6dede1526a3f2a8) )
  3302: 	ROM_LOAD( "tv04.m1",      0x1800, 0x0800, CRC(cd2c67f6) SHA1(60f9d8fe2d36ff589277b607f07c1edc917c755c) )
  3303: ROM_END
  3304: 
  3305: ROM_START( sicv )
  3306: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3307: 	ROM_LOAD( "cv17.bin",     0x0000, 0x0800, CRC(3dfbe9e6) SHA1(26487df7fa0bbd0b9b7f74347c4b9318b0a73b89) )
  3308: 	ROM_LOAD( "cv18.bin",     0x0800, 0x0800, CRC(bc3c82bf) SHA1(33e39fc97bd46699be1f9b9741a86f433efdc911) )
  3309: 	ROM_LOAD( "cv19.bin",     0x1000, 0x0800, CRC(d202b41c) SHA1(868fe938ef768655c894ec95b7d9a81bf21f69ca) )
  3310: 	ROM_LOAD( "cv20.bin",     0x1800, 0x0800, CRC(c74ee7b6) SHA1(4f52db274a2d4433ab67c099ee805e8eb8516c0f) )
  3311: 
  3312: 	ROM_REGION( 0x0800, REGION_PROMS, 0 )		/* color maps player 1/player 2 */
  3313: 	ROM_LOAD( "cv01_1.bin",   0x0000, 0x0400, CRC(aac24f34) SHA1(ad110e776547fb48baac568bb50d61854537ca34) )
  3314: 	ROM_LOAD( "cv02_2.bin",   0x0400, 0x0400, CRC(2bdf83a0) SHA1(01ffbd43964c41987e7d44816271308f9a70802b) )
  3315: ROM_END
  3316: 
  3317: ROM_START( sisv )
  3318: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3319: 	ROM_LOAD( "sv0h.bin",     0x0000, 0x0400, CRC(86bb8cb6) SHA1(a75648e7f2446c756d86624b15d387d25ce47b66) )
  3320: 	ROM_LOAD( "sv02.bin",     0x0400, 0x0400, CRC(0e159534) SHA1(94b2015a9d38ca738705b8d024a79fd2f9855b98) )
  3321: 	ROM_LOAD( "invaders.g",   0x0800, 0x0800, CRC(6bfaca4a) SHA1(16f48649b531bdef8c2d1446c429b5f414524350) )
  3322: 	ROM_LOAD( "invaders.f",   0x1000, 0x0800, CRC(0ccead96) SHA1(537aef03468f63c5b9e11dd61e253f7ae17d9743) )
  3323: 	ROM_LOAD( "tv04.m1",      0x1800, 0x0800, CRC(cd2c67f6) SHA1(60f9d8fe2d36ff589277b607f07c1edc917c755c) )
  3324: 
  3325: 	ROM_REGION( 0x0800, REGION_PROMS, 0 )		/* color maps player 1/player 2 */
  3326: 	ROM_LOAD( "cv01_1.bin",   0x0000, 0x0400, CRC(aac24f34) SHA1(ad110e776547fb48baac568bb50d61854537ca34) )
  3327: 	ROM_LOAD( "cv02_2.bin",   0x0400, 0x0400, CRC(2bdf83a0) SHA1(01ffbd43964c41987e7d44816271308f9a70802b) )
  3328: ROM_END
  3329: 
  3330: ROM_START( sisv2 )
  3331: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3332: 	ROM_LOAD( "sv0h.bin",     0x0000, 0x0400, CRC(86bb8cb6) SHA1(a75648e7f2446c756d86624b15d387d25ce47b66) )
  3333: 	ROM_LOAD( "emag_si.b",    0x0400, 0x0400, CRC(febe6d1a) SHA1(e1c3a24b4fa5862107ada1f9d7249466e8c3f06a) )
  3334: 	ROM_LOAD( "sv12",         0x0800, 0x0400, CRC(a08e7202) SHA1(de9f7c851d1b894915e720cfc5d794cdb31752f6) )
  3335: 	ROM_LOAD( "invaders.f",   0x1000, 0x0800, CRC(0ccead96) SHA1(537aef03468f63c5b9e11dd61e253f7ae17d9743) )
  3336: 	ROM_LOAD( "sv13",         0x1800, 0x0400, CRC(a9011634) SHA1(1f1369ecb02078042cfdf17a497b8dda6dd23793) )
  3337: 	ROM_LOAD( "sv14",         0x1c00, 0x0400, CRC(58730370) SHA1(13dc806bcecd2d6089a85dd710ac2869413f7475) )
  3338: 
  3339: 	ROM_REGION( 0x0800, REGION_PROMS, 0 )		/* color maps player 1/player 2 */
  3340: 	ROM_LOAD( "cv01_1.bin",   0x0000, 0x0400, CRC(aac24f34) SHA1(ad110e776547fb48baac568bb50d61854537ca34) )
  3341: 	ROM_LOAD( "cv02_2.bin",   0x0400, 0x0400, CRC(2bdf83a0) SHA1(01ffbd43964c41987e7d44816271308f9a70802b) )
  3342: ROM_END
  3343: 
  3344: ROM_START( spceking )
  3345: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3346: 	ROM_LOAD( "invaders.h",   0x0000, 0x0800, CRC(734f5ad8) SHA1(ff6200af4c9110d8181249cbcef1a8a40fa40b7f) )
  3347: 	ROM_LOAD( "spcekng2",     0x0800, 0x0800, CRC(96dcdd42) SHA1(e18d7ffca92e863ef40e235b2be973d8c5879fdb) )
  3348: 	ROM_LOAD( "spcekng3",     0x1000, 0x0800, CRC(95fc96ad) SHA1(38175edad0e538a1561cec8f7613f15ae274dd14) )
  3349: 	ROM_LOAD( "spcekng4",     0x1800, 0x0800, CRC(54170ada) SHA1(1e8b3774355ec0d448f04805a917f4c1fe64bceb) )
  3350: ROM_END
  3351: 
  3352: ROM_START( spcewars )
  3353: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3354: 	ROM_LOAD( "sanritsu.1",   0x0000, 0x0400, CRC(ca331679) SHA1(5c362c3d1c721d293bcddbef4033533769c8f0e0) )
  3355: 	ROM_LOAD( "sanritsu.2",   0x0400, 0x0400, CRC(48dc791c) SHA1(91a98205c83ca38961e6ba2ac43a41e6e8bc2675) )
  3356: 	ROM_LOAD( "ic35.bin",     0x0800, 0x0800, CRC(40c2d55b) SHA1(b641b63046d242ad23911143ed840011fc98eaff) )
  3357: 	ROM_LOAD( "sanritsu.5",   0x1000, 0x0400, CRC(77475431) SHA1(15a04a2655847ee462be65d1065d643c872bb47c) )
  3358: 	ROM_LOAD( "sanritsu.6",   0x1400, 0x0400, CRC(392ef82c) SHA1(77c98c11ee727ed3ed6e118f13d97aabdb555540) )
  3359: 	ROM_LOAD( "sanritsu.7",   0x1800, 0x0400, CRC(b3a93df8) SHA1(3afc96814149d4d5343fe06eac09f808384d02c4) )
  3360: 	ROM_LOAD( "sanritsu.8",   0x1c00, 0x0400, CRC(64fdc3e1) SHA1(c3c278bc236ced7fc85e1a9b018e80be6ab33402) )
  3361: 	ROM_LOAD( "sanritsu.9",   0x4000, 0x0400, CRC(b2f29601) SHA1(ce855e312f50df7a74682974803cb4f9b2d184f3) )
  3362: ROM_END
  3363: 
  3364: ROM_START( spacewr3 )
  3365: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3366: 	ROM_LOAD( "ic36.bin",     0x0000, 0x0800, CRC(9e30f88a) SHA1(314dfb2920d9b43b977cc19e40ac315e6933c3b9) )
  3367: 	ROM_LOAD( "ic35.bin",     0x0800, 0x0800, CRC(40c2d55b) SHA1(b641b63046d242ad23911143ed840011fc98eaff) )
  3368: 	ROM_LOAD( "ic34.bin",     0x1000, 0x0800, CRC(b435f021) SHA1(2d0d813b99d571b53770fa878a1f82ca67827caa) )
  3369: 	ROM_LOAD( "ic33.bin",     0x1800, 0x0800, CRC(cbdc6fe8) SHA1(63038ea09d320c54e3d1cf7f043c17bba71bf13c) )
  3370: 	ROM_LOAD( "ic32.bin",     0x4000, 0x0800, CRC(1e5a753c) SHA1(5b7cd7b347203f4edf816f02c366bd3b1b9517c4) )
  3371: ROM_END
  3372: 
  3373: ROM_START( invaderl )
  3374: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3375: 	ROM_LOAD( "c01",          0x0000, 0x0400, CRC(499f253a) SHA1(e13353194277f5d35e92db9b11912b5f392f51b7) )
  3376: 	ROM_LOAD( "c02",          0x0400, 0x0400, CRC(2d0b2e1f) SHA1(2e0262d9dba607824fcd720d2995531649bdd03d) )
  3377: 	ROM_LOAD( "c03",          0x0800, 0x0400, CRC(03033dc2) SHA1(87d7838e6a6542c2c5510af593df45137cb397c6) )
  3378: 	ROM_LOAD( "c07",          0x1000, 0x0400, CRC(5a7bbf1f) SHA1(659f2a8c646660d316d6e70f1d9548375f1da63f) )
  3379: 	ROM_LOAD( "c04",          0x1400, 0x0400, CRC(455b1fa7) SHA1(668800a0a3ba18d8b54c2aa4dfd4bd01a667d679) )
  3380: 	ROM_LOAD( "c05",          0x1800, 0x0400, CRC(40cbef75) SHA1(15994ed8bb8ab8faed6198926873851062c9d95f) )
  3381: 	ROM_LOAD( "sv06.bin",     0x1c00, 0x0400, CRC(2c68e0b4) SHA1(a5e5357120102ad32792bf3ef6362f45b7ba7070) )
  3382: ROM_END
  3383: 
  3384: ROM_START( jspecter )
  3385: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3386: 	ROM_LOAD( "3305.u6",      0x0000, 0x1000, CRC(ab211a4f) SHA1(d675ed29c3479d7318f8559bd56dd619cf631b6a) )
  3387: 	ROM_LOAD( "3306.u7",      0x1400, 0x1000, CRC(0df142a7) SHA1(2f1c32d6fe7eafb7808fef0bdeb69b4909427417) )
  3388: ROM_END
  3389: 
  3390: ROM_START( jspectr2 )
  3391: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3392: 	ROM_LOAD( "unksi.b2",     0x0000, 0x1000, CRC(0584b6c4) SHA1(c130021b878bde2beda4a189f71bbfed61088535) )
  3393: 	ROM_LOAD( "unksi.a2",     0x1400, 0x1000, CRC(58095955) SHA1(545df3bb9ee4ff09f491d7a4b704e31aa311a8d7) )
  3394: ROM_END
  3395: 
  3396: ROM_START( invadpt2 )
  3397: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3398: 	ROM_LOAD( "pv.01",        0x0000, 0x0800, CRC(7288a511) SHA1(ff617872784c28ed03591aefa9f0519e5651701f) )
  3399: 	ROM_LOAD( "pv.02",        0x0800, 0x0800, CRC(097dd8d5) SHA1(8d68654d54d075c0f0d7f63c87ff4551ce8b7fbf) )
  3400: 	ROM_LOAD( "pv.03",        0x1000, 0x0800, CRC(1766337e) SHA1(ea959bf06c9930d83a07559e191a28641efb07ac) )
  3401: 	ROM_LOAD( "pv.04",        0x1800, 0x0800, CRC(8f0e62e0) SHA1(a967b155f15f8432222fcc78b23121b00c405c5c) )
  3402: 	ROM_LOAD( "pv.05",        0x4000, 0x0800, CRC(19b505e9) SHA1(6a31a37586782ce421a7d2cffd8f958c00b7b415) )
  3403: 
  3404: 	ROM_REGION( 0x0800, REGION_PROMS, 0 )		/* color maps player 1/player 2 */
  3405: 	ROM_LOAD( "pv06_1.bin",   0x0000, 0x0400, CRC(a732810b) SHA1(a5fabffa73ca740909e23b9530936f9274dff356) )
  3406: 	ROM_LOAD( "pv07_2.bin",   0x0400, 0x0400, CRC(2c5b91cb) SHA1(7fa4d4aef85473b1b4f18734230c164e72be44e7) )
  3407: ROM_END
  3408: 
  3409: ROM_START( invaddlx )
  3410: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3411: 	ROM_LOAD( "invdelux.h",   0x0000, 0x0800, CRC(e690818f) SHA1(0860fb03a64d34a9704a1459a5e96929eafd39c7) )
  3412: 	ROM_LOAD( "invdelux.g",   0x0800, 0x0800, CRC(4268c12d) SHA1(df02419f01cf0874afd1f1aa16276751acd0604a) )
  3413: 	ROM_LOAD( "invdelux.f",   0x1000, 0x0800, CRC(f4aa1880) SHA1(995d77b67cb4f2f3781c2c8747cb058b7c1b3412) )
  3414: 	ROM_LOAD( "invdelux.e",   0x1800, 0x0800, CRC(408849c1) SHA1(f717e81017047497a2e9f33f0aafecfec5a2ed7d) )
  3415: 	ROM_LOAD( "invdelux.d",   0x4000, 0x0800, CRC(e8d5afcd) SHA1(91fde9a9e7c3dd53aac4770bd169721a79b41ed1) )
  3416: ROM_END
  3417: 
  3418: ROM_START( moonbase )
  3419: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	   /* 64k for code */
  3420: 	ROM_LOAD( "pv.01",        0x0000, 0x0800, CRC(7288a511) SHA1(ff617872784c28ed03591aefa9f0519e5651701f) )
  3421: 	ROM_LOAD( "pv.02",        0x0800, 0x0800, CRC(097dd8d5) SHA1(8d68654d54d075c0f0d7f63c87ff4551ce8b7fbf) )
  3422: 	ROM_LOAD( "ze3-5.bin",    0x1000, 0x0400, CRC(2b105ed3) SHA1(fa0767089b3aaec25be39e950e7163ecbdc2f39f) )
  3423: 	ROM_LOAD( "ze3-6.bin",    0x1400, 0x0400, CRC(cb3d6dcb) SHA1(b4923b12a141c76b7d50274f19a3224db26a5669) )
  3424: 	ROM_LOAD( "ze3-7.bin",    0x1800, 0x0400, CRC(774b52c9) SHA1(ddbbba874ac069fb930b364a890c45675ec389f7) )
  3425: 	ROM_LOAD( "ze3-8.bin",    0x1c00, 0x0400, CRC(e88ea83b) SHA1(ef05be4783c860369ee5ecd4844837207e99ad9f) )
  3426: 	ROM_LOAD( "ze3-9.bin",    0x4000, 0x0400, CRC(2dd5adfa) SHA1(62cb98cad1e48de0e0cbf30392d35834b38dadbd) )
  3427: 	ROM_LOAD( "ze3-10.bin",   0x4400, 0x0400, CRC(1e7c22a4) SHA1(b34173375494ffbf5400dd4014a683a9807f4f08) )
  3428: ROM_END
  3429: 
  3430: ROM_START( invad2ct )
  3431:     ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3432:     ROM_LOAD( "invad2ct.h",   0x0000, 0x0800, CRC(51d02a71) SHA1(2fa82ddc2702a72de0a9559ec244b70ab3db3f18) )
  3433:     ROM_LOAD( "invad2ct.g",   0x0800, 0x0800, CRC(533ac770) SHA1(edb65c289027432dad7861a7d6abbda9223c13b1) )
  3434:     ROM_LOAD( "invad2ct.f",   0x1000, 0x0800, CRC(d1799f39) SHA1(f7f1ba34d57f9883241ba3ef90e34ed20dfb8003) )
  3435:     ROM_LOAD( "invad2ct.e",   0x1800, 0x0800, CRC(291c1418) SHA1(0d9f7973ed81d28c43ef8b96f1180d6629871785) )
  3436:     ROM_LOAD( "invad2ct.b",   0x5000, 0x0800, CRC(8d9a07c4) SHA1(4acbe15185d958b5589508dc0ea3a615fbe3bcca) )
  3437:     ROM_LOAD( "invad2ct.a",   0x5800, 0x0800, CRC(efdabb03) SHA1(33f4cf249e88e2b7154350e54c479eb4fa86f26f) )
  3438: ROM_END
  3439: 
  3440: ROM_START( invrvnge )
  3441: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3442: 	ROM_LOAD( "invrvnge.h",   0x0000, 0x0800, CRC(aca41bbb) SHA1(ca71f792abd6d9a44d15b19d2ccf678e82ccba4f) )
  3443: 	ROM_LOAD( "invrvnge.g",   0x0800, 0x0800, CRC(cfe89dad) SHA1(218b6a0b636c49c4cdc3667e8b1387ef0e257115) )
  3444: 	ROM_LOAD( "invrvnge.f",   0x1000, 0x0800, CRC(e350de2c) SHA1(e845565e2f96f9dec3242ec5ab75910a515428c9) )
  3445: 	ROM_LOAD( "invrvnge.e",   0x1800, 0x0800, CRC(1ec8dfc8) SHA1(fc8fbe1161958f57c9f4ccbcab8a769184b1c562) )
  3446: ROM_END
  3447: 
  3448: ROM_START( invrvnga )
  3449: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3450: 	ROM_LOAD( "5m.bin",       0x0000, 0x0800, CRC(b145cb71) SHA1(127eb11de7ab9835f06510fb12838c0b728c0d42) )
  3451: 	ROM_LOAD( "5n.bin",       0x0800, 0x0800, CRC(660e8af3) SHA1(bd52eadf4ee3d717fd5bd7206e1e87d729250c92) )
  3452: 	ROM_LOAD( "5p.bin",       0x1000, 0x0800, CRC(6ec5a9ad) SHA1(d1e84d2d60c6128c092f2cd20a2b87216df3034b) )
  3453: 	ROM_LOAD( "5r.bin",       0x1800, 0x0800, CRC(74516811) SHA1(0f595c7b0fae5f3f83fdd1ffed5a408ee77c9438) )
  3454: ROM_END
  3455: 
  3456: ROM_START( spclaser )
  3457: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3458: 	ROM_LOAD( "la01",         0x0000, 0x0800, CRC(bedc0078) SHA1(a5bb0cbbb8e3f27d03beb8101b2be1111d73689d) )
  3459: 	ROM_LOAD( "spcewarl.2",   0x0800, 0x0800, CRC(43bc65c5) SHA1(5f9827c02c2d221e1607359c840374ff7fb92fbf) )
  3460: 	ROM_LOAD( "la03",         0x1000, 0x0800, CRC(1083e9cc) SHA1(7ad45c6230c9e02fcf51e3414c15e2237eebbd7a) )
  3461: 	ROM_LOAD( "la04",         0x1800, 0x0800, CRC(5116b234) SHA1(b165b2574cbcb26a5bb43f91df5f8be5f111f486) )
  3462: ROM_END
  3463: 
  3464: ROM_START( laser )
  3465: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3466: 	ROM_LOAD( "1.u36",        0x0000, 0x0800, CRC(b44e2c41) SHA1(00e0b2e088495d6f3bc175e8a53dcb3686ea8484) )
  3467: 	ROM_LOAD( "2.u35",        0x0800, 0x0800, CRC(9876f331) SHA1(14e36b26d186d9a195492834ef989ed5664d7b65) )
  3468: 	ROM_LOAD( "3.u34",        0x1000, 0x0800, CRC(ed79000b) SHA1(bfe0407e833ce61aa909f5f1f93c3fc1d46605e9) )
  3469: 	ROM_LOAD( "4.u33",        0x1800, 0x0800, CRC(10a160a1) SHA1(e2d4208af11b65fc42d2856e57ee3c196f89d360) )
  3470: ROM_END
  3471: 
  3472: ROM_START( spcewarl )
  3473: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3474: 	ROM_LOAD( "spcewarl.1",   0x0000, 0x0800, CRC(1fcd34d2) SHA1(674139944e0d842a85bd21b326bd735e15453038) )
  3475: 	ROM_LOAD( "spcewarl.2",   0x0800, 0x0800, CRC(43bc65c5) SHA1(5f9827c02c2d221e1607359c840374ff7fb92fbf) )
  3476: 	ROM_LOAD( "spcewarl.3",   0x1000, 0x0800, CRC(7820df3a) SHA1(53315857f4282c68624b338b068d80ee6828af4c) )
  3477: 	ROM_LOAD( "spcewarl.4",   0x1800, 0x0800, CRC(adc05b8d) SHA1(c4acf75537c0662a4785d5d6a90643239a54bf43) )
  3478: ROM_END
  3479: 
  3480: ROM_START( galxwars )
  3481: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3482: 	ROM_LOAD( "univgw3.0",    0x0000, 0x0400, CRC(937796f4) SHA1(88e9494cc532498e51e3a68fa1122c40f22b27dd) )
  3483: 	ROM_LOAD( "univgw4.1",    0x0400, 0x0400, CRC(4b86e7a6) SHA1(167f9f7491a2de39d08e3e6f7057cc75b36c9340) )
  3484: 	ROM_LOAD( "univgw5.2",    0x0800, 0x0400, CRC(47a187cd) SHA1(640c896ba25f34d323624005bd676257ad17b687) )
  3485: 	ROM_LOAD( "univgw6.3",    0x0c00, 0x0400, CRC(7b7d22ff) SHA1(74364cf2b04dcfbbc8e0131fa12c0e574f693d34) )
  3486: 	ROM_LOAD( "univgw1.4",    0x4000, 0x0400, CRC(0871156e) SHA1(3726d0bfe153a0afc62ea56737662074986064b0) )
  3487: 	ROM_LOAD( "univgw2.5",    0x4400, 0x0400, CRC(6036d7bf) SHA1(36c2ad2ffdb47bbecc40fd67ced6ab51a5cd2f3e) )
  3488: ROM_END
  3489: 
  3490: ROM_START( galxwar2 )
  3491: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3492: 	ROM_LOAD( "3192.h6",      0x0000, 0x1000, CRC(bde6860b) SHA1(e04b8add32d8f7ea588fae6d6a387f1d40495f1b) )
  3493: 	ROM_LOAD( "3193.h7",      0x4000, 0x1000, CRC(a17cd507) SHA1(554ab0e8bdc0e7af4a30b0ddc8aa053c8e70255c) ) /* 2nd half unused */
  3494: ROM_END
  3495: 
  3496: ROM_START( galxwart )
  3497: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3498: 	ROM_LOAD( "galxwars.0",   0x0000, 0x0400, CRC(608bfe7f) SHA1(a41a40a2f0a1bb61a70b9ff8a7da925ab1db7f74) )
  3499: 	ROM_LOAD( "galxwars.1",   0x0400, 0x0400, CRC(a810b258) SHA1(030a72fffcf240f643bc3006028cb4883cf58bbc) )
  3500: 	ROM_LOAD( "galxwars.2",   0x0800, 0x0400, CRC(74f31781) SHA1(1de70e8ebbb26eea20ffedb7bd0ca051a67f45e7) )
  3501: 	ROM_LOAD( "galxwars.3",   0x0c00, 0x0400, CRC(c88f886c) SHA1(4d705fbb97e3868c3f6c90c5e5753ad17cfbf5d6) )
  3502: 	ROM_LOAD( "galxwars.4",   0x4000, 0x0400, CRC(ae4fe8fb) SHA1(494f44167dc84e4515b769c12f6e24419461dce4) )
  3503: 	ROM_LOAD( "galxwars.5",   0x4400, 0x0400, CRC(37708a35) SHA1(df6fd521ddfa146ef93e390e47741bdbfda1e7ba) )
  3504: ROM_END
  3505: 
  3506: ROM_START( starw )
  3507: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3508: 	ROM_LOAD( "roma",         0x0000, 0x0400, CRC(60e8993c) SHA1(0bdf163ff0f2e6a8771987d4e7ac604c45af21b8) )
  3509: 	ROM_LOAD( "romb",         0x0400, 0x0400, CRC(b8060773) SHA1(92aa358c338ef8f5773bccada8988d068764e7ea) )
  3510: 	ROM_LOAD( "romc",         0x0800, 0x0400, CRC(307ce6b8) SHA1(f4b6f54db3d2377ec27d62d33fa1c4946559a092) )
  3511: 	ROM_LOAD( "romd",         0x1400, 0x0400, CRC(2b0d0a88) SHA1(d079d12b6d4136519ded32415d668a02147b7601) )
  3512: 	ROM_LOAD( "rome",         0x1800, 0x0400, CRC(5b1c3ad0) SHA1(edb42eec59c3dd7e274e2ea08fed0f3e8fc72e9e) )
  3513: 	ROM_LOAD( "romf",         0x1c00, 0x0400, CRC(c8e42d3d) SHA1(841b27af251b9c3a964972e864fb7c88acc742e0) )
  3514: ROM_END
  3515: 
  3516: ROM_START( lrescue )
  3517: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3518: 	ROM_LOAD( "lrescue.1",    0x0000, 0x0800, CRC(2bbc4778) SHA1(0167f1ac1501ab0b4c4e555023fa5efed59d56ae) )
  3519: 	ROM_LOAD( "lrescue.2",    0x0800, 0x0800, CRC(49e79706) SHA1(bed675bb97d59ae0132c007ccead0d096ed2ddf1) )
  3520: 	ROM_LOAD( "lrescue.3",    0x1000, 0x0800, CRC(1ac969be) SHA1(67ac47f45b9fa5c530bf6047bb7d5776b52847be) )
  3521: 	ROM_LOAD( "lrescue.4",    0x1800, 0x0800, CRC(782fee3c) SHA1(668295e9d6d99084bb4e7c5491f00fe75f4f5a88) )
  3522: 	ROM_LOAD( "lrescue.5",    0x4000, 0x0800, CRC(58fde8bc) SHA1(663665ac5254204c1eba18357d9867034eae55eb) )
  3523: 	ROM_LOAD( "lrescue.6",    0x4800, 0x0800, CRC(bfb0f65d) SHA1(ea0943d764a16094b6e2289f62ef117c9f838c98) )
  3524: 
  3525: 	ROM_REGION( 0x0800, REGION_PROMS, 0 )		/* color map */
  3526: 	ROM_LOAD( "7643-1.cpu",   0x0000, 0x0400, CRC(8b2e38de) SHA1(d6a757be31c3a179d31bd3709e71f9e38ec632e9) )
  3527: 	ROM_RELOAD(  			  0x0400, 0x0400 )
  3528: ROM_END
  3529: 
  3530: ROM_START( grescue )
  3531: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3532: 	ROM_LOAD( "lrescue.1",    0x0000, 0x0800, CRC(2bbc4778) SHA1(0167f1ac1501ab0b4c4e555023fa5efed59d56ae) )
  3533: 	ROM_LOAD( "lrescue.2",    0x0800, 0x0800, CRC(49e79706) SHA1(bed675bb97d59ae0132c007ccead0d096ed2ddf1) )
  3534: 	ROM_LOAD( "lrescue.3",    0x1000, 0x0800, CRC(1ac969be) SHA1(67ac47f45b9fa5c530bf6047bb7d5776b52847be) )
  3535: 	ROM_LOAD( "grescue.4",    0x1800, 0x0800, CRC(ca412991) SHA1(41b59f338a6c246e0942a8bfa3c0bca2c24c7f81) )
  3536: 	ROM_LOAD( "grescue.5",    0x4000, 0x0800, CRC(a419a4d6) SHA1(8eeeb31cbebffc98d2c6c5b964f9b320fcf303d2) )
  3537: 	ROM_LOAD( "lrescue.6",    0x4800, 0x0800, CRC(bfb0f65d) SHA1(ea0943d764a16094b6e2289f62ef117c9f838c98) )
  3538: 
  3539: 	ROM_REGION( 0x0800, REGION_PROMS, 0 )		/* color map */
  3540: 	ROM_LOAD( "7643-1.cpu",   0x0000, 0x0400, CRC(8b2e38de) SHA1(d6a757be31c3a179d31bd3709e71f9e38ec632e9) )
  3541: 	ROM_RELOAD(  			  0x0400, 0x0400 )
  3542: ROM_END
  3543: 
  3544: ROM_START( desterth )
  3545: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3546: 	ROM_LOAD( "36_h.bin",     0x0000, 0x0800, CRC(f86923e5) SHA1(d19935ba3d2c1c2553b3779f1a7ad8856c003dae) )
  3547: 	ROM_LOAD( "35_g.bin",     0x0800, 0x0800, CRC(797f440d) SHA1(a96917f2296ae467acc795eacc1533a2a2d2f401) )
  3548: 	ROM_LOAD( "34_f.bin",     0x1000, 0x0800, CRC(993d0846) SHA1(6be0c45add41fa7e43cac96c776cd0ebb45ade7b) )
  3549: 	ROM_LOAD( "33_e.bin",     0x1800, 0x0800, CRC(8d155fc5) SHA1(1ef5e62d71abbf870c027fa1e477121ff124b8da) )
  3550: 	ROM_LOAD( "32_d.bin",     0x4000, 0x0800, CRC(3f531b6f) SHA1(2fc1f4912688986650e20a050a5d63ddecd4267e) )
  3551: 	ROM_LOAD( "31_c.bin",     0x4800, 0x0800, CRC(ab019c30) SHA1(33931510a722168bcf7c30d22eac9345576b6631) )
  3552: 	ROM_LOAD( "42_b.bin",     0x5000, 0x0800, CRC(ed9dbac6) SHA1(4553f445ac32ebb1be490b02df4924f76557e8f9) )
  3553: 
  3554: 	ROM_REGION( 0x0800, REGION_PROMS, 0 )		/* color map */
  3555: 	ROM_LOAD( "7643-1.cpu",   0x0000, 0x0400, CRC(8b2e38de) SHA1(d6a757be31c3a179d31bd3709e71f9e38ec632e9) )
  3556: 	ROM_RELOAD(  			  0x0400, 0x0400 )
  3557: ROM_END
  3558: 
  3559: ROM_START( cosmicmo )
  3560: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3561: 	ROM_LOAD( "cosmicmo.1",   0x0000, 0x0400, CRC(d6e4e5da) SHA1(8b4275a3c71ac3fa80d17237dc04de5f586645f4) )
  3562: 	ROM_LOAD( "cosmicmo.2",   0x0400, 0x0400, CRC(8f7988e6) SHA1(b6a01d5dcab013350f8f7f3e3ebfc986bb939fe0) )
  3563: 	ROM_LOAD( "cosmicmo.3",   0x0800, 0x0400, CRC(2d2e9dc8) SHA1(dd3da4fc752e003e5e7c64bf189288133aed545b) )
  3564: 	ROM_LOAD( "cosmicmo.4",   0x0c00, 0x0400, CRC(26cae456) SHA1(2f2262340c10e5c29d71317f6eb8072c26655563) )
  3565: 	ROM_LOAD( "cosmicmo.5",   0x4000, 0x0400, CRC(b13f228e) SHA1(a0de05aa36435e72c77f5333f3ad964ec448a8f0) )
  3566: 	ROM_LOAD( "cosmicmo.6",   0x4400, 0x0400, CRC(4ae1b9c4) SHA1(8eed87eebe68caa775fa679363b0fe3728d98c34) )
  3567: 	ROM_LOAD( "cosmicmo.7",   0x4800, 0x0400, CRC(6a13b15b) SHA1(dc03a6c3e938cfd08d16bd1660899f951ba72ea2) )
  3568: ROM_END
  3569: 
  3570: ROM_START( superinv )
  3571: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )             /* 64k for code */
  3572: 	ROM_LOAD( "00",           0x0000, 0x0400, CRC(7a9b4485) SHA1(dde918ec106971972bf7c7e5085c1262522f7e35) )
  3573: 	ROM_LOAD( "01",           0x0400, 0x0400, CRC(7c86620d) SHA1(9e92ec0aa4eee96a7fa115a14a611c488d13b9dd) )
  3574: 	ROM_LOAD( "02",           0x0800, 0x0400, CRC(ccaf38f6) SHA1(8eb0456e8abdba0d1dda20a335a9ecbe7c38f9ed) )
  3575: 	ROM_LOAD( "03",           0x1400, 0x0400, CRC(8ec9eae2) SHA1(48d7a7dc61e0417ca4093e5c2a36efd96e359233) )
  3576: 	ROM_LOAD( "04",           0x1800, 0x0400, CRC(68719b30) SHA1(2084bd63cd61ef1d2497c32112cdb42b7b582da4) )
  3577: 	ROM_LOAD( "05",           0x1c00, 0x0400, CRC(8abe2466) SHA1(17494b1e5db207e37a7d28d7c89cbc5f36b7aefc) )
  3578: ROM_END
  3579: 
  3580: ROM_START( rollingc )
  3581: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3582: 	ROM_LOAD( "rc01.bin",     0x0000, 0x0400, CRC(66fa50bf) SHA1(7451d4ff8d3b351a324aaecdbdc5b46672f5fdd0) )
  3583: 	ROM_LOAD( "rc02.bin",     0x0400, 0x0400, CRC(61c06ae4) SHA1(7685c806e20e4a4a0508a547ac08ca8f6d75bb79) )
  3584: 	ROM_LOAD( "rc03.bin",     0x0800, 0x0400, CRC(77e39fa0) SHA1(16bf88af1b97c5a2a81e105af08b8d9d1f10dcc8) )
  3585: 	ROM_LOAD( "rc04.bin",     0x0c00, 0x0400, CRC(3fdfd0f3) SHA1(4c5e7136a766f3f16399e61eaaa0e00ef6b619f7) )
  3586: 	ROM_LOAD( "rc05.bin",     0x1000, 0x0400, CRC(c26a8f5b) SHA1(f7a541999cfe04c6d6927d285484f0f81857e04a) )
  3587: 	ROM_LOAD( "rc06.bin",     0x1400, 0x0400, CRC(0b98dbe5) SHA1(33cedab82ddccb4caaf681fce553b5230a8d6f92) )
  3588: 	ROM_LOAD( "rc07.bin",     0x1800, 0x0400, CRC(6242145c) SHA1(b01bb02835dda89dc02604ec52e423167183e8c9) )
  3589: 	ROM_LOAD( "rc08.bin",     0x1c00, 0x0400, CRC(d23c2ef1) SHA1(909e3d53291dbd219f4f9e0047c65317b9f6d5bd) )
  3590: 	ROM_LOAD( "rc09.bin",     0x4000, 0x0800, CRC(2e2c5b95) SHA1(33f4e2789d67e355ccd99d2c0d07301ec2bd3bc1) )
  3591: 	ROM_LOAD( "rc10.bin",     0x4800, 0x0800, CRC(ef94c502) SHA1(07c0504b2ebce0fa6e53e6957e7b6c0e9caab430) )
  3592: 	ROM_LOAD( "rc11.bin",     0x5000, 0x0800, CRC(a3164b18) SHA1(7270af25fa4171f86476f5dc409e658da7fba7fc) )
  3593: 	ROM_LOAD( "rc12.bin",     0x5800, 0x0800, CRC(2052f6d9) SHA1(036702fc40cf133eb374ed674695d7c6c79e8311) )
  3594: ROM_END
  3595: 
  3596: ROM_START( boothill )
  3597: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3598: 	ROM_LOAD( "romh.cpu",     0x0000, 0x0800, CRC(1615d077) SHA1(e59a26c2f2fc67ab24301e22d2e3f33043acdf72) )
  3599: 	ROM_LOAD( "romg.cpu",     0x0800, 0x0800, CRC(65a90420) SHA1(9f36c44b5ae5b912cdbbeb9ff11a42221b8362d2) )
  3600: 	ROM_LOAD( "romf.cpu",     0x1000, 0x0800, CRC(3fdafd79) SHA1(b18e8ac9df40c4687ac1acd5174eb99f2ef60081) )
  3601: 	ROM_LOAD( "rome.cpu",     0x1800, 0x0800, CRC(374529f4) SHA1(18c57b79df0c66052eef40a694779a5ade15d0e0) )
  3602: ROM_END
  3603: 
  3604: ROM_START( schaser )
  3605: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3606: 	ROM_LOAD( "rt13.bin",     0x0000, 0x0400, CRC(0dfbde68) SHA1(7367b138ad8448aba9222fed632a892df65cecbd) )
  3607: 	ROM_LOAD( "rt14.bin",     0x0400, 0x0400, CRC(5a508a25) SHA1(c681d0bbf49317e79b596fb094e66b8912f0e409) )
  3608: 	ROM_LOAD( "rt15.bin",     0x0800, 0x0400, CRC(2ac43a93) SHA1(d364f0940681a888c0147e06bcb01f8a0d4a24c8) )
  3609: 	ROM_LOAD( "rt16.bin",     0x0c00, 0x0400, CRC(f5583afc) SHA1(5e8edb43ccb138fd47ac8f3da1af79b4444a4a82) )
  3610: 	ROM_LOAD( "rt17.bin",     0x1000, 0x0400, CRC(51cf1155) SHA1(fd8c82d951602fd7e0ada65fc7cdee9f277c70db) )
  3611: 	ROM_LOAD( "rt18.bin",     0x1400, 0x0400, CRC(3f0fc73a) SHA1(b801c3f1e8e6e41c564432db7c5891f6b27293b2) )
  3612: 	ROM_LOAD( "rt19.bin",     0x1800, 0x0400, CRC(b66ea369) SHA1(d277f572f9c7c4301518546cf60671a6539326ee) )
  3613: 	ROM_LOAD( "rt20.bin",     0x1c00, 0x0400, CRC(e3a7466a) SHA1(2378970f38b0cec066ef853a6540500e468e4ab4) )
  3614: 	ROM_LOAD( "rt21.bin",     0x4000, 0x0400, CRC(b368ac98) SHA1(6860efe0496955db67611183be0efecda92c9c98) )
  3615: 	ROM_LOAD( "rt22.bin",     0x4400, 0x0400, CRC(6e060dfb) SHA1(614e2ecf676c3ea2f9ea869125cfffef2f713684) )
  3616: 
  3617: 	ROM_REGION( 0x0400, REGION_PROMS, 0 )		/* background color map */
  3618: 	ROM_LOAD( "rt06.ic2",     0x0000, 0x0400, CRC(950cf973) SHA1(d22df09b325835a0057ccd0d54f827b374254ac6) )
  3619: ROM_END
  3620: 
  3621: ROM_START( sflush )
  3622: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
  3623: 	ROM_LOAD( "taitofr.005",        0xd800, 0x800, CRC(c4f08f9f) SHA1(997f216f5244942fc1a19f5c1988adbfadc301fc) )
  3624: 	ROM_LOAD( "taitofr.004",        0xe000, 0x800, CRC(87a754a5) SHA1(07c0e2c3cb7aa0086d8f4dd202a452bc6c20d4ee) )
  3625: 	ROM_LOAD( "taitofr.003",        0xe800, 0x800, CRC(5b12847f) SHA1(4b62342723dd49a387fae6637c331d7c853712a3) )
  3626: 	ROM_LOAD( "taitofr.002",        0xf000, 0x800, CRC(291c9b1f) SHA1(7e5b3e1605581abf3d8165f4de9d4e32a5ee3bb0) )
  3627: 	ROM_LOAD( "taitofr.001",        0xf800, 0x800, CRC(55d688c6) SHA1(574a3a2ca73cabb4b8f3444aa4464e6d64daa3ad) )
  3628: ROM_END
  3629: 
  3630: ROM_START( schasrcv )
  3631: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3632: 	ROM_LOAD( "1",     		  0x0000, 0x0400, CRC(bec2b16b) SHA1(c62210ecb64d7c38e5b63481d7fe04eb59bb1068) )
  3633: 	ROM_LOAD( "2",     		  0x0400, 0x0400, CRC(9d25e608) SHA1(4cc52a93a3ab96a0ec1d07593e17832fa59b30a1) )
  3634: 	ROM_LOAD( "3",     		  0x0800, 0x0400, CRC(113d0635) SHA1(ab5e98d0b5fc37d7d69bb5c541681a0f66460440) )
  3635: 	ROM_LOAD( "4",     		  0x0c00, 0x0400, CRC(f3a43c8d) SHA1(29a7a8b7d1de763a255cfec79157fd95e7bff551) )
  3636: 	ROM_LOAD( "5",     		  0x1000, 0x0400, CRC(47c84f23) SHA1(61b475fa92b8335f8edd3a128d8ac8561658e464) )
  3637: 	ROM_LOAD( "6",     		  0x1400, 0x0400, CRC(02ff2199) SHA1(e12c235b2064cb4bb426145172e523256e3c6358) )
  3638: 	ROM_LOAD( "7",     		  0x1800, 0x0400, CRC(87d06b88) SHA1(2d743161f85e47cb8ee2a600cbee790b1ad7ad99) )
  3639: 	ROM_LOAD( "8",     		  0x1c00, 0x0400, CRC(6dfaad08) SHA1(2184c4e2f4b6bffdc4fe13e178134331fcd43253) )
  3640: 	ROM_LOAD( "9",     		  0x4000, 0x0400, CRC(3d1a2ae3) SHA1(672ad6590aebdfebc2748455fa638107f3934c41) )
  3641: 	ROM_LOAD( "10",    		  0x4400, 0x0400, CRC(037edb99) SHA1(f2fc5e61f962666e7f6bb81753ac24ea0b97e581) )
  3642: 
  3643: 	ROM_REGION( 0x0800, REGION_PROMS, 0 )		/* color maps player 1/player 2 (not used, but they were on the board) */
  3644: 	ROM_LOAD( "cv01",         0x0000, 0x0400, CRC(037e16ac) SHA1(d585030aaff428330c91ae94d7cd5c96ebdd67dd) )
  3645: 	ROM_LOAD( "cv02",         0x0400, 0x0400, CRC(8263da38) SHA1(2e7c769d129e6f8a1a31eba1e02777bb94ac32b2) )
  3646: ROM_END
  3647: 
  3648: ROM_START( spcenctr )
  3649: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3650: 	ROM_LOAD( "4m33.cpu",     0x0000, 0x0800, CRC(7458b2db) SHA1(c4f41efb8a35fd8bebc75bff0111476affe2b34d) )
  3651: 	ROM_LOAD( "4m32.cpu",     0x0800, 0x0800, CRC(1b873788) SHA1(6cdf0d602a65c7efcf8abe149c6172b4c7ab87a1) )
  3652: 	ROM_LOAD( "4m31.cpu",     0x1000, 0x0800, CRC(d4319c91) SHA1(30830595c220f490fe150ad018fbf4671bb71e02) )
  3653: 	ROM_LOAD( "4m30.cpu",     0x1800, 0x0800, CRC(9b9a1a45) SHA1(8023a05c13e8b541f9e2fe4d389e6a2dcd4766ea) )
  3654: 	ROM_LOAD( "4m29.cpu",     0x4000, 0x0800, CRC(294d52ce) SHA1(0ee63413c5caf60d45ae8bef08f6c07099d30f79) )
  3655: 	ROM_LOAD( "4m28.cpu",     0x4800, 0x0800, CRC(ce44c923) SHA1(9d35908de3194c5fe6fc8495ae413fa722018744) )
  3656: 	ROM_LOAD( "4m27.cpu",     0x5000, 0x0800, CRC(098070ab) SHA1(72ae344591df0174353dc2e3d22daf5a70e2261f) )
  3657: 	ROM_LOAD( "4m26.cpu",     0x5800, 0x0800, CRC(7f1d1f44) SHA1(2f4951171a55e7ac072742fa24eceeee6aca7e39) )
  3658: ROM_END
  3659: 
  3660: ROM_START( clowns )
  3661: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3662: 	ROM_LOAD( "h2.cpu",       0x0000, 0x0400, CRC(ff4432eb) SHA1(997aee1e3669daa1d8169b4e103d04baaab8ea8d) )
  3663: 	ROM_LOAD( "g2.cpu",       0x0400, 0x0400, CRC(676c934b) SHA1(72b681ca9ef23d820fdd297cc417932aecc9677b) )
  3664: 	ROM_LOAD( "f2.cpu",       0x0800, 0x0400, CRC(00757962) SHA1(ef39211493393e97284a08eea63be0757643ac88) )
  3665: 	ROM_LOAD( "e2.cpu",       0x0c00, 0x0400, CRC(9e506a36) SHA1(8aad486a72d148d8b03e7bec4c12abd14e425c5f) )
  3666: 	ROM_LOAD( "d2.cpu",       0x1000, 0x0400, CRC(d61b5b47) SHA1(6051c0a2e81d6e975e82c2d48d0e52dc0d4723e3) )
  3667: 	ROM_LOAD( "c2.cpu",       0x1400, 0x0400, CRC(154d129a) SHA1(61eebb319ee3a6be598b764b295c18a93a953c1e) )
  3668: ROM_END
  3669: 
  3670: ROM_START( clowns1 )
  3671: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3672: 	ROM_LOAD( "clownsv1.h",   0x0000, 0x0400, CRC(5560c951) SHA1(b6972e1918604263579de577ec58fa6a91e8ff3e) )
  3673: 	ROM_LOAD( "clownsv1.g",   0x0400, 0x0400, CRC(6a571d66) SHA1(e825f95863e901a1b648c74bb47098c8e74f179b) )
  3674: 	ROM_LOAD( "clownsv1.f",   0x0800, 0x0400, CRC(a2d56cea) SHA1(61bc07e6a24a1980216453b4dd2688695193a4ae) )
  3675: 	ROM_LOAD( "clownsv1.e",   0x0c00, 0x0400, CRC(bbd606f6) SHA1(1cbaa21d9834c8d76cf335fd118851591e815c86) )
  3676: 	ROM_LOAD( "clownsv1.d",   0x1000, 0x0400, CRC(37b6ff0e) SHA1(bf83bebb6c14b3663ca86a180f9ae3cddb84e571) )
  3677: 	ROM_LOAD( "clownsv1.c",   0x1400, 0x0400, CRC(12968e52) SHA1(71e4f09d30b992a4ac44b0e88e83b4f8a0f63caa) )
  3678: ROM_END
  3679: 
  3680: ROM_START( gmissile )
  3681: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3682: 	ROM_LOAD( "gm_623.h",     0x0000, 0x0800, CRC(a3ebb792) SHA1(30d9613de849c1a868056c5e28cf2a8608b63e88) )
  3683: 	ROM_LOAD( "gm_623.g",     0x0800, 0x0800, CRC(a5e740bb) SHA1(963c0984953eb58fe7eab84fabb724ec6e29e706) )
  3684: 	ROM_LOAD( "gm_623.f",     0x1000, 0x0800, CRC(da381025) SHA1(c9d0511567ed571b424459896ce7de0326850388) )
  3685: 	ROM_LOAD( "gm_623.e",     0x1800, 0x0800, CRC(f350146b) SHA1(a07000a979b1a735754eca623cc880988924877f) )
  3686: ROM_END
  3687: 
  3688: ROM_START( seawolf )
  3689: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3690: 	ROM_LOAD( "sw0041.h",     0x0000, 0x0400, CRC(8f597323) SHA1(b538277d3a633dd8a3179cff202f18d322e6fe17) )
  3691: 	ROM_LOAD( "sw0042.g",     0x0400, 0x0400, CRC(db980974) SHA1(cc2a99b18695f61e0540c9f6bf8fe3b391dde4a0) )
  3692: 	ROM_LOAD( "sw0043.f",     0x0800, 0x0400, CRC(e6ffa008) SHA1(385198434b08fe4651ad2c920d44fb49cfe0bc33) )
  3693: 	ROM_LOAD( "sw0044.e",     0x0c00, 0x0400, CRC(c3557d6a) SHA1(bd345dd72fed8ce15da76c381782b025f71b006f) )
  3694: ROM_END
  3695: 
  3696: ROM_START( gunfight )
  3697: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3698: 	ROM_LOAD( "7609h.bin",    0x0000, 0x0400, CRC(0b117d73) SHA1(99d01313e251818d336281700e206d9003c71dae) )
  3699: 	ROM_LOAD( "7609g.bin",    0x0400, 0x0400, CRC(57bc3159) SHA1(c177e3f72db9af17ab99b2481448ca26318184b9) )
  3700: 	ROM_LOAD( "7609f.bin",    0x0800, 0x0400, CRC(8049a6bd) SHA1(215b068663e431582591001cbe028929fa96d49f) )
  3701: 	ROM_LOAD( "7609e.bin",    0x0c00, 0x0400, CRC(773264e2) SHA1(de3f2e6841122bbe6e2fda5b87d37842c072289a) )
  3702: ROM_END
  3703: 
  3704: ROM_START( 280zzzap )
  3705: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3706: 	ROM_LOAD( "zzzaph",       0x0000, 0x0400, CRC(1fa86e1c) SHA1(b9cf16eb037ada73631ed24297e9e3b3bf6ab3cd) )
  3707: 	ROM_LOAD( "zzzapg",       0x0400, 0x0400, CRC(9639bc6b) SHA1(b2e2497e421e79a411d07ebf2eed2bb8dc227003) )
  3708: 	ROM_LOAD( "zzzapf",       0x0800, 0x0400, CRC(adc6ede1) SHA1(206bf2575696c4b14437f3db37a215ba33211943) )
  3709: 	ROM_LOAD( "zzzape",       0x0c00, 0x0400, CRC(472493d6) SHA1(ae5cf4481ee4b78ca0d2f4d560d295e922aa04a7) )
  3710: 	ROM_LOAD( "zzzapd",       0x1000, 0x0400, CRC(4c240ee1) SHA1(972475f80253bb0d24773a10aec26a12f28e7c23) )
  3711: 	ROM_LOAD( "zzzapc",       0x1400, 0x0400, CRC(6e85aeaf) SHA1(ffa6bb84ef1f7c2d72fd26c24bd33aa014aeab7e) )
  3712: ROM_END
  3713: 
  3714: ROM_START( lupin3 )
  3715: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3716: 	ROM_LOAD( "lp12.bin",     0x0000, 0x0800, CRC(68a7f47a) SHA1(dce99b3810331d7603fa468f1dea984e571f709b) )
  3717: 	ROM_LOAD( "lp13.bin",     0x0800, 0x0800, CRC(cae9a17b) SHA1(a333ba7db45325996e3254ab36162bb7577e8a38) )
  3718: 	ROM_LOAD( "lp14.bin",     0x1000, 0x0800, CRC(3553b9e4) SHA1(6affb5b6caf08f365c0dce669e44046295c3df91) )
  3719: 	ROM_LOAD( "lp15.bin",     0x1800, 0x0800, CRC(acbeef64) SHA1(50d78cdc9938285b6bf9fa81fa0f6c30b23e0756) )
  3720: 	ROM_LOAD( "lp16.bin",     0x4000, 0x0800, CRC(19fcdc54) SHA1(2f18ee8158321fff68886ffe793724001e8b18c2) )
  3721: 	ROM_LOAD( "lp17.bin",     0x4800, 0x0800, CRC(66289ab2) SHA1(fc9b4a7b7a08d43f34beaf1a8e68ed0ff6148534) )
  3722: 	ROM_LOAD( "lp18.bin",     0x5000, 0x0800, CRC(2f07b4ba) SHA1(982e4c437b39b45e23d15af1b2fc8c7aa3034559) )
  3723: ROM_END
  3724: 
  3725: ROM_START( polaris )
  3726: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3727: 	ROM_LOAD( "ps-01",        0x0000, 0x0800, CRC(c04ce5a9) SHA1(62cc9b3b682ebecfb7600393862c65e26ff5263f) )
  3728: 	ROM_LOAD( "ps-09",        0x0800, 0x0800, CRC(9a5c8cb2) SHA1(7a8c5d74f8b431072d9476d3ef65a3fe1d639813) )
  3729: 	ROM_LOAD( "ps-08",        0x1000, 0x0800, CRC(8680d7ea) SHA1(7fd4b8a415666c36842fed80d2798b48f8b29d0d) )
  3730: 	ROM_LOAD( "ps-04",        0x1800, 0x0800, CRC(65694948) SHA1(de92a7f3e3ef732b573254baa60df60f8e068a5d) )
  3731: 	ROM_LOAD( "ps-05",        0x4000, 0x0800, CRC(772e31f3) SHA1(fa0b866b6df1a9217e286ca880b3bb3fb0644bf3) )
  3732: 	ROM_LOAD( "ps-10",        0x4800, 0x0800, CRC(3df77bac) SHA1(b3275c34b8d42df83df2c404c5b7d220aae651fa) )
  3733: 
  3734: 	ROM_REGION( 0x0400, REGION_PROMS, 0 )		/* background color map */
  3735: 	ROM_LOAD( "ps07",         0x0000, 0x0400, CRC(164aa05d) SHA1(41c699ce45c76a60c71294f25d8df6c6e6c1280a) )
  3736: 
  3737: 	ROM_REGION( 0x0100, REGION_USER1, 0 )		/* cloud graphics */
  3738: 	ROM_LOAD( "mb7052.2c",    0x0000, 0x0100, CRC(2953253b) SHA1(2fb851bc9652ca4e51d473b484ede6dab05f1b51) )
  3739: ROM_END
  3740: 
  3741: ROM_START( polarisa )
  3742: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3743: 	ROM_LOAD( "ps01-1",       0x0000, 0x0800, CRC(7d41007c) SHA1(168f002fe997aac6e4141292de826d389859bb04) )
  3744: 	ROM_LOAD( "ps-09",        0x0800, 0x0800, CRC(9a5c8cb2) SHA1(7a8c5d74f8b431072d9476d3ef65a3fe1d639813) )
  3745: 	ROM_LOAD( "ps03-1",       0x1000, 0x0800, CRC(21f32415) SHA1(6ac9ae9b55e342729fe260147021ed3911a24dc2) )
  3746: 	ROM_LOAD( "ps-04",        0x1800, 0x0800, CRC(65694948) SHA1(de92a7f3e3ef732b573254baa60df60f8e068a5d) )
  3747: 	ROM_LOAD( "ps-05",        0x4000, 0x0800, CRC(772e31f3) SHA1(fa0b866b6df1a9217e286ca880b3bb3fb0644bf3) )
  3748: 	ROM_LOAD( "ps-10",        0x4800, 0x0800, CRC(3df77bac) SHA1(b3275c34b8d42df83df2c404c5b7d220aae651fa) )
  3749: 	ROM_LOAD( "ps26",         0x5000, 0x0800, CRC(9d5c3d50) SHA1(a6acf9ca6e807625156cb1759269014d5830a44f) )
  3750: 
  3751: 	ROM_REGION( 0x0400, REGION_PROMS, 0 )		/* background color map */
  3752: 	ROM_LOAD( "ps07",         0x0000, 0x0400, CRC(164aa05d) SHA1(41c699ce45c76a60c71294f25d8df6c6e6c1280a) )
  3753: 
  3754: 	ROM_REGION( 0x0100, REGION_USER1, 0 )		/* cloud graphics */
  3755: 	ROM_LOAD( "mb7052.2c",    0x0000, 0x0100, CRC(2953253b) SHA1(2fb851bc9652ca4e51d473b484ede6dab05f1b51) )
  3756: ROM_END
  3757: 
  3758: ROM_START( lagunar )
  3759: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3760: 	ROM_LOAD( "lagunar.h",    0x0000, 0x0800, CRC(0cd5a280) SHA1(89a744c912070f11b0b90b0cc92061e238b00b64) )
  3761: 	ROM_LOAD( "lagunar.g",    0x0800, 0x0800, CRC(824cd6f5) SHA1(a74f6983787cf040eab6f19de2669c019962b9cb) )
  3762: 	ROM_LOAD( "lagunar.f",    0x1000, 0x0800, CRC(62692ca7) SHA1(d62051bd1b45ca6e60df83942ff26a64ae25a97b) )
  3763: 	ROM_LOAD( "lagunar.e",    0x1800, 0x0800, CRC(20e098ed) SHA1(e0c52c013f5e93794b363d7762ce0f34ba98c660) )
  3764: ROM_END
  3765: 
  3766: ROM_START( m4 )
  3767: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3768: 	ROM_LOAD( "m4.h",         0x0000, 0x0800, CRC(9ee2a0b5) SHA1(b81b4001c90ac6db25edd838652c42913022d9a9) )
  3769: 	ROM_LOAD( "m4.g",         0x0800, 0x0800, CRC(0e84b9cb) SHA1(a7b74851979aaaa16496e506c487a18df14ab6dc) )
  3770: 	ROM_LOAD( "m4.f",         0x1000, 0x0800, CRC(9ded9956) SHA1(449204a50efd3345cde815ca5f1fb596843a30ac) )
  3771: 	ROM_LOAD( "m4.e",         0x1800, 0x0800, CRC(b6983238) SHA1(3f3b99b33135e144c111d2ebaac8f9433c269bc5) )
  3772: ROM_END
  3773: 
  3774: ROM_START( phantom2 )
  3775: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3776: 	ROM_LOAD( "phantom2.h",   0x0000, 0x0800, CRC(0e3c2439) SHA1(450182e590845c651530b2c84e1f11fe2451dcf6) )
  3777: 	ROM_LOAD( "phantom2.g",   0x0800, 0x0800, CRC(e8df3e52) SHA1(833925e44e686df4d4056bce4c0ffae3269d57df) )
  3778: 	ROM_LOAD( "phantom2.f",   0x1000, 0x0800, CRC(30e83c6d) SHA1(fe34a3e4519a7e5ffe66e76fe974049988656b71) )
  3779: 	ROM_LOAD( "phantom2.e",   0x1800, 0x0800, CRC(8c641cac) SHA1(c4986daacb7ed9efed59b022c6101240b0eddcdc) )
  3780: 
  3781: 	ROM_REGION( 0x0800, REGION_PROMS, 0 )	   /* cloud graphics */
  3782: 	ROM_LOAD( "p2clouds",     0x0000, 0x0800, CRC(dcdd2927) SHA1(d8d42c6594e36c12b40ee6342a9ad01a8bbdef75) )
  3783: ROM_END
  3784: 
  3785: ROM_START( dogpatch )
  3786: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3787: 	ROM_LOAD( "dogpatch.h",   0x0000, 0x0800, CRC(74ebdf4d) SHA1(6b31f9563b0f79fe9128ee83e85a3e2f90d7985b) )
  3788: 	ROM_LOAD( "dogpatch.g",   0x0800, 0x0800, CRC(ac246f70) SHA1(7ee356c3218558a78ee0ff495f9f51ef88cac951) )
  3789: 	ROM_LOAD( "dogpatch.f",   0x1000, 0x0800, CRC(a975b011) SHA1(fb807d9eefde7177d7fd7ab06fc2dbdc58ae6fcb) )
  3790: 	ROM_LOAD( "dogpatch.e",   0x1800, 0x0800, CRC(c12b1f60) SHA1(f0504e16d2ce60a0fb3fc2af8c323bfca0143818) )
  3791: ROM_END
  3792: 
  3793: ROM_START( bowler )
  3794: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3795: 	ROM_LOAD( "h.cpu",        0x0000, 0x0800, CRC(74c29b93) SHA1(9cbd5b7b8a4c889406b6bc065360f74c036320b2) )
  3796: 	ROM_LOAD( "g.cpu",        0x0800, 0x0800, CRC(ca26d8b4) SHA1(cf18991cde8044a961cf556f18c6eb60a7ade595) )
  3797: 	ROM_LOAD( "f.cpu",        0x1000, 0x0800, CRC(ba8a0bfa) SHA1(bb017ddac58d031b249596b70ab1068cd1bad499) )
  3798: 	ROM_LOAD( "e.cpu",        0x1800, 0x0800, CRC(4da65a40) SHA1(7795d59870fa722da89888e72152145662554080) )
  3799: 	ROM_LOAD( "d.cpu",        0x4000, 0x0800, CRC(e7dbc9d9) SHA1(05049a69ee588de85db86df188e7670778b77e90) )
  3800: ROM_END
  3801: 
  3802: ROM_START( shuffle )
  3803: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3804: 	ROM_LOAD( "shuffle.h",    0x0000, 0x0800, CRC(0d422a18) SHA1(909c5b9e3c1194abd101cbf993a2ed7c8fbeb5d0) )
  3805: 	ROM_LOAD( "shuffle.g",    0x0800, 0x0800, CRC(7db7fcf9) SHA1(f41b568f2340e5307a7a45658946cfd4cf4056bf) )
  3806: 	ROM_LOAD( "shuffle.f",    0x1000, 0x0800, CRC(cd04d848) SHA1(f0f7e9bc483f08934d5c29568b4a7fe084623031) )
  3807: 	ROM_LOAD( "shuffle.e",    0x1800, 0x0800, CRC(2c118357) SHA1(178db02aaa70963dd8dbcb9b8651209913c539af) )
  3808: ROM_END
  3809: 
  3810: ROM_START( blueshrk )
  3811: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3812: 	ROM_LOAD( "blueshrk.h",   0x0000, 0x0800, CRC(4ff94187) SHA1(7cb80e2ccc34983bfd688c549ffc032d6dacf880) )
  3813: 	ROM_LOAD( "blueshrk.g",   0x0800, 0x0800, CRC(e49368fd) SHA1(2495ba48532bb714361e4f0e94c9317161c6c77f) )
  3814: 	ROM_LOAD( "blueshrk.f",   0x1000, 0x0800, CRC(86cca79d) SHA1(7b4633fb8033ee2c0e692135c383ebf57deef0e5) )
  3815: ROM_END
  3816: 
  3817: ROM_START( einnings )
  3818: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3819: 	ROM_LOAD( "ei.h",         0x0000, 0x0800, CRC(eff9c7af) SHA1(316fffc972bd9935ead5ee4fd629bddc8a8ed5ce) )
  3820: 	ROM_LOAD( "ei.g",         0x0800, 0x0800, CRC(5d1e66cb) SHA1(a5475362e12b7c251a05d67c2fd070cf7d333ad0) )
  3821: 	ROM_LOAD( "ei.f",         0x1000, 0x0800, CRC(ed96785d) SHA1(d5557620227fcf6f30dcf6c8f5edd760d77d30ae) )
  3822: 	ROM_LOAD( "ei.e",         0x1800, 0x0800, CRC(ad096a5d) SHA1(81d48302a0e039b8601a6aed7276e966592af693) )
  3823: 	ROM_LOAD( "ei.b",         0x5000, 0x0800, CRC(56b407d4) SHA1(95e4be5b2f28192df85c6118079de2e68838b67c) )
  3824: ROM_END
  3825: 
  3826: ROM_START( dplay )
  3827: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3828: 	ROM_LOAD( "dplay619.h",   0x0000, 0x0800, CRC(6680669b) SHA1(49ad2333f81613c2f27231de60b415cbc254546a) )
  3829: 	ROM_LOAD( "dplay619.g",   0x0800, 0x0800, CRC(0eec7e01) SHA1(2661e77061119d7d95d498807bd29d2630c6b6ab) )
  3830: 	ROM_LOAD( "dplay619.f",   0x1000, 0x0800, CRC(3af4b719) SHA1(3122138ac36b1a129226836ddf1916d763d73e10) )
  3831: 	ROM_LOAD( "dplay619.e",   0x1800, 0x0800, CRC(65cab4fc) SHA1(1ce7cb832e95e4a6d0005bf730eec39225b2e960) )
  3832: ROM_END
  3833: 
  3834: ROM_START( maze )
  3835: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3836: 	ROM_LOAD( "invaders.h",   0x0000, 0x0800, CRC(f2860cff) SHA1(62b3fd3d04bf9c5dd9b50964374fb884dc0ab79c) )
  3837: 	ROM_LOAD( "invaders.g",   0x0800, 0x0800, CRC(65fad839) SHA1(893f0a7621e7df19f777be991faff0db4a9ad571) )
  3838: ROM_END
  3839: 
  3840: ROM_START( tornbase )
  3841: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3842: 	ROM_LOAD( "tb.h",         0x0000, 0x0800, CRC(653f4797) SHA1(feb4c802aa3e0c2a66823cd032496cca5742c883) )
  3843: 	ROM_LOAD( "tb.g",         0x0800, 0x0800, BAD_DUMP CRC(33468006) SHA1(cc54da39ef14df6fa5e4e10a4798158a9a7f867e)  )	/* this ROM fails the test */
  3844: 	ROM_LOAD( "tb.f",         0x1000, 0x0800, CRC(215e070c) SHA1(425915b37e5315f9216707de0850290145f69a30) )
  3845: ROM_END
  3846: 
  3847: ROM_START( checkmat )
  3848: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3849: 	ROM_LOAD( "checkmat.h",   0x0000, 0x0400, CRC(3481a6d1) SHA1(f758599d6393398a6a8e6e7399dc1a3862604f65) )
  3850: 	ROM_LOAD( "checkmat.g",   0x0400, 0x0400, CRC(df5fa551) SHA1(484ff9bfb95166ba09f34c753a7908a73de3cc7d) )
  3851: 	ROM_LOAD( "checkmat.f",   0x0800, 0x0400, CRC(25586406) SHA1(39e0cf502735819a7e1d933e3686945fcfae21af) )
  3852: 	ROM_LOAD( "checkmat.e",   0x0c00, 0x0400, CRC(59330d84) SHA1(453f95dd31968d439339c41e625481170437eb0f) )
  3853: ROM_END
  3854: 
  3855: ROM_START( desertgu )
  3856: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3857: 	ROM_LOAD( "desertgu.h",   0x0000, 0x0800, CRC(c0030d7c) SHA1(4d0a3a59d4f8181c6e30966a6b1d19ba5b29c398) )
  3858: 	ROM_LOAD( "desertgu.g",   0x0800, 0x0800, CRC(1ddde10b) SHA1(8fb8e85844a8ec6c0722883013ecdd4eeaeb08c1) )
  3859: 	ROM_LOAD( "desertgu.f",   0x1000, 0x0800, CRC(808e46f1) SHA1(1cc4e9b0aa7e9546c133bd40d40ede6f2fbe93ba) )
  3860: 	ROM_LOAD( "desertgu.e",   0x1800, 0x0800, CRC(ac64dc62) SHA1(202433dfb174901bd3b91e843d9d697a8333ef9e) )
  3861: ROM_END
  3862: 
  3863: ROM_START( ozmawars )
  3864: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3865: 	ROM_LOAD( "mw01",         0x0000, 0x0800, CRC(31f4397d) SHA1(bba9765aadd608d19e2515a5edf8e0eceb70916a) )
  3866: 	ROM_LOAD( "mw02",         0x0800, 0x0800, CRC(d8e77c62) SHA1(84fc81cf9a924ecbb13a008cd7435b7d465bddf6) )
  3867: 	ROM_LOAD( "mw03",         0x1000, 0x0800, CRC(3bfa418f) SHA1(7318878202322a2263551ca463e4c70943401f68) )
  3868: 	ROM_LOAD( "mw04",         0x1800, 0x0800, CRC(e190ce6c) SHA1(120898e9a683f5ce874c6fde761570a26de2fa8c) )
  3869: 	ROM_LOAD( "mw05",         0x4000, 0x0800, CRC(3bc7d4c7) SHA1(b084f8cd2ce0f502c2e915da3eceffcbb448e9c0) )
  3870: 	ROM_LOAD( "mw06",         0x4800, 0x0800, CRC(99ca2eae) SHA1(8d0f220f68043eff0c85d2de7bee7fd4365fb51c) )
  3871: ROM_END
  3872: 
  3873: ROM_START( ozmawar2 )
  3874: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3875: 	ROM_LOAD( "mw01",         0x0000, 0x0800, CRC(31f4397d) SHA1(bba9765aadd608d19e2515a5edf8e0eceb70916a) )
  3876: 	ROM_LOAD( "mw02",         0x0800, 0x0800, CRC(d8e77c62) SHA1(84fc81cf9a924ecbb13a008cd7435b7d465bddf6) )
  3877: 	ROM_LOAD( "oz5",          0x1000, 0x0400, CRC(5597bf52) SHA1(626c7348365ed974d416485d94d057745b5d9b96) )
  3878: 	ROM_LOAD( "oz6",          0x1400, 0x0400, CRC(19b43578) SHA1(3609b7c77f5ee6f10f302892f56fcc8375577f20) )
  3879: 	ROM_LOAD( "oz7",          0x1800, 0x0400, CRC(a285bfde) SHA1(ed7a9fce4d887d3b5d596645893ea87c0bafda02) )
  3880: 	ROM_LOAD( "oz8",          0x1c00, 0x0400, CRC(ae59a629) SHA1(0c9ea67dc35f93ec65ec91e1dab2e4b6212428bf) )
  3881: 	ROM_LOAD( "mw05",         0x4000, 0x0800, CRC(3bc7d4c7) SHA1(b084f8cd2ce0f502c2e915da3eceffcbb448e9c0) )
  3882: 	ROM_LOAD( "oz11",         0x4800, 0x0400, CRC(660e934c) SHA1(1d50ae3a9de041b908e256892203ce1738d588f6) )
  3883: 	ROM_LOAD( "oz12",         0x4c00, 0x0400, CRC(8b969f61) SHA1(6d12cacc73c31a897812ccd8de24725ee56dd975) )
  3884: ROM_END
  3885: 
  3886: ROM_START( solfight )
  3887: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3888: 	ROM_LOAD( "solfight.m",   0x0000, 0x0800, CRC(a4f2814e) SHA1(e2437e3543dcc97eeaea32babcd4aec6455581ac) )
  3889: 	ROM_LOAD( "solfight.n",   0x0800, 0x0800, CRC(5657ec07) SHA1(9a2fb398841160f59483bb70060caba37addb8a4) )
  3890: 	ROM_LOAD( "solfight.p",   0x1000, 0x0800, CRC(ef9ce96d) SHA1(96867b4f2d72f3a8827b1eb3a0748922eaa8d608) )
  3891: 	ROM_LOAD( "solfight.r",   0x1800, 0x0800, CRC(4f1ef540) SHA1(a798e57959e72bfb554dd2fed0e37027312f9ed3) )
  3892: 	ROM_LOAD( "mw05",         0x4000, 0x0800, CRC(3bc7d4c7) SHA1(b084f8cd2ce0f502c2e915da3eceffcbb448e9c0) )
  3893: 	ROM_LOAD( "solfight.t",   0x4800, 0x0800, CRC(3b6fb206) SHA1(db631f4a0bd5344d130ff8d723d949e9914b6f92) )
  3894: ROM_END
  3895: 
  3896: ROM_START( spaceph )
  3897: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3898: 	ROM_LOAD( "sv01.bin",     0x0000, 0x0400, CRC(de84771d) SHA1(13a7e5eedb826cca4d59634d38db9fcf5e65b732) )
  3899: 	ROM_LOAD( "sv02.bin",     0x0400, 0x0400, CRC(957fc661) SHA1(ac0edc901d8033619f62967f8eaf53a02947e109) )
  3900: 	ROM_LOAD( "sv03.bin",     0x0800, 0x0400, CRC(dbda38b9) SHA1(73a277616a0c236b07c9ffa66f16a27a78c12d70) )
  3901: 	ROM_LOAD( "sv04.bin",     0x0c00, 0x0400, CRC(f51544a5) SHA1(368411a2dadaebcbb4d5b6cf6c2beec036ce817f) )
  3902: 	ROM_LOAD( "sv05.bin",     0x1000, 0x0400, CRC(98d02683) SHA1(f13958df8d385f532e993e4c34569d992904a4ed) )
  3903: 	ROM_LOAD( "sv06.bin",     0x1400, 0x0400, CRC(4ec390fd) SHA1(ade23efde5d55d282fbb28a5f8a1346601501b79) )
  3904: 	ROM_LOAD( "sv07.bin",     0x1800, 0x0400, CRC(170862fd) SHA1(ac64a97b1510ca81d4ef3a5fcf45b7e6c7414914) )
  3905: 	ROM_LOAD( "sv08.bin",     0x1c00, 0x0400, CRC(511b12cf) SHA1(08ba43024c8574ded11aa457eca24b72984f5ea9) )
  3906: 	ROM_LOAD( "sv09.bin",     0x4000, 0x0400, CRC(af1cd1af) SHA1(286d77e8556e475b291a3b1a53acaca8b7dc3678) )
  3907: 	ROM_LOAD( "sv10.bin",     0x4400, 0x0400, CRC(31b7692e) SHA1(043880750d134d04311eab55e30ee223977d3d17) )
  3908: 	ROM_LOAD( "sv11.bin",     0x4800, 0x0400, CRC(50257351) SHA1(5c3eb29f36f04b7fb8f0351ccf9c8cfc7587f927) )
  3909: 	ROM_LOAD( "sv12.bin",     0x4c00, 0x0400, CRC(a2a3366a) SHA1(87032787450216d378406122effa95ea01145bf7) )
  3910: ROM_END
  3911: 
  3912: ROM_START( ballbomb )
  3913: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3914: 	ROM_LOAD( "tn01",         0x0000, 0x0800, CRC(551585b5) SHA1(7c17b046bdfca6ab107b7e68ba9bde6ca590c3d4) )
  3915: 	ROM_LOAD( "tn02",         0x0800, 0x0800, CRC(7e1f734f) SHA1(a15656818cd730d9bc98d00ff1e7fe3f860bd624) )
  3916: 	ROM_LOAD( "tn03",         0x1000, 0x0800, CRC(d93e20bc) SHA1(2bf72f813750cef8fad572a18fb8e9fd5bf38804) )
  3917: 	ROM_LOAD( "tn04",         0x1800, 0x0800, CRC(d0689a22) SHA1(1f6b258431b7eb878853ff979e4d97a05fb6b797) )
  3918: 	ROM_LOAD( "tn05-1",       0x4000, 0x0800, CRC(5d5e94f1) SHA1(b9f8ba38161ef4f0940c274e9d93fed4bb7db017) )
  3919: 
  3920: 	ROM_REGION( 0x0800, REGION_PROMS, 0 )		/* color maps player 1/player 2 */
  3921: 	ROM_LOAD( "tn06",         0x0000, 0x0400, CRC(7ec554c4) SHA1(b638605ba2043fdca4c5e18755fa5fa81ed3db07) )
  3922: 	ROM_LOAD( "tn07",         0x0400, 0x0400, CRC(deb0ac82) SHA1(839581c4e58cb7b0c2c14cf4f239220017cc26eb) )
  3923: ROM_END
  3924: 
  3925: ROM_START( yosakdon )
  3926: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  3927: 	ROM_LOAD( "yd1.bin", 	  0x0000, 0x0400, CRC(607899c9) SHA1(219c0c99894715818606fba49cc75517f6f43e0c) )
  3928: 	ROM_LOAD( "yd2.bin", 	  0x0400, 0x0400, CRC(78336df4) SHA1(b0b6254568d191d2d0b9c9280a3ccf2417ef3f38) )
  3929: 	ROM_LOAD( "yd3.bin", 	  0x0800, 0x0400, CRC(c5af6d52) SHA1(c40af79fe060562c64fc316881b7d0348e11ee3f) )
  3930: 	ROM_LOAD( "yd4.bin", 	  0x0c00, 0x0400, CRC(dca8064f) SHA1(77a58137cc7f0b5fbe0e9e8deb9c5be88b1ebbcf) )
  3931: 	ROM_LOAD( "yd5.bin", 	  0x1400, 0x0400, CRC(38804ff1) SHA1(9b7527b9d2b106355f0c8df46666b1e3f286b2e3) )
  3932: 	ROM_LOAD( "yd6.bin", 	  0x1800, 0x0400, CRC(988d2362) SHA1(deaf864b4e287cbc2585c2a11343b1ae82e15463) )
  3933: 	ROM_LOAD( "yd7.bin", 	  0x1c00, 0x0400, CRC(2744e68b) SHA1(5ad5a7a615d36f57b6d560425e035c15e25e9005) )
  3934: ROM_END
  3935: 
  3936: ROM_START( sheriff )
  3937: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )             /* 64k for code */
  3938: 	ROM_LOAD( "f1",           0x0000, 0x0400, CRC(e79df6e8) SHA1(908176de9bfc3d48e2da9af6ba7ebdee698ec2de) )
  3939: 	ROM_LOAD( "f2",           0x0400, 0x0400, CRC(da67721a) SHA1(ee6a5fb98da1d1fcfad0ef27af300473a637f578) )
  3940: 	ROM_LOAD( "g1",           0x0800, 0x0400, CRC(3fb7888e) SHA1(2c2d6b27d577d5ccf759e451e53c2e3314af40f6) )
  3941: 	ROM_LOAD( "g2",           0x0c00, 0x0400, CRC(585fcfee) SHA1(82f2abc14f893c092b80da45fc297fa5fb0890b5) )
  3942: 	ROM_LOAD( "h1",           0x1000, 0x0400, CRC(e59eab52) SHA1(aa87710237dd48d1831f1b307d547b1b0707cd4e) )
  3943: 	ROM_LOAD( "h2",           0x1400, 0x0400, CRC(79e69a6a) SHA1(1780ce77d7d9ddbf4aceabe0fcf079339837bbe1) )
  3944: 	ROM_LOAD( "i1",           0x1800, 0x0400, CRC(dda7d1e8) SHA1(bd2a7388e81c71922b2e97d68be71359a75e8d37) )
  3945: 	ROM_LOAD( "i2",           0x1c00, 0x0400, CRC(5c5f3f86) SHA1(25c64ccb7d0e136f67d6e1da7927ae6d89e0ceb9) )
  3946: 	ROM_LOAD( "j1",           0x2000, 0x0400, CRC(0aa8b79a) SHA1(aed139e8c8ba912823c57fe4cc7231b2d638f479) )
  3947: 
  3948: 	ROM_REGION( 0x1000, REGION_CPU2, 0 )	/* Sound 8035 + 76477 Sound Generator */
  3949: 	ROM_LOAD( "basnd.u2",     0x0000, 0x0400, CRC(75731745) SHA1(538a63c9c60f1886fca4caf3eb1e0bada2d3f162) )
  3950: 
  3951: 	ROM_REGION( 0x0800, REGION_PROMS, 0 )	/* color maps player 1/player 2 (missing) */
  3952: 	ROM_LOAD( "sheriff.cl1",  0x0000, 0x0400, NO_DUMP )	/* no idea about the # of */
  3953: 	ROM_LOAD( "sheriff.cl2",  0x0400, 0x0400, NO_DUMP )  /* PROMs or the size */
  3954: ROM_END
  3955: 
  3956: ROM_START( bandido )
  3957: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )             /* 64k for code */
  3958: 	ROM_LOAD( "baf1-3",       0x0000, 0x0400, CRC(aec94829) SHA1(aa6d241670ea061bac4a71dff82dfa832095eae6) )
  3959: 	ROM_LOAD( "f2",           0x0400, 0x0400, CRC(da67721a) SHA1(ee6a5fb98da1d1fcfad0ef27af300473a637f578) )
  3960: 	ROM_LOAD( "g1",           0x0800, 0x0400, CRC(3fb7888e) SHA1(2c2d6b27d577d5ccf759e451e53c2e3314af40f6) )
  3961: 	ROM_LOAD( "g2",           0x0c00, 0x0400, CRC(585fcfee) SHA1(82f2abc14f893c092b80da45fc297fa5fb0890b5) )
  3962: 	ROM_LOAD( "bah1-1",       0x1000, 0x0400, CRC(5cb63677) SHA1(59a8e5f8b134bf44d3e5a1105a9346f0c5f9378e) )
  3963: 	ROM_LOAD( "h2",           0x1400, 0x0400, CRC(79e69a6a) SHA1(1780ce77d7d9ddbf4aceabe0fcf079339837bbe1) )
  3964: 	ROM_LOAD( "i1",           0x1800, 0x0400, CRC(dda7d1e8) SHA1(bd2a7388e81c71922b2e97d68be71359a75e8d37) )
  3965: 	ROM_LOAD( "i2",           0x1c00, 0x0400, CRC(5c5f3f86) SHA1(25c64ccb7d0e136f67d6e1da7927ae6d89e0ceb9) )
  3966: 	ROM_LOAD( "j1",           0x2000, 0x0400, CRC(0aa8b79a) SHA1(aed139e8c8ba912823c57fe4cc7231b2d638f479) )
  3967: 	ROM_LOAD( "baj2-2",       0x2400, 0x0400, CRC(a10b848a) SHA1(c045f1f6a11cbf49a1bae06c701b659d587292a3) )
  3968: 
  3969: 	ROM_REGION( 0x1000, REGION_CPU2, 0 )	/* Sound 8035 + 76477 Sound Generator */
  3970: 	ROM_LOAD( "basnd.u2",     0x0000, 0x0400, CRC(75731745) SHA1(538a63c9c60f1886fca4caf3eb1e0bada2d3f162) )
  3971: ROM_END
  3972: 
  3973: ROM_START( helifire )
  3974: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )             /* 64k for code */
  3975: 	ROM_LOAD( "tub.f1b",      0x0000, 0x0400, CRC(032f89ca) SHA1(63b0310875ed78a6385e44eea781ddcc4a63557c) )
  3976: 	ROM_LOAD( "tub.f2b",      0x0400, 0x0400, CRC(2774e70f) SHA1(98d845e80db61799493dbebe8db801567277432c) )
  3977: 	ROM_LOAD( "tub.g1b",      0x0800, 0x0400, CRC(b5ad6e8a) SHA1(1eb4931e85bd6a559e85a2b978d383216d3988a7) )
  3978: 	ROM_LOAD( "tub.g2b",      0x0c00, 0x0400, CRC(5e015bf4) SHA1(60f5a9707c8655e54a8381afd764856fb25c29f1) )
  3979: 	ROM_LOAD( "tub.h1b",      0x1000, 0x0400, CRC(23bb4e5a) SHA1(b59bc0adff3635aca1def2b1997f7edc6ca7e8ee) )
  3980: 	ROM_LOAD( "tub.h2b",      0x1400, 0x0400, CRC(358227c6) SHA1(d7bd678ef1737edc6aa609e43e3ae96a8d61dc15) )
  3981: 	ROM_LOAD( "tub.i1b",      0x1800, 0x0400, CRC(0c679f44) SHA1(cbe31dbe5f2c5f11a637cb3bde4e059c310d0e76) )
  3982: 	ROM_LOAD( "tub.i2b",      0x1c00, 0x0400, CRC(d8b7a398) SHA1(3ddfeac39147d5df6096f525f7ef67abef32a28b) )
  3983: 	ROM_LOAD( "tub.j1b",      0x2000, 0x0400, CRC(98ef24db) SHA1(70ad8dd6e1e8f4bf4ce431737ca1856eecc03d53) )
  3984: 	ROM_LOAD( "tub.j2b",      0x2400, 0x0400, CRC(5e2b5877) SHA1(f7c747e8a1d9fe2dda71ee6304636cf3cdf727a7) )
  3985: 
  3986: 	ROM_REGION( 0x1000, REGION_CPU2, 0 )	/* Sound 8035 */
  3987: 	ROM_LOAD( "tub.snd",      0x0000, 0x0400, CRC(9d77a31f) SHA1(36db9b5087b6661de88042854874bc247c92d985) )
  3988: ROM_END
  3989: 
  3990: ROM_START( helifira )
  3991: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )             /* 64k for code */
  3992: 	ROM_LOAD( "f1a.bin",      0x0000, 0x0400, CRC(92c9d6c1) SHA1(860a7b3980e9e11d48769fad347c965e04ed3f89) )
  3993: 	ROM_LOAD( "f2a.bin",      0x0400, 0x0400, CRC(a264dde8) SHA1(48f972ad5af6c2ab61117f60d9244df6df6d313c) )
  3994: 	ROM_LOAD( "tub.g1b",      0x0800, 0x0400, CRC(b5ad6e8a) SHA1(1eb4931e85bd6a559e85a2b978d383216d3988a7) )
  3995: 	ROM_LOAD( "g2a.bin",      0x0c00, 0x0400, CRC(a987ebcd) SHA1(46726293c308c18b28941809419ba4c2ffc8084f) )
  3996: 	ROM_LOAD( "h1a.bin",      0x1000, 0x0400, CRC(25abcaf0) SHA1(a14c795de1fc283405f71bb83f4ac5c98fd406cb) )
  3997: 	ROM_LOAD( "tub.h2b",      0x1400, 0x0400, CRC(358227c6) SHA1(d7bd678ef1737edc6aa609e43e3ae96a8d61dc15) )
  3998: 	ROM_LOAD( "tub.i1b",      0x1800, 0x0400, CRC(0c679f44) SHA1(cbe31dbe5f2c5f11a637cb3bde4e059c310d0e76) )
  3999: 	ROM_LOAD( "i2a.bin",      0x1c00, 0x0400, CRC(296610fd) SHA1(f1ab379983e45f3cd718dd82962c609297b4dcb8) )
  4000: 	ROM_LOAD( "tub.j1b",      0x2000, 0x0400, CRC(98ef24db) SHA1(70ad8dd6e1e8f4bf4ce431737ca1856eecc03d53) )
  4001: 	ROM_LOAD( "tub.j2b",      0x2400, 0x0400, CRC(5e2b5877) SHA1(f7c747e8a1d9fe2dda71ee6304636cf3cdf727a7) )
  4002: 
  4003: 	ROM_REGION( 0x1000, REGION_CPU2, 0 )	/* Sound 8035 + 76477 Sound Generator */
  4004: 	ROM_LOAD( "tub.snd",      0x0000, 0x0400, CRC(9d77a31f) SHA1(36db9b5087b6661de88042854874bc247c92d985) )
  4005: ROM_END
  4006: 
  4007: ROM_START( spacefev )
  4008: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )             /* 64k for code */
  4009: 	ROM_LOAD( "f1.bin",       0x0000, 0x0400, CRC(35f295bd) SHA1(34d1df25fcdea598ca1191cecc2125e6f63dbce3) )
  4010: 	ROM_LOAD( "f2.bin",       0x0400, 0x0400, CRC(0c633f4c) SHA1(a551ddbf21670fb1f000404b92da87a97f7ba157) )
  4011: 	ROM_LOAD( "g1.bin",       0x0800, 0x0400, CRC(f3d851cb) SHA1(535c52a56e54a064aa3d1c48a129f714234a1007) )
  4012: 	ROM_LOAD( "g2.bin",       0x0c00, 0x0400, CRC(1faef63a) SHA1(68e1bfc45587bfb1ee2eb477b60efd4f69dffd2c) )
  4013: 	ROM_LOAD( "h1.bin",       0x1000, 0x0400, CRC(b365389d) SHA1(e681f2c5e37cc07912915ef74184ff9336309de3) )
  4014: 	ROM_LOAD( "h2.bin",       0x1400, 0x0400, CRC(a163e800) SHA1(e8817f3e17f099a0dc66213d2d3d3fdeb117b10e) )
  4015: 	ROM_LOAD( "i1.bin",       0x1800, 0x0400, CRC(00027be2) SHA1(551a779a2e5a6455b7a348d246731c094e0ec709) )
  4016: 
  4017: 	ROM_REGION( 0x1000, REGION_CPU2, 0 )	/* Sound 8035 + 76477 Sound Generator */
  4018: 	ROM_LOAD( "ss3.ic2",      0x0000, 0x0400, CRC(95c2c1ee) SHA1(42a3a382fc7d2782052372d71f6d0e8a153e74d0) )
  4019: 
  4020: 	ROM_REGION( 0x0020, REGION_PROMS, 0 )	/* ? */
  4021: 	ROM_LOAD( "f5.bpr",       0x0000, 0x0020, CRC(c5914ec1) SHA1(198875fcab36d09c8726bb21e2fdff9882f6721a) )
  4022: ROM_END
  4023: 
  4024: ROM_START( sfeverbw )
  4025: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )             /* 64k for code */
  4026: 	ROM_LOAD( "spacefev.f1",  0x0000, 0x0400, CRC(b8887351) SHA1(ccd49937f1cbd7a157b3715474ccc3e8fdcea2b2) )
  4027: 	ROM_LOAD( "spacefev.f2",  0x0400, 0x0400, CRC(cda933a7) SHA1(a0447c8c98e24674081c9bf4b1ef07dc186c6e2b) )
  4028: 	ROM_LOAD( "spacefev.g1",  0x0800, 0x0400, CRC(de17578a) SHA1(d9d5dbf38331f212d2a566c60756a788e169104d) )
  4029: 	ROM_LOAD( "spacefev.g2",  0x0c00, 0x0400, CRC(f1a90948) SHA1(850f27b42ca12bcba4aa95a1ad3e66206fa63554) )
  4030: 	ROM_LOAD( "spacefev.h1",  0x1000, 0x0400, CRC(eefb4273) SHA1(853a62976a406516f10ac68dc2859399b8b7aae8) )
  4031: 	ROM_LOAD( "spacefev.h2",  0x1400, 0x0400, CRC(e91703e8) SHA1(f58606b0c7d945e94c3fccc7ebe17ca25675e6a0) )
  4032: 	ROM_LOAD( "spacefev.i1",  0x1800, 0x0400, CRC(41e18df9) SHA1(2212c836313775e7c507a875672c0b3635825e02) )
  4033: 	ROM_LOAD( "spacefev.i2",  0x1c00, 0x0400, CRC(eff9f82d) SHA1(5004e52dfa652ceefca9ed4210c0fa8f0591dc08) )
  4034: 
  4035: 	ROM_REGION( 0x1000, REGION_CPU2, 0 )	/* Sound 8035 + 76477 Sound Generator */
  4036: 	ROM_LOAD( "ss3.ic2",      0x0000, 0x0400, CRC(95c2c1ee) SHA1(42a3a382fc7d2782052372d71f6d0e8a153e74d0) )
  4037: ROM_END
  4038: 
  4039: ROM_START( sstrangr )
  4040: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  4041: 	ROM_LOAD( "hss-01.58",     0x0000, 0x0400, CRC(feec7600) SHA1(787a6be4e24ce931e7678e777699b9f6789bc199) )
  4042: 	ROM_LOAD( "hss-02.59",     0x0400, 0x0400, CRC(7281ff0b) SHA1(56649d1362be1b9f517cb8616cbf9e4f955e9a2d) )
  4043: 	ROM_LOAD( "hss-03.60",     0x0800, 0x0400, CRC(a09ec572) SHA1(9c4ad811a6c0460403f9cdc9fe5381c460249ff5) )
  4044: 	ROM_LOAD( "hss-04.61",     0x0c00, 0x0400, CRC(ec411aca) SHA1(b72eb6f7c3d69e2829280d1ab982099f6eff0bde) )
  4045: 	ROM_LOAD( "hss-05.62",     0x1000, 0x0400, CRC(7b1b81dd) SHA1(3fa6e244e203fb75f92b19db7b4b18645b3f66a3) )
  4046: 	ROM_LOAD( "hss-06.63",     0x1400, 0x0400, CRC(de383625) SHA1(7ec0d7171e771c4b43e026f3f50a88d8ab2236bb) )
  4047: 	ROM_LOAD( "hss-07.64",     0x1800, 0x0400, CRC(2e41d0f0) SHA1(bba720b0c5a7bd47abb8bc8498a989e17dc52428) )
  4048: 	ROM_LOAD( "hss-08.65",     0x1c00, 0x0400, CRC(bd14d0b0) SHA1(9665f639afef9c1291f2efc054216ff44c595b45) )
  4049: ROM_END
  4050: 
  4051: ROM_START( sstrngr2 )
  4052: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for code */
  4053: 	ROM_LOAD( "4764.09",      0x0000, 0x2000, CRC(d88f86cc) SHA1(9f284ee50caf3c64bd04a79a798de620348881bc) )
  4054: 	ROM_LOAD( "2708.10",      0x6000, 0x0400, CRC(eba304c1) SHA1(3fa6fbb29fa46c146283f69a712bfc51cbb2a43c) )
  4055: 
  4056: 	ROM_REGION( 0x0400, REGION_PROMS, 0 )		/* color maps player 1/player 2 */
  4057: 	ROM_LOAD( "2708.15",      0x0000, 0x0400, CRC(c176a89d) SHA1(955dd540dc3787091c3f34ae122a13e6b7523414) )
  4058: ROM_END
  4059: 
  4060: 
  4061: /* Midway games */
  4062: 
  4063: /* board #            rom       parent    machine   inp       init (overlay/color hardware setup) */
  4064: 
  4065: /* 596 */ GAMEX(1976, seawolf,  0,        seawolf,  seawolf,  seawolf,  ROT0,   "Midway", "Sea Wolf", GAME_IMPERFECT_SOUND )
  4066: /* 597 */ GAMEX(1975, gunfight, 0,        gunfight, gunfight, gunfight, ROT0,   "Midway", "Gun Fight", GAME_NO_SOUND )
  4067: /* 605 */ GAMEX(1976, tornbase, 0,        8080bw,   tornbase, 8080bw,	ROT0,   "Midway", "Tornado Baseball", GAME_NO_SOUND )
  4068: /* 610 */ GAMEX(1976, 280zzzap, 0,        280zzzap, 280zzzap, 8080bw,	ROT0,   "Midway", "Datsun 280 Zzzap", GAME_NO_SOUND )
  4069: /* 611 */ GAMEX(1976, maze,     0,        8080bw,   maze,     8080bw,	ROT0,   "Midway", "Amazing Maze", GAME_NO_SOUND )
  4070: /* 612 */ GAME( 1977, boothill, 0,        boothill, boothill, 8080bw,   ROT0,   "Midway", "Boot Hill" )
  4071: /* 615 */ GAMEX(1977, checkmat, 0,        checkmat, checkmat, 8080bw,	ROT0,   "Midway", "Checkmate", GAME_NO_SOUND )
  4072: /* 618 */ GAMEX(1977, desertgu, 0,        desertgu, desertgu, desertgu,	ROT0,   "Midway", "Desert Gun", GAME_NO_SOUND )
  4073: /* 619 */ GAMEX(1977, dplay,    einnings, m4,       einnings, 8080bw,	ROT0,   "Midway", "Double Play", GAME_NO_SOUND )
  4074: /* 622 */ GAMEX(1977, lagunar,  0,        280zzzap, lagunar,  8080bw,   ROT90,  "Midway", "Laguna Racer", GAME_NO_SOUND )
  4075: /* 623 */ GAMEX(1977, gmissile, 0,        m4,       gmissile, 8080bw,   ROT0,   "Midway", "Guided Missile", GAME_NO_SOUND )
  4076: /* 626 */ GAMEX(1977, m4,       0,        m4,       m4,       8080bw,   ROT0,   "Midway", "M-4", GAME_NO_SOUND )
  4077: /* 630 */ GAMEX(1978, clowns,   0,        clowns,   clowns,   8080bw,   ROT0,   "Midway", "Clowns (rev. 2)", GAME_IMPERFECT_SOUND )
  4078: /* 630 */ GAMEX(1978, clowns1,  clowns,   clowns,   clowns1,   8080bw,   ROT0,   "Midway", "Clowns (rev. 1)", GAME_IMPERFECT_SOUND )
  4079: /* 640    																		"Midway", "Space Walk" */
  4080: /* 642 */ GAMEX(1978, einnings, 0,        m4,       einnings, 8080bw,	ROT0,   "Midway", "Extra Inning", GAME_NO_SOUND )
  4081: /* 643 */ GAMEX(1978, shuffle,  0,        shuffle,  shuffle,  8080bw,	ROT90,  "Midway", "Shuffleboard", GAME_NO_SOUND )
  4082: /* 644 */ GAMEX(1977, dogpatch, 0,        clowns,   dogpatch, 8080bw,   ROT0,   "Midway", "Dog Patch", GAME_NO_SOUND )
  4083: /* 645 */ GAMEX(1980, spcenctr, 0,        spcenctr, spcenctr, 8080bw,	ROT0,   "Midway", "Space Encounters", GAME_NO_SOUND )
  4084: /* 652 */ GAMEX(1979, phantom2, 0,        phantom2, phantom2, phantom2, ROT0,   "Midway", "Phantom II", GAME_NO_SOUND )
  4085: /* 730 */ GAMEX(1978, bowler,   0,        bowler,   bowler,   bowler,	ROT90,  "Midway", "4 Player Bowling Alley", GAME_NO_SOUND )
  4086: /* 739 */ GAME( 1978, invaders, 0,        invaders, invaders, invaders, ROT270, "Midway", "Space Invaders" )
  4087: /* 742 */ GAMEX(1978, blueshrk, 0,        blueshrk, blueshrk, blueshrk, ROT0,   "Midway", "Blue Shark", GAME_NO_SOUND )
  4088: /* 851 */ GAME( 1980, invad2ct, 0,        invad2ct, invad2ct, invad2ct, ROT90,  "Midway", "Space Invaders II (Midway, cocktail)" )
  4089: /* 852 */ GAME( 1980, invaddlx, invadpt2, invaders, invadpt2, invaddlx, ROT270, "Midway", "Space Invaders Deluxe" )
  4090: /* 870    																		"Midway", "Space Invaders Deluxe (cocktail) "*/
  4091: 
  4092: /* Taito games */
  4093: 
  4094: 	  GAME( 1978, sitv,     invaders, invaders, sitv,     invaders, ROT270, "Taito", "Space Invaders (TV Version)" )
  4095: 	  GAME( 1979, sicv,     invaders, invadpt2, invaders, invadpt2, ROT270, "Taito", "Space Invaders (CV Version)" )
  4096: 	  GAME( 1978, sisv,     invaders, invadpt2, invaders, invadpt2, ROT270, "Taito", "Space Invaders (SV Version)" )
  4097: 	  GAME( 1978, sisv2,    invaders, invadpt2, invaders, invadpt2, ROT270, "Taito", "Space Invaders (SV Version 2)" )
  4098: 	  GAME( 1979, galxwars, 0,        invaders, galxwars, invaders, ROT270, "Universal", "Galaxy Wars (Universal set 1)" )
  4099: 	  GAME( 1979, galxwar2, galxwars, invaders, galxwars, invaders, ROT270, "Universal", "Galaxy Wars (Universal set 2)" )
  4100: 	  GAME( 1979, galxwart, galxwars, invaders, galxwars, invaders, ROT270,	"Taito?", "Galaxy Wars (Taito?)" ) /* Copyright Not Displayed */
  4101: 	  GAME( 1979, starw,    galxwars, invaders, galxwars, invaders, ROT270, "bootleg", "Star Wars" )
  4102: 	  GAME( 1979, lrescue,  0,        invadpt2, lrescue,  invadpt2, ROT270, "Taito", "Lunar Rescue" )
  4103: 	  GAME( 1979, grescue,  lrescue,  invadpt2, lrescue,  invadpt2, ROT270, "Taito (Universal license?)", "Galaxy Rescue" )
  4104: 	  GAME( 1979, desterth, lrescue,  invadpt2, invrvnge, invadpt2, ROT270, "bootleg", "Destination Earth" )
  4105: 	  GAME( 1979, invadpt2, 0,        invadpt2, invadpt2, invadpt2, ROT270, "Taito", "Space Invaders Part II (Taito)" )
  4106: 	  GAMEX(1979, schaser,  0,        schaser,  schaser,  schaser,  ROT270, "Taito", "Space Chaser", GAME_IMPERFECT_SOUND | GAME_IMPERFECT_COLORS )
  4107: 	  GAMEX(1979, schasrcv, schaser,  lupin3,   schasrcv, schaser,  ROT270, "Taito", "Space Chaser (CV version)", GAME_NO_SOUND | GAME_IMPERFECT_COLORS | GAME_NO_COCKTAIL )
  4108: 	  GAMEX(1979, sflush,   0,        sflush,   sflush,   rollingc,	ROT270, "Taito", "Straight Flush",GAME_NO_SOUND| GAME_IMPERFECT_COLORS | GAME_NO_COCKTAIL)
  4109: 	  GAMEX(1980, lupin3,   0,        lupin3,   lupin3,   lupin3,   ROT270, "Taito", "Lupin III", GAME_NO_SOUND | GAME_NO_COCKTAIL )
  4110: 	  GAMEX(1980, polaris,  0,        polaris,  polaris,  polaris,  ROT270, "Taito", "Polaris (set 1)", GAME_IMPERFECT_SOUND )
  4111: 	  GAMEX(1980, polarisa, polaris,  polaris,  polaris,  polaris,  ROT270, "Taito", "Polaris (set 2)", GAME_IMPERFECT_SOUND )
  4112: 	  GAMEX(1980, ballbomb, 0,        ballbomb, ballbomb, invadpt2, ROT270, "Taito", "Balloon Bomber", GAME_NO_SOUND | GAME_IMPERFECT_GRAPHICS )	/* missing clouds and blue background */
  4113: 
  4114: /* Nintendo games */
  4115: 
  4116: 	  GAMEX(1979, sheriff,  0,        sheriff,  sheriff,  8080bw,	ROT270, "Nintendo", "Sheriff", GAME_IMPERFECT_SOUND | GAME_WRONG_COLORS )
  4117: 	  GAMEX(1979, spacefev, 0,        sheriff,  spacefev, 8080bw,	ROT270, "Nintendo", "Space Fever (color)", GAME_IMPERFECT_SOUND )
  4118: 	  GAMEX(1979, sfeverbw, spacefev, sheriff,  spacefev, 8080bw,	ROT270, "Nintendo", "Space Fever (black and white)", GAME_IMPERFECT_SOUND )
  4119: 	  GAMEX(1980, bandido,  sheriff,  sheriff,  bandido,  bandido,	ROT270, "Exidy", "Bandido", GAME_IMPERFECT_SOUND )
  4120: 	  GAMEX(1980, helifire, 0,        helifire, helifire, helifire,	ROT270, "Nintendo", "HeliFire (revision B)", GAME_NO_SOUND )
  4121: 	  GAMEX(1980, helifira, helifire, helifire, helifire, helifire,	ROT270, "Nintendo", "HeliFire (revision A)", GAME_NO_SOUND )
  4122: 
  4123: /* Misc. manufacturers */
  4124: 
  4125: 	  GAME( 1980, earthinv, invaders, invaders, earthinv, invaders, ROT270, "bootleg", "Super Earth Invasion" )
  4126: 	  GAME( 1978, spaceatt, invaders, invaders, invaders, invaders, ROT270, "Video Games GMBH", "Space Attack" )
  4127: 	  GAME( 1980, spaceat2, invaders, invaders, spaceatt, invaders, ROT270, "Zenitone-Microsec Ltd", "Space Attack II" )
  4128: 	  GAME( 19??, sinvzen,  invaders, invaders, spaceatt, invaders, ROT270, "Zenitone-Microsec Ltd", "Super Invaders (Zenitone-Microsec)" )
  4129: 	  GAME( 19??, sinvemag, invaders, invaders, sinvemag, invaders, ROT270, "bootleg", "Super Invaders (EMAG)" )
  4130: 	  GAME( 19??, alieninv, invaders, invaders, earthinv, invaders, ROT270, "bootleg", "Alien Invasion Part II" )
  4131: 	  GAME( 1978, spceking, invaders, invaders, spceking, invaders, ROT270, "Leijac (Konami)","Space King" )
  4132: 	  GAME( 1978, spcewars, invaders, invaders, invadpt2, invaders, ROT270, "Sanritsu", "Space War (Sanritsu)" )
  4133: 	  GAME( 1978, spacewr3, invaders, invaders, spacewr3, invaders, ROT270, "bootleg", "Space War Part 3" )
  4134: 	  GAME( 1978, invaderl, invaders, invaders, invaders, invaders, ROT270, "bootleg", "Space Invaders (Logitec)" )
  4135: 	  GAME( 1979, jspecter, invaders, invaders, jspecter, invaders, ROT270, "Jatre", "Jatre Specter (set 1)" )
  4136: 	  GAME( 1979, jspectr2, invaders, invaders, jspecter, invaders, ROT270, "Jatre", "Jatre Specter (set 2)" )
  4137: 	  GAME( 1979, cosmicmo, invaders, invaders, cosmicmo, invaders, ROT270, "Universal", "Cosmic Monsters" )
  4138: 	  GAME( 19??, superinv, invaders, invaders, invaders, invaders, ROT270, "bootleg", "Super Invaders" )
  4139: 	  GAME( 1978, sstrangr, 0,		  sstrangr, sstrangr, 8080bw,   ROT270,	"Yachiyo Electronics, Ltd.", "Space Stranger" )
  4140: 	  GAME( 1979, sstrngr2, 0,        sstrngr2, sstrngr2, sstrngr2, ROT270, "Yachiyo Electronics, Ltd.", "Space Stranger 2" )
  4141: 	  GAME( 1978, moonbase, invadpt2, invaders, invadpt2, invaddlx, ROT270, "Nichibutsu", "Moon Base" )
  4142: 	  GAMEX(19??, invrvnge, 0,        invrvnge, invrvnge, invrvnge, ROT270, "Zenitone Microsec Ltd.", "Invader's Revenge",  GAME_NO_SOUND )
  4143: 	  GAMEX(19??, invrvnga, invrvnge, invrvnge, invrvnge, invrvnge, ROT270, "Zenitone Microsec Ltd. (Dutchford license)", "Invader's Revenge (Dutchford)", GAME_NO_SOUND )
  4144: 	  GAME( 1980, spclaser, 0,        invaders, spclaser, invaddlx, ROT270, "GamePlan (Taito)", "Space Laser" )
  4145: 	  GAME( 1980, laser,    spclaser, invaders, spclaser, invaddlx, ROT270, "<unknown>", "Laser" )
  4146: 	  GAME( 1979, spcewarl, spclaser, invaders, spclaser, invaddlx, ROT270, "Leijac (Konami)","Space War (Leijac)" )
  4147: 	  GAMEX(1979, rollingc, 0,        rollingc, rollingc, rollingc, ROT270, "Nichibutsu", "Rolling Crash / Moon Base", GAME_NO_SOUND )
  4148: 	  GAME( 1979, ozmawars, 0,        invaders, ozmawars, 8080bw,   ROT270, "SNK", "Ozma Wars (set 1)" )
  4149: 	  GAME( 1979, ozmawar2, ozmawars, invaders, ozmawars, 8080bw,   ROT270, "SNK", "Ozma Wars (set 2)" ) /* Uses Taito's three board colour version of Space Invaders PCB */
  4150: 	  GAME( 1979, solfight, ozmawars, invaders, ozmawars, 8080bw,   ROT270, "bootleg", "Solar Fight" )
  4151: 	  GAME( 1979, spaceph,  ozmawars, invaders, spaceph,  8080bw,   ROT270, "Zilec Games", "Space Phantoms" )
  4152: 	  GAMEX(1979, yosakdon, 0,        yosakdon, lrescue,  8080bw,   ROT270, "bootleg", "Yosaku To Donbee (bootleg)", GAME_NO_SOUND )
  4153: 




powered by ggdb.com this page took approx. 0.005s