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 : Off The Wall : VM Driver Source

Source Listing


     1: /***************************************************************************
     2: 
     3: 	Bally/Sente SAC-1 system
     4: 
     5:     driver by Aaron Giles
     6: 
     7: 	Games supported:
     8: 		* Chicken Shift
     9: 		* Gimme a Break
    10: 		* Goalie Ghost
    11: 		* Grudge Match
    12: 		* Hat Trick
    13: 		* Mini Golf
    14: 		* Name that Tune
    15: 		* Night Stocker
    16: 		* Off the Wall
    17: 		* Rescue Raider
    18: 		* Sente Diagnostic Cartridge
    19: 		* Shrike Avenger
    20: 		* Snacks'n Jaxson
    21: 		* Snake Pit
    22: 		* Spiker
    23: 		* Stocker
    24: 		* Stompin'
    25: 		* Street Football
    26: 		* Toggle
    27: 		* Trivial Pursuit (Genus I)
    28: 		* Trivial Pursuit (Genus II)
    29: 		* Trivial Pursuit (All Sports Edition)
    30: 		* Trivial Pursuit (Young Player's Edition)
    31: 		* Trivial Pursuit (Baby Boomer Series)
    32: 
    33: 	Looking for ROMs for these:
    34: 		* Euro Stocker
    35: 		* Team Hat Trick
    36: 		* Trivial Pursuit (Spanish)
    37: 
    38: 	Known bugs:
    39: 		* CEM3394 emulation is not perfect
    40: 		* Shrike Avenger doesn't work properly
    41: 
    42: ****************************************************************************
    43: 
    44: 	Memory map
    45: 
    46: ****************************************************************************
    47: 
    48: 	========================================================================
    49: 	CPU #1
    50: 	========================================================================
    51: 	0000-007F   R/W   xxxxxxxx    Sprite RAM (32 entries x 4 bytes)
    52: 	            R/W   x-------       (0: Vertical flip)
    53: 	            R/W   -x------       (0: Horizontal flip)
    54: 	            R/W   ------xx       (0: Upper 2 bits of image number)
    55: 	            R/W   xxxxxxxx       (1: Lower 8 bits of image number)
    56: 	            R/W   xxxxxxxx       (2: Y position, offset by 17 pixels)
    57: 	            R/W   xxxxxxxx       (3: X position)
    58: 	0080-00DF   R/W   xxxxxxxx    Program RAM
    59: 	00E0-00FF   R/W   xxxxxxxx    Additional sprite RAM (8 entries x 4 bytes)
    60: 	0100-07FF   R/W   xxxxxxxx    Program RAM
    61: 	0800-7FFF   R/W   xxxxxxxx    Video RAM (256x240 pixels)
    62: 	            R/W   xxxx----       (left pixel)
    63: 	            R/W   ----xxxx       (right pixel)
    64: 	8000-8FFF   R/W   ----xxxx    Palette RAM (1024 entries x 4 bytes)
    65: 	            R/W   ----xxxx       (0: red entry)
    66: 	            R/W   ----xxxx       (1: green entry)
    67: 	            R/W   ----xxxx       (2: blue entry)
    68: 	9000-9007     W   --------    ADC start trigger, inputs 0-7
    69: 	9400        R     xxxxxxxx    ADC data read
    70: 	9800-9801     W   x-------    External output #0
    71: 	9802-9803     W   x-------    External output #1
    72: 	9804-9805     W   x-------    External output #2
    73: 	9806-9807     W   x-------    External output #3
    74: 	9808-9809     W   x-------    External output #4
    75: 	980A-980B     W   x-------    External output #5
    76: 	980C-980D     W   x-------    External output #6
    77: 	980E-980F     W   x-------    NVRAM recall
    78: 	9880          W   --------    Random number generator reset
    79: 	98A0          W   -xxx----    A000-DFFF bank select
    80: 	98C0          W   ------xx    Palette bank select
    81: 	98E0          W   --------    Watchdog reset
    82: 	9900        R     xxxxxxxx    DIP switch bank 1 (G) (active low)
    83: 	9901        R     xxxxxxxx    DIP switch bank 2 (H) (active low)
    84: 	9902        R     x-------    Self test (active low)
    85: 	            R     -x------    Left coin (active low)
    86: 	            R     --xxxxxx    External inputs (active low)
    87: 	9903        R     x-------    VBLANK state (active high)
    88: 	            R     -x------    Right coin (active low)
    89: 	            R     --xxxx--    External inputs (active low)
    90: 	            R     ------x-    Player 2 start (active low)
    91: 	            R     -------x    Player 1 start (active low)
    92: 	9A00        R     xxxxxxxx    Random number generator
    93: 	9A04-9A05   R/W   xxxxxxxx    6850 UART I/O (to sound board)
    94: 	9B00-9CFF   R/W   xxxxxxxx    NOVRAM
    95: 	9F00          W   --x--xxx    Independent bank select (Night Stocker only?)
    96: 	A000-BFFF   R     xxxxxxxx    Banked A/B ROM
    97: 	C000-DFFF   R     xxxxxxxx    Banked C/D ROM
    98: 	E000-FFFF   R     xxxxxxxx    Fixed program ROM
    99: 	========================================================================
   100: 	Interrupts:
   101: 		NMI not connected
   102: 		IRQ generated by 32L
   103: 		FIRQ generated by 6850 UART
   104: 	========================================================================
   105: 
   106: 
   107: 	========================================================================
   108: 	CPU #2
   109: 	========================================================================
   110: 	0000-1FFF   R     xxxxxxxx    Program ROM
   111: 	2000-3FFF   R/W   xxxxxxxx    Option RAM/ROM (assumed to be RAM for now)
   112: 	4000-5FFF   R/W   xxxxxxxx    Program RAM
   113: 	6000-6001     W   xxxxxxxx    6850 UART output (to main board)
   114: 	E000-E001   R     xxxxxxxx    6850 UART input (from main board)
   115: 	========================================================================
   116:     0000-0003   R/W   xxxxxxxx    8253 counter chip I/O
   117:     0008        R     ------xx    Counter state
   118:                 R     ------x-    State of counter #0 OUT signal (active high)
   119:                 R     -------x    State of flip-flop feeding counter #0 (active low)
   120:     0008          W   --xxxxxx    Counter control
   121:                   W   --x-----    NMI enable (1=enabled, 0=disabled/clear)
   122:                   W   ---x----    CLEAR on flip-flop feeding counter #0 (active low)
   123:                   W   ----x---    Input of flip-flop feeding counter #0
   124:                   W   -----x--    PRESET on flip-flop feeding counter #0 (active low)
   125:                   W   ------x-    GATE signal for counter #0 (active high)
   126:                   W   -------x    Audio enable
   127:     000A          W   --xxxxxx    DAC data latch (upper 6 bits)
   128:     000B          W   xxxxxx--    DAC data latch (lower 6 bits)
   129:     000C          W   -----xxx    CEM3394 register select
   130:     000E          W   --xxxxxx    CEM3394 chip enable (active high)
   131:                   W   --x-----    CEM3394 chip 0 enable
   132:                   W   ---x----    CEM3394 chip 1 enable
   133:                   W   ----x---    CEM3394 chip 2 enable
   134:                   W   -----x--    CEM3394 chip 3 enable
   135:                   W   ------x-    CEM3394 chip 4 enable
   136:                   W   -------x    CEM3394 chip 5 enable
   137: 	========================================================================
   138: 	Interrupts:
   139: 		INT generated by counter #2 OUT signal on 8253
   140: 		NMI generated by 6850 UART
   141: 	========================================================================
   142: 
   143: ***************************************************************************/
   144: 
   145: #include "driver.h" 
   146: #include "vidhrdw/generic.h" 
   147: #include "balsente.h" 
   148: 
   149: 
   150: 
   151: /*************************************
   152:  *
   153:  *	Main CPU memory handlers
   154:  *
   155:  *************************************/
   156: 
   157: static MEMORY_READ_START( readmem_cpu1 )
   158: 	{ 0x0000, 0x8fff, MRA_RAM },
   159: 	{ 0x9400, 0x9401, balsente_adc_data_r },
   160: 	{ 0x9900, 0x9900, input_port_0_r },
   161: 	{ 0x9901, 0x9901, input_port_1_r },
   162: 	{ 0x9902, 0x9902, input_port_2_r },
   163: 	{ 0x9903, 0x9903, input_port_3_r },
   164: 	{ 0x9a00, 0x9a03, balsente_random_num_r },
   165: 	{ 0x9a04, 0x9a05, balsente_m6850_r },
   166: 	{ 0x9b00, 0x9bff, MRA_RAM },		/* system NOVRAM */
   167: 	{ 0x9c00, 0x9cff, MRA_RAM },		/* cart NOVRAM */
   168: 	{ 0xa000, 0xbfff, MRA_BANK1 },
   169: 	{ 0xc000, 0xffff, MRA_BANK2 },
   170: MEMORY_END
   171: 
   172: 
   173: static MEMORY_WRITE_START( writemem_cpu1 )
   174: 	{ 0x0000, 0x07ff, MWA_RAM, &spriteram },
   175: 	{ 0x0800, 0x7fff, balsente_videoram_w, &videoram, &videoram_size },
   176: 	{ 0x8000, 0x8fff, balsente_paletteram_w, &paletteram },
   177: 	{ 0x9000, 0x9007, balsente_adc_select_w },
   178: 	{ 0x9800, 0x987f, balsente_misc_output_w },
   179: 	{ 0x9880, 0x989f, balsente_random_reset_w },
   180: 	{ 0x98a0, 0x98bf, balsente_rombank_select_w },
   181: 	{ 0x98c0, 0x98df, balsente_palette_select_w },
   182: 	{ 0x98e0, 0x98ff, watchdog_reset_w },
   183: 	{ 0x9903, 0x9903, MWA_NOP },
   184: 	{ 0x9a04, 0x9a05, balsente_m6850_w },
   185: 	{ 0x9b00, 0x9cff, MWA_RAM, &generic_nvram, &generic_nvram_size },		/* system NOVRAM + cart NOVRAM */
   186: 	{ 0xa000, 0xffff, MWA_ROM },
   187: MEMORY_END
   188: 
   189: 
   190: 
   191: /*************************************
   192:  *
   193:  *	Sound CPU memory handlers
   194:  *
   195:  *************************************/
   196: 
   197: static MEMORY_READ_START( readmem_cpu2 )
   198: 	{ 0x0000, 0x1fff, MRA_ROM },
   199: 	{ 0x2000, 0x5fff, MRA_RAM },
   200: 	{ 0xe000, 0xffff, balsente_m6850_sound_r },
   201: MEMORY_END
   202: 
   203: 
   204: static MEMORY_WRITE_START( writemem_cpu2 )
   205: 	{ 0x0000, 0x1fff, MWA_ROM },
   206: 	{ 0x2000, 0x5fff, MWA_RAM },
   207: 	{ 0x6000, 0x7fff, balsente_m6850_sound_w },
   208: MEMORY_END
   209: 
   210: 
   211: static PORT_READ_START( readport_cpu2 )
   212: 	{ 0x00, 0x03, balsente_counter_8253_r },
   213: 	{ 0x08, 0x0f, balsente_counter_state_r },
   214: PORT_END
   215: 
   216: 
   217: static PORT_WRITE_START( writeport_cpu2 )
   218: 	{ 0x00, 0x03, balsente_counter_8253_w },
   219: 	{ 0x08, 0x09, balsente_counter_control_w },
   220: 	{ 0x0a, 0x0b, balsente_dac_data_w },
   221: 	{ 0x0c, 0x0d, balsente_register_addr_w },
   222: 	{ 0x0e, 0x0f, balsente_chip_select_w },
   223: PORT_END
   224: 
   225: 
   226: 
   227: /*************************************
   228:  *
   229:  *	Shrike Avenger CPU memory handlers
   230:  *
   231:  *************************************/
   232: 
   233: /* CPU 1 read addresses */
   234: static MEMORY_READ16_START( readmem_shrike68k )
   235: 	{ 0x000000, 0x003fff, MRA16_ROM },
   236: 	{ 0x010000, 0x01001f, shrike_shared_68k_r },
   237: 	{ 0x018000, 0x018fff, MRA16_RAM },
   238: MEMORY_END
   239: 
   240: 
   241: /* CPU 1 write addresses */
   242: static MEMORY_WRITE16_START( writemem_shrike68k )
   243: 	{ 0x000000, 0x003fff, MWA16_ROM },
   244: 	{ 0x010000, 0x01001f, shrike_shared_68k_w, &shrike_shared },
   245: 	{ 0x018000, 0x018fff, MWA16_RAM },
   246: MEMORY_END
   247: 
   248: 
   249: 
   250: /*************************************
   251:  *
   252:  *	Port definitions
   253:  *
   254:  *************************************/
   255: 
   256: #define UNUSED_ANALOG \ 
   257: 	PORT_START\
   258: 	PORT_BIT( 0xff, IP_ACTIVE_HIGH, IPT_UNUSED )
   259: #define UNUSED_ANALOG_X2 UNUSED_ANALOG UNUSED_ANALOG 
   260: #define UNUSED_ANALOG_X3 UNUSED_ANALOG_X2 UNUSED_ANALOG 
   261: #define UNUSED_ANALOG_X4 UNUSED_ANALOG_X2 UNUSED_ANALOG_X2 
   262: 
   263: #define PLAYER1_ANALOG_JOYSTICK \ 
   264: 	PORT_START\
   265:     PORT_ANALOG( 0xff, 0, IPT_AD_STICK_Y | IPF_PLAYER1, 100, 20, 0x80, 0x7f )\
   266: 	PORT_START\
   267:     PORT_ANALOG( 0xff, 0, IPT_AD_STICK_X | IPF_REVERSE | IPF_PLAYER1, 100, 20, 0x80, 0x7f )
   268: 
   269: #define PLAYER2_ANALOG_JOYSTICK \ 
   270: 	PORT_START\
   271:     PORT_ANALOG( 0xff, 0, IPT_AD_STICK_Y | IPF_PLAYER2, 100, 20, 0x80, 0x7f )\
   272: 	PORT_START\
   273:     PORT_ANALOG( 0xff, 0, IPT_AD_STICK_X | IPF_REVERSE | IPF_PLAYER2, 100, 20, 0x80, 0x7f )
   274: 
   275: #define PLAYER1_TRACKBALL \ 
   276: 	PORT_START\
   277:     PORT_ANALOG( 0xff, 0, IPT_TRACKBALL_Y | IPF_PLAYER1 | IPF_CENTER, 100, 20, 0, 0 )\
   278: 	PORT_START\
   279:     PORT_ANALOG( 0xff, 0, IPT_TRACKBALL_X | IPF_REVERSE | IPF_PLAYER1 | IPF_CENTER, 100, 20, 0, 0 )
   280: 
   281: #define PLAYER2_TRACKBALL \ 
   282: 	PORT_START\
   283:     PORT_ANALOG( 0xff, 0, IPT_TRACKBALL_Y | IPF_PLAYER2 | IPF_CENTER, 100, 20, 0, 0 )\
   284: 	PORT_START\
   285:     PORT_ANALOG( 0xff, 0, IPT_TRACKBALL_X | IPF_REVERSE | IPF_PLAYER2 | IPF_CENTER, 100, 20, 0, 0 )
   286: 
   287: #define PLAYER1_DIAL \ 
   288: 	PORT_START\
   289:     PORT_ANALOG( 0xff, 0, IPT_DIAL | IPF_PLAYER1 | IPF_REVERSE | IPF_CENTER, 100, 20, 0, 0 )
   290: 
   291: #define PLAYER2_DIAL \ 
   292: 	PORT_START\
   293:     PORT_ANALOG( 0xff, 0, IPT_DIAL | IPF_PLAYER2 | IPF_REVERSE | IPF_CENTER, 100, 20, 0, 0 )
   294: 
   295: #define PLAYER1_WHEEL \ 
   296: 	PORT_START\
   297:     PORT_ANALOG( 0xff, 0, IPT_DIAL | IPF_PLAYER1 | IPF_CENTER, 100, 20, 0, 0 )
   298: 
   299: #define PLAYER1_CROSSHAIRS \ 
   300: 	PORT_START				/* fake analog X */\
   301: 	PORT_ANALOG( 0xff, 0x80, IPT_LIGHTGUN_X, 50, 10, 0, 255 )\
   302: 	PORT_START				/* fake analog Y */\
   303: 	PORT_ANALOG( 0xff, 0x80, IPT_LIGHTGUN_Y, 70, 10, 0, 255 )
   304: 
   305: 
   306: INPUT_PORTS_START( sentetst )
   307: 	PORT_START	/* IN0 */
   308: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
   309: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
   310: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
   311: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
   312: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   313: 	PORT_BIT( 0x7c, IP_ACTIVE_LOW, IPT_UNUSED )
   314: 	PORT_DIPNAME( 0x80, 0x80, "High Scores" )
   315: 	PORT_DIPSETTING(    0x80, "Keep Top 5" )
   316: 	PORT_DIPSETTING(    0x00, "Keep All" )
   317: 
   318: 	PORT_START	/* IN1 */
   319: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Bonus_Life ) )
   320: 	PORT_DIPSETTING(    0x00, "Every 10,000" )
   321: 	PORT_DIPSETTING(    0x01, "Every 15,000" )
   322: 	PORT_DIPSETTING(    0x02, "Every 20,000" )
   323: 	PORT_DIPSETTING(    0x03, "Every 25,000" )
   324: 	PORT_DIPNAME( 0x0c, 0x04, DEF_STR( Lives ) )
   325: 	PORT_DIPSETTING(    0x00, "2" )
   326: 	PORT_DIPSETTING(    0x04, "3" )
   327: 	PORT_DIPSETTING(    0x08, "4" )
   328: 	PORT_DIPSETTING(    0x0c, "5" )
   329: 	PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
   330: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
   331: 	PORT_DIPSETTING(    0x40, "Easy" )
   332: 	PORT_DIPSETTING(    0x00, "Hard" )
   333: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   334: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   335: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   336: 
   337: 	PORT_START	/* IN2 */
   338: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP    | IPF_PLAYER1 )
   339: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_DOWN  | IPF_PLAYER1 )
   340: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT | IPF_PLAYER1 )
   341: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_LEFT  | IPF_PLAYER1 )
   342: 	PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
   343: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   344: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   345: 
   346: 	PORT_START	/* IN3 */
   347: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   348: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   349: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 )
   350: 	PORT_BIT( 0x38, IP_ACTIVE_LOW, IPT_UNUSED )
   351: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   352: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   353: 
   354: 	/* analog ports */
   355: 	UNUSED_ANALOG_X2
   356: 	PLAYER1_TRACKBALL
   357: INPUT_PORTS_END
   358: 
   359: 
   360: INPUT_PORTS_START( cshift )
   361: 	PORT_START	/* IN0 */
   362: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
   363: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
   364: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
   365: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
   366: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   367: 	PORT_BIT( 0x7c, IP_ACTIVE_LOW, IPT_UNUSED )
   368: 	PORT_DIPNAME( 0x80, 0x80, "High Scores" )
   369: 	PORT_DIPSETTING(    0x80, "Keep Top 5" )
   370: 	PORT_DIPSETTING(    0x00, "Keep All" )
   371: 
   372: 	PORT_START	/* IN1 */
   373: 	PORT_BIT( 0x03, IP_ACTIVE_LOW, IPT_UNUSED )
   374: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Lives ) )
   375: 	PORT_DIPSETTING(    0x00, "2" )
   376: 	PORT_DIPSETTING(    0x04, "3" )
   377: 	PORT_BIT( 0x70, IP_ACTIVE_LOW, IPT_UNUSED )
   378: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   379: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   380: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   381: 
   382: 	PORT_START	/* IN2 */
   383: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
   384: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
   385: 	PORT_BIT( 0x3c, IP_ACTIVE_LOW, IPT_UNUSED )
   386: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   387: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   388: 
   389: 	PORT_START	/* IN3 */
   390: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   391: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   392: 	PORT_BIT( 0x3c, IP_ACTIVE_LOW, IPT_UNUSED )
   393: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   394: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   395: 
   396: 	/* analog ports */
   397: 	UNUSED_ANALOG_X4
   398: INPUT_PORTS_END
   399: 
   400: 
   401: INPUT_PORTS_START( gghost )
   402: 	PORT_START	/* IN0 */
   403: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
   404: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
   405: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
   406: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
   407: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   408: 	PORT_DIPNAME( 0x04, 0x04, "Players per Credit" )
   409: 	PORT_DIPSETTING(    0x00, "1" )
   410: 	PORT_DIPSETTING(    0x04, "1 or 2" )
   411: 	PORT_BIT( 0xf8, IP_ACTIVE_HIGH, IPT_UNUSED )
   412: 
   413: 	PORT_START	/* IN1 */
   414: 	PORT_DIPNAME( 0x07, 0x05, "Game Duration" )
   415: 	PORT_DIPSETTING(    0x00, "9 points" )
   416: 	PORT_DIPSETTING(    0x02, "11 points" )
   417: 	PORT_DIPSETTING(    0x04, "15 points" )
   418: 	PORT_DIPSETTING(    0x06, "21 points" )
   419: 	PORT_DIPSETTING(    0x01, "timed, 1:15" )
   420: 	PORT_DIPSETTING(    0x03, "timed, 1:30" )
   421: 	PORT_DIPSETTING(    0x05, "timed, 2:00" )
   422: 	PORT_DIPSETTING(    0x07, "timed, 2:30" )
   423: 	PORT_BIT( 0x78, IP_ACTIVE_HIGH, IPT_UNUSED )
   424: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   425: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   426: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   427: 
   428: 	PORT_START	/* IN2 */
   429: 	PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED )
   430: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   431: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
   432: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   433: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   434: 
   435: 	PORT_START	/* IN3 */
   436: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   437: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   438: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
   439: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
   440: 	PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
   441: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   442: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   443: 
   444: 	/* analog ports */
   445: 	PLAYER2_TRACKBALL
   446: 	PLAYER1_TRACKBALL
   447: INPUT_PORTS_END
   448: 
   449: 
   450: INPUT_PORTS_START( hattrick )
   451: 	PORT_START	/* IN0 */
   452: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
   453: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
   454: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
   455: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
   456: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   457: 	PORT_DIPNAME( 0x04, 0x04, "Players Per Credit" )
   458: 	PORT_DIPSETTING(    0x00, "1" )
   459: 	PORT_DIPSETTING(    0x04, "1 or 2" )
   460: 	PORT_BIT( 0xf8, IP_ACTIVE_HIGH, IPT_UNUSED )
   461: 
   462: 	PORT_START	/* IN1 */
   463: 	PORT_DIPNAME( 0x07, 0x02, "Game Time" )
   464: 	PORT_DIPSETTING(    0x00, "1:15" )
   465: 	PORT_DIPSETTING(    0x01, "1:30" )
   466: 	PORT_DIPSETTING(    0x02, "1:45" )
   467: 	PORT_DIPSETTING(    0x03, "2:00" )
   468: 	PORT_DIPSETTING(    0x04, "2:15" )
   469: 	PORT_DIPSETTING(    0x05, "2:30" )
   470: 	PORT_DIPSETTING(    0x06, "2:45" )
   471: 	PORT_DIPSETTING(    0x07, "3:00" )
   472: 	PORT_BIT( 0x78, IP_ACTIVE_HIGH, IPT_UNUSED )
   473: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   474: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   475: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   476: 
   477: 	PORT_START	/* IN2 */
   478: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_PLAYER1 )
   479: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_PLAYER1 )
   480: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_PLAYER1 )
   481: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_PLAYER1 )
   482: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
   483: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   484: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   485: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   486: 
   487: 	PORT_START	/* IN3 */
   488: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   489: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   490: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_PLAYER2 )
   491: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_PLAYER2 )
   492: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_PLAYER2 )
   493: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_PLAYER2 )
   494: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   495: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   496: 
   497: 	/* analog ports */
   498: 	UNUSED_ANALOG_X4
   499: INPUT_PORTS_END
   500: 
   501: 
   502: INPUT_PORTS_START( otwalls )
   503: 	PORT_START	/* IN0 */
   504: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
   505: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
   506: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
   507: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
   508: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   509: 	PORT_DIPNAME( 0x04, 0x04, "Players Per Credit" )
   510: 	PORT_DIPSETTING(    0x00, "1" )
   511: 	PORT_DIPSETTING(    0x04, "1 or 2" )
   512: 	PORT_BIT( 0xf8, IP_ACTIVE_LOW, IPT_UNUSED )
   513: 
   514: 	PORT_START	/* IN1 */
   515: 	PORT_BIT( 0x7f, IP_ACTIVE_LOW, IPT_UNUSED )
   516: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   517: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   518: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   519: 
   520: 	PORT_START	/* IN2 */
   521: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_LEFT  | IPF_PLAYER2 )
   522: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT | IPF_PLAYER2 )
   523: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_LEFT  | IPF_PLAYER1 )
   524: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT | IPF_PLAYER1 )
   525: 	PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
   526: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   527: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   528: 
   529: 	PORT_START	/* IN3 */
   530: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   531: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   532: 	PORT_BIT( 0x3c, IP_ACTIVE_LOW, IPT_UNUSED )
   533: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   534: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   535: 
   536: 	/* analog ports */
   537: 	UNUSED_ANALOG_X2
   538: 	PLAYER1_DIAL
   539: 	PLAYER2_DIAL
   540: INPUT_PORTS_END
   541: 
   542: 
   543: INPUT_PORTS_START( snakepit )
   544: 	PORT_START	/* IN0 */
   545: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
   546: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
   547: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
   548: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
   549: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   550: 	PORT_BIT( 0x7c, IP_ACTIVE_LOW, IPT_UNUSED )
   551: 	PORT_DIPNAME( 0x80, 0x80, "High Scores" )
   552: 	PORT_DIPSETTING(    0x80, "Keep Top 5" )
   553: 	PORT_DIPSETTING(    0x00, "Keep All" )
   554: 
   555: 	PORT_START	/* IN1 */
   556: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Bonus_Life ) )
   557: 	PORT_DIPSETTING(    0x00, "Every 10,000" )
   558: 	PORT_DIPSETTING(    0x01, "Every 15,000" )
   559: 	PORT_DIPSETTING(    0x02, "Every 20,000" )
   560: 	PORT_DIPSETTING(    0x03, "Every 25,000" )
   561: 	PORT_DIPNAME( 0x0c, 0x04, DEF_STR( Lives ) )
   562: 	PORT_DIPSETTING(    0x00, "2" )
   563: 	PORT_DIPSETTING(    0x04, "3" )
   564: 	PORT_DIPSETTING(    0x08, "4" )
   565: 	PORT_DIPSETTING(    0x0c, "5" )
   566: 	PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
   567: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Difficulty ) )
   568: 	PORT_DIPSETTING(    0x40, "Easy" )
   569: 	PORT_DIPSETTING(    0x00, "Hard" )
   570: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   571: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   572: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   573: 
   574: 	PORT_START	/* IN2 */
   575: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP    | IPF_PLAYER1 )
   576: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_DOWN  | IPF_PLAYER1 )
   577: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT | IPF_PLAYER1 )
   578: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_LEFT  | IPF_PLAYER1 )
   579: 	PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
   580: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   581: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   582: 
   583: 	PORT_START	/* IN3 */
   584: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   585: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   586: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 )
   587: 	PORT_BIT( 0x38, IP_ACTIVE_LOW, IPT_UNUSED )
   588: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   589: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   590: 
   591: 	/* analog ports */
   592: 	UNUSED_ANALOG_X2
   593: 	PLAYER1_TRACKBALL
   594: INPUT_PORTS_END
   595: 
   596: 
   597: INPUT_PORTS_START( snakjack )
   598: 	PORT_START	/* IN0 */
   599: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
   600: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
   601: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
   602: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
   603: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   604: 	PORT_BIT( 0x7c, IP_ACTIVE_LOW, IPT_UNUSED )
   605: 	PORT_DIPNAME( 0x80, 0x80, "High Scores" )
   606: 	PORT_DIPSETTING(    0x80, "Keep Top 5" )
   607: 	PORT_DIPSETTING(    0x00, "Keep All" )
   608: 
   609: 	PORT_START	/* IN1 */
   610: 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Bonus_Life ) )
   611: 	PORT_DIPSETTING(    0x00, "Every 15,000" )
   612: 	PORT_DIPSETTING(    0x01, "Every 20,000" )
   613: 	PORT_DIPSETTING(    0x02, "Every 25,000" )
   614: 	PORT_DIPSETTING(    0x03, "Every 30,000" )
   615: 	PORT_DIPNAME( 0x0c, 0x04, DEF_STR( Lives ) )
   616: 	PORT_DIPSETTING(    0x00, "2" )
   617: 	PORT_DIPSETTING(    0x04, "3" )
   618: 	PORT_DIPSETTING(    0x08, "4" )
   619: 	PORT_DIPSETTING(    0x0c, "5" )
   620: 	PORT_BIT( 0x70, IP_ACTIVE_LOW, IPT_UNUSED )
   621: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   622: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   623: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   624: 
   625: 	PORT_START	/* IN2 */
   626: 	PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED )
   627: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   628: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   629: 
   630: 	PORT_START	/* IN3 */
   631: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   632: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   633: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 )
   634: 	PORT_BIT( 0x38, IP_ACTIVE_LOW, IPT_UNUSED )
   635: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   636: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   637: 
   638: 	/* analog ports */
   639: 	UNUSED_ANALOG_X2
   640: 	PLAYER1_TRACKBALL
   641: INPUT_PORTS_END
   642: 
   643: 
   644: INPUT_PORTS_START( stocker )
   645: 	PORT_START	/* IN0 */
   646: 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
   647: 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
   648: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
   649: 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
   650: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   651: 	PORT_DIPNAME( 0x1c, 0x00, "Bonus Coins" )
   652: 	PORT_DIPSETTING(    0x00, "None" )
   653: 	PORT_DIPSETTING(    0x04, "2 Coins = 1 Bonus" )
   654: 	PORT_DIPSETTING(    0x08, "3 Coins = 1 Bonus" )
   655: 	PORT_DIPSETTING(    0x0c, "4 Coins = 1 Bonus" )
   656: 	PORT_DIPSETTING(    0x10, "4 Coins = 2 Bonus" )
   657: 	PORT_DIPSETTING(    0x14, "5 Coins = 1 Bonus" )
   658: 	PORT_DIPSETTING(    0x18, "5 Coins = 2 Bonus" )
   659: 	PORT_DIPSETTING(    0x1c, "5 Coins = 3 Bonus" )
   660: 	PORT_DIPNAME( 0x20, 0x00, "Left Coin Mech" )
   661: 	PORT_DIPSETTING(    0x00, "x1" )
   662: 	PORT_DIPSETTING(    0x20, "x2" )
   663: 	PORT_DIPNAME( 0xc0, 0x00, "Right Coin Mech" )
   664: 	PORT_DIPSETTING(    0x00, "x1" )
   665: 	PORT_DIPSETTING(    0x40, "x4" )
   666: 	PORT_DIPSETTING(    0x80, "x5" )
   667: 	PORT_DIPSETTING(    0xc0, "x6" )
   668: 
   669: 	PORT_START	/* IN1 */
   670: 	PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED )
   671: 	PORT_DIPNAME( 0x40, 0x40, "End of Game" )
   672: 	PORT_DIPSETTING(    0x40, "Normal" )
   673: 	PORT_DIPSETTING(    0x00, "3 Tickets" )
   674: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   675: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   676: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   677: 
   678: 	PORT_START	/* IN2 */
   679: 	PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED )
   680: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   681: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   682: 
   683: 	PORT_START	/* IN3 */
   684: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   685: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )
   686: 	PORT_BIT( 0x3c, IP_ACTIVE_LOW, IPT_UNUSED )
   687: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   688: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   689: 
   690: 	/* analog ports */
   691: 	UNUSED_ANALOG_X3
   692: 	PLAYER1_WHEEL
   693: INPUT_PORTS_END
   694: 
   695: 
   696: INPUT_PORTS_START( triviag1 )
   697: 	PORT_START	/* IN0 */
   698: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
   699: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
   700: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
   701: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
   702: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   703: 	PORT_BIT( 0x1c, IP_ACTIVE_LOW, IPT_UNUSED )
   704: 	PORT_DIPNAME( 0x20, 0x00, "Sound" )
   705: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   706: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   707: 	PORT_DIPNAME( 0x40, 0x00, "Sound Test" )
   708: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   709: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   710: 	PORT_DIPNAME( 0x80, 0x80, "High Scores" )
   711: 	PORT_DIPSETTING(    0x00, "Keep Top 5" )
   712: 	PORT_DIPSETTING(    0x80, "Keep Top 10" )
   713: 
   714: 	PORT_START	/* IN1 */
   715: 	PORT_BIT( 0x03, IP_ACTIVE_LOW, IPT_UNUSED )
   716: 	PORT_DIPNAME( 0x0c, 0x04, "Guesses" )
   717: 	PORT_DIPSETTING(    0x00, "3" )
   718: 	PORT_DIPSETTING(    0x04, "4" )
   719: 	PORT_DIPSETTING(    0x08, "5" )
   720: 	PORT_DIPSETTING(    0x0c, "6" )
   721: 	PORT_BIT( 0x70, IP_ACTIVE_LOW, IPT_UNUSED )
   722: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   723: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   724: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   725: 
   726: 	PORT_START	/* IN2 */
   727: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_PLAYER1 )
   728: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_PLAYER1 )
   729: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_PLAYER1 )
   730: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_PLAYER1 )
   731: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
   732: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
   733: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   734: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   735: 
   736: 	PORT_START	/* IN3 */
   737: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   738: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   739: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START3 )
   740: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START4 )
   741: 	PORT_BITX(0x10, IP_ACTIVE_LOW, IPT_BUTTON2, "Red Button", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
   742: 	PORT_BITX(0x20, IP_ACTIVE_LOW, IPT_BUTTON1, "Green Button", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
   743: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   744: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   745: 
   746: 	/* analog ports */
   747: 	UNUSED_ANALOG_X4
   748: INPUT_PORTS_END
   749: 
   750: 
   751: #define input_ports_triviag2 input_ports_triviag1 
   752: #define input_ports_triviasp input_ports_triviag1 
   753: #define input_ports_triviayp input_ports_triviag1 
   754: #define input_ports_triviabb input_ports_triviag1 
   755: 
   756: 
   757: INPUT_PORTS_START( gimeabrk )
   758: 	PORT_START	/* IN0 */
   759: 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
   760: 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
   761: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
   762: 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
   763: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   764: 	PORT_DIPNAME( 0x1c, 0x00, "Bonus Coins" )
   765: 	PORT_DIPSETTING(    0x00, "None" )
   766: 	PORT_DIPSETTING(    0x04, "2 Coins = 1 Bonus" )
   767: 	PORT_DIPSETTING(    0x08, "3 Coins = 1 Bonus" )
   768: 	PORT_DIPSETTING(    0x0c, "4 Coins = 1 Bonus" )
   769: 	PORT_DIPSETTING(    0x10, "4 Coins = 2 Bonus" )
   770: 	PORT_DIPSETTING(    0x14, "5 Coins = 1 Bonus" )
   771: 	PORT_DIPSETTING(    0x18, "5 Coins = 2 Bonus" )
   772: 	PORT_DIPSETTING(    0x1c, "5 Coins = 3 Bonus" )
   773: 	PORT_DIPNAME( 0x20, 0x00, "Left Coin Mech" )
   774: 	PORT_DIPSETTING(    0x00, "x1" )
   775: 	PORT_DIPSETTING(    0x20, "x2" )
   776: 	PORT_DIPNAME( 0xc0, 0x00, "Right Coin Mech" )
   777: 	PORT_DIPSETTING(    0x00, "x1" )
   778: 	PORT_DIPSETTING(    0x40, "x4" )
   779: 	PORT_DIPSETTING(    0x80, "x5" )
   780: 	PORT_DIPSETTING(    0xc0, "x6" )
   781: 
   782: 	PORT_START	/* IN1 */
   783: 	PORT_DIPNAME( 0x03, 0x01, "Bonus Shot" )
   784: 	PORT_DIPSETTING(    0x00, "Every 6 Balls" )
   785: 	PORT_DIPSETTING(    0x01, "Every 8 Balls" )
   786: 	PORT_DIPSETTING(    0x02, "Every 10 Balls" )
   787: 	PORT_DIPSETTING(    0x03, "Every 12 Balls" )
   788: 	PORT_DIPNAME( 0x0c, 0x08, "Initial Shots" )
   789: 	PORT_DIPSETTING(    0x00, "8" )
   790: 	PORT_DIPSETTING(    0x04, "10" )
   791: 	PORT_DIPSETTING(    0x08, "12" )
   792: 	PORT_DIPSETTING(    0x0c, "14" )
   793: 	PORT_DIPNAME( 0x10, 0x00, "Players Per Credit" )
   794: 	PORT_DIPSETTING(    0x00, "1" )
   795: 	PORT_DIPSETTING(    0x10, "1 or 2" )
   796: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Cabinet ) )
   797: 	PORT_DIPSETTING(    0x20, DEF_STR( Upright ) )
   798: 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
   799: 	PORT_DIPNAME( 0x40, 0x40, "High Scores" )
   800: 	PORT_DIPSETTING(    0x40, "Keep Top 5" )
   801: 	PORT_DIPSETTING(    0x00, "Keep All" )
   802: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   803: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   804: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   805: 
   806: 	PORT_START	/* IN2 */
   807: 	PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED )
   808: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   809: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   810: 
   811: 	PORT_START	/* IN3 */
   812: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   813: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   814: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
   815: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 )
   816: 	PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
   817: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   818: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   819: 
   820: 	/* analog ports */
   821: 	PLAYER1_TRACKBALL
   822: 	UNUSED_ANALOG_X2
   823: INPUT_PORTS_END
   824: 
   825: 
   826: INPUT_PORTS_START( minigolf )
   827: 	PORT_START	/* IN0 */
   828: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
   829: 	PORT_DIPSETTING(    0x03, DEF_STR( 3C_1C ) )
   830: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
   831: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
   832: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
   833: 	PORT_DIPNAME( 0x1c, 0x00, "Bonus Coins" )
   834: 	PORT_DIPSETTING(    0x00, "None" )
   835: 	PORT_DIPSETTING(    0x04, "2 Coins = 1 Bonus" )
   836: 	PORT_DIPSETTING(    0x08, "3 Coins = 1 Bonus" )
   837: 	PORT_DIPSETTING(    0x0c, "4 Coins = 1 Bonus" )
   838: 	PORT_DIPSETTING(    0x10, "4 Coins = 2 Bonus" )
   839: 	PORT_DIPSETTING(    0x14, "5 Coins = 1 Bonus" )
   840: 	PORT_DIPSETTING(    0x18, "5 Coins = 2 Bonus" )
   841: 	PORT_DIPSETTING(    0x1c, "5 Coins = 3 Bonus" )
   842: 	PORT_DIPNAME( 0x20, 0x00, "Left Coin Mech" )
   843: 	PORT_DIPSETTING(    0x00, "x1" )
   844: 	PORT_DIPSETTING(    0x20, "x2" )
   845: 	PORT_DIPNAME( 0xc0, 0x00, "Right Coin Mech" )
   846: 	PORT_DIPSETTING(    0x00, "x1" )
   847: 	PORT_DIPSETTING(    0x40, "x4" )
   848: 	PORT_DIPSETTING(    0x80, "x5" )
   849: 	PORT_DIPSETTING(    0xc0, "x6" )
   850: 
   851: 	PORT_START	/* IN1 */
   852: 	PORT_DIPNAME( 0x01, 0x01, "Add-A-Coin" )
   853: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   854: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   855: 	PORT_DIPNAME( 0x02, 0x02, "Display Kids" )
   856: 	PORT_DIPSETTING(    0x02, DEF_STR( No ) )
   857: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
   858: 	PORT_DIPNAME( 0x04, 0x04, "Kid on Left Located" )
   859: 	PORT_DIPSETTING(    0x04, DEF_STR( No ) )
   860: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
   861: 	PORT_DIPNAME( 0x08, 0x08, "Kid on Right Located" )
   862: 	PORT_DIPSETTING(    0x08, DEF_STR( No ) )
   863: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
   864: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   865: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   866: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   867: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   868: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   869: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   870: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   871: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   872: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   873: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   874: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   875: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   876: 
   877: 	PORT_START	/* IN2 */
   878: 	PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED )
   879: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   880: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   881: 
   882: 	PORT_START	/* IN3 */
   883: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   884: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   885: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START3 )
   886: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START4 )
   887: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
   888: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
   889: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   890: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   891: 
   892: 	/* analog ports */
   893: 	UNUSED_ANALOG_X2
   894: 	PLAYER1_TRACKBALL
   895: INPUT_PORTS_END
   896: 
   897: 
   898: INPUT_PORTS_START( minigol2 )
   899: 	PORT_START	/* IN0 */
   900: 	PORT_DIPNAME( 0x03, 0x01, DEF_STR( Coinage ) )
   901: 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
   902: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_1C ) )
   903: 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
   904: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   905: 	PORT_DIPNAME( 0x1c, 0x00, "Bonus Coins" )
   906: 	PORT_DIPSETTING(    0x00, "None" )
   907: 	PORT_DIPSETTING(    0x04, "2 Coins = 1 Bonus" )
   908: 	PORT_DIPSETTING(    0x08, "3 Coins = 1 Bonus" )
   909: 	PORT_DIPSETTING(    0x0c, "4 Coins = 1 Bonus" )
   910: 	PORT_DIPSETTING(    0x10, "4 Coins = 2 Bonus" )
   911: 	PORT_DIPSETTING(    0x14, "5 Coins = 1 Bonus" )
   912: 	PORT_DIPSETTING(    0x18, "5 Coins = 2 Bonus" )
   913: 	PORT_DIPSETTING(    0x1c, "5 Coins = 3 Bonus" )
   914: 	PORT_DIPNAME( 0x20, 0x00, "Left Coin Mech" )
   915: 	PORT_DIPSETTING(    0x00, "x1" )
   916: 	PORT_DIPSETTING(    0x20, "x2" )
   917: 	PORT_DIPNAME( 0xc0, 0x00, "Right Coin Mech" )
   918: 	PORT_DIPSETTING(    0x00, "x1" )
   919: 	PORT_DIPSETTING(    0x40, "x4" )
   920: 	PORT_DIPSETTING(    0x80, "x5" )
   921: 	PORT_DIPSETTING(    0xc0, "x6" )
   922: 
   923: 	PORT_START	/* IN1 */
   924: 	PORT_DIPNAME( 0x01, 0x01, "Add-A-Coin" )
   925: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   926: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   927: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   928: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   929: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   930: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   931: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   932: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   933: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   934: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   935: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   936: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   937: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   938: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   939: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   940: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   941: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   942: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   943: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   944: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   945: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   946: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   947: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   948: 
   949: 	PORT_START	/* IN2 */
   950: 	PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED )
   951: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   952: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   953: 
   954: 	PORT_START	/* IN3 */
   955: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   956: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   957: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START3 )
   958: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START4 )
   959: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
   960: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
   961: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
   962: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
   963: 
   964: 	/* analog ports */
   965: 	UNUSED_ANALOG_X2
   966: 	PLAYER1_TRACKBALL
   967: INPUT_PORTS_END
   968: 
   969: 
   970: INPUT_PORTS_START( toggle )
   971: 	PORT_START	/* IN0 */
   972: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
   973: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
   974: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
   975: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
   976: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   977: 	PORT_BIT( 0x7c, IP_ACTIVE_LOW, IPT_UNUSED )
   978: 	PORT_DIPNAME( 0x80, 0x80, "High Scores" )
   979: 	PORT_DIPSETTING(    0x80, "Keep Top 5" )
   980: 	PORT_DIPSETTING(    0x00, "Keep All" )
   981: 
   982: 	PORT_START	/* IN1 */
   983: 	PORT_BIT( 0x03, IP_ACTIVE_LOW, IPT_UNUSED )
   984: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Lives ) )
   985: 	PORT_DIPSETTING(    0x00, "2" )
   986: 	PORT_DIPSETTING(    0x04, "3" )
   987: 	PORT_BIT( 0x78, IP_ACTIVE_LOW, IPT_UNUSED )
   988: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   989: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   990: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   991: 
   992: 	PORT_START	/* IN2 */
   993: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_PLAYER1 )
   994: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_PLAYER1 )
   995: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_PLAYER1 )
   996: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_PLAYER1 )
   997: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
   998: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   999: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  1000: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  1001: 
  1002: 	PORT_START	/* IN3 */
  1003: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
  1004: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
  1005: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_PLAYER2 )
  1006: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_PLAYER2 )
  1007: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_PLAYER2 )
  1008: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_PLAYER2 )
  1009: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
  1010: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
  1011: 
  1012: 	/* analog ports */
  1013: 	UNUSED_ANALOG_X4
  1014: INPUT_PORTS_END
  1015: 
  1016: 
  1017: INPUT_PORTS_START( nametune )
  1018: 	PORT_START	/* IN0 */
  1019: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1020: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
  1021: 	PORT_DIPSETTING(    0x03, DEF_STR( 3C_2C ) )
  1022: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1023: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  1024: 	PORT_DIPNAME( 0x1c, 0x00, "Bonus Coins" )
  1025: 	PORT_DIPSETTING(    0x00, "None" )
  1026: 	PORT_DIPSETTING(    0x04, "2 Coins = 1 Bonus" )
  1027: 	PORT_DIPSETTING(    0x08, "3 Coins = 1 Bonus" )
  1028: 	PORT_DIPSETTING(    0x0c, "4 Coins = 1 Bonus" )
  1029: 	PORT_DIPSETTING(    0x10, "4 Coins = 2 Bonus" )
  1030: 	PORT_DIPSETTING(    0x14, "5 Coins = 1 Bonus" )
  1031: 	PORT_DIPSETTING(    0x18, "5 Coins = 2 Bonus" )
  1032: 	PORT_DIPSETTING(    0x1c, "5 Coins = 3 Bonus" )
  1033: 	PORT_DIPNAME( 0x20, 0x00, "Left Coin Mech" )
  1034: 	PORT_DIPSETTING(    0x00, "x1" )
  1035: 	PORT_DIPSETTING(    0x20, "x2" )
  1036: 	PORT_DIPNAME( 0xc0, 0x00, "Right Coin Mech" )
  1037: 	PORT_DIPSETTING(    0x00, "x1" )
  1038: 	PORT_DIPSETTING(    0x40, "x4" )
  1039: 	PORT_DIPSETTING(    0x80, "x5" )
  1040: 	PORT_DIPSETTING(    0xc0, "x6" )
  1041: 
  1042: 	PORT_START	/* IN1 */
  1043: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
  1044: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  1045: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1046: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
  1047: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  1048: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1049: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
  1050: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  1051: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1052: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
  1053: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  1054: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1055: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
  1056: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  1057: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1058: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
  1059: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  1060: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1061: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
  1062: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  1063: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1064: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
  1065: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  1066: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1067: 
  1068: 	PORT_START	/* IN2 */
  1069: 	PORT_BITX(0x01, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER1, "P1 Blue Button", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  1070: 	PORT_BITX(0x02, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1, "P1 Green Button", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  1071: 	PORT_BITX(0x04, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1, "P1 Yellow Button", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  1072: 	PORT_BITX(0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1, "P1 Red Button", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  1073: 	PORT_BIT( 0x30, IP_ACTIVE_LOW, IPT_UNUSED )
  1074: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  1075: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  1076: 
  1077: 	PORT_START	/* IN3 */
  1078: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
  1079: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
  1080: 	PORT_BITX(0x04, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2, "P2 Red Button", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  1081: 	PORT_BITX(0x08, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2, "P2 Yellow Button", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  1082: 	PORT_BITX(0x10, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2, "P2 Green Button", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  1083: 	PORT_BITX(0x20, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER2, "P2 Blue Button", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  1084: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
  1085: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_VBLANK )
  1086: 
  1087: 	/* analog ports */
  1088: 	UNUSED_ANALOG_X4
  1089: INPUT_PORTS_END
  1090: 
  1091: 
  1092: INPUT_PORTS_START( nstocker )
  1093: 	PORT_START	/* IN0 */
  1094: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1095: 	PORT_DIPSETTING(    0x03, DEF_STR( 3C_1C ) )
  1096: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
  1097: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1098: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  1099: 	PORT_DIPNAME( 0x1c, 0x00, "Bonus Coins" )
  1100: 	PORT_DIPSETTING(    0x00, "None" )
  1101: 	PORT_DIPSETTING(    0x04, "2 Coins = 1 Bonus" )
  1102: 	PORT_DIPSETTING(    0x08, "3 Coins = 1 Bonus" )
  1103: 	PORT_DIPSETTING(    0x0c, "4 Coins = 1 Bonus" )
  1104: 	PORT_DIPSETTING(    0x10, "4 Coins = 2 Bonus" )
  1105: 	PORT_DIPSETTING(    0x14, "5 Coins = 1 Bonus" )
  1106: 	PORT_DIPSETTING(    0x18, "5 Coins = 2 Bonus" )
  1107: 	PORT_DIPSETTING(    0x1c, "5 Coins = 3 Bonus" )
  1108: 	PORT_DIPNAME( 0x20, 0x00, "Left Coin Mech" )
  1109: 	PORT_DIPSETTING(    0x00, "x1" )
  1110: 	PORT_DIPSETTING(    0x20, "x2" )
  1111: 	PORT_DIPNAME( 0xc0, 0x00, "Right Coin Mech" )
  1112: 	PORT_DIPSETTING(    0x00, "x1" )
  1113: 	PORT_DIPSETTING(    0x40, "x4" )
  1114: 	PORT_DIPSETTING(    0x80, "x5" )
  1115: 	PORT_DIPSETTING(    0xc0, "x6" )
  1116: 
  1117: 	PORT_START	/* IN1 */
  1118: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Difficulty ) )
  1119: 	PORT_DIPSETTING(    0x01, "Easy" )
  1120: 	PORT_DIPSETTING(    0x00, "Hard" )
  1121: 	PORT_BIT( 0x7e, IP_ACTIVE_LOW, IPT_UNUSED )
  1122: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
  1123: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  1124: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1125: 
  1126: 	PORT_START	/* IN2 */
  1127: 	PORT_BIT( 0x3f, IP_ACTIVE_LOW, IPT_UNUSED )
  1128: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  1129: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  1130: 
  1131: 	PORT_START	/* IN3 */
  1132: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
  1133: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )
  1134: 	PORT_BIT( 0x3c, IP_ACTIVE_LOW, IPT_UNUSED )
  1135: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
  1136: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
  1137: 
  1138: 	/* analog ports */
  1139: 	UNUSED_ANALOG_X3
  1140: 	/* cheese alert -- we have to map this to player 2 so that it doesn't interfere with */
  1141: 	/* the crosshair controls */
  1142: 	PORT_START
  1143:     PORT_ANALOGX( 0xff, 0, IPT_DIAL | IPF_PLAYER2 | IPF_CENTER, 100, 20, 0, 0,
  1144:     				KEYCODE_S, KEYCODE_F, JOYCODE_1_LEFT, JOYCODE_1_RIGHT )
  1145: 
  1146: 	/* extra ports for shooters */
  1147: 	PLAYER1_CROSSHAIRS
  1148: INPUT_PORTS_END
  1149: 
  1150: 
  1151: INPUT_PORTS_START( sfootbal )
  1152: 	PORT_START	/* IN0 */
  1153: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1154: 	PORT_DIPSETTING(    0x03, DEF_STR( 3C_1C ) )
  1155: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
  1156: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1157: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  1158: 	PORT_DIPNAME( 0x1c, 0x00, "Bonus Coins" )
  1159: 	PORT_DIPSETTING(    0x00, "None" )
  1160: 	PORT_DIPSETTING(    0x04, "2 Coins = 1 Bonus" )
  1161: 	PORT_DIPSETTING(    0x08, "3 Coins = 1 Bonus" )
  1162: 	PORT_DIPSETTING(    0x0c, "4 Coins = 1 Bonus" )
  1163: 	PORT_DIPSETTING(    0x10, "4 Coins = 2 Bonus" )
  1164: 	PORT_DIPSETTING(    0x14, "5 Coins = 1 Bonus" )
  1165: 	PORT_DIPSETTING(    0x18, "5 Coins = 2 Bonus" )
  1166: 	PORT_DIPSETTING(    0x1c, "5 Coins = 3 Bonus" )
  1167: 	PORT_DIPNAME( 0x20, 0x00, "Left Coin Mech" )
  1168: 	PORT_DIPSETTING(    0x00, "x1" )
  1169: 	PORT_DIPSETTING(    0x20, "x2" )
  1170: 	PORT_DIPNAME( 0xc0, 0x00, "Right Coin Mech" )
  1171: 	PORT_DIPSETTING(    0x00, "x1" )
  1172: 	PORT_DIPSETTING(    0x40, "x4" )
  1173: 	PORT_DIPSETTING(    0x80, "x5" )
  1174: 	PORT_DIPSETTING(    0xc0, "x6" )
  1175: 
  1176: 	PORT_START	/* IN1 */
  1177: 	PORT_DIPNAME( 0x07, 0x03, "Game Duration" )
  1178: 	PORT_DIPSETTING(    0x00, "1:30" )
  1179: 	PORT_DIPSETTING(    0x01, "1:40" )
  1180: 	PORT_DIPSETTING(    0x02, "1:50" )
  1181: 	PORT_DIPSETTING(    0x03, "2:00" )
  1182: 	PORT_DIPSETTING(    0x04, "2:20" )
  1183: 	PORT_DIPSETTING(    0x05, "2:40" )
  1184: 	PORT_DIPSETTING(    0x06, "3:00" )
  1185: 	PORT_DIPSETTING(    0x07, "3:30" )
  1186: 	PORT_DIPNAME( 0x08, 0x00, "Players Per Credit" )
  1187: 	PORT_DIPSETTING(    0x00, "1" )
  1188: 	PORT_DIPSETTING(    0x08, "1 or 2" )
  1189: 	PORT_BIT( 0x70, IP_ACTIVE_HIGH, IPT_UNUSED )
  1190: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
  1191: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  1192: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1193: 
  1194: 	PORT_START	/* IN2 */
  1195: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  1196: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  1197: 	PORT_BIT( 0x3c, IP_ACTIVE_LOW, IPT_UNUSED )
  1198: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  1199: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  1200: 
  1201: 	PORT_START	/* IN3 */
  1202: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
  1203: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
  1204: 	PORT_BIT( 0x3c, IP_ACTIVE_LOW, IPT_UNUSED )
  1205: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
  1206: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
  1207: 
  1208: 	/* analog ports */
  1209: 	PLAYER2_ANALOG_JOYSTICK
  1210: 	PLAYER1_ANALOG_JOYSTICK
  1211: INPUT_PORTS_END
  1212: 
  1213: 
  1214: INPUT_PORTS_START( spiker )
  1215: 	PORT_START	/* IN0 */
  1216: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1217: 	PORT_DIPSETTING(    0x03, DEF_STR( 3C_1C ) )
  1218: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
  1219: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1220: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  1221: 	PORT_DIPNAME( 0x1c, 0x00, "Bonus Coins" )
  1222: 	PORT_DIPSETTING(    0x00, "None" )
  1223: 	PORT_DIPSETTING(    0x04, "2 Coins = 1 Bonus" )
  1224: 	PORT_DIPSETTING(    0x08, "3 Coins = 1 Bonus" )
  1225: 	PORT_DIPSETTING(    0x0c, "4 Coins = 1 Bonus" )
  1226: 	PORT_DIPSETTING(    0x10, "4 Coins = 2 Bonus" )
  1227: 	PORT_DIPSETTING(    0x14, "5 Coins = 1 Bonus" )
  1228: 	PORT_DIPSETTING(    0x18, "5 Coins = 2 Bonus" )
  1229: 	PORT_DIPSETTING(    0x1c, "5 Coins = 3 Bonus" )
  1230: 	PORT_DIPNAME( 0x20, 0x00, "Left Coin Mech" )
  1231: 	PORT_DIPSETTING(    0x00, "x1" )
  1232: 	PORT_DIPSETTING(    0x20, "x2" )
  1233: 	PORT_DIPNAME( 0xc0, 0x00, "Right Coin Mech" )
  1234: 	PORT_DIPSETTING(    0x00, "x1" )
  1235: 	PORT_DIPSETTING(    0x40, "x4" )
  1236: 	PORT_DIPSETTING(    0x80, "x5" )
  1237: 	PORT_DIPSETTING(    0xc0, "x6" )
  1238: 
  1239: 	PORT_START	/* IN1 */
  1240: 	PORT_DIPNAME( 0x01, 0x00, "Game Duration" )
  1241: 	PORT_DIPSETTING(    0x00, "11 points" )
  1242: 	PORT_DIPSETTING(    0x01, "15 points" )
  1243: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
  1244: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  1245: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1246: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
  1247: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  1248: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1249: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
  1250: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  1251: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1252: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
  1253: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  1254: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1255: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
  1256: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  1257: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1258: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
  1259: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  1260: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1261: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
  1262: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  1263: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1264: 
  1265: 	PORT_START	/* IN2 */
  1266: 	PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED )
  1267: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  1268: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
  1269: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  1270: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  1271: 
  1272: 	PORT_START	/* IN3 */
  1273: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
  1274: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
  1275: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  1276: 	PORT_BIT( 0x38, IP_ACTIVE_LOW, IPT_UNUSED )
  1277: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
  1278: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
  1279: 
  1280: 	/* analog ports */
  1281: 	PLAYER2_TRACKBALL
  1282: 	PLAYER1_TRACKBALL
  1283: INPUT_PORTS_END
  1284: 
  1285: 
  1286: INPUT_PORTS_START( stompin )
  1287: 	PORT_START	/* IN0 */
  1288: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1289: 	PORT_DIPSETTING(    0x03, DEF_STR( 3C_1C ) )
  1290: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
  1291: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1292: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  1293: 	PORT_DIPNAME( 0x1c, 0x00, "Bonus Coins" )
  1294: 	PORT_DIPSETTING(    0x00, "None" )
  1295: 	PORT_DIPSETTING(    0x04, "2 Coins = 1 Bonus" )
  1296: 	PORT_DIPSETTING(    0x08, "3 Coins = 1 Bonus" )
  1297: 	PORT_DIPSETTING(    0x0c, "4 Coins = 1 Bonus" )
  1298: 	PORT_DIPSETTING(    0x10, "4 Coins = 2 Bonus" )
  1299: 	PORT_DIPSETTING(    0x14, "5 Coins = 1 Bonus" )
  1300: 	PORT_DIPSETTING(    0x18, "5 Coins = 2 Bonus" )
  1301: 	PORT_DIPSETTING(    0x1c, "5 Coins = 3 Bonus" )
  1302: 	PORT_DIPNAME( 0x20, 0x00, "Left Coin Mech" )
  1303: 	PORT_DIPSETTING(    0x00, "x1" )
  1304: 	PORT_DIPSETTING(    0x20, "x2" )
  1305: 	PORT_DIPNAME( 0xc0, 0x00, "Right Coin Mech" )
  1306: 	PORT_DIPSETTING(    0x00, "x1" )
  1307: 	PORT_DIPSETTING(    0x40, "x4" )
  1308: 	PORT_DIPSETTING(    0x80, "x5" )
  1309: 	PORT_DIPSETTING(    0xc0, "x6" )
  1310: 
  1311: 	PORT_START	/* IN1 */
  1312: 	PORT_DIPNAME( 0x01, 0x00, "Display Kids" )
  1313: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
  1314: 	PORT_DIPSETTING(    0x01, DEF_STR( Yes ) )
  1315: 	PORT_DIPNAME( 0x02, 0x02, "Kid on Right Located" )
  1316: 	PORT_DIPSETTING(    0x02, DEF_STR( No ) )
  1317: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  1318: 	PORT_DIPNAME( 0x04, 0x04, "Kid on Left Located" )
  1319: 	PORT_DIPSETTING(    0x04, DEF_STR( No ) )
  1320: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  1321: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
  1322: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  1323: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1324: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
  1325: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  1326: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1327: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )
  1328: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1329: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  1330: 	PORT_DIPNAME( 0x40, 0x00, "Bee In Game" )
  1331: 	PORT_DIPSETTING(    0x40, DEF_STR( No ) )
  1332: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  1333: 	PORT_DIPNAME( 0x80, 0x00, "Bug Generation" )
  1334: 	PORT_DIPSETTING(    0x00, "Regular" )
  1335: 	PORT_DIPSETTING(    0x80, "None" )
  1336: 
  1337: 	PORT_START	/* IN2 */
  1338: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_UP    | IPF_PLAYER1 )
  1339: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_DOWN  | IPF_PLAYER1 )
  1340: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_RIGHT | IPF_PLAYER1 )
  1341: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_LEFT  | IPF_PLAYER1 )
  1342: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
  1343: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
  1344: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  1345: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  1346: 
  1347: 	PORT_START	/* IN3 */
  1348: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
  1349: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON1 )
  1350: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP    | IPF_PLAYER1 )
  1351: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_DOWN  | IPF_PLAYER1 )
  1352: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT | IPF_PLAYER1 )
  1353: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_LEFT  | IPF_PLAYER1 )
  1354: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
  1355: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
  1356: 
  1357: 	/* "analog" ports */
  1358: 	PORT_START
  1359: 	PORT_BIT( 0x1f, IP_ACTIVE_LOW, IPT_UNUSED )
  1360: 	PORT_BITX(0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1, "Top-Right", KEYCODE_9_PAD, IP_JOY_DEFAULT )
  1361: 	PORT_BITX(0x40, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1, "Top",       KEYCODE_8_PAD, IP_JOY_DEFAULT )
  1362: 	PORT_BITX(0x80, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1, "Top-Left",  KEYCODE_7_PAD, IP_JOY_DEFAULT )
  1363: 
  1364: 	PORT_START
  1365: 	PORT_BIT( 0x1f, IP_ACTIVE_LOW, IPT_UNUSED )
  1366: 	PORT_BITX(0x20, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER1, "Right",     KEYCODE_6_PAD, IP_JOY_DEFAULT )
  1367: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
  1368: 	PORT_BITX(0x80, IP_ACTIVE_LOW, IPT_BUTTON5 | IPF_PLAYER1, "Left",      KEYCODE_4_PAD, IP_JOY_DEFAULT )
  1369: 
  1370: 	PORT_START
  1371: 	PORT_BIT( 0x1f, IP_ACTIVE_LOW, IPT_UNUSED )
  1372: 	PORT_BITX(0x20, IP_ACTIVE_LOW, IPT_BUTTON6 | IPF_PLAYER1, "Bot-Right", KEYCODE_3_PAD, IP_JOY_DEFAULT )
  1373: 	PORT_BITX(0x40, IP_ACTIVE_LOW, IPT_BUTTON7 | IPF_PLAYER1, "Bottom",    KEYCODE_2_PAD, IP_JOY_DEFAULT )
  1374: 	PORT_BITX(0x80, IP_ACTIVE_LOW, IPT_BUTTON8 | IPF_PLAYER1, "Bot-Left",  KEYCODE_1_PAD, IP_JOY_DEFAULT )
  1375: 
  1376: 	UNUSED_ANALOG
  1377: INPUT_PORTS_END
  1378: 
  1379: 
  1380: INPUT_PORTS_START( grudge )
  1381: 	PORT_START	/* IN0 */
  1382: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Unknown ) )
  1383: 	PORT_DIPSETTING(    0x00, "0" )
  1384: 	PORT_DIPSETTING(    0x01, "1" )
  1385: 	PORT_DIPSETTING(    0x02, "2" )
  1386: 	PORT_DIPSETTING(    0x03, "3" )
  1387: 	PORT_BIT( 0x7c, IP_ACTIVE_LOW, IPT_UNUSED )
  1388: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
  1389: 	PORT_DIPSETTING(    0x00, "0" )
  1390: 	PORT_DIPSETTING(    0x80, "1" )
  1391: 
  1392: 	PORT_START	/* IN1 */
  1393: 	PORT_BIT( 0x7f, IP_ACTIVE_LOW, IPT_UNUSED )
  1394: 	PORT_DIPNAME( 0x80, 0x00, "Players" )
  1395: 	PORT_DIPSETTING(    0x80, "2" )
  1396: 	PORT_DIPSETTING(    0x00, "3" )
  1397: 
  1398: 	PORT_START	/* IN2 */
  1399: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
  1400: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
  1401: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 )
  1402: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 )
  1403: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )
  1404: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
  1405: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN3 )
  1406: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  1407: 
  1408: 	PORT_START	/* IN3 */
  1409: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
  1410: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
  1411: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START3 )
  1412: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  1413: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  1414: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER3 )
  1415: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
  1416: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
  1417: 
  1418: 	/* analog ports */
  1419: 	PORT_START
  1420:     PORT_ANALOG( 0xff, 0, IPT_DIAL | IPF_PLAYER1, 50, 20, 0, 0 )
  1421: 	PORT_START
  1422:     PORT_ANALOG( 0xff, 0, IPT_DIAL | IPF_PLAYER2, 50, 20, 0, 0 )
  1423: 	PORT_START
  1424:     PORT_ANALOG( 0xff, 0, IPT_DIAL | IPF_PLAYER3, 50, 20, 0, 0 )
  1425: 	UNUSED_ANALOG
  1426: INPUT_PORTS_END
  1427: 
  1428: 
  1429: INPUT_PORTS_START( rescraid )
  1430: 	PORT_START	/* IN0 */
  1431: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ) )
  1432: 	PORT_DIPSETTING(    0x03, DEF_STR( 3C_1C ) )
  1433: 	PORT_DIPSETTING(    0x02, DEF_STR( 2C_1C ) )
  1434: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  1435: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_2C ) )
  1436: 	PORT_DIPNAME( 0x1c, 0x00, "Bonus Coins" )
  1437: 	PORT_DIPSETTING(    0x00, "None" )
  1438: 	PORT_DIPSETTING(    0x04, "2 Coins = 1 Bonus" )
  1439: 	PORT_DIPSETTING(    0x08, "3 Coins = 1 Bonus" )
  1440: 	PORT_DIPSETTING(    0x0c, "4 Coins = 1 Bonus" )
  1441: 	PORT_DIPSETTING(    0x10, "4 Coins = 2 Bonus" )
  1442: 	PORT_DIPSETTING(    0x14, "5 Coins = 1 Bonus" )
  1443: 	PORT_DIPSETTING(    0x18, "5 Coins = 2 Bonus" )
  1444: 	PORT_DIPSETTING(    0x1c, "5 Coins = 3 Bonus" )
  1445: 	PORT_DIPNAME( 0x20, 0x00, "Left Coin Mech" )
  1446: 	PORT_DIPSETTING(    0x00, "x1" )
  1447: 	PORT_DIPSETTING(    0x20, "x2" )
  1448: 	PORT_DIPNAME( 0xc0, 0x00, "Right Coin Mech" )
  1449: 	PORT_DIPSETTING(    0x00, "x1" )
  1450: 	PORT_DIPSETTING(    0x40, "x4" )
  1451: 	PORT_DIPSETTING(    0x80, "x5" )
  1452: 	PORT_DIPSETTING(    0xc0, "x6" )
  1453: 
  1454: 	PORT_START	/* IN1 */
  1455: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Lives ) )
  1456: 	PORT_DIPSETTING(    0x00, "4" )
  1457: 	PORT_DIPSETTING(    0x01, "5" )
  1458: 	PORT_DIPNAME( 0x0c, 0x04, "Minimum Game Time" )
  1459: 	PORT_DIPSETTING(    0x08, "45" )
  1460: 	PORT_DIPSETTING(    0x04, "60" )
  1461: 	PORT_DIPSETTING(    0x00, "90" )
  1462: 	PORT_DIPSETTING(    0x0c, "120" )
  1463: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
  1464: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  1465: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1466: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
  1467: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  1468: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1469: 	PORT_DIPNAME( 0x40, 0x40, "Keep High Scores" )
  1470: 	PORT_DIPSETTING(    0x40, DEF_STR( No ) )
  1471: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  1472: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
  1473: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  1474: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1475: 
  1476: 	PORT_START	/* IN2 */
  1477: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_UP    | IPF_PLAYER1 )
  1478: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_DOWN  | IPF_PLAYER1 )
  1479: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_RIGHT | IPF_PLAYER1 )
  1480: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_LEFT  | IPF_PLAYER1 )
  1481: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
  1482: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNUSED )
  1483: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  1484: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  1485: 
  1486: 	PORT_START	/* IN3 */
  1487: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
  1488: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
  1489: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP    | IPF_PLAYER1 )
  1490: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_DOWN  | IPF_PLAYER1 )
  1491: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT | IPF_PLAYER1 )
  1492: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_LEFT  | IPF_PLAYER1 )
  1493: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
  1494: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
  1495: 
  1496: 	/* analog ports */
  1497: 	UNUSED_ANALOG_X4
  1498: INPUT_PORTS_END
  1499: 
  1500: 
  1501: INPUT_PORTS_START( shrike )
  1502: 	PORT_START	/* IN0 */
  1503: 	PORT_DIPNAME( 0x03, 0x00, DEF_STR( Coinage ))
  1504: 	PORT_DIPSETTING(    0x02, DEF_STR( 4C_1C ))
  1505: 	PORT_DIPSETTING(    0x01, DEF_STR( 3C_1C ))
  1506: 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ))
  1507: 	PORT_DIPSETTING(    0x03, DEF_STR( Free_Play ))
  1508: 	PORT_BIT( 0x3c, IP_ACTIVE_LOW, IPT_UNUSED )
  1509: 	PORT_DIPNAME( 0x40, 0x40, "Reset High Scores" )
  1510: 	PORT_DIPSETTING(    0x40, DEF_STR( No ))
  1511: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ))
  1512: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
  1513: 
  1514: 	PORT_START	/* IN1 */
  1515: 	PORT_DIPNAME( 0x03, 0x03, "Minimum Game Time" )
  1516: 	PORT_DIPSETTING(    0x00, "1:00" )
  1517: 	PORT_DIPSETTING(    0x01, "1:30" )
  1518: 	PORT_DIPSETTING(    0x02, "2:00" )
  1519: 	PORT_DIPSETTING(    0x03, "2:30" )
  1520: 	PORT_BIT( 0x7c, IP_ACTIVE_LOW, IPT_UNUSED )
  1521: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ))
  1522: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  1523: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1524: 
  1525: 	PORT_START	/* IN2 */
  1526: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  1527: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  1528: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
  1529: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER1 )
  1530: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 | IPF_PLAYER1 )
  1531: //	PORT_BIT( 0x3c, IP_ACTIVE_LOW, IPT_UNUSED )
  1532: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
  1533: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  1534: 
  1535: 	PORT_START	/* IN3 */
  1536: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
  1537: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
  1538: 	PORT_BIT( 0x3c, IP_ACTIVE_LOW, IPT_UNUSED )
  1539: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )
  1540: 	PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_VBLANK )
  1541: 
  1542: 	/* analog ports */
  1543: 	PORT_START
  1544: 	PORT_ANALOG( 0xff, 0x80, IPT_AD_STICK_X | IPF_REVERSE | IPF_PLAYER1, 100, 20, 0x00, 0xff )
  1545: 	PORT_START
  1546: 	PORT_ANALOG( 0xff, 0x80, IPT_AD_STICK_Y | IPF_PLAYER1, 100, 20, 0x00, 0xff )
  1547: 	UNUSED_ANALOG_X2
  1548: INPUT_PORTS_END
  1549: 
  1550: 
  1551: 
  1552: /*************************************
  1553:  *
  1554:  *	Sound definitions
  1555:  *
  1556:  *************************************/
  1557: 
  1558: static struct cem3394_interface cem_interface =
  1559: {
  1560: 	6,
  1561: 	{ 90, 90, 90, 90, 90, 90 },
  1562: 	{ 431.894, 431.894, 431.894, 431.894, 431.894, 431.894 },
  1563: 	{ 1300.0, 1300.0, 1300.0, 1300.0, 1300.0, 1300.0 },
  1564: 	{ balsente_noise_gen, balsente_noise_gen, balsente_noise_gen, balsente_noise_gen, balsente_noise_gen, balsente_noise_gen }
  1565: };
  1566: 
  1567: 
  1568: 
  1569: /*************************************
  1570:  *
  1571:  *	Machine driver
  1572:  *
  1573:  *************************************/
  1574: 
  1575: static MACHINE_DRIVER_START( balsente )
  1576: 
  1577: 	/* basic machine hardware */
  1578: 	MDRV_CPU_ADD(M6809, 5000000/4)
  1579: 	MDRV_CPU_MEMORY(readmem_cpu1,writemem_cpu1)
  1580: 	MDRV_CPU_VBLANK_INT(balsente_update_analog_inputs,1)
  1581: 
  1582: 	MDRV_CPU_ADD(Z80, 4000000)
  1583: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
  1584: 	MDRV_CPU_MEMORY(readmem_cpu2,writemem_cpu2)
  1585: 	MDRV_CPU_PORTS(readport_cpu2,writeport_cpu2)
  1586: 
  1587: 	MDRV_FRAMES_PER_SECOND(60)
  1588: 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
  1589: 	MDRV_INTERLEAVE(10)
  1590: 
  1591: 	MDRV_MACHINE_INIT(balsente)
  1592: 	MDRV_NVRAM_HANDLER(generic_0fill)
  1593: 
  1594: 	/* video hardware */
  1595: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_UPDATE_BEFORE_VBLANK)
  1596: 	MDRV_SCREEN_SIZE(256, 240)
  1597: 	MDRV_VISIBLE_AREA(0, 255, 0, 239)
  1598: 	MDRV_PALETTE_LENGTH(1024)
  1599: 
  1600: 	MDRV_VIDEO_START(balsente)
  1601: 	MDRV_VIDEO_UPDATE(balsente)
  1602: 
  1603: 	/* sound hardware */
  1604: 	MDRV_SOUND_ADD(CEM3394, cem_interface)
  1605: MACHINE_DRIVER_END
  1606: 
  1607: 
  1608: static MACHINE_DRIVER_START( shrike )
  1609: 
  1610: 	/* basic machine hardware */
  1611: 	MDRV_IMPORT_FROM(balsente)
  1612: 
  1613: 	MDRV_CPU_ADD(M68000, 8000000)
  1614: 	MDRV_CPU_MEMORY(readmem_shrike68k,writemem_shrike68k)
  1615: 
  1616: 	MDRV_INTERLEAVE(100)
  1617: 
  1618: 	/* video hardware */
  1619: 	MDRV_PALETTE_LENGTH(1025)
  1620: MACHINE_DRIVER_END
  1621: 
  1622: 
  1623: 
  1624: /*************************************
  1625:  *
  1626:  *	ROM definitions
  1627:  *
  1628:  *************************************/
  1629: 
  1630: ROM_START( sentetst )
  1631: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1632: 	ROM_LOAD( "sdiagef.bin",  0x2e000, 0x2000, CRC(2a39fc53) SHA1(04ea68bfad455cc928e57390eba5597c38bbab69) )
  1633: 
  1634: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1635: 	ROM_LOAD( "sentesnd",     0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1636: 
  1637: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1638: 	ROM_LOAD( "sdiaggr0.bin", 0x00000, 0x2000, CRC(5e0ff62a) SHA1(3f0ebebb2f58530af7fac57a4780dfb37ef1ee1d) )
  1639: ROM_END
  1640: 
  1641: 
  1642: ROM_START( cshift )
  1643: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1644: 	ROM_LOAD( "cs-ab0.bin", 0x10000, 0x2000, CRC(d2069e75) SHA1(17d5719e6e1976cebb332932cf3e900a88136928) )
  1645: 	ROM_LOAD( "cs-ab1.bin", 0x12000, 0x2000, CRC(198f25a8) SHA1(5ca25fe57e94d8362896c903196e0080efd35ef5) )
  1646: 	ROM_LOAD( "cs-ab2.bin", 0x14000, 0x2000, CRC(2e2b2b82) SHA1(a540f3ff2a0a10b19aafe1528b7dcaeae9b7393d) )
  1647: 	ROM_LOAD( "cs-ab3.bin", 0x16000, 0x2000, CRC(b97fc520) SHA1(f45c5ec93eab1bfd1f9533df7ac624c2e99f6573) )
  1648: 	ROM_LOAD( "cs-ab4.bin", 0x18000, 0x2000, CRC(b4f0d673) SHA1(cb97dc8836c497fa03a862227340f8c351986a39) )
  1649: 	ROM_LOAD( "cs-ab5.bin", 0x1a000, 0x2000, CRC(b1f8e589) SHA1(d837beff063ed987571c5af6130f2c7d637d7c39) )
  1650: 	ROM_LOAD( "cs-cd.bin",  0x2c000, 0x2000, CRC(f555a0b2) SHA1(49668f8363fdcec4686ec80bf2e99003cd11e2c1) )
  1651: 	ROM_LOAD( "cs-ef.bin",  0x2e000, 0x2000, CRC(368b1ce3) SHA1(8003ef99adcb26feb42e1b0945b1185e438582b2) )
  1652: 
  1653: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1654: 	ROM_LOAD( "sentesnd",   0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1655: 
  1656: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1657: 	ROM_LOAD( "cs-gr0.bin", 0x00000, 0x2000, CRC(67f9d3b3) SHA1(4f3f80e4272b20611206636b6ccb627087efd0c3) )
  1658: 	ROM_LOAD( "cs-gr1.bin", 0x02000, 0x2000, CRC(78973d50) SHA1(de7891ef47c277d733d9b4810d68621718644655) )
  1659: 	ROM_LOAD( "cs-gr2.bin", 0x04000, 0x2000, CRC(1784f939) SHA1(ff7f43451580e3b314c24b00a66765c0b395ddf6) )
  1660: 	ROM_LOAD( "cs-gr3.bin", 0x06000, 0x2000, CRC(b43916a2) SHA1(8d42fb6ae7cf8b2d94eb0c14e00bb115f8ef01b4) )
  1661: 	ROM_LOAD( "cs-gr4.bin", 0x08000, 0x2000, CRC(a94cd35b) SHA1(0ca0497a1b055ff1ae6b7bc36ae45749dff50caa) )
  1662: ROM_END
  1663: 
  1664: 
  1665: ROM_START( gghost )
  1666: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1667: 	ROM_LOAD( "ggh-ab0.bin", 0x10000, 0x2000, CRC(ed0fdeac) SHA1(294cee47c0541c58d4d766388c281ed30b8f5426) )
  1668: 	ROM_LOAD( "ggh-ab1.bin", 0x12000, 0x2000, CRC(5bfbae58) SHA1(65c795354223cd5e2474ad9e779b77f58ed5b896) )
  1669: 	ROM_LOAD( "ggh-ab2.bin", 0x14000, 0x2000, CRC(f0baf921) SHA1(4b7ee06838dcdb68ddec51f5eafab53ff3f25bfe) )
  1670: 	ROM_LOAD( "ggh-ab3.bin", 0x16000, 0x2000, CRC(ed0fdeac) SHA1(294cee47c0541c58d4d766388c281ed30b8f5426) )
  1671: 	ROM_LOAD( "ggh-ab4.bin", 0x18000, 0x2000, CRC(5bfbae58) SHA1(65c795354223cd5e2474ad9e779b77f58ed5b896) )
  1672: 	ROM_LOAD( "ggh-ab5.bin", 0x1a000, 0x2000, CRC(f0baf921) SHA1(4b7ee06838dcdb68ddec51f5eafab53ff3f25bfe) )
  1673: 	ROM_LOAD( "ggh-cd.bin",  0x2c000, 0x2000, CRC(d3d75f84) SHA1(f19f99ea05ad5b7e4b0485e80d7b6a329b8ef4d8) )
  1674: 	ROM_LOAD( "ggh-ef.bin",  0x2e000, 0x2000, CRC(a02b4243) SHA1(f242fc017c9ae1997409825c34e8f5c6e6a0615e) )
  1675: 
  1676: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1677: 	ROM_LOAD( "sentesnd",    0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1678: 
  1679: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1680: 	ROM_LOAD( "ggh-gr0.bin", 0x00000, 0x2000, CRC(03515526) SHA1(bceb7c8c3aa4c39b6cf1b976c5765c920399fe31) )
  1681: 	ROM_LOAD( "ggh-gr1.bin", 0x02000, 0x2000, CRC(b4293435) SHA1(5e2b96c19c4f5c63a5afa2de504d29fe64a4c908) )
  1682: 	ROM_LOAD( "ggh-gr2.bin", 0x04000, 0x2000, CRC(ece0cb97) SHA1(13bfb38de30992b9597c9d0f87f7b2a5c061ba51) )
  1683: 	ROM_LOAD( "ggh-gr3.bin", 0x06000, 0x2000, CRC(dd7e25d0) SHA1(cc6402835d1b46d160869ba1d1cad54f24d3fe86) )
  1684: 	ROM_LOAD( "ggh-gr4.bin", 0x08000, 0x2000, CRC(b4293435) SHA1(5e2b96c19c4f5c63a5afa2de504d29fe64a4c908) )
  1685: 	ROM_LOAD( "ggh-gr5.bin", 0x0a000, 0x2000, CRC(d3da0093) SHA1(7474901b089ea62abad0a2f657fd8c4a1be09bf0) )
  1686: ROM_END
  1687: 
  1688: 
  1689: ROM_START( hattrick )
  1690: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1691: 	ROM_LOAD( "rom-ab0.u9a", 0x10000, 0x2000, CRC(f25c1b99) SHA1(43b2334be7cfb8091eea963e10547295362372d3) )
  1692: 	ROM_LOAD( "rom-ab1.u8a", 0x12000, 0x2000, CRC(c1df3d1f) SHA1(754f537d12efe8891638fd11a2ee8a5b234fb079) )
  1693: 	ROM_LOAD( "rom-ab2.u7a", 0x14000, 0x2000, CRC(f6c41257) SHA1(05f5e71d08241c559da3bfc286c76cbb22710586) )
  1694: 	ROM_LOAD( "rom-cd.u3a",  0x2c000, 0x2000, CRC(fc44f36c) SHA1(227d0c93c579d743b615b1fa6da56128e8202e51) )
  1695: 	ROM_LOAD( "rom-ef.u2a",  0x2e000, 0x2000, CRC(d8f910fb) SHA1(b74a305dd848c7bf574e4b0aa32147b8d5c89e9e) )
  1696: 
  1697: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1698: 	ROM_LOAD( "sentesnd",    0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1699: 
  1700: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1701: 	ROM_LOAD( "rom-gr0.u9b", 0x00000, 0x2000, CRC(9f41baba) SHA1(fa817a8e4d2f7b86a2294132e3991f7b6d8cb11a) )
  1702: 	ROM_LOAD( "rom-gr1.u8b", 0x02000, 0x2000, CRC(951f08c9) SHA1(059a575dd35cd8e822e12ac2606b47b6272bbb41) )
  1703: ROM_END
  1704: 
  1705: 
  1706: ROM_START( otwalls )
  1707: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1708: 	ROM_LOAD( "otw-ab0.bin", 0x10000, 0x2000, CRC(474441c7) SHA1(16fb5be9f94e072d4f3003abcc9dcf6d7af2359a) )
  1709: 	ROM_LOAD( "otw-ab1.bin", 0x12000, 0x2000, CRC(2e9e9411) SHA1(7dfd8dafa34e4d22fa0c5e472e3e98a1c0969f43) )
  1710: 	ROM_LOAD( "otw-ab2.bin", 0x14000, 0x2000, CRC(ba092128) SHA1(a38305c3ea9c8bf3596c18829655049f9468166e) )
  1711: 	ROM_LOAD( "otw-ab3.bin", 0x16000, 0x2000, CRC(74bc479d) SHA1(905dab90aa11f3f4359185bb67d8c2bdc957516d) )
  1712: 	ROM_LOAD( "otw-ab4.bin", 0x18000, 0x2000, CRC(f5f67619) SHA1(e3eb1434dff987d27056ae0749046f32f280160b) )
  1713: 	ROM_LOAD( "otw-ab5.bin", 0x1a000, 0x2000, CRC(f5f67619) SHA1(e3eb1434dff987d27056ae0749046f32f280160b) )
  1714: 	ROM_LOAD( "otw-cd.bin",  0x2c000, 0x2000, CRC(8e2d15ab) SHA1(8043fdf637de7752e8d42554ebad2e155a6f5939) )
  1715: 	ROM_LOAD( "otw-ef.bin",  0x2e000, 0x2000, CRC(57eab299) SHA1(475d800c03d6b2786bd23861d61dc113b837a585) )
  1716: 
  1717: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1718: 	ROM_LOAD( "sentesnd",    0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1719: 
  1720: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1721: 	ROM_LOAD( "otw-gr0.bin", 0x00000, 0x2000, CRC(210bad3c) SHA1(703769c6a569b17f2ad18441da7de0237be4721e) )
  1722: 	ROM_LOAD( "otw-gr1.bin", 0x02000, 0x2000, CRC(13e6aaa5) SHA1(ac8b9d16d2159d4a578d8fa988b59c058c5efc88) )
  1723: 	ROM_LOAD( "otw-gr2.bin", 0x04000, 0x2000, CRC(5cfefee5) SHA1(9aa74f0e1116098f43a4f8b4957db8923ddaf780) )
  1724: 	ROM_LOAD( "otw-gr3.bin", 0x06000, 0x2000, CRC(6b17e4a9) SHA1(f9c57da863d613a456ee056569a87a9552ad3874) )
  1725: 	ROM_LOAD( "otw-gr4.bin", 0x08000, 0x2000, CRC(15985c8c) SHA1(94f21c348bfbe4db6d0cfa5b5e35d2df4b8f936d) )
  1726: 	ROM_LOAD( "otw-gr5.bin", 0x0a000, 0x2000, CRC(448f7e3c) SHA1(505724e90f17b05ccf0137dbed0d33e39db1d5ab) )
  1727: ROM_END
  1728: 
  1729: 
  1730: ROM_START( snakepit )
  1731: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1732: 	ROM_LOAD( "spit-ab0.bin", 0x10000, 0x2000, CRC(5aa86081) SHA1(e65e256661b13a0631398e115dd02fce281bafa4) )
  1733: 	ROM_LOAD( "spit-ab1.bin", 0x12000, 0x2000, CRC(588228b8) SHA1(b64032a4fd1f52179d38e2073380bba6ec321302) )
  1734: 	ROM_LOAD( "spit-ab2.bin", 0x14000, 0x2000, CRC(60173ab6) SHA1(45b27492023771a53ea5857592a2a113746a72b6) )
  1735: 	ROM_LOAD( "spit-ab3.bin", 0x16000, 0x2000, CRC(56cb51a8) SHA1(fceb2fbae91bbab0b25410072805449ef531f360) )
  1736: 	ROM_LOAD( "spit-ab4.bin", 0x18000, 0x2000, CRC(40ba61e0) SHA1(91b06d116633c5261f3aa97d4e65bd61bae3c0eb) )
  1737: 	ROM_LOAD( "spit-ab5.bin", 0x1a000, 0x2000, CRC(2a1d9d8f) SHA1(3364f4bc507576323560bf14fc99036c47d0297c) )
  1738: 	ROM_LOAD( "spit-cd.bin",  0x2c000, 0x2000, CRC(54095cbb) SHA1(a43b78b2876359a29ecb2f169c876a0026375ea2) )
  1739: 	ROM_LOAD( "spit-ef.bin",  0x2e000, 0x2000, CRC(5f836a66) SHA1(cc3c11003f9e49cac10c0296ab6d156e5677d0f8) )
  1740: 
  1741: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1742: 	ROM_LOAD( "sentesnd",     0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1743: 
  1744: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1745: 	ROM_LOAD( "spit-gr0.bin", 0x00000, 0x2000, CRC(f77fd85d) SHA1(f8e69d1d0030412d6129a8ebfee40b3f1f189d8d) )
  1746: 	ROM_LOAD( "spit-gr1.bin", 0x02000, 0x2000, CRC(3ad10334) SHA1(1d82a7948fbee627c80a9e03ade90e57972a6a31) )
  1747: 	ROM_LOAD( "spit-gr2.bin", 0x04000, 0x2000, CRC(24887703) SHA1(089f077400c9a3e3f5b43e8aa60b41160e296d52) )
  1748: 	ROM_LOAD( "spit-gr3.bin", 0x06000, 0x2000, CRC(c6703ec2) SHA1(0f5d7c17ee508f8fea316b7f92cdd7cc174b155f) )
  1749: 	ROM_LOAD( "spit-gr4.bin", 0x08000, 0x2000, CRC(b4293435) SHA1(5e2b96c19c4f5c63a5afa2de504d29fe64a4c908) )
  1750: 	ROM_LOAD( "spit-gr5.bin", 0x0a000, 0x2000, CRC(dc27c970) SHA1(291ef10a8c330ef8e47622246b6301d2e5171df7) )
  1751: ROM_END
  1752: 
  1753: 
  1754: ROM_START( snakjack )
  1755: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1756: 	ROM_LOAD( "rom-ab0.u9a", 0x10000, 0x2000, CRC(da2dd119) SHA1(85ae452b137e69e051fa66648f295d180339794e) )
  1757: 	ROM_LOAD( "rom-ab1.u8a", 0x12000, 0x2000, CRC(657ddf26) SHA1(48591a6b0c30d576f0e08dd54c95cbda76b5dfbd) )
  1758: 	ROM_LOAD( "rom-ab2.u7a", 0x14000, 0x2000, CRC(15333dcf) SHA1(13546bd058a10513fe4cbe3a3fa268b7c38b5993) )
  1759: 	ROM_LOAD( "rom-ab3.u6a", 0x16000, 0x2000, CRC(57671f6f) SHA1(49e76e03d828fed28e7e0608985172af20084f7f) )
  1760: 	ROM_LOAD( "rom-ab4.u5a", 0x18000, 0x2000, CRC(c16c5dc0) SHA1(93e36758f4e5bb8dac29f9a2bc3ac5f9589e8c9a) )
  1761: 	ROM_LOAD( "rom-ab5.u4a", 0x1a000, 0x2000, CRC(d7019747) SHA1(c8b1a6ea463b5932bc9ed2c91faea2e2639d7934) )
  1762: 	ROM_LOAD( "rom-cd.u3a",  0x2c000, 0x2000, CRC(7b44ca4c) SHA1(8697055da489fcf0244dc94fe5393418a8003bf7) )
  1763: 	ROM_LOAD( "rom-ef.u1a",  0x2e000, 0x2000, CRC(f5309b38) SHA1(864f759dc6822b548742140b7ea2ea2aba43beba) )
  1764: 
  1765: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1766: 	ROM_LOAD( "sentesnd",    0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1767: 
  1768: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1769: 	ROM_LOAD( "rom-gr0.u9b", 0x00000, 0x2000, CRC(3e64b5d5) SHA1(ab681eabb4f8e5b946c288ffb8df0624c0473d82) )
  1770: 	ROM_LOAD( "rom-gr1.u8b", 0x02000, 0x2000, CRC(b3b8baee) SHA1(b37638784a3903f2dcd698104da75b4ab59e8257) )
  1771: 	ROM_LOAD( "rom-gr2.u7b", 0x04000, 0x2000, CRC(e9d89dac) SHA1(570809ec5f8a64f280e13cbf801664cb548997e9) )
  1772: 	ROM_LOAD( "rom-gr3.u6b", 0x06000, 0x2000, CRC(b6602be8) SHA1(c5bc95e0116fb2cf86a694561dc2c21612ba4434) )
  1773: 	ROM_LOAD( "rom-gr4.u5b", 0x08000, 0x2000, CRC(3fbfa686) SHA1(6c137d177c7aa2701497ac3ac922fdb8cd9f52b3) )
  1774: 	ROM_LOAD( "rom-gr5.u4b", 0x0a000, 0x2000, CRC(345f94fb) SHA1(0af24f4e1a797efe5272f64b8a34483fe6002436) )
  1775: ROM_END
  1776: 
  1777: 
  1778: ROM_START( stocker )
  1779: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1780: 	ROM_LOAD( "stkr-ab0.bin", 0x10000, 0x2000, CRC(784a00ad) SHA1(33e76be44207bc24dbb9c2f04204df22ba5154ff) )
  1781: 	ROM_LOAD( "stkr-ab1.bin", 0x12000, 0x2000, CRC(cdae01dc) SHA1(7c2956acae639fd2f2cf061d1c32ae9edabe9270) )
  1782: 	ROM_LOAD( "stkr-ab2.bin", 0x14000, 0x2000, CRC(18527d57) SHA1(cbb85f9e0b6169f4c2e03dc54b4937043535fc42) )
  1783: 	ROM_LOAD( "stkr-ab3.bin", 0x16000, 0x2000, CRC(028f6c06) SHA1(f1d30efcd7e967b0390f441848bb655111fdde65) )
  1784: 	ROM_LOAD( "stkr-cd.bin",  0x2c000, 0x2000, CRC(53dbc4e5) SHA1(e389978b5472174681fa180c6a2edf49903a6514) )
  1785: 	ROM_LOAD( "stkr-ef.bin",  0x2e000, 0x2000, CRC(cdcf46bc) SHA1(8b1e801dab1efed002d484135264998d255dc041) )
  1786: 
  1787: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1788: 	ROM_LOAD( "sentesnd",    0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1789: 
  1790: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1791: 	ROM_LOAD( "stkr-gr0.bin", 0x00000, 0x2000, CRC(76d5694c) SHA1(e2b155fc7178886eb37a532d961b99b8c864397c) )
  1792: 	ROM_LOAD( "stkr-gr1.bin", 0x02000, 0x2000, CRC(4a5cc00b) SHA1(9ce46ed94e715a5997998aee6377baf2869ab3a6) )
  1793: 	ROM_LOAD( "stkr-gr2.bin", 0x04000, 0x2000, CRC(70002382) SHA1(c151ad3df2714a2f9f8b047894e7585ca16bd29e) )
  1794: 	ROM_LOAD( "stkr-gr3.bin", 0x06000, 0x2000, CRC(68c862d8) SHA1(302ce10e23d17af9aa7fa13d18c602656a262eaa) )
  1795: ROM_END
  1796: 
  1797: 
  1798: ROM_START( triviag1 )
  1799: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1800: 	ROM_LOAD( "tpg1-ab0.bin", 0x10000, 0x2000, CRC(79fd3ac3) SHA1(52db0ba445f9a953f6ceb43c3d173b73c71af192) )
  1801: 	ROM_LOAD( "tpg1-ab1.bin", 0x12000, 0x2000, CRC(0ff677e9) SHA1(14fdc1ee87893ea91eea40949aeac5381c569bdd) )
  1802: 	ROM_LOAD( "tpg1-ab2.bin", 0x14000, 0x2000, CRC(3b4d03e7) SHA1(b5bb541daf59b2a62b17a10afa37bfae50563393) )
  1803: 	ROM_LOAD( "tpg1-ab3.bin", 0x16000, 0x2000, CRC(2c6c0651) SHA1(9ff5dcc4a54df653ae43d503e153f4e48ea4735b) )
  1804: 	ROM_LOAD( "tpg1-ab4.bin", 0x18000, 0x2000, CRC(397529e7) SHA1(af1898dc35545981513ec251eed162b329709692) )
  1805: 	ROM_LOAD( "tpg1-ab5.bin", 0x1a000, 0x2000, CRC(499773a4) SHA1(c0c0ad2a63a9dbb7585cab7e21162bbc58fec0d8) )
  1806: 	ROM_LOAD( "tpg1-cd.bin",  0x2c000, 0x2000, CRC(35c9b9c2) SHA1(aac57022098656dac99bf9ceeaa2bf9a3d139986) )
  1807: 	ROM_LOAD( "tpg1-ef.bin",  0x2e000, 0x2000, CRC(64878342) SHA1(dd93d64b3fe351a9d2bd4c473ecefde58f0b0041) )
  1808: 
  1809: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1810: 	ROM_LOAD( "sentesnd",    0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1811: 
  1812: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1813: 	ROM_LOAD( "tpg1-gr0.bin", 0x00000, 0x2000, CRC(20c9217a) SHA1(79ef058633149da8d2835405954ac31c661bf660) )
  1814: 	ROM_LOAD( "tpg1-gr1.bin", 0x02000, 0x2000, CRC(d7f44504) SHA1(804dbc4c006b20bdb01bdf02754e0d98f6fbacbe) )
  1815: 	ROM_LOAD( "tpg1-gr2.bin", 0x04000, 0x2000, CRC(4e59a15d) SHA1(c584bae32e2e5d8b5a48c44a31272b4f9dadfcd1) )
  1816: 	ROM_LOAD( "tpg1-gr3.bin", 0x06000, 0x2000, CRC(323a8640) SHA1(7ec6f8f9bcfa5de442dce4f6e81e697da34dbab8) )
  1817: 	ROM_LOAD( "tpg1-gr4.bin", 0x08000, 0x2000, CRC(673acf42) SHA1(7b36a86441732ba14576f9c1dd14fe0da575d4bf) )
  1818: 	ROM_LOAD( "tpg1-gr5.bin", 0x0a000, 0x2000, CRC(067bfd66) SHA1(32f5973f2f0aed67c8f9b5886f52b9dc516a611e) )
  1819: ROM_END
  1820: 
  1821: 
  1822: ROM_START( triviag2 )
  1823: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1824: 	ROM_LOAD( "ab01.bin",  0x10000, 0x4000, CRC(4fca20c5) SHA1(595b32ff035036cafbf49d75aa170f39e9f52b38) )
  1825: 	ROM_LOAD( "ab23.bin",  0x14000, 0x4000, CRC(6cf2ddeb) SHA1(0d6667babd9ab70820cf165900d90003f0893be7) )
  1826: 	ROM_LOAD( "ab45.bin",  0x18000, 0x4000, CRC(a7ff789c) SHA1(a3421ae46dadd6f514cfc514ff07dfcca2cb1478) )
  1827: 	ROM_LOAD( "ab67.bin",  0x1c000, 0x4000, CRC(cc5c68ef) SHA1(38713796e07f84c9a1b21d8c66f76e620132d77e) )
  1828: 	ROM_LOAD( "cd45.bin",  0x28000, 0x4000, CRC(fc9c752a) SHA1(239507fb5d75e86aca295978aab1dd4514d8d761) )
  1829: 	ROM_LOAD( "cd6ef.bin", 0x2c000, 0x4000, CRC(23b56fb8) SHA1(9ac726de69e4b374886a3542829745f7477d7556) )
  1830: 
  1831: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1832: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1833: 
  1834: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1835: 	ROM_LOAD( "gr01.bin",  0x00000, 0x4000, CRC(6829de8e) SHA1(4ec494883ba358f2ac7ce8d5a623a2f34b5bc843) )
  1836: 	ROM_LOAD( "gr23.bin",  0x04000, 0x4000, CRC(89398700) SHA1(771ee04baa9a31d435a6234490105878713e7845) )
  1837: 	ROM_LOAD( "gr45.bin",  0x08000, 0x4000, CRC(1e870293) SHA1(32149c9c8047854f2b2ad8844c4bd00a8ded588e) )
  1838: ROM_END
  1839: 
  1840: 
  1841: ROM_START( triviasp )
  1842: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1843: 	ROM_LOAD( "allsport.8a", 0x10000, 0x4000, CRC(54b7ff31) SHA1(1bdf9c9eb1a0fb4c1013680372d289882abf4b47) )
  1844: 	ROM_LOAD( "allsport.7a", 0x14000, 0x4000, CRC(59fae9d2) SHA1(a555f0679c59bf7c9dad0ecb9656a2f8faf39902) )
  1845: 	ROM_LOAD( "allsport.6a", 0x18000, 0x4000, CRC(237b6b95) SHA1(9d2937c1ecea9d92775f380d40f465f68c44fe06) )
  1846: 	ROM_LOAD( "allsport.5a", 0x1c000, 0x4000, CRC(b64d7f61) SHA1(25a7034b18a1623209dc0d06bdb4490243d43261) )
  1847: 	ROM_LOAD( "allsport.3a", 0x28000, 0x4000, CRC(e45d09d6) SHA1(8bde18d25f8bd1056e42672d428473be23eab260) )
  1848: 	ROM_LOAD( "allsport.1a", 0x2c000, 0x4000, CRC(8bb3e831) SHA1(ecc8fb0f2143e3ea03bb52773cc0a81d4dcc742d) )
  1849: 
  1850: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1851: 	ROM_LOAD( "sentesnd",     0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1852: 
  1853: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1854: 	ROM_LOAD( "gr01.bin",    0x00000, 0x4000, CRC(6829de8e) SHA1(4ec494883ba358f2ac7ce8d5a623a2f34b5bc843) )
  1855: 	ROM_LOAD( "gr23.bin",    0x04000, 0x4000, CRC(89398700) SHA1(771ee04baa9a31d435a6234490105878713e7845) )
  1856: 	ROM_LOAD( "allsport.3b", 0x08000, 0x4000, CRC(7415a7fc) SHA1(93d832434f359ce7b02aef276c89456b16438979) )
  1857: ROM_END
  1858: 
  1859: 
  1860: ROM_START( triviayp )
  1861: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1862: 	ROM_LOAD( "ab01.bin",  0x10000, 0x4000, CRC(97d35a85) SHA1(3ee8400fc3a2bf8a2f6374ffc34a4d295ee13bab) )
  1863: 	ROM_LOAD( "ab23.bin",  0x14000, 0x4000, CRC(2ff67c70) SHA1(c45b5fde4ec979322c9e251e66183632552d35bd) )
  1864: 	ROM_LOAD( "ab45.bin",  0x18000, 0x4000, CRC(511a0fab) SHA1(a2fefe2b86028c7e8c15d6a737509b7dc30430cd) )
  1865: 	ROM_LOAD( "ab67.bin",  0x1c000, 0x4000, CRC(df99d00c) SHA1(7eba6b85e2d9a06635e97d12123fd2a17368e6bc) )
  1866: 	ROM_LOAD( "cd45.bin",  0x28000, 0x4000, CRC(ac45809e) SHA1(1151c4e55f21a7e2eb8e163ac782b4449af84cdc) )
  1867: 	ROM_LOAD( "cd6ef.bin", 0x2c000, 0x4000, CRC(a008059f) SHA1(45e4cfc259e801a189ec19fdc58135dbbbe130ea) )
  1868: 
  1869: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1870: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1871: 
  1872: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1873: 	ROM_LOAD( "gr01.bin", 0x00000, 0x4000, CRC(6829de8e) SHA1(4ec494883ba358f2ac7ce8d5a623a2f34b5bc843) )
  1874: 	ROM_LOAD( "gr23.bin", 0x04000, 0x4000, CRC(89398700) SHA1(771ee04baa9a31d435a6234490105878713e7845) )
  1875: 	ROM_LOAD( "gr45.bin", 0x08000, 0x4000, CRC(1242033e) SHA1(1a3fe186bb261e2c7d9fbbb2a3103b39bf029b35) )
  1876: ROM_END
  1877: 
  1878: 
  1879: ROM_START( triviabb )
  1880: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1881: 	ROM_LOAD( "ab01.bin",  0x10000, 0x4000, CRC(1b7c439d) SHA1(8b3020dcb375b2f2e5e975a8067df6504aa8691e) )
  1882: 	ROM_LOAD( "ab23.bin",  0x14000, 0x4000, CRC(e4f1e704) SHA1(e5135134b54e1e2e95c5bfe6e5f0e2dd280db69d) )
  1883: 	ROM_LOAD( "ab45.bin",  0x18000, 0x4000, CRC(daa2d8bc) SHA1(feae215877ba42ab33182dfd74083f1d48443d8c) )
  1884: 	ROM_LOAD( "ab67.bin",  0x1c000, 0x4000, CRC(3622c4f1) SHA1(d180bb1c4a73d95c369cc507697421fb38a92d2c) )
  1885: 	ROM_LOAD( "cd45.bin",  0x28000, 0x4000, CRC(07fd88ff) SHA1(c3168ecf6562e09790c4f18cdd91c7a347223323) )
  1886: 	ROM_LOAD( "cd6ef.bin", 0x2c000, 0x4000, CRC(2d03f241) SHA1(986ca6ea20c306e83ae88acc2d6837c7ed5fe351) )
  1887: 
  1888: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1889: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1890: 
  1891: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1892: 	ROM_LOAD( "gr01.bin", 0x00000, 0x4000, CRC(6829de8e) SHA1(4ec494883ba358f2ac7ce8d5a623a2f34b5bc843) )
  1893: 	ROM_LOAD( "gr23.bin", 0x04000, 0x4000, CRC(89398700) SHA1(771ee04baa9a31d435a6234490105878713e7845) )
  1894: 	ROM_LOAD( "gr45.bin", 0x08000, 0x4000, CRC(92fb6fb1) SHA1(1a322bd3cfacdf82d4fcc4b4d47f78a701411919) )
  1895: ROM_END
  1896: 
  1897: 
  1898: ROM_START( gimeabrk )
  1899: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1900: 	ROM_LOAD( "ab01.u8a",  0x10000, 0x4000, CRC(18cc53db) SHA1(3bb47c349b3ab7b81e3557e3b4877617fb549c9e) )
  1901: 	ROM_LOAD( "ab23.u7a",  0x14000, 0x4000, CRC(6bd4190a) SHA1(b6562b3575dc8265c01719cfbcb554b69bc1b37f) )
  1902: 	ROM_LOAD( "ab45.u6a",  0x18000, 0x4000, CRC(5dca4f33) SHA1(aa45d5a960491c85f332f22cffe61999fe3db826) )
  1903: 	ROM_LOAD( "cd6ef.uia", 0x2c000, 0x4000, CRC(5e2b3510) SHA1(e3501b9bd73bc724aee0436700625bd2af94f72d) )
  1904: 
  1905: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1906: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1907: 
  1908: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1909: 	ROM_LOAD( "gr01.u6b", 0x00000, 0x4000, CRC(e3cdc476) SHA1(2f17c3f84767850d45192dfb507dd2716ecadc20) )
  1910: 	ROM_LOAD( "gr23.u5b", 0x04000, 0x4000, CRC(0555d9c0) SHA1(da0d1f207ad056b2d82a5ad6382372066883d161) )
  1911: ROM_END
  1912: 
  1913: 
  1914: ROM_START( minigolf )
  1915: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1916: 	ROM_LOAD( "ab01.u8a",  0x10000, 0x4000, CRC(348f827f) SHA1(a013ef3068e14e0738bcfa4de26c0c2df4c0a7f6) )
  1917: 	ROM_LOAD( "ab23.u7a",  0x14000, 0x4000, CRC(19a6ff47) SHA1(70b6da3b4186e5b9463f2ea0fefefad21ec80637) )
  1918: 	ROM_LOAD( "ab45.u6a",  0x18000, 0x4000, CRC(925d76eb) SHA1(29d2d7b26d2e81817c4d135935dab70a5aa2d146) )
  1919: 	ROM_LOAD( "ab67.u5a",  0x1c000, 0x4000, CRC(6a311c9a) SHA1(b0409e5f4bd3bf898b8701561aac6dbbc28417bd) )
  1920: 	ROM_LOAD( "1a-ver2",   0x20000, 0x10000, CRC(60b6cd58) SHA1(f79bf2d1f6c4e63f666073c5ecb22604c1ab57d8) )
  1921: 
  1922: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1923: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1924: 
  1925: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1926: 	ROM_LOAD( "gr01.u6b", 0x00000, 0x4000, CRC(8e24d594) SHA1(d35329fb78f90ec478418917aa1ef06d0967e6f8) )
  1927: 	ROM_LOAD( "gr23.u5b", 0x04000, 0x4000, CRC(3bf355ef) SHA1(691df25b35b00e21ad09d17a21fe98a353aa3dda) )
  1928: 	ROM_LOAD( "gr45.u4b", 0x08000, 0x4000, CRC(8eb14921) SHA1(fda8b8f8e801360310f7cb1aa4c6aea1fa0a4b25) )
  1929: ROM_END
  1930: 
  1931: 
  1932: ROM_START( minigol2 )
  1933: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1934: 	ROM_LOAD( "ab01.u8a",  0x10000, 0x4000, CRC(348f827f) SHA1(a013ef3068e14e0738bcfa4de26c0c2df4c0a7f6) )
  1935: 	ROM_LOAD( "ab23.u7a",  0x14000, 0x4000, CRC(19a6ff47) SHA1(70b6da3b4186e5b9463f2ea0fefefad21ec80637) )
  1936: 	ROM_LOAD( "ab45.u6a",  0x18000, 0x4000, CRC(925d76eb) SHA1(29d2d7b26d2e81817c4d135935dab70a5aa2d146) )
  1937: 	ROM_LOAD( "ab67.u5a",  0x1c000, 0x4000, CRC(6a311c9a) SHA1(b0409e5f4bd3bf898b8701561aac6dbbc28417bd) )
  1938: 	ROM_LOAD( "cd23.u3a",  0x24000, 0x4000, CRC(52279801) SHA1(d8de92c296d5c91db3bea7a0093260158961036e) )
  1939: 	ROM_LOAD( "cd6ef.u1a", 0x2c000, 0x4000, CRC(34c64f4c) SHA1(ce55f5f6ebddcacf20cb78fb738b5f569b531b61) )
  1940: 
  1941: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1942: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1943: 
  1944: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1945: 	ROM_LOAD( "gr01.u6b", 0x00000, 0x4000, CRC(8e24d594) SHA1(d35329fb78f90ec478418917aa1ef06d0967e6f8) )
  1946: 	ROM_LOAD( "gr23.u5b", 0x04000, 0x4000, CRC(3bf355ef) SHA1(691df25b35b00e21ad09d17a21fe98a353aa3dda) )
  1947: 	ROM_LOAD( "gr45.u4b", 0x08000, 0x4000, CRC(8eb14921) SHA1(fda8b8f8e801360310f7cb1aa4c6aea1fa0a4b25) )
  1948: ROM_END
  1949: 
  1950: 
  1951: ROM_START( toggle )
  1952: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1953: 	ROM_LOAD( "tgle-ab0.bin", 0x10000, 0x2000, CRC(8c7b7fad) SHA1(13eaf5b3727ff8b7ce2cfbab99541ca1e538aeba) )
  1954: 	ROM_LOAD( "tgle-ab1.bin", 0x12000, 0x2000, CRC(771e5434) SHA1(b1bcefc81054c81a22a91106c5bc99ef204cd009) )
  1955: 	ROM_LOAD( "tgle-ab2.bin", 0x14000, 0x2000, CRC(9b4baa3f) SHA1(5b0776d983ad40a0051939810bb854f014fea28b) )
  1956: 	ROM_LOAD( "tgle-ab3.bin", 0x16000, 0x2000, CRC(35308a41) SHA1(3846446b60897bfce8fcfd1561b5b74cdd19c36e) )
  1957: 	ROM_LOAD( "tgle-ab4.bin", 0x18000, 0x2000, CRC(baf5617b) SHA1(95c91fc81c975f522c1bd4f14bfb5f453801ffb6) )
  1958: 	ROM_LOAD( "tgle-ab5.bin", 0x1a000, 0x2000, CRC(88077dad) SHA1(51b36177a4bfbb62c91d87282bfc1ff791626d19) )
  1959: 	ROM_LOAD( "tgle-cd.bin",  0x2c000, 0x2000, CRC(0a2bb949) SHA1(350dc782fc21640794c6ecb502554cb693adbb7d) )
  1960: 	ROM_LOAD( "tgle-ef.bin",  0x2e000, 0x2000, CRC(3ec10804) SHA1(ae719081e8114ccc23c6b24c7fe904a11fbdd992) )
  1961: 
  1962: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1963: 	ROM_LOAD( "sentesnd",    0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1964: 
  1965: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1966: 	ROM_LOAD( "tgle-gr0.bin", 0x00000, 0x2000, CRC(0e0e5d0e) SHA1(363858ce08767f8a9b8eaec56405377cdd74b178) )
  1967: 	ROM_LOAD( "tgle-gr1.bin", 0x02000, 0x2000, CRC(3b141ad2) SHA1(72430fd616adbc72d86a5f10672572a31bed0b5d) )
  1968: ROM_END
  1969: 
  1970: 
  1971: ROM_START( nametune )
  1972: 	ROM_REGION( 0x70000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  1973: 	ROM_LOAD( "nttab01.bin",  0x10000, 0x4000, CRC(f99054f1) SHA1(aaa3aae71f67be2df34b9682b1b4092a208fbf26) )
  1974: 	ROM_CONTINUE(             0x40000, 0x4000 )
  1975: 	ROM_LOAD( "nttab23.bin",  0x14000, 0x4000, CRC(f2b8f7fa) SHA1(b9f81a29b031af31118b77e77fc29e59f2059109) )
  1976: 	ROM_CONTINUE(             0x44000, 0x4000 )
  1977: 	ROM_LOAD( "nttab45.bin",  0x18000, 0x4000, CRC(89e1c769) SHA1(8e976182d99b93bb1cf6e306d134b66ba6fe6052) )
  1978: 	ROM_CONTINUE(             0x48000, 0x4000 )
  1979: 	ROM_LOAD( "nttab67.bin",  0x1c000, 0x4000, CRC(7e5572a1) SHA1(d957a495ad4100b857e163d7399528f62e8a39a7) )
  1980: 	ROM_CONTINUE(             0x4c000, 0x4000 )
  1981: 	ROM_LOAD( "nttcd01.bin",  0x20000, 0x4000, CRC(db9d6154) SHA1(8db17fda6c4113f5b791163fc9e289cf3f003a51) )
  1982: 	ROM_CONTINUE(             0x50000, 0x4000 )
  1983: 	ROM_LOAD( "nttcd23.bin",  0x24000, 0x4000, CRC(9d2e458f) SHA1(f08c2d7ba6be9745d13fc9dc7141ad101a8b747e) )
  1984: 	ROM_CONTINUE(             0x54000, 0x4000 )
  1985: 	ROM_LOAD( "nttcd45.bin",  0x28000, 0x4000, CRC(9a4b87aa) SHA1(ca82ddd4d8d40b35ba21cb9333e182b8a2e7f95e) )
  1986: 	ROM_CONTINUE(             0x58000, 0x4000 )
  1987: 	ROM_LOAD( "nttcd6ef.bin", 0x2c000, 0x4000, CRC(0459e6f8) SHA1(7dbdbfa8f2e9e3956af926f5f782b8d3c3334099) )
  1988: 	ROM_CONTINUE(             0x5c000, 0x4000 )
  1989: 
  1990: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  1991: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  1992: 
  1993: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  1994: 	ROM_LOAD( "nttgr0.bin",  0x00000, 0x8000, CRC(6b75bb4b) SHA1(e7131d112fb0b36985c5b6383700f55728a1c4fd) )
  1995: ROM_END
  1996: 
  1997: 
  1998: ROM_START( nstocker )
  1999: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  2000: 	ROM_LOAD( "ab01.u8a",  0x10000, 0x4000, CRC(a635f973) SHA1(edb12469818a3114fb97d21e11c63eb37678a07b) )
  2001: 	ROM_LOAD( "ab23.u7a",  0x14000, 0x4000, CRC(223acbb2) SHA1(195ebd349722cce323616c81cc4e86f0a9c6fa13) )
  2002: 	ROM_LOAD( "ab45.u6a",  0x18000, 0x4000, CRC(27a728b5) SHA1(c72634112a04d58a695fb43bf30f44e3f7ba7de2) )
  2003: 	ROM_LOAD( "ab67.u5a",  0x1c000, 0x4000, CRC(2999cdf2) SHA1(a64ae04f264ad286a87069cfb176e7511df08e78) )
  2004: 	ROM_LOAD( "cd01.u4a",  0x20000, 0x4000, CRC(75e9b51a) SHA1(dbe575d37836245746ea85ffe85e8e6665ec37ea) )
  2005: 	ROM_LOAD( "cd23.u3a",  0x24000, 0x4000, CRC(0a32e0a5) SHA1(dedbe08aed483bae27e1a607334e24cdfcb2f851) )
  2006: 	ROM_LOAD( "cd45.u2a",  0x28000, 0x4000, CRC(9bb292fe) SHA1(6fc7abcc110c2cf7399d11a478cfdadb3439b6ab) )
  2007: 	ROM_LOAD( "cd6ef.u1a", 0x2c000, 0x4000, CRC(e77c1aea) SHA1(9e2e595530cb15c634a6052c773ff5d998c0c828) )
  2008: 
  2009: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  2010: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  2011: 
  2012: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  2013: 	ROM_LOAD( "gr01.u4c", 0x00000, 0x4000, CRC(fd0c38be) SHA1(b9e12e76f44f2b2b3ca6a57c58f0cbb019b1971f) )
  2014: 	ROM_LOAD( "gr23.u3c", 0x04000, 0x4000, CRC(35d4433e) SHA1(399d04c2a29d993f77d0d5c2d62915081d4a85dd) )
  2015: 	ROM_LOAD( "gr45.u2c", 0x08000, 0x4000, CRC(734b858a) SHA1(71763789807021938b840a88af34aad7f4751298) )
  2016: 	ROM_LOAD( "gr67.u1c", 0x0c000, 0x4000, CRC(3311f9c0) SHA1(63b185c761b258113c31cc269ce0b1462bf37f40) )
  2017: ROM_END
  2018: 
  2019: 
  2020: ROM_START( sfootbal )
  2021: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  2022: 	ROM_LOAD( "sfbab01.bin",  0x10000, 0x4000, CRC(2a69803f) SHA1(ca86c9d079fbebae4c93c889d98a8573facc05da) )
  2023: 	ROM_LOAD( "sfbab23.bin",  0x14000, 0x4000, CRC(89f157c2) SHA1(59701b7770dce7ec01d0feb01d67450943e6cfbb) )
  2024: 	ROM_LOAD( "sfbab45.bin",  0x18000, 0x4000, CRC(91ad42c5) SHA1(0b6fc3ed3a633c825809668d49f209c130f3e978) )
  2025: 	ROM_LOAD( "sfbcd6ef.bin", 0x2c000, 0x4000, CRC(bf80bb1a) SHA1(2b70b36d946c36e3f354c7edfd3e34784ffce406) )
  2026: 
  2027: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  2028: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  2029: 
  2030: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  2031: 	ROM_LOAD( "sfbgr01.bin", 0x00000, 0x4000, CRC(e3108d35) SHA1(05b7f1a1a18d7f72a3d3f6102cb8ab42421b7366) )
  2032: 	ROM_LOAD( "sfbgr23.bin", 0x04000, 0x4000, CRC(5c5af726) SHA1(04cdd476e6689d17273659fb1fe0ca642edbe5a8) )
  2033: 	ROM_LOAD( "sfbgr45.bin", 0x08000, 0x4000, CRC(e767251e) SHA1(3c05295317a673fb1de5924f27de276d2846d805) )
  2034: 	ROM_LOAD( "sfbgr67.bin", 0x0c000, 0x4000, CRC(42452a7a) SHA1(37479d6e9071ac775215a6815dbaf280b3c6a57f) )
  2035: ROM_END
  2036: 
  2037: 
  2038: ROM_START( spiker )
  2039: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  2040: 	ROM_LOAD( "ab01.u8a",  0x10000, 0x4000, CRC(2d53d023) SHA1(01c1d2cd7d8be60c40527e9c1571b84388a39bd8) )
  2041: 	ROM_LOAD( "ab23.u7a",  0x14000, 0x4000, CRC(3be87edf) SHA1(0d4f1ff501d5d865abc3906f6b232ec04586d3dc) )
  2042: 	ROM_LOAD( "cd6ef.u1a", 0x2c000, 0x4000, CRC(f2c73ece) SHA1(4fc108823102fd17c5b7d9be1a0c76667788ba1a) )
  2043: 
  2044: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  2045: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  2046: 
  2047: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  2048: 	ROM_LOAD( "gr01.u4c", 0x00000, 0x4000, CRC(0caa6e3e) SHA1(ce6765d44e444d24129ec99f04a41a866a32eee2) )
  2049: 	ROM_LOAD( "gr23.u3c", 0x04000, 0x4000, CRC(970c81f6) SHA1(f22189e172a795d115597feb48ccbc04be3859b9) )
  2050: 	ROM_LOAD( "gr45.u2c", 0x08000, 0x4000, CRC(90ddd737) SHA1(8e1dde2f42e9bf755dedeef218745d1fc54faac7) )
  2051: ROM_END
  2052: 
  2053: 
  2054: ROM_START( stompin )
  2055: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  2056: 	ROM_LOAD( "ab01.bin",  0x10000, 0x4000, CRC(46f428c6) SHA1(06c59d06ccc0bd7067e419f12781050ab4ac98c2) )
  2057: 	ROM_LOAD( "ab23.bin",  0x14000, 0x4000, CRC(0e13132f) SHA1(d572e5d170df99bb99db7d41ede881c24e5b8d1c) )
  2058: 	ROM_LOAD( "ab45.bin",  0x18000, 0x4000, CRC(6ed26069) SHA1(35f6b8cff54c35a1a0eeb9c23e446ade69d13375) )
  2059: 	ROM_LOAD( "ab67.bin",  0x1c000, 0x4000, CRC(7f63b516) SHA1(4ffd9dd579c8c4574f2f039b30761e901ee6dd5c) )
  2060: 	ROM_LOAD( "cd23.bin",  0x24000, 0x4000, CRC(52b29048) SHA1(e0873137201ad9b2e87a17dd68046e88dbeeb5e1) )
  2061: 	ROM_LOAD( "cd6ef.bin", 0x2c000, 0x4000, CRC(b880961a) SHA1(11700af516517b7176a840fd5a8fd5ed0fb9bd6e) )
  2062: 
  2063: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  2064: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  2065: 
  2066: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  2067: 	ROM_LOAD( "gr01.u4c", 0x00000, 0x4000, CRC(14ffdd1e) SHA1(4528548c07789f9dca2cabd2c64ea1ff8f36a99e) )
  2068: 	ROM_LOAD( "gr23.u3c", 0x04000, 0x4000, CRC(761abb80) SHA1(a1278e93a4fa66cc4d347954dd45121120da568d) )
  2069: 	ROM_LOAD( "gr45.u2c", 0x08000, 0x4000, CRC(0d2cf2e6) SHA1(beccb1342127e79a845c4b6b20f20052097ebb98) )
  2070: 	ROM_LOAD( "gr67.u2c", 0x0c000, 0x4000, CRC(2bab2784) SHA1(a4020fd8f5ca2fdb37efd37cbccf86cae0468eb0) )
  2071: ROM_END
  2072: 
  2073: 
  2074: ROM_START( rescraid )
  2075: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  2076: 	ROM_LOAD( "ab1.a10",   0x10000, 0x8000, CRC(33a76b47) SHA1(72cefb3ae7d0ecfc099f9d09a26533dd7ca7c4f2) )
  2077: 	ROM_LOAD( "ab12.a12",  0x18000, 0x8000, CRC(7c7a9f12) SHA1(2dbe1158d124ecd24aeb6e46079a8e08fda61208) )
  2078: 	ROM_LOAD( "cd8.a16",   0x20000, 0x8000, CRC(90917a43) SHA1(3abd68d0c147ed792ace41f701c04bc225efede4) )
  2079: 	ROM_LOAD( "cd12.a18",  0x28000, 0x8000, CRC(0450e9d7) SHA1(b5d0a79d1bac3596d241f80ac4e3e13c98d28709) )
  2080: 
  2081: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  2082: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  2083: 
  2084: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  2085: 	ROM_LOAD( "gr0.a5",    0x00000, 0x8000, CRC(e0dfc133) SHA1(0b120b4410098d8db26b5819043d4fe7c426b948) )
  2086: 	ROM_LOAD( "gr4.a7",    0x08000, 0x8000, CRC(952ade30) SHA1(f065368f645616d6d84be469ba45a9afa8788eda) )
  2087: ROM_END
  2088: 
  2089: 
  2090: ROM_START( rescrdsa )
  2091: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  2092: 	ROM_LOAD( "ab1-sa.a10",   0x10000, 0x8000, CRC(aa0a9f48) SHA1(b871573df0abdba20de78f655da846423191f0b4) )
  2093: 	ROM_LOAD( "ab12-sa.a12",  0x18000, 0x8000, CRC(16d4da86) SHA1(240cfe8c5c4c005da9b9f370a04ed32fc245ec64) )
  2094: 	ROM_LOAD( "cd8-sa.a16",   0x20000, 0x8000, CRC(9dfb50c2) SHA1(24280b48106cbcedeb6d7b10f951db906a123819) )
  2095: 	ROM_LOAD( "cd12-sa.a18",  0x28000, 0x8000, CRC(18c62613) SHA1(a55b4b948805bdd5d1e8c8ff803826a7bbfa383e) )
  2096: 
  2097: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  2098: 	ROM_LOAD( "sentesnd",  0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  2099: 
  2100: 	ROM_REGION( 0x10000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  2101: 	ROM_LOAD( "gr0.a5",    0x00000, 0x8000, CRC(e0dfc133) SHA1(0b120b4410098d8db26b5819043d4fe7c426b948) )
  2102: 	ROM_LOAD( "gr4.a7",    0x08000, 0x8000, CRC(952ade30) SHA1(f065368f645616d6d84be469ba45a9afa8788eda) )
  2103: ROM_END
  2104: 
  2105: 
  2106: ROM_START( grudge )
  2107: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  2108: 	ROM_LOAD( "grudge.ab0", 0x10000, 0x8000, CRC(260965ca) SHA1(79eb5dc6605974ece3d5564f10c4598204907398) )
  2109: 	ROM_LOAD( "grudge.ab4", 0x18000, 0x8000, CRC(c6cd734d) SHA1(076546569e9c8ff40f96bd2cac014bcabc53099d) )
  2110: 	ROM_LOAD( "grudge.cd0", 0x20000, 0x8000, CRC(e51db1f2) SHA1(57fc0f1df358dd6ea982dcbe9c3f79b3f072be53) )
  2111: 	ROM_LOAD( "grudge.cd4", 0x28000, 0x8000, CRC(6b60e47e) SHA1(5a399942d4ef9b7349fffd07c07092b667cf6247) )
  2112: 
  2113: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  2114: 	ROM_LOAD( "sentesnd",   0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  2115: 
  2116: 	ROM_REGION( 0x8000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  2117: 	ROM_LOAD( "grudge.gr0", 0x00000, 0x8000, CRC(b9681f53) SHA1(bb0c516408f1769e018f0ec8707786d4d1e9ef7e) )
  2118: ROM_END
  2119: 
  2120: 
  2121: ROM_START( shrike )
  2122: 	ROM_REGION( 0x40000, REGION_CPU1, 0 )     /* 64k for code for the first CPU, plus 128k of banked ROMs */
  2123: 	ROM_LOAD( "savgu35.bin", 0x10000, 0x2000, CRC(dd2230a0) SHA1(72be0e07d76ee1f170ab457ae62db87111758697) )
  2124: 	ROM_LOAD( "savgu20.bin", 0x12000, 0x2000, CRC(3d140edc) SHA1(6c7e7dda7718e3f9644aad317da0b2277c2c1402) )
  2125: 	ROM_LOAD( "savgu34.bin", 0x14000, 0x2000, CRC(779eca9d) SHA1(6783a62885ed129f436471a1c4a93ad898eb7965) )
  2126: 	ROM_LOAD( "savgu19.bin", 0x16000, 0x2000, CRC(9ec89a80) SHA1(0a862d2a58adaf6726654a9a7b1b4b13e14d4d4b) )
  2127: 	ROM_LOAD( "savgu33.bin", 0x18000, 0x2000, CRC(20596f48) SHA1(11827b86d184231d3d4f82496a0bb9ac7ac874dc) )
  2128: 	ROM_LOAD( "savgu18.bin", 0x1a000, 0x2000, CRC(7abc3f14) SHA1(0a18be804927181c1bc86def595b22b3249fb6a0) )
  2129: 	ROM_LOAD( "savgu32.bin", 0x1c000, 0x2000, CRC(807f0a3b) SHA1(b2df2422751b32a25258134f571a5f874ebc3a09) )
  2130: 	ROM_LOAD( "savgu17.bin", 0x1e000, 0x2000, CRC(e0dbf6ad) SHA1(4618723116e2d83f9a775bb8b503faea995fda1b) )
  2131: 	ROM_LOAD( "savgu21.bin", 0x2c000, 0x2000, CRC(c22b93e1) SHA1(15d3925abb3e7e928925f5781f228d1bc0dfe31c) )
  2132: 	ROM_LOAD( "savgu36.bin", 0x2e000, 0x2000, CRC(28431c4a) SHA1(522df8224c559f51c36d2bc01c189b019fabc5eb) )
  2133: 
  2134: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )		/* 64k for Z80 */
  2135: 	ROM_LOAD( "sentesnd",    0x00000, 0x2000, CRC(4dd0a525) SHA1(f0c447adc5b67917851a9df978df851247e75c43) )
  2136: 
  2137: 	ROM_REGION( 0x4000, REGION_CPU3, 0 )		/* 16k for M68000 */
  2138: 	ROM_LOAD16_BYTE( "savgu22.bin", 0x00000, 0x2000, CRC(c7787162) SHA1(52d8d148206c6ceb9c28ba747b301121a7790802) )
  2139: 	ROM_LOAD16_BYTE( "savgu24.bin", 0x00001, 0x2000, CRC(a9105ca8) SHA1(1a94a052a4a8d221e1eafec0cd5b0ada6f1987f4) )
  2140: 
  2141: 	ROM_REGION( 0x20000, REGION_GFX1, 0 )		/* up to 64k of sprites */
  2142: 	ROM_LOAD( "savgu8.bin",  0x00000, 0x2000, CRC(499a1d06) SHA1(0f3ed5ff345abb655f5a9f926ac3eb5dbca72a14) )
  2143: 	ROM_LOAD( "savgu7.bin",  0x02000, 0x2000, CRC(ce0607f9) SHA1(0f6708d92e69a67b3eaba98f7ab4ad70eda3c854) )
  2144: 	ROM_LOAD( "savgu6.bin",  0x04000, 0x2000, CRC(01d1b31e) SHA1(8061227f18f08e3b74bc6fc341ed4902c415db6c) )
  2145: 	ROM_LOAD( "savgu5.bin",  0x06000, 0x2000, CRC(8bc6d101) SHA1(24f0b3ec3ed56b0496d07caa2475fca49a4a9b19) )
  2146: 	ROM_LOAD( "savgu4.bin",  0x08000, 0x2000, CRC(72644753) SHA1(01bdb39d32df6d8cf69cbc9370033db46e18cb59) )
  2147: 	ROM_LOAD( "savgu3.bin",  0x0a000, 0x2000, CRC(606a9cfd) SHA1(ce99a0e6d09580d35ec423177cdf41c35c7eecb7) )
  2148: 	ROM_LOAD( "savgu2.bin",  0x0c000, 0x2000, CRC(69f600f6) SHA1(5b9545897f59b5049adc0fd910c7d65f38696d30) )
  2149: 	ROM_LOAD( "savgu1.bin",  0x0e000, 0x2000, CRC(303b8e7b) SHA1(29055b621c68e93649eb0aa9cc9ecc43ac6f6eb8) )
  2150: 	ROM_LOAD( "savgu16.bin", 0x10000, 0x2000, CRC(b8f60607) SHA1(4971db01a87bd80c23b7a0ab8aaa7c8300be4ec9) )
  2151: 	ROM_LOAD( "savgu15.bin", 0x12000, 0x2000, CRC(6b332a5d) SHA1(58939cec237db1f741d24eb9f94488e3cf8700d2) )
  2152: 	ROM_LOAD( "savgu14.bin", 0x14000, 0x2000, CRC(8d5117aa) SHA1(a82911219c49ff96e3c16acec7ef37406dae2be4) )
  2153: 	ROM_LOAD( "savgu13.bin", 0x16000, 0x2000, CRC(d3ce645e) SHA1(4e775af7886d699675941f74e18be2d4dbd6f41b) )
  2154: 	ROM_LOAD( "savgu12.bin", 0x18000, 0x2000, CRC(ccdfedb1) SHA1(b87e885df46e814626f46102f323ccd8396bcf8f) )
  2155: 	ROM_LOAD( "savgu11.bin", 0x1a000, 0x2000, CRC(db11ff4c) SHA1(cd85486cd08ec4392421e9b94d380b81a575c811) )
  2156: 	ROM_LOAD( "savgu10.bin", 0x1c000, 0x2000, CRC(6f3d9aa1) SHA1(7616dd016f5c8990b4972cf6edf758e27857aa1e) )
  2157: ROM_END
  2158: 
  2159: 
  2160: 
  2161: /*************************************
  2162:  *
  2163:  *	Driver initialization
  2164:  *
  2165:  *************************************/
  2166: 
  2167: #define EXPAND_ALL		0x00 
  2168: #define EXPAND_NONE		0x3f 
  2169: #define SWAP_HALVES		0x80 
  2170: 
  2171: static void expand_roms(UINT8 cd_rom_mask)
  2172: {
  2173: 	/* load AB bank data from 0x10000-0x20000 */
  2174: 	/* load CD bank data from 0x20000-0x2e000 */
  2175: 	/* load EF           from 0x2e000-0x30000 */
  2176: 	/* ROM region must be 0x40000 total */
  2177: 
  2178: 	UINT8 *temp = malloc(0x20000);
  2179: 	if (temp)
  2180: 	{
  2181: 		UINT8 *rom = memory_region(REGION_CPU1);
  2182: 		UINT32 base;
  2183: 
  2184: 		for (base = 0x10000; base < memory_region_length(REGION_CPU1); base += 0x30000)
  2185: 		{
  2186: 			UINT8 *ab_base = &temp[0x00000];
  2187: 			UINT8 *cd_base = &temp[0x10000];
  2188: 			UINT8 *cd_common = &temp[0x1c000];
  2189: 			UINT8 *ef_common = &temp[0x1e000];
  2190: 			UINT32 dest;
  2191: 
  2192: 			for (dest = 0x00000; dest < 0x20000; dest += 0x02000)
  2193: 			{
  2194: 				if (cd_rom_mask & SWAP_HALVES)
  2195: 					memcpy(&temp[dest ^ 0x02000], &rom[base + dest], 0x02000);
  2196: 				else
  2197: 					memcpy(&temp[dest], &rom[base + dest], 0x02000);
  2198: 			}
  2199: 
  2200: 			memcpy(&rom[base + 0x2e000], ef_common, 0x2000);
  2201: 			memcpy(&rom[base + 0x2c000], cd_common, 0x2000);
  2202: 			memcpy(&rom[base + 0x2a000], &ab_base[0xe000], 0x2000);
  2203: 
  2204: 			memcpy(&rom[base + 0x28000], ef_common, 0x2000);
  2205: 			memcpy(&rom[base + 0x26000], cd_common, 0x2000);
  2206: 			memcpy(&rom[base + 0x24000], &ab_base[0xc000], 0x2000);
  2207: 
  2208: 			memcpy(&rom[base + 0x22000], ef_common, 0x2000);
  2209: 			memcpy(&rom[base + 0x20000], (cd_rom_mask & 0x20) ? &cd_base[0xa000] : cd_common, 0x2000);
  2210: 			memcpy(&rom[base + 0x1e000], &ab_base[0xa000], 0x2000);
  2211: 
  2212: 			memcpy(&rom[base + 0x1c000], ef_common, 0x2000);
  2213: 			memcpy(&rom[base + 0x1a000], (cd_rom_mask & 0x10) ? &cd_base[0x8000] : cd_common, 0x2000);
  2214: 			memcpy(&rom[base + 0x18000], &ab_base[0x8000], 0x2000);
  2215: 
  2216: 			memcpy(&rom[base + 0x16000], ef_common, 0x2000);
  2217: 			memcpy(&rom[base + 0x14000], (cd_rom_mask & 0x08) ? &cd_base[0x6000] : cd_common, 0x2000);
  2218: 			memcpy(&rom[base + 0x12000], &ab_base[0x6000], 0x2000);
  2219: 
  2220: 			memcpy(&rom[base + 0x10000], ef_common, 0x2000);
  2221: 			memcpy(&rom[base + 0x0e000], (cd_rom_mask & 0x04) ? &cd_base[0x4000] : cd_common, 0x2000);
  2222: 			memcpy(&rom[base + 0x0c000], &ab_base[0x4000], 0x2000);
  2223: 
  2224: 			memcpy(&rom[base + 0x0a000], ef_common, 0x2000);
  2225: 			memcpy(&rom[base + 0x08000], (cd_rom_mask & 0x02) ? &cd_base[0x2000] : cd_common, 0x2000);
  2226: 			memcpy(&rom[base + 0x06000], &ab_base[0x2000], 0x2000);
  2227: 
  2228: 			memcpy(&rom[base + 0x04000], ef_common, 0x2000);
  2229: 			memcpy(&rom[base + 0x02000], (cd_rom_mask & 0x01) ? &cd_base[0x0000] : cd_common, 0x2000);
  2230: 			memcpy(&rom[base + 0x00000], &ab_base[0x0000], 0x2000);
  2231: 		}
  2232: 
  2233: 		free(temp);
  2234: 	}
  2235: }
  2236: 
  2237: static DRIVER_INIT( sentetst ) { expand_roms(EXPAND_ALL);  balsente_shooter = 0; /* noanalog */ }
  2238: static DRIVER_INIT( cshift )   { expand_roms(EXPAND_ALL);  balsente_shooter = 0; /* noanalog */ }
  2239: static DRIVER_INIT( gghost )   { expand_roms(EXPAND_ALL);  balsente_shooter = 0; balsente_adc_shift = 1; }
  2240: static DRIVER_INIT( hattrick ) { expand_roms(EXPAND_ALL);  balsente_shooter = 0; /* noanalog */ }
  2241: static DRIVER_INIT( otwalls )  { expand_roms(EXPAND_ALL);  balsente_shooter = 0; balsente_adc_shift = 0; }
  2242: static DRIVER_INIT( snakepit ) { expand_roms(EXPAND_ALL);  balsente_shooter = 0; balsente_adc_shift = 1; }
  2243: static DRIVER_INIT( snakjack ) { expand_roms(EXPAND_ALL);  balsente_shooter = 0; balsente_adc_shift = 1; }
  2244: static DRIVER_INIT( stocker )  { expand_roms(EXPAND_ALL);  balsente_shooter = 0; balsente_adc_shift = 0; }
  2245: static DRIVER_INIT( triviag1 ) { expand_roms(EXPAND_ALL);  balsente_shooter = 0; /* noanalog */ }
  2246: static DRIVER_INIT( triviag2 )
  2247: {
  2248: 	memcpy(&memory_region(REGION_CPU1)[0x20000], &memory_region(REGION_CPU1)[0x28000], 0x4000);
  2249: 	memcpy(&memory_region(REGION_CPU1)[0x24000], &memory_region(REGION_CPU1)[0x28000], 0x4000);
  2250: 	expand_roms(EXPAND_NONE); balsente_shooter = 0; /* noanalog */
  2251: }
  2252: static DRIVER_INIT( gimeabrk ) { expand_roms(EXPAND_ALL);  balsente_shooter = 0; balsente_adc_shift = 1; }
  2253: static DRIVER_INIT( minigolf ) { expand_roms(EXPAND_NONE); balsente_shooter = 0; balsente_adc_shift = 2; }
  2254: static DRIVER_INIT( minigol2 ) { expand_roms(0x0c);        balsente_shooter = 0; balsente_adc_shift = 2; }
  2255: static DRIVER_INIT( toggle )   { expand_roms(EXPAND_ALL);  balsente_shooter = 0; /* noanalog */ }
  2256: static DRIVER_INIT( nametune )
  2257: {
  2258: 	install_mem_write_handler(0, 0x9f00, 0x9f00, balsente_rombank2_select_w);
  2259: 	expand_roms(EXPAND_NONE | SWAP_HALVES); balsente_shooter = 0; /* noanalog */
  2260: }
  2261: static DRIVER_INIT( nstocker )
  2262: {
  2263: 	install_mem_read_handler(0, 0x9902, 0x9902, nstocker_port2_r);
  2264: 	install_mem_write_handler(0, 0x9f00, 0x9f00, balsente_rombank2_select_w);
  2265: 	expand_roms(EXPAND_NONE | SWAP_HALVES); balsente_shooter = 1; balsente_adc_shift = 1;
  2266: }
  2267: static DRIVER_INIT( sfootbal )
  2268: {
  2269: 	install_mem_write_handler(0, 0x9f00, 0x9f00, balsente_rombank2_select_w);
  2270: 	expand_roms(EXPAND_ALL  | SWAP_HALVES); balsente_shooter = 0; balsente_adc_shift = 0;
  2271: }
  2272: static DRIVER_INIT( spiker )
  2273: {
  2274: 	install_mem_write_handler(0, 0x9f80, 0x9f8f, spiker_expand_w);
  2275: 	install_mem_read_handler(0, 0x9f80, 0x9f8f, spiker_expand_r);
  2276: 	install_mem_write_handler(0, 0x9f00, 0x9f00, balsente_rombank2_select_w);
  2277: 	expand_roms(EXPAND_ALL  | SWAP_HALVES); balsente_shooter = 0; balsente_adc_shift = 1;
  2278: }
  2279: static DRIVER_INIT( stompin )
  2280: {
  2281: 	install_mem_write_handler(0, 0x9f00, 0x9f00, balsente_rombank2_select_w);
  2282: 	expand_roms(0x0c | SWAP_HALVES); balsente_shooter = 0; balsente_adc_shift = 32;
  2283: }
  2284: static DRIVER_INIT( rescraid ) { expand_roms(EXPAND_NONE); balsente_shooter = 0; /* noanalog */ }
  2285: static DRIVER_INIT( grudge )
  2286: {
  2287: 	install_mem_read_handler(0, 0x9400, 0x9400, grudge_steering_r);
  2288: 	expand_roms(EXPAND_NONE); balsente_shooter = 0;
  2289: }
  2290: static DRIVER_INIT( shrike )
  2291: {
  2292: 	install_mem_read_handler(0, 0x9e00, 0x9fff, MRA_RAM);
  2293: 	install_mem_write_handler(0, 0x9e00, 0x9fff, MWA_RAM);
  2294: 	install_mem_read_handler(0, 0x9e00, 0x9e0f, shrike_shared_6809_r);
  2295: 	install_mem_write_handler(0, 0x9e00, 0x9e0f, shrike_shared_6809_w);
  2296: 	expand_roms(EXPAND_ALL);  balsente_shooter = 0; balsente_adc_shift = 32;
  2297: }
  2298: 
  2299: 
  2300: 
  2301: /*************************************
  2302:  *
  2303:  *	Game drivers
  2304:  *
  2305:  *************************************/
  2306: 
  2307: GAME( 1984, sentetst, 0,        balsente, sentetst, sentetst, ROT0, "Bally/Sente", "Sente Diagnostic Cartridge" )
  2308: GAME( 1984, cshift,   0,        balsente, cshift,   cshift,   ROT0, "Bally/Sente", "Chicken Shift" )
  2309: GAME( 1984, gghost,   0,        balsente, gghost,   gghost,   ROT0, "Bally/Sente", "Goalie Ghost" )
  2310: GAME( 1984, hattrick, 0,        balsente, hattrick, hattrick, ROT0, "Bally/Sente", "Hat Trick" )
  2311: GAME( 1984, otwalls,  0,        balsente, otwalls,  otwalls,  ROT0, "Bally/Sente", "Off the Wall (Sente)" )
  2312: GAME( 1984, snakepit, 0,        balsente, snakepit, snakepit, ROT0, "Bally/Sente", "Snake Pit" )
  2313: GAME( 1984, snakjack, 0,        balsente, snakjack, snakjack, ROT0, "Bally/Sente", "Snacks'n Jaxson" )
  2314: GAME( 1984, stocker,  0,        balsente, stocker,  stocker,  ROT0, "Bally/Sente", "Stocker" )
  2315: GAME( 1984, triviag1, 0,        balsente, triviag1, triviag1, ROT0, "Bally/Sente", "Trivial Pursuit (Genus I)" )
  2316: GAME( 1984, triviag2, 0,        balsente, triviag2, triviag2, ROT0, "Bally/Sente", "Trivial Pursuit (Genus II)" )
  2317: GAME( 1984, triviasp, 0,        balsente, triviasp, triviag2, ROT0, "Bally/Sente", "Trivial Pursuit (All Star Sports Edition)" )
  2318: GAME( 1984, triviayp, 0,        balsente, triviayp, triviag2, ROT0, "Bally/Sente", "Trivial Pursuit (Young Players Edition)" )
  2319: GAME( 1984, triviabb, 0,        balsente, triviabb, triviag2, ROT0, "Bally/Sente", "Trivial Pursuit (Baby Boomer Edition)" )
  2320: GAME( 1985, gimeabrk, 0,        balsente, gimeabrk, gimeabrk, ROT0, "Bally/Sente", "Gimme A Break" )
  2321: GAME( 1985, minigolf, 0,        balsente, minigolf, minigolf, ROT0, "Bally/Sente", "Mini Golf (set 1)" )
  2322: GAME( 1985, minigol2, minigolf, balsente, minigol2, minigol2, ROT0, "Bally/Sente", "Mini Golf (set 2)" )
  2323: GAME( 1985, toggle,   0,        balsente, toggle,   toggle,   ROT0, "Bally/Sente", "Toggle (prototype)" )
  2324: GAME( 1986, nametune, 0,        balsente, nametune, nametune, ROT0, "Bally/Sente", "Name That Tune" )
  2325: GAME( 1986, nstocker, 0,        balsente, nstocker, nstocker, ROT0, "Bally/Sente", "Night Stocker" )
  2326: GAME( 1986, sfootbal, 0,        balsente, sfootbal, sfootbal, ROT0, "Bally/Sente", "Street Football" )
  2327: GAME( 1986, spiker,   0,        balsente, spiker,   spiker,   ROT0, "Bally/Sente", "Spiker" )
  2328: GAME( 1986, stompin,  0,        balsente, stompin,  stompin,  ROT0, "Bally/Sente", "Stompin'" )
  2329: GAME( 1987, rescraid, 0,        balsente, rescraid, rescraid, ROT0, "Bally/Midway", "Rescue Raider" )
  2330: GAME( 1987, rescrdsa, rescraid, balsente, rescraid, rescraid, ROT0, "Bally/Midway", "Rescue Raider (Stand-Alone)" )
  2331: GAME( 198?, grudge,   0,        balsente, grudge,   grudge,   ROT0, "Bally/Midway", "Grudge Match (prototype)" )
  2332: GAMEX(198?, shrike,   0,        shrike,   shrike,   shrike,   ROT0, "Bally/Sente", "Shrike Avenger (prototype)", GAME_NOT_WORKING )
  2333: 




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