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 : Rambo III : VM Driver Source

Source Listing


     1: /***************************************************************************
     2: 
     3: Taito B System
     4: 
     5: driver by Jarek Burczynski, with help from:
     6: Nicola Salmoria, Brian A. Troha, Stephane Humbert, Gerardo Oporto Jorrin, David Graves
     7: heavily based on Taito F2 System driver by Brad Oliver, Andrew Prime
     8: 
     9: The board uses TC0220IOC, TC0260DAR, TC0180VCU, and TC0140SYT.
    10: Sonic Blast Man uses TC0510NIO instead of TC0220IOC.
    11: 
    12: The palette resolution is 12 bits in some games and 15 bits in others.
    13: 
    14: TODO:
    15: - hitice: ice trails might not be 100% correct (I'm doubling them horizontally)
    16: - hitice: the pixel bitmap is not cleared on startup nor during attract mode. There's a
    17:   kludge to fix it in the first case.
    18: - rambo3a: has a lot of unmapped writes in the VCU area (log up to end of
    19:   round 2) [viofight also does a few]
    20: - The eprom games could have a single io handler if it's confirmed all
    21:   3 use a special 4 player I/O chip. Puzzle Bobble and qzshowby use TC0640FIO
    22: - can the text layer scroll? (hitice: glass walls at beginning of match, also check when the
    23:   screen wiggles after the puck hits the wall shortly into the first round of attract mode)
    24: - sprites are not in perfect sync with the background. Check ashura, they are almost
    25:   tight during gameplay but completely off in attract mode.
    26: 
    27: The Taito B system is a fairly flexible hardware platform. It supports 4
    28: separate layers of graphics - one 64x64 tiled scrolling background plane
    29: of 16x16 tiles, a similar foreground plane, a sprite plane capable of sprite
    30: zooming and 'pageable' text plane of 8x8 tiles.
    31: 
    32: Sound is handled by a Z80 with a YM2610 or YM2610B or YM2203's connected
    33: to it. Different sound chips - depending on game.
    34: 
    35: The memory map for each of the games is similar but not identical.
    36: 
    37: 
    38: Memory map for Rastan Saga 2 / Nastar / Nastar Warrior :
    39: 
    40: CPU 1 : 68000, uses irqs 2 & 4. One of the IRQs just sets a flag which is
    41: checked in the other IRQ routine. Could be timed to vblank...
    42: 
    43:   0x000000 - 0x07ffff : ROM
    44:   0x200000 - 0x201fff : palette RAM, 4096 total colors (0x1000 words)
    45:   0x400000 - 0x403fff : 64x64 foreground layer (offsets 0x0000-0x1fff tile codes; offsets 0x2000-0x3fff tile attributes)
    46:   0x404000 - 0x407fff : 64x64 background layer (offsets 0x0000-0x1fff tile codes; offsets 0x2000-0x3fff tile attributes)
    47:   0x408000 - 0x408fff : 64x64 text layer
    48:   0x410000 - 0x41197f : ??k of sprite RAM (this is the range that Rastan Saga II tests at startup time)
    49:   0x413800 - 0x413bff : foreground (line/screen) scroll RAM
    50:   0x413c00 - 0x413fff : background (line/screen) scroll RAM
    51: 
    52:   0x600000 - 0x607fff : 32k of CPU RAM
    53:   0x800000 - 0x800003 : communication with sound CPU via TC0140SYT
    54:   0xa00000 - 0xa0000f : input ports and dipswitches
    55: 
    56: 
    57: Notes:
    58:  Master of Weapon has secret command to select level:
    59:  (sequence is the same as in Metal Black):
    60:  - boot machine with service switch pressed
    61:  - message appears: "SERVICE SWITCH ERROR"
    62:  - press 1p start, 1p start, 1p start, service switch, 1p start
    63:  - message appears: "SELECT BY DOWN SW"
    64:  - select level with joy down/up
    65:  - press 1p start button
    66: 
    67: Other games that have this feature:
    68:  Rastan Saga 2
    69:  Crime City
    70:  Violence Fight
    71:  Rambo 3
    72: 
    73: 
    74: 
    75: List of known B-System games:
    76: 
    77: 	Rastan Saga II					(YM2610 sound)
    78: 	Ashura Blaster					(YM2610 sound)
    79: 	Crime City						(YM2610 sound)
    80: 	Rambo 3 (two different versions)(YM2610 sound)
    81: 	Tetris							(YM2610 sound)
    82: 	Space Invaders DX				(YM2610 sound, MB87078 - electronic volume control)
    83: 	Silent Dragon					(YM2610 sound)
    84: 	Sel Feena						(YM2610 sound)
    85: 	Ryujin							(YM2610 sound)
    86: 
    87: 	Violence Fight					(YM2203 sound, 2xMSM6295 )
    88: 	Hit The Ice						(YM2203 sound, 2xMSM6295 )
    89: 	Master of Weapons				(YM2203 sound)
    90: 
    91: 	Quiz Sekai wa SHOW by shobai	(YM2610-B sound, MB87078 - electronic volume control)
    92: 	Puzzle Bobble					(YM2610-B sound, MB87078 - electronic volume control)
    93: 	Sonic Blast Man					(YM2610-B sound)
    94: 
    95: ***************************************************************************/
    96: 
    97: #include "driver.h" 
    98: #include "cpu/m68000/m68000.h" 
    99: #include "vidhrdw/generic.h" 
   100: #include "vidhrdw/taitoic.h" 
   101: #include "machine/eeprom.h" 
   102: #include "machine/mb87078.h" 
   103: #include "sndhrdw/taitosnd.h" 
   104: 
   105: extern data16_t *taitob_scroll;
   106: extern data16_t *TC0180VCU_ram;
   107: extern data16_t *taitob_spriteram;
   108: extern data16_t *taitob_pixelram;
   109: 
   110: 
   111: VIDEO_START( taitob_color_order0 );
   112: VIDEO_START( taitob_color_order1 );
   113: VIDEO_START( taitob_color_order2 );
   114: VIDEO_START( hitice );
   115: VIDEO_EOF( taitob );
   116: 
   117: VIDEO_UPDATE( taitob );
   118: 
   119: WRITE16_HANDLER( TC0180VCU_word_w );
   120: READ16_HANDLER ( TC0180VCU_word_r );
   121: 
   122: READ16_HANDLER( TC0180VCU_framebuffer_word_r );
   123: WRITE16_HANDLER( TC0180VCU_framebuffer_word_w );
   124: 
   125: WRITE16_HANDLER( taitob_v_control_w );
   126: READ16_HANDLER ( taitob_v_control_r );
   127: 
   128: WRITE16_HANDLER( hitice_pixelram_w );
   129: WRITE16_HANDLER( hitice_pixel_scroll_w );
   130: 
   131: static WRITE_HANDLER( bankswitch_w )
   132: {
   133: 	unsigned char *RAM = memory_region(REGION_CPU2);
   134: 	int banknum = (data - 1) & 3;
   135: 
   136: 	cpu_setbank (1, &RAM [0x10000 + (banknum * 0x4000)]);
   137: }
   138: 
   139: 
   140: 
   141: void rsaga2_interrupt2(int x)
   142: {
   143: 	cpu_set_irq_line(0,2,HOLD_LINE);
   144: }
   145: 
   146: static INTERRUPT_GEN( rastansaga2_interrupt )
   147: {
   148: 	timer_set(TIME_IN_CYCLES(5000,0),0,rsaga2_interrupt2);
   149: 	cpu_set_irq_line(0, 4, HOLD_LINE);
   150: }
   151: 
   152: 
   153: void crimec_interrupt3(int x)
   154: {
   155: 	cpu_set_irq_line(0,3,HOLD_LINE);
   156: }
   157: 
   158: static INTERRUPT_GEN( crimec_interrupt )
   159: {
   160: 	timer_set(TIME_IN_CYCLES(5000,0),0,crimec_interrupt3);
   161: 	cpu_set_irq_line(0, 5, HOLD_LINE);
   162: }
   163: 
   164: 
   165: void hitice_interrupt6(int x)
   166: {
   167: 	cpu_set_irq_line(0,6,HOLD_LINE);
   168: }
   169: 
   170: static INTERRUPT_GEN( hitice_interrupt )
   171: {
   172: 	timer_set(TIME_IN_CYCLES(5000,0),0,hitice_interrupt6);
   173: 	cpu_set_irq_line(0, 4, HOLD_LINE);
   174: }
   175: 
   176: 
   177: void rambo3_interrupt1(int x)
   178: {
   179: 	cpu_set_irq_line(0,1,HOLD_LINE);
   180: }
   181: 
   182: static INTERRUPT_GEN( rambo3_interrupt )
   183: {
   184: 	timer_set(TIME_IN_CYCLES(5000,0),0,rambo3_interrupt1);
   185: 	cpu_set_irq_line(0, 6, HOLD_LINE);
   186: }
   187: 
   188: 
   189: void pbobble_interrupt5(int x)
   190: {
   191: 	cpu_set_irq_line(0,5,HOLD_LINE);
   192: }
   193: 
   194: static INTERRUPT_GEN( pbobble_interrupt )
   195: {
   196: 	timer_set(TIME_IN_CYCLES(5000,0),0,pbobble_interrupt5);
   197: 	cpu_set_irq_line(0, 3, HOLD_LINE);
   198: }
   199: 
   200: void viofight_interrupt1(int x)
   201: {
   202: 	cpu_set_irq_line(0,1,HOLD_LINE);
   203: }
   204: 
   205: static INTERRUPT_GEN( viofight_interrupt )
   206: {
   207: 	timer_set(TIME_IN_CYCLES(5000,0),0,viofight_interrupt1);
   208: 	cpu_set_irq_line(0, 4, HOLD_LINE);
   209: }
   210: 
   211: void masterw_interrupt4(int x)
   212: {
   213: 	cpu_set_irq_line(0,4,HOLD_LINE);
   214: }
   215: 
   216: static INTERRUPT_GEN( masterw_interrupt )
   217: {
   218: 	timer_set(TIME_IN_CYCLES(5000,0),0,masterw_interrupt4);
   219: 	cpu_set_irq_line(0, 5, HOLD_LINE);
   220: }
   221: 
   222: void silentd_interrupt6(int x)
   223: {
   224: 	cpu_set_irq_line(0,6,HOLD_LINE);
   225: }
   226: 
   227: static INTERRUPT_GEN( silentd_interrupt )
   228: {
   229: 	timer_set(TIME_IN_CYCLES(5000,0),0,silentd_interrupt6);
   230: 	cpu_set_irq_line(0, 4, HOLD_LINE);
   231: }
   232: 
   233: void selfeena_interrupt4(int x)
   234: {
   235: 	cpu_set_irq_line(0,4,HOLD_LINE);
   236: }
   237: 
   238: static INTERRUPT_GEN( selfeena_interrupt )
   239: {
   240: 	timer_set(TIME_IN_CYCLES(5000,0),0,selfeena_interrupt4);
   241: 	cpu_set_irq_line(0, 6, HOLD_LINE);
   242: }
   243: 
   244: void sbm_interrupt5(int x)//4
   245: {
   246: 	cpu_set_irq_line(0,5,HOLD_LINE);
   247: }
   248: 
   249: static INTERRUPT_GEN( sbm_interrupt )//5
   250: {
   251: 	timer_set(TIME_IN_CYCLES(10000,0),0,sbm_interrupt5);
   252: 	cpu_set_irq_line(0, 4, HOLD_LINE);
   253: }
   254: 
   255: 
   256: 
   257: static READ16_HANDLER( tracky1_hi_r )
   258: {
   259: 	return input_port_5_word_r(0,0);
   260: }
   261: static READ16_HANDLER( tracky1_lo_r )
   262: {
   263: 	return (input_port_5_word_r(0,0) & 0xff) <<8;
   264: }
   265: static READ16_HANDLER( trackx1_hi_r )
   266: {
   267: 	return input_port_6_word_r(0,0);
   268: }
   269: static READ16_HANDLER( trackx1_lo_r )
   270: {
   271: 	return (input_port_6_word_r(0,0) & 0xff) <<8;
   272: }
   273: static READ16_HANDLER( tracky2_hi_r )
   274: {
   275: 	return input_port_7_word_r(0,0);
   276: }
   277: static READ16_HANDLER( tracky2_lo_r )
   278: {
   279: 	return (input_port_7_word_r(0,0) & 0xff) <<8;
   280: }
   281: static READ16_HANDLER( trackx2_hi_r )
   282: {
   283: 	return input_port_8_word_r(0,0);
   284: }
   285: static READ16_HANDLER( trackx2_lo_r )
   286: {
   287: 	return (input_port_8_word_r(0,0) & 0xff) <<8;
   288: }
   289: 
   290: 
   291: static WRITE16_HANDLER( gain_control_w )
   292: {
   293: 	if (ACCESSING_MSB)
   294: 	{
   295: 		if (offset==0)
   296: 		{
   297: 			MB87078_data_w(0, data>>8, 0);
   298:             //logerror("MB87078 dsel=0 data=%4x\n",data);
   299: 		}
   300: 		else
   301: 		{
   302: 			MB87078_data_w(0, data>>8, 1);
   303:             //logerror("MB87078 dsel=1 data=%4x\n",data);
   304: 		}
   305: 	}
   306: }
   307: 
   308: /***************************************************************************
   309: 
   310:   Puzzle Bobble, Qzshowby, Space DX   EEPROM
   311: 
   312: ***************************************************************************/
   313: 
   314: static struct EEPROM_interface eeprom_interface =
   315: {
   316: 	6,				/* address bits */
   317: 	16,				/* data bits */
   318: 	"0110",			/*  read command */
   319: 	"0101",			/* write command */
   320: 	"0111",			/* erase command */
   321: 	"0100000000",	/*  lock command */
   322: 	"0100110000" 	/* unlock command*/
   323: };
   324: 
   325: static NVRAM_HANDLER( taito_b )
   326: {
   327: 	if (read_or_write)
   328: 		EEPROM_save(file);
   329: 	else
   330: 	{
   331: 		EEPROM_init(&eeprom_interface);
   332: 		if (file)
   333: 		{
   334: 			EEPROM_load(file);
   335: 		}
   336: 	}
   337: }
   338: 
   339: static READ16_HANDLER( eeprom_r )
   340: {
   341: 	int res;
   342: 
   343: 	res = (EEPROM_read_bit() & 0x01);
   344: 	res |= input_port_1_word_r(0,0) & 0xfe; /* coin inputs */
   345: 
   346: 	return res;
   347: }
   348: 
   349: static data16_t eep_latch = 0;
   350: 
   351: static READ16_HANDLER( eep_latch_r )
   352: {
   353: 	return eep_latch;
   354: }
   355: 
   356: static WRITE16_HANDLER( eeprom_w )
   357: {
   358: 	COMBINE_DATA(&eep_latch);
   359: 
   360:     if (ACCESSING_MSB)
   361:     {
   362: 		data >>= 8; /*M68k byte write*/
   363: 
   364: 		/* bit 0 - Unused */
   365: 		/* bit 1 - Unused */
   366: 		/* bit 2 - Eeprom data  */
   367: 		/* bit 3 - Eeprom clock */
   368: 		/* bit 4 - Eeprom reset (active low) */
   369: 		/* bit 5 - Unused */
   370: 		/* bit 6 - Unused */
   371: 		/* bit 7 - set all the time (Chip Select?) */
   372: 
   373: 		/* EEPROM */
   374: 		EEPROM_write_bit(data & 0x04);
   375: 		EEPROM_set_clock_line((data & 0x08) ? ASSERT_LINE : CLEAR_LINE);
   376: 		EEPROM_set_cs_line((data & 0x10) ? CLEAR_LINE : ASSERT_LINE);
   377: 	}
   378: }
   379: 
   380: /*************************************************************************
   381:    The input area for the three eprom games ($500000-2f) may well be
   382:    addressing a single i/o chip with 4 player and coin inputs as
   383:    standard.
   384: 
   385:    Does anyone have custom chip numbers from the Space Invaders DX ?
   386:    (qzshowby and pbobble do use TC0640FIO).
   387: 
   388: *************************************************************************/
   389: 
   390: static UINT16 coin_word=0;
   391: 
   392: static READ16_HANDLER( player_34_coin_ctrl_r )
   393: {
   394: 	return coin_word;
   395: }
   396: 
   397: static WRITE16_HANDLER( player_34_coin_ctrl_w )
   398: {
   399: 	COMBINE_DATA(&coin_word);
   400: 
   401: 	/* coin counters and lockout */
   402: 	coin_lockout_w(2,~data & 0x0100);
   403: 	coin_lockout_w(3,~data & 0x0200);
   404: 	coin_counter_w(2, data & 0x0400);
   405: 	coin_counter_w(3, data & 0x0800);
   406: }
   407: 
   408: static READ16_HANDLER( pbobble_input_bypass_r )
   409: {
   410: 	switch (offset)
   411: 	{
   412: 		case 0x01:
   413: 			return eeprom_r(0,mem_mask) << 8;
   414: 
   415: 		default:
   416: 			return TC0640FIO_r( offset ) << 8;
   417: 	}
   418: }
   419: 
   420: 
   421: 
   422: #define TC0180VCU_MEMR( ADDR )											\ 
   423: 	{ ADDR+0x00000, ADDR+0x0ffff, TC0180VCU_word_r },					\
   424: 	{ ADDR+0x10000, ADDR+0x1197f, MRA16_RAM },							\
   425: 	{ ADDR+0x11980, ADDR+0x137ff, MRA16_RAM },							\
   426: 	{ ADDR+0x13800, ADDR+0x13fff, MRA16_RAM },							\
   427: 	{ ADDR+0x18000, ADDR+0x1801f, taitob_v_control_r },					\
   428: 	{ ADDR+0x40000, ADDR+0x7ffff, TC0180VCU_framebuffer_word_r },
   429: 
   430: #define TC0180VCU_MEMW( ADDR )											\ 
   431: 	{ ADDR+0x00000, ADDR+0x0ffff, TC0180VCU_word_w, &TC0180VCU_ram },	\
   432: 	{ ADDR+0x10000, ADDR+0x1197f, MWA16_RAM, &taitob_spriteram },		\
   433: 	{ ADDR+0x11980, ADDR+0x137ff, MWA16_RAM },							\
   434: 	{ ADDR+0x13800, ADDR+0x13fff, MWA16_RAM, &taitob_scroll },			\
   435: 	{ ADDR+0x18000, ADDR+0x1801f, taitob_v_control_w },					\
   436: 	{ ADDR+0x40000, ADDR+0x7ffff, TC0180VCU_framebuffer_word_w },
   437: 
   438: 
   439: static MEMORY_READ16_START( rastsag2_readmem )
   440: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   441: 	{ 0x600000, 0x607fff, MRA16_RAM },			/* Main RAM */
   442: 
   443: 	{ 0x200000, 0x201fff, MRA16_RAM },			/* palette */
   444: 
   445: 	TC0180VCU_MEMR( 0x400000 )
   446: 
   447: 	{ 0xa00000, 0xa0000f, TC0220IOC_halfword_byteswap_r },
   448: 
   449: 	{ 0x800000, 0x800001, MRA16_NOP },
   450: 	{ 0x800002, 0x800003, taitosound_comm16_msb_r },
   451: MEMORY_END
   452: 
   453: static MEMORY_WRITE16_START( rastsag2_writemem )
   454: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   455: 	{ 0x600000, 0x607fff, MWA16_RAM },	/* Main RAM */ /*ashura up to 603fff only*/
   456: 
   457: 	{ 0x200000, 0x201fff, paletteram16_RRRRGGGGBBBBxxxx_word_w, &paletteram16 },
   458: 
   459: 	TC0180VCU_MEMW( 0x400000 )
   460: 
   461: 	{ 0xa00000, 0xa0000f, TC0220IOC_halfword_byteswap_w },
   462: 
   463: 	{ 0x800000, 0x800001, taitosound_port16_msb_w },
   464: 	{ 0x800002, 0x800003, taitosound_comm16_msb_w },
   465: MEMORY_END
   466: 
   467: 
   468: static MEMORY_READ16_START( crimec_readmem )
   469: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   470: 	{ 0xa00000, 0xa0ffff, MRA16_RAM },	/* Main RAM */
   471: 
   472: 	{ 0x800000, 0x801fff, MRA16_RAM },
   473: 
   474: 	TC0180VCU_MEMR( 0x400000 )
   475: 
   476: 	{ 0x200000, 0x20000f, TC0220IOC_halfword_byteswap_r },
   477: 
   478: 	{ 0x600000, 0x600001, MRA16_NOP },
   479: 	{ 0x600002, 0x600003, taitosound_comm16_msb_r },
   480: MEMORY_END
   481: 
   482: static MEMORY_WRITE16_START( crimec_writemem )
   483: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   484: 	{ 0xa00000, 0xa0ffff, MWA16_RAM },	/* Main RAM */
   485: 
   486: 	{ 0x800000, 0x801fff, paletteram16_RRRRGGGGBBBBxxxx_word_w, &paletteram16 },
   487: 
   488: 	TC0180VCU_MEMW( 0x400000 )
   489: 
   490: 	{ 0x200000, 0x20000f, TC0220IOC_halfword_byteswap_w },
   491: 
   492: 	{ 0x600000, 0x600001, taitosound_port16_msb_w },
   493: 	{ 0x600002, 0x600003, taitosound_comm16_msb_w },
   494: MEMORY_END
   495: 
   496: 
   497: static MEMORY_READ16_START( tetrist_readmem )
   498: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   499: 	{ 0x800000, 0x807fff, MRA16_RAM },	/* Main RAM */
   500: 
   501: 	{ 0xa00000, 0xa01fff, MRA16_RAM }, /*palette*/
   502: 
   503: 	TC0180VCU_MEMR( 0x400000 )
   504: 
   505: 	{ 0x600000, 0x60000f, TC0220IOC_halfword_byteswap_r },
   506: 
   507: 	{ 0x200000, 0x200001, MRA16_NOP },
   508: 	{ 0x200002, 0x200003, taitosound_comm16_msb_r },
   509: MEMORY_END
   510: 
   511: static MEMORY_WRITE16_START( tetrist_writemem )
   512: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   513: 	{ 0x800000, 0x807fff, MWA16_RAM },	/* Main RAM */
   514: 
   515: 	{ 0xa00000, 0xa01fff, paletteram16_RRRRGGGGBBBBRGBx_word_w, &paletteram16 },
   516: 
   517: 	TC0180VCU_MEMW( 0x400000 )
   518: 
   519: 	{ 0x600000, 0x60000f, TC0220IOC_halfword_byteswap_w },
   520: 
   521: 	{ 0x200000, 0x200001, taitosound_port16_msb_w },
   522: 	{ 0x200002, 0x200003, taitosound_comm16_msb_w },
   523: MEMORY_END
   524: 
   525: 
   526: static MEMORY_READ16_START( hitice_readmem )
   527: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   528: 	{ 0x800000, 0x803fff, MRA16_RAM },	/* Main RAM */
   529: 
   530: 	{ 0xa00000, 0xa01fff, MRA16_RAM },
   531: 
   532: 	TC0180VCU_MEMR( 0x400000 )
   533: 
   534: 	{ 0x600000, 0x60000f, TC0220IOC_halfword_byteswap_r },
   535: 	{ 0x610000, 0x610001, input_port_5_word_r },		/* player 3,4 inputs*/
   536: 
   537: 	{ 0x700000, 0x700001, MRA16_NOP },
   538: 	{ 0x700002, 0x700003, taitosound_comm16_msb_r },
   539: 
   540: 	{ 0xb00000, 0xb7ffff, MRA16_RAM },
   541: MEMORY_END
   542: 
   543: static MEMORY_WRITE16_START( hitice_writemem )
   544: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   545: 	{ 0x800000, 0x803fff, MWA16_RAM },	/* Main RAM */
   546: 
   547: 	{ 0xa00000, 0xa01fff, paletteram16_RRRRGGGGBBBBxxxx_word_w, &paletteram16 },
   548: 
   549: 	TC0180VCU_MEMW( 0x400000 )
   550: 
   551: 	{ 0x600000, 0x60000f, TC0220IOC_halfword_byteswap_w },
   552: 
   553: 	{ 0x700000, 0x700001, taitosound_port16_msb_w },
   554: 	{ 0x700002, 0x700003, taitosound_comm16_msb_w },
   555: 
   556: 	{ 0xb00000, 0xb7ffff, hitice_pixelram_w, &taitob_pixelram },
   557: //	{ 0xbffff0, 0xbffff1, ???
   558: 	{ 0xbffff2, 0xbffff5, hitice_pixel_scroll_w },
   559: //	{ 0xbffffa, 0xbffffb, ???
   560: MEMORY_END
   561: 
   562: 
   563: static MEMORY_READ16_START( rambo3_readmem )
   564: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   565: 	{ 0x800000, 0x803fff, MRA16_RAM },	/* Main RAM */
   566: 
   567: 	{ 0xa00000, 0xa01fff, MRA16_RAM },
   568: 
   569: 	TC0180VCU_MEMR( 0x400000 )
   570: 
   571: 	{ 0x600000, 0x60000f, TC0220IOC_halfword_byteswap_r },
   572: 	{ 0x600010, 0x600011, tracky1_lo_r }, /*player 1*/
   573: 	{ 0x600012, 0x600013, tracky1_hi_r },
   574: 	{ 0x600014, 0x600015, trackx1_lo_r },
   575: 	{ 0x600016, 0x600017, trackx1_hi_r },
   576: 	{ 0x600018, 0x600019, tracky2_lo_r }, /*player 2*/
   577: 	{ 0x60001a, 0x60001b, tracky2_hi_r },
   578: 	{ 0x60001c, 0x60001d, trackx2_lo_r },
   579: 	{ 0x60001e, 0x60001f, trackx2_hi_r },
   580: 
   581: 	{ 0x200000, 0x200001, MRA16_NOP },
   582: 	{ 0x200002, 0x200003, taitosound_comm16_msb_r },
   583: MEMORY_END
   584: 
   585: static MEMORY_WRITE16_START( rambo3_writemem )
   586: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   587: 	{ 0x800000, 0x803fff, MWA16_RAM },	/* Main RAM */
   588: 
   589: 	{ 0xa00000, 0xa01fff, paletteram16_RRRRGGGGBBBBxxxx_word_w, &paletteram16 },
   590: 
   591: 	TC0180VCU_MEMW( 0x400000 )
   592: 
   593: 	{ 0x600000, 0x60000f, TC0220IOC_halfword_byteswap_w },
   594: 
   595: 	{ 0x200000, 0x200001, taitosound_port16_msb_w },
   596: 	{ 0x200002, 0x200003, taitosound_comm16_msb_w },
   597: MEMORY_END
   598: 
   599: 
   600: static MEMORY_READ16_START( pbobble_readmem )
   601: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   602: 	{ 0x900000, 0x90ffff, MRA16_RAM },	/* Main RAM */
   603: 
   604: 	{ 0x800000, 0x801fff, MRA16_RAM },
   605: 
   606: 	TC0180VCU_MEMR( 0x400000 )
   607: 
   608: 	{ 0x500000, 0x50000f, pbobble_input_bypass_r },
   609: 	{ 0x500024, 0x500025, input_port_5_word_r },	/* shown in service mode, game omits to read it */
   610: 	{ 0x500026, 0x500027, eep_latch_r },	/* not read by this game */
   611: 	{ 0x50002e, 0x50002f, input_port_6_word_r },	/* shown in service mode, game omits to read it */
   612: 
   613: 	{ 0x700000, 0x700001, MRA16_NOP },
   614: 	{ 0x700002, 0x700003, taitosound_comm16_msb_r },
   615: MEMORY_END
   616: 
   617: static MEMORY_WRITE16_START( pbobble_writemem )
   618: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   619: 	{ 0x900000, 0x90ffff, MWA16_RAM },	/* Main RAM */
   620: 
   621: 	{ 0x800000, 0x801fff, paletteram16_RRRRGGGGBBBBRGBx_word_w, &paletteram16 },
   622: 
   623: 	TC0180VCU_MEMW( 0x400000 )
   624: 
   625: 	{ 0x500000, 0x50000f, TC0640FIO_halfword_byteswap_w },
   626: 	{ 0x500026, 0x500027, eeprom_w },
   627: 	{ 0x500028, 0x500029, player_34_coin_ctrl_w },	/* simply locks coins 3&4 out */
   628: 
   629: 	{ 0x700000, 0x700001, taitosound_port16_msb_w },
   630: 	{ 0x700002, 0x700003, taitosound_comm16_msb_w },
   631: 	{ 0x600000, 0x600003, gain_control_w },
   632: MEMORY_END
   633: 
   634: static MEMORY_READ16_START( spacedx_readmem )
   635: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   636: 	{ 0x900000, 0x90ffff, MRA16_RAM },	/* Main RAM */
   637: 
   638: 	{ 0x800000, 0x801fff, MRA16_RAM },
   639: 
   640: 	TC0180VCU_MEMR( 0x400000 )
   641: 
   642: 	{ 0x500000, 0x50000f, pbobble_input_bypass_r },
   643: 	{ 0x500024, 0x500025, input_port_5_word_r },
   644: 	{ 0x500026, 0x500027, eep_latch_r },
   645: 	{ 0x50002e, 0x50002f, input_port_6_word_r },
   646: 
   647: 	{ 0x700000, 0x700001, MRA16_NOP },
   648: 	{ 0x700002, 0x700003, taitosound_comm16_msb_r },
   649: MEMORY_END
   650: 
   651: static MEMORY_WRITE16_START( spacedx_writemem )
   652: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   653: 	{ 0x900000, 0x90ffff, MWA16_RAM },	/* Main RAM */
   654: 
   655: 	{ 0x800000, 0x801fff, paletteram16_RRRRGGGGBBBBRGBx_word_w, &paletteram16 },
   656: 
   657: 	TC0180VCU_MEMW( 0x400000 )
   658: 
   659: 	{ 0x500000, 0x50000f, TC0640FIO_halfword_byteswap_w },
   660: 	{ 0x500026, 0x500027, eeprom_w },
   661: 	{ 0x500028, 0x500029, player_34_coin_ctrl_w },	/* simply locks coins 3&4 out */
   662: 
   663: 	{ 0x700000, 0x700001, taitosound_port16_msb_w },
   664: 	{ 0x700002, 0x700003, taitosound_comm16_msb_w },
   665: 	{ 0x600000, 0x600003, gain_control_w },
   666: MEMORY_END
   667: 
   668: static MEMORY_READ16_START( spacedxo_readmem )
   669: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   670: 	{ 0x400000, 0x40ffff, MRA16_RAM },	/* Main RAM */
   671: 
   672: 	{ 0x300000, 0x303fff, MRA16_RAM },
   673: 
   674: 	TC0180VCU_MEMR( 0x500000 )
   675: 
   676: 	{ 0x200000, 0x20000f, TC0220IOC_halfword_r },
   677: 	{ 0x210000, 0x210001, input_port_5_word_r },
   678: 	{ 0x220000, 0x220001, input_port_6_word_r },
   679: 	{ 0x230000, 0x230001, input_port_7_word_r },
   680: 
   681: 	{ 0x100000, 0x100001, MRA16_NOP },
   682: 	{ 0x100002, 0x100003, taitosound_comm16_msb_r },
   683: MEMORY_END
   684: 
   685: static MEMORY_WRITE16_START( spacedxo_writemem )
   686: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   687: 	{ 0x400000, 0x40ffff, MWA16_RAM },	/* Main RAM */
   688: 
   689: 	{ 0x300000, 0x301fff, paletteram16_RRRRGGGGBBBBRGBx_word_w, &paletteram16 },
   690: 
   691: 	TC0180VCU_MEMW( 0x500000 )
   692: 
   693: 	{ 0x200000, 0x20000f, TC0220IOC_halfword_w },
   694: 
   695: 	{ 0x100000, 0x100001, taitosound_port16_msb_w },
   696: 	{ 0x100002, 0x100003, taitosound_comm16_msb_w },
   697: MEMORY_END
   698: 
   699: static MEMORY_READ16_START( qzshowby_readmem )
   700: 	{ 0x000000, 0x0fffff, MRA16_ROM },
   701: 	{ 0x900000, 0x90ffff, MRA16_RAM },	/* Main RAM */
   702: 
   703: 	{ 0x800000, 0x801fff, MRA16_RAM },
   704: 
   705: 	TC0180VCU_MEMR( 0x400000 )
   706: 
   707: 	{ 0x200000, 0x20000f, pbobble_input_bypass_r },
   708: 	{ 0x200024, 0x200025, input_port_5_word_r },	/* player 3,4 start */
   709: 	{ 0x200028, 0x200029, player_34_coin_ctrl_r },
   710: 	{ 0x20002e, 0x20002f, input_port_6_word_r },	/* player 3,4 buttons */
   711: 
   712: 	{ 0x600000, 0x600001, MRA16_NOP },
   713: 	{ 0x600002, 0x600003, taitosound_comm16_msb_r },
   714: MEMORY_END
   715: 
   716: static MEMORY_WRITE16_START( qzshowby_writemem )
   717: 	{ 0x000000, 0x0fffff, MWA16_ROM },
   718: 	{ 0x900000, 0x90ffff, MWA16_RAM },	/* Main RAM */
   719: 
   720: 	{ 0x800000, 0x801fff, paletteram16_RRRRGGGGBBBBRGBx_word_w, &paletteram16 },
   721: 
   722: 	TC0180VCU_MEMW( 0x400000 )
   723: 
   724: 	{ 0x200000, 0x20000f, TC0640FIO_halfword_byteswap_w },
   725: 	{ 0x200026, 0x200027, eeprom_w },
   726: 	{ 0x200028, 0x200029, player_34_coin_ctrl_w },
   727: 
   728: 	{ 0x600000, 0x600001, taitosound_port16_msb_w },
   729: 	{ 0x600002, 0x600003, taitosound_comm16_msb_w },
   730: 	{ 0x700000, 0x700003, gain_control_w },
   731: MEMORY_END
   732: 
   733: 
   734: static MEMORY_READ16_START( viofight_readmem )
   735: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   736: 	{ 0xa00000, 0xa03fff, MRA16_RAM },	/* Main RAM */
   737: 
   738: 	{ 0x600000, 0x601fff, MRA16_RAM },
   739: 
   740: 	TC0180VCU_MEMR( 0x400000 )
   741: 
   742: 	{ 0x800000, 0x80000f, TC0220IOC_halfword_byteswap_r },
   743: 
   744: 	{ 0x200000, 0x200001, MRA16_NOP },
   745: 	{ 0x200002, 0x200003, taitosound_comm16_msb_r },
   746: MEMORY_END
   747: 
   748: static MEMORY_WRITE16_START( viofight_writemem )
   749: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   750: 	{ 0xa00000, 0xa03fff, MWA16_RAM },	/* Main RAM */
   751: 
   752: 	{ 0x600000, 0x601fff, paletteram16_RRRRGGGGBBBBxxxx_word_w, &paletteram16 },
   753: 
   754: 	TC0180VCU_MEMW( 0x400000 )
   755: 
   756: 	{ 0x800000, 0x80000f, TC0220IOC_halfword_byteswap_w },
   757: 
   758: 	{ 0x200000, 0x200001, taitosound_port16_msb_w },
   759: 	{ 0x200002, 0x200003, taitosound_comm16_msb_w },
   760: MEMORY_END
   761: 
   762: 
   763: static MEMORY_READ16_START( masterw_readmem )
   764: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   765: 	{ 0x200000, 0x203fff, MRA16_RAM },			/* Main RAM */
   766: 
   767: 	{ 0x600000, 0x601fff, MRA16_RAM },	/*palette*/
   768: 
   769: 	TC0180VCU_MEMR( 0x400000 )
   770: 
   771: 	{ 0x800000, 0x800001, TC0220IOC_halfword_byteswap_portreg_r },	/* DSW A/B, player inputs*/
   772: 	{ 0x800002, 0x800003, TC0220IOC_halfword_byteswap_port_r /*watchdog_reset16_r*/ },
   773: 
   774: 	{ 0xa00000, 0xa00001, MRA16_NOP },
   775: 	{ 0xa00002, 0xa00003, taitosound_comm16_msb_r },
   776: MEMORY_END
   777: 
   778: static MEMORY_WRITE16_START( masterw_writemem )
   779: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   780: 	{ 0x200000, 0x203fff, MWA16_RAM },	/* Main RAM */
   781: 
   782: 	{ 0x600000, 0x601fff, paletteram16_RRRRGGGGBBBBxxxx_word_w, &paletteram16 },
   783: 
   784: 	TC0180VCU_MEMW( 0x400000 )
   785: 
   786: 	{ 0x800000, 0x800001, TC0220IOC_halfword_byteswap_portreg_w },
   787: 	{ 0x800002, 0x800003, TC0220IOC_halfword_byteswap_port_w },
   788: 
   789: 	{ 0xa00000, 0xa00001, taitosound_port16_msb_w },
   790: 	{ 0xa00002, 0xa00003, taitosound_comm16_msb_w },
   791: MEMORY_END
   792: 
   793: 
   794: static MEMORY_READ16_START( silentd_readmem )
   795: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   796: 	{ 0x400000, 0x403fff, MRA16_RAM },	/* Main RAM */
   797: 
   798: 	{ 0x300000, 0x301fff, MRA16_RAM },
   799: 
   800: 	TC0180VCU_MEMR( 0x500000 )
   801: 
   802: 	{ 0x200000, 0x20000f, TC0220IOC_halfword_r },
   803: 	{ 0x210000, 0x210001, input_port_5_word_r },
   804: 	{ 0x220000, 0x220001, input_port_6_word_r },
   805: 	{ 0x230000, 0x230001, input_port_7_word_r },
   806: //	{ 0x240000, 0x240001, MRA16_NOP },	/* read 4 times at init */
   807: 
   808: 	{ 0x100000, 0x100001, MRA16_NOP },
   809: 	{ 0x100002, 0x100003, taitosound_comm16_msb_r },
   810: //	{ 0x10001a, 0x10001b, MRA16_NOP },	// ??? read at $1e344
   811: //	{ 0x10001c, 0x10001d, MRA16_NOP },	// ??? read at $1e356
   812: MEMORY_END
   813: 
   814: static MEMORY_WRITE16_START( silentd_writemem )
   815: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   816: 	{ 0x400000, 0x403fff, MWA16_RAM },	/* Main RAM */
   817: 
   818: 	{ 0x300000, 0x301fff, paletteram16_RRRRGGGGBBBBRGBx_word_w, &paletteram16 },
   819: 
   820: 	TC0180VCU_MEMW( 0x500000 )
   821: 
   822: 	{ 0x200000, 0x20000f, TC0220IOC_halfword_w },
   823: 	{ 0x240000, 0x240001, MWA16_NOP }, // ???
   824: 
   825: 	{ 0x100000, 0x100001, taitosound_port16_msb_w },
   826: 	{ 0x100002, 0x100003, taitosound_comm16_msb_w },
   827: MEMORY_END
   828: 
   829: 
   830: static MEMORY_READ16_START( selfeena_readmem )
   831: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   832: 	{ 0x100000, 0x103fff, MRA16_RAM },	/* Main RAM */
   833: 
   834: 	{ 0x300000, 0x301fff, MRA16_RAM },
   835: 
   836: 	TC0180VCU_MEMR( 0x200000 )
   837: 
   838: 	{ 0x400000, 0x40000f, TC0220IOC_halfword_byteswap_r },
   839: 	{ 0x410000, 0x41000f, TC0220IOC_halfword_byteswap_r }, /* mirror address - seems to be only used for coin control */
   840: 
   841: 	{ 0x500000, 0x500001, MRA16_NOP },
   842: 	{ 0x500002, 0x500003, taitosound_comm16_msb_r },
   843: MEMORY_END
   844: 
   845: static MEMORY_WRITE16_START( selfeena_writemem )
   846: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   847: 	{ 0x100000, 0x103fff, MWA16_RAM },	/* Main RAM */
   848: 
   849: 	{ 0x300000, 0x301fff, paletteram16_RRRRGGGGBBBBRGBx_word_w, &paletteram16 },
   850: 
   851: 	TC0180VCU_MEMW( 0x200000 )
   852: 
   853: 	{ 0x400000, 0x40000f, TC0220IOC_halfword_byteswap_w },
   854: 	{ 0x410000, 0x41000f, TC0220IOC_halfword_byteswap_w }, /* mirror address - seems to be only used for coin control */
   855: 
   856: 	{ 0x500000, 0x500001, taitosound_port16_msb_w },
   857: 	{ 0x500002, 0x500003, taitosound_comm16_msb_w },
   858: MEMORY_END
   859: 
   860: 
   861: static MEMORY_READ16_START( sbm_readmem )
   862: 	{ 0x000000, 0x07ffff, MRA16_ROM },
   863: 	{ 0x100000, 0x10ffff, MRA16_RAM },	/* Main RAM */
   864: 
   865: 	{ 0x200000, 0x201fff, MRA16_RAM },
   866: 
   867: 	TC0180VCU_MEMR( 0x900000 )
   868: 
   869: 	{ 0x300000, 0x30000f, TC0510NIO_halfword_wordswap_r },
   870: 
   871: 	{ 0x320000, 0x320001, MRA16_NOP },
   872: 	{ 0x320002, 0x320003, taitosound_comm16_msb_r },
   873: MEMORY_END
   874: 
   875: static MEMORY_WRITE16_START( sbm_writemem )
   876: 	{ 0x000000, 0x07ffff, MWA16_ROM },
   877: 	{ 0x100000, 0x10ffff, MWA16_RAM },	/* Main RAM */
   878: 
   879: 	{ 0x200000, 0x201fff, paletteram16_RRRRGGGGBBBBxxxx_word_w, &paletteram16 },
   880: 
   881: 	TC0180VCU_MEMW( 0x900000 )
   882: 
   883: 	{ 0x300000, 0x30000f, TC0510NIO_halfword_wordswap_w },
   884: 
   885: 	{ 0x320000, 0x320001, taitosound_port16_msb_w },
   886: 	{ 0x320002, 0x320003, taitosound_comm16_msb_w },
   887: MEMORY_END
   888: 
   889: 
   890: 
   891: static MEMORY_READ_START( masterw_sound_readmem )
   892: 	{ 0x0000, 0x3fff, MRA_ROM },
   893: 	{ 0x4000, 0x7fff, MRA_BANK1 },
   894: 	{ 0x8000, 0x8fff, MRA_RAM },
   895: 	{ 0x9000, 0x9000, YM2203_status_port_0_r },
   896: 	{ 0xa001, 0xa001, taitosound_slave_comm_r },
   897: MEMORY_END
   898: 
   899: static MEMORY_WRITE_START( masterw_sound_writemem )
   900: 	{ 0x0000, 0x7fff, MWA_ROM },
   901: 	{ 0x8000, 0x8fff, MWA_RAM },
   902: 	{ 0x9000, 0x9000, YM2203_control_port_0_w },
   903: 	{ 0x9001, 0x9001, YM2203_write_port_0_w },
   904: 	{ 0xa000, 0xa000, taitosound_slave_port_w },
   905: 	{ 0xa001, 0xa001, taitosound_slave_comm_w },
   906: MEMORY_END
   907: 
   908: static MEMORY_READ_START( sound_readmem )
   909: 	{ 0x0000, 0x3fff, MRA_ROM },
   910: 	{ 0x4000, 0x7fff, MRA_BANK1 },
   911: 	{ 0xc000, 0xdfff, MRA_RAM },
   912: 	{ 0xe000, 0xe000, YM2610_status_port_0_A_r },
   913: 	{ 0xe001, 0xe001, YM2610_read_port_0_r },
   914: 	{ 0xe002, 0xe002, YM2610_status_port_0_B_r },
   915: 	{ 0xe200, 0xe200, MRA_NOP },
   916: 	{ 0xe201, 0xe201, taitosound_slave_comm_r },
   917: 	{ 0xea00, 0xea00, MRA_NOP },
   918: MEMORY_END
   919: 
   920: static MEMORY_WRITE_START( sound_writemem )
   921: 	{ 0x0000, 0x7fff, MWA_ROM },
   922: 	{ 0xc000, 0xdfff, MWA_RAM },
   923: 	{ 0xe000, 0xe000, YM2610_control_port_0_A_w },
   924: 	{ 0xe001, 0xe001, YM2610_data_port_0_A_w },
   925: 	{ 0xe002, 0xe002, YM2610_control_port_0_B_w },
   926: 	{ 0xe003, 0xe003, YM2610_data_port_0_B_w },
   927: 	{ 0xe200, 0xe200, taitosound_slave_port_w },
   928: 	{ 0xe201, 0xe201, taitosound_slave_comm_w },
   929: 	{ 0xe400, 0xe403, MWA_NOP }, /* pan */
   930: 	{ 0xe600, 0xe600, MWA_NOP }, /* ? */
   931: 	{ 0xee00, 0xee00, MWA_NOP }, /* ? */
   932: 	{ 0xf000, 0xf000, MWA_NOP }, /* ? */
   933: 	{ 0xf200, 0xf200, bankswitch_w },
   934: MEMORY_END
   935: 
   936: static MEMORY_READ_START( hitice_sound_readmem )
   937: 	{ 0x0000, 0x3fff, MRA_ROM },
   938: 	{ 0x4000, 0x7fff, MRA_BANK1 },
   939: 	{ 0x8000, 0x8fff, MRA_RAM },
   940: 	{ 0x9000, 0x9000, YM2203_status_port_0_r },
   941: 	{ 0xb000, 0xb000, OKIM6295_status_0_r },
   942: 	{ 0xa001, 0xa001, taitosound_slave_comm_r },
   943: MEMORY_END
   944: 
   945: static MEMORY_WRITE_START( hitice_sound_writemem )
   946: 	{ 0x0000, 0x7fff, MWA_ROM },
   947: 	{ 0x8000, 0x8fff, MWA_RAM },
   948: 	{ 0x9000, 0x9000, YM2203_control_port_0_w },
   949: 	{ 0x9001, 0x9001, YM2203_write_port_0_w },
   950: 	{ 0xb000, 0xb000, OKIM6295_data_0_w },
   951: 	{ 0xb001, 0xb001, OKIM6295_data_1_w },
   952: 	{ 0xa000, 0xa000, taitosound_slave_port_w },
   953: 	{ 0xa001, 0xa001, taitosound_slave_comm_w },
   954: MEMORY_END
   955: 
   956: 
   957: /***********************************************************
   958: 			 INPUT PORTS, DIPs
   959: ***********************************************************/
   960: 
   961: #define TAITO_COINAGE_JAPAN_8 \ 
   962: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) \
   963: 	PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) ) \
   964: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) ) \
   965: 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_3C ) ) \
   966: 	PORT_DIPSETTING(    0x20, DEF_STR( 1C_2C ) ) \
   967: 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coin_B ) ) \
   968: 	PORT_DIPSETTING(    0x40, DEF_STR( 2C_1C ) ) \
   969: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) ) \
   970: 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_3C ) ) \
   971: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
   972: 
   973: #define TAITO_COINAGE_WORLD_8 \ 
   974: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) \
   975: 	PORT_DIPSETTING(    0x00, DEF_STR( 4C_1C ) ) \
   976: 	PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) ) \
   977: 	PORT_DIPSETTING(    0x20, DEF_STR( 2C_1C ) ) \
   978: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) ) \
   979: 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coin_B ) ) \
   980: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_2C ) ) \
   981: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_3C ) ) \
   982: 	PORT_DIPSETTING(    0x40, DEF_STR( 1C_4C ) ) \
   983: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_6C ) )
   984: 
   985: #define TAITO_COINAGE_US_8 \ 
   986: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coinage ) ) \
   987: 	PORT_DIPSETTING(    0x00, DEF_STR( 4C_1C ) ) \
   988: 	PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) ) \
   989: 	PORT_DIPSETTING(    0x20, DEF_STR( 2C_1C ) ) \
   990: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) ) \
   991: 	PORT_DIPNAME( 0xc0, 0xc0, "Price to Continue" ) \
   992: 	PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) ) \
   993: 	PORT_DIPSETTING(    0x40, DEF_STR( 2C_1C ) ) \
   994: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_1C ) ) \
   995: 	PORT_DIPSETTING(    0xc0, "Same as Start" )
   996: 
   997: #define TAITO_COINAGE_JAPAN_NEW_8 \ 
   998: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) \
   999: 	PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) ) \
  1000: 	PORT_DIPSETTING(    0x10, DEF_STR( 2C_1C ) ) \
  1001: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) ) \
  1002: 	PORT_DIPSETTING(    0x20, DEF_STR( 1C_2C ) ) \
  1003: 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coin_B ) ) \
  1004: 	PORT_DIPSETTING(    0x00, DEF_STR( 3C_1C ) ) \
  1005: 	PORT_DIPSETTING(    0x40, DEF_STR( 2C_1C ) ) \
  1006: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) ) \
  1007: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
  1008: 
  1009: #define TAITO_DIFFICULTY_8 \ 
  1010: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) ) \
  1011: 	PORT_DIPSETTING(    0x02, "Easy" ) \
  1012: 	PORT_DIPSETTING(    0x03, "Medium" ) \
  1013: 	PORT_DIPSETTING(    0x01, "Hard" ) \
  1014: 	PORT_DIPSETTING(    0x00, "Hardest" )
  1015: 
  1016: 
  1017: /* Included only the bits that are common to all sets (viofight has 3 buttons) */
  1018: #define TAITO_B_PLAYERS_INPUT( player ) \ 
  1019: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | player ) \
  1020: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | player ) \
  1021: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | player ) \
  1022: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | player ) \
  1023: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | player ) \
  1024: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | player )
  1025: 
  1026: #define TAITO_B_SYSTEM_INPUT \ 
  1027: 	PORT_START \
  1028: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_TILT ) \
  1029: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 ) \
  1030: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_COIN1, 2 ) \
  1031: 	PORT_BIT_IMPULSE( 0x08, IP_ACTIVE_LOW, IPT_COIN2, 2 ) \
  1032: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  1033: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  1034: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1 ) \
  1035: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )
  1036: 
  1037: #define TAITO_B_DSWA_2_4 \ 
  1038: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) ) \
  1039: 	PORT_DIPSETTING(    0x02, DEF_STR( Off )) \
  1040: 	PORT_DIPSETTING(    0x00, DEF_STR( On )) \
  1041: 	PORT_SERVICE( 0x04, IP_ACTIVE_LOW ) \
  1042: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) ) \
  1043: 	PORT_DIPSETTING(    0x00, DEF_STR( Off )) \
  1044: 	PORT_DIPSETTING(    0x08, DEF_STR( On ))
  1045: 
  1046: 
  1047: INPUT_PORTS_START( rastsag2 )
  1048: 	PORT_START /* DSW A */
  1049: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )  // all 2 "unused" in manual
  1050: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  1051: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1052: 	TAITO_B_DSWA_2_4
  1053: 	TAITO_COINAGE_JAPAN_8
  1054: 
  1055: 	PORT_START /* DSW B */
  1056: 	TAITO_DIFFICULTY_8
  1057: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
  1058: 	PORT_DIPSETTING(    0x0c, "100k only" )
  1059: 	PORT_DIPSETTING(    0x08, "150k only" )
  1060: 	PORT_DIPSETTING(    0x04, "200k only" )
  1061: 	PORT_DIPSETTING(    0x00, "250k only" )
  1062: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
  1063: 	PORT_DIPSETTING(    0x20, "1" )
  1064: 	PORT_DIPSETTING(    0x10, "2" )
  1065: 	PORT_DIPSETTING(    0x30, "3" )
  1066: 	PORT_DIPSETTING(    0x00, "5" )
  1067: 	PORT_DIPNAME( 0x40, 0x40, "Allow Continue" )
  1068: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1069: 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  1070: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  1071: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  1072: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1073: 
  1074: 	PORT_START      /* IN0 */
  1075: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1076: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1077: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1078: 
  1079: 	PORT_START      /* IN1 */
  1080: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1081: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1082: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1083: 
  1084: 	/* IN2 */
  1085: 	TAITO_B_SYSTEM_INPUT
  1086: INPUT_PORTS_END
  1087: 
  1088: INPUT_PORTS_START( nastar )
  1089: 	PORT_START /* DSW A */
  1090: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )
  1091: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  1092: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1093: 	TAITO_B_DSWA_2_4
  1094: 	TAITO_COINAGE_WORLD_8
  1095: 
  1096: 	PORT_START /* DSW B */
  1097: 	TAITO_DIFFICULTY_8
  1098: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
  1099: 	PORT_DIPSETTING(    0x0c, "100k only" )
  1100: 	PORT_DIPSETTING(    0x08, "150k only" )
  1101: 	PORT_DIPSETTING(    0x04, "200k only" )
  1102: 	PORT_DIPSETTING(    0x00, "250k only" )
  1103: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
  1104: 	PORT_DIPSETTING(    0x20, "1" )
  1105: 	PORT_DIPSETTING(    0x10, "2" )
  1106: 	PORT_DIPSETTING(    0x30, "3" )
  1107: 	PORT_DIPSETTING(    0x00, "5" )
  1108: 	PORT_DIPNAME( 0x40, 0x40, "Allow Continue" )
  1109: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1110: 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  1111: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  1112: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  1113: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1114: 
  1115: 	PORT_START      /* IN0 */
  1116: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1117: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1118: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1119: 
  1120: 	PORT_START      /* IN1 */
  1121: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1122: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1123: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1124: 
  1125: 	/* IN2 */
  1126: 	TAITO_B_SYSTEM_INPUT
  1127: INPUT_PORTS_END
  1128: 
  1129: INPUT_PORTS_START( nastarw )
  1130: 	PORT_START /* DSW A */
  1131: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )
  1132: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  1133: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1134: 	TAITO_B_DSWA_2_4
  1135: 	TAITO_COINAGE_US_8
  1136: 
  1137: 	PORT_START /* DSW B */
  1138: 	TAITO_DIFFICULTY_8
  1139: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
  1140: 	PORT_DIPSETTING(    0x0c, "100k only" )
  1141: 	PORT_DIPSETTING(    0x08, "150k only" )
  1142: 	PORT_DIPSETTING(    0x04, "200k only" )
  1143: 	PORT_DIPSETTING(    0x00, "250k only" )
  1144: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
  1145: 	PORT_DIPSETTING(    0x20, "1" )
  1146: 	PORT_DIPSETTING(    0x10, "2" )
  1147: 	PORT_DIPSETTING(    0x30, "3" )
  1148: 	PORT_DIPSETTING(    0x00, "5" )
  1149: 	PORT_DIPNAME( 0x40, 0x40, "Allow Continue" )
  1150: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1151: 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  1152: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  1153: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  1154: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1155: 
  1156: 	PORT_START      /* IN0 */
  1157: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1158: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1159: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1160: 
  1161: 	PORT_START      /* IN1 */
  1162: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1163: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1164: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1165: 
  1166: 	/* IN2 */
  1167: 	TAITO_B_SYSTEM_INPUT
  1168: INPUT_PORTS_END
  1169: 
  1170: INPUT_PORTS_START( masterw )
  1171: 	PORT_START /* DSW A */
  1172: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
  1173: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  1174: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1175: 	TAITO_B_DSWA_2_4
  1176: 	TAITO_COINAGE_WORLD_8
  1177: 
  1178: 	PORT_START /* DSW B */
  1179: 	TAITO_DIFFICULTY_8
  1180: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
  1181: 	PORT_DIPSETTING(    0x08, "500k, 1000k and 1500k" )
  1182: 	PORT_DIPSETTING(    0x0c, "500k and 1000k" )
  1183: 	PORT_DIPSETTING(    0x04, "500k only" )
  1184: 	PORT_DIPSETTING(    0x00, "None" )
  1185: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
  1186: 	PORT_DIPSETTING(    0x30, "3" )
  1187: 	PORT_DIPSETTING(    0x20, "4" )
  1188: 	PORT_DIPSETTING(    0x10, "5" )
  1189: 	PORT_DIPSETTING(    0x00, "6" )
  1190: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
  1191: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  1192: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1193: 	PORT_DIPNAME( 0x80, 0x80, "Ship" )
  1194: 	PORT_DIPSETTING(    0x80, "Default" )
  1195: 	PORT_DIPSETTING(    0x00, "Alternate" )
  1196: 
  1197: 	PORT_START      /* IN0 */
  1198: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1199: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1200: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1201: 
  1202: 	PORT_START      /* IN1 */
  1203: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1204: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1205: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1206: 
  1207: 	/* IN2 */
  1208: 	TAITO_B_SYSTEM_INPUT
  1209: 
  1210: INPUT_PORTS_END
  1211: 
  1212: INPUT_PORTS_START( crimec )
  1213: 	PORT_START /* DSW A */
  1214: 	PORT_DIPNAME( 0x01, 0x01, "Hi Score" )
  1215: 	PORT_DIPSETTING(    0x01, "Scribble" )
  1216: 	PORT_DIPSETTING(    0x00, "3 Characters" )
  1217: 	TAITO_B_DSWA_2_4
  1218: 	TAITO_COINAGE_WORLD_8
  1219: 
  1220: 	PORT_START /* DSW B */
  1221: 	TAITO_DIFFICULTY_8
  1222: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
  1223: 	PORT_DIPSETTING(    0x08, "every 80k" )
  1224: 	PORT_DIPSETTING(    0x0c, "80k only" )
  1225: 	PORT_DIPSETTING(    0x04, "160k only" )
  1226: 	PORT_DIPSETTING(    0x00, "None" )
  1227: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
  1228: 	PORT_DIPSETTING(    0x10, "1" )
  1229: 	PORT_DIPSETTING(    0x20, "2" )
  1230: 	PORT_DIPSETTING(    0x30, "3" )
  1231: 	PORT_DIPSETTING(    0x00, "4" )
  1232: 	PORT_DIPNAME( 0xc0, 0xc0, "Allow Continue" )
  1233: 	PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
  1234: 	PORT_DIPSETTING( 0x40, "5 Times" )
  1235: 	PORT_DIPSETTING( 0x80, "8 Times" )
  1236: 	PORT_DIPSETTING( 0xc0, DEF_STR( On ) )
  1237: 
  1238: 	PORT_START      /* IN0 */
  1239: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1240: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1241: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1242: 
  1243: 	PORT_START      /* IN1 */
  1244: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1245: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1246: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1247: 
  1248: 	/* IN2 */
  1249: 	TAITO_B_SYSTEM_INPUT
  1250: INPUT_PORTS_END
  1251: 
  1252: INPUT_PORTS_START( crimecj )
  1253: 	PORT_START /* DSW A */
  1254: 	PORT_DIPNAME( 0x01, 0x01, "Hi Score" )
  1255: 	PORT_DIPSETTING(    0x01, "Scribble" )
  1256: 	PORT_DIPSETTING(    0x00, "3 Characters" )
  1257: 	TAITO_B_DSWA_2_4
  1258: 	TAITO_COINAGE_JAPAN_8
  1259: 
  1260: 	PORT_START /* DSW B */
  1261: 	TAITO_DIFFICULTY_8
  1262: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
  1263: 	PORT_DIPSETTING(    0x08, "every 80k" )
  1264: 	PORT_DIPSETTING(    0x0c, "80k only" )
  1265: 	PORT_DIPSETTING(    0x04, "160k only" )
  1266: 	PORT_DIPSETTING(    0x00, "None" )
  1267: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
  1268: 	PORT_DIPSETTING(    0x10, "1" )
  1269: 	PORT_DIPSETTING(    0x20, "2" )
  1270: 	PORT_DIPSETTING(    0x30, "3" )
  1271: 	PORT_DIPSETTING(    0x00, "4" )
  1272: 	PORT_DIPNAME( 0xc0, 0xc0, "Allow Continue" )
  1273: 	PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
  1274: 	PORT_DIPSETTING( 0x40, "5 Times" )
  1275: 	PORT_DIPSETTING( 0x80, "8 Times" )
  1276: 	PORT_DIPSETTING( 0xc0, DEF_STR( On ) )
  1277: 
  1278: 	PORT_START      /* IN0 */
  1279: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1280: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1281: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1282: 
  1283: 	PORT_START      /* IN1 */
  1284: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1285: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1286: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1287: 
  1288: 	/* IN2 */
  1289: 	TAITO_B_SYSTEM_INPUT
  1290: INPUT_PORTS_END
  1291: 
  1292: INPUT_PORTS_START( crimecu )
  1293: 	PORT_START /* DSW A */
  1294: 	PORT_DIPNAME( 0x01, 0x01, "Hi Score" )
  1295: 	PORT_DIPSETTING(    0x01, "Scribble" )
  1296: 	PORT_DIPSETTING(    0x00, "3 Characters" )
  1297: 	TAITO_B_DSWA_2_4
  1298: 	TAITO_COINAGE_US_8
  1299: 
  1300: 	PORT_START /* DSW B */
  1301: 	TAITO_DIFFICULTY_8
  1302: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
  1303: 	PORT_DIPSETTING(    0x08, "every 80k" )
  1304: 	PORT_DIPSETTING(    0x0c, "80k only" )
  1305: 	PORT_DIPSETTING(    0x04, "160k only" )
  1306: 	PORT_DIPSETTING(    0x00, "None" )
  1307: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
  1308: 	PORT_DIPSETTING(    0x10, "1" )
  1309: 	PORT_DIPSETTING(    0x20, "2" )
  1310: 	PORT_DIPSETTING(    0x30, "3" )
  1311: 	PORT_DIPSETTING(    0x00, "4" )
  1312: 	PORT_DIPNAME( 0xc0, 0xc0, "Allow Continue" )
  1313: 	PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
  1314: 	PORT_DIPSETTING( 0x40, "5 Times" )
  1315: 	PORT_DIPSETTING( 0x80, "8 Times" )
  1316: 	PORT_DIPSETTING( 0xc0, DEF_STR( On ) )
  1317: 
  1318: 
  1319: 	PORT_START      /* IN0 */
  1320: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1321: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1322: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1323: 
  1324: 	PORT_START      /* IN1 */
  1325: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1326: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1327: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1328: 
  1329: 	/* IN2 */
  1330: 	TAITO_B_SYSTEM_INPUT
  1331: INPUT_PORTS_END
  1332: 
  1333: INPUT_PORTS_START( tetrist )
  1334: 	PORT_START /* DSW A */
  1335: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
  1336: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  1337: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1338: 	TAITO_B_DSWA_2_4
  1339: 	TAITO_COINAGE_JAPAN_8
  1340: 
  1341: 	PORT_START /* DSW B */
  1342: 	TAITO_DIFFICULTY_8
  1343: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
  1344: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ))
  1345: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1346: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
  1347: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ))
  1348: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1349: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
  1350: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ))
  1351: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1352: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
  1353: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ))
  1354: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1355: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
  1356: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ))
  1357: 	PORT_DIPSETTING(    0x40, DEF_STR( On ))
  1358: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
  1359: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  1360: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1361: 
  1362: 	PORT_START      /* IN0 */
  1363: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1364: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1365: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1366: 
  1367: 	PORT_START      /* IN1 */
  1368: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1369: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1370: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1371: 
  1372: 	/* IN2 */
  1373: 	TAITO_B_SYSTEM_INPUT
  1374: INPUT_PORTS_END
  1375: 
  1376: INPUT_PORTS_START( ashura )
  1377: 	PORT_START /* DSW A */
  1378: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
  1379: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  1380: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1381: 	TAITO_B_DSWA_2_4
  1382: 	TAITO_COINAGE_JAPAN_8
  1383: 
  1384: 	PORT_START /* DSW B */
  1385: 	TAITO_DIFFICULTY_8
  1386: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
  1387: 	PORT_DIPSETTING(    0x08, "every 100k" )
  1388: 	PORT_DIPSETTING(    0x0c, "every 150k" )
  1389: 	PORT_DIPSETTING(    0x04, "every 200k" )
  1390: 	PORT_DIPSETTING(    0x00, "every 250k" )
  1391: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
  1392: 	PORT_DIPSETTING(    0x00, "1" )
  1393: 	PORT_DIPSETTING(    0x10, "2" )
  1394: 	PORT_DIPSETTING(    0x30, "3" )
  1395: 	PORT_DIPSETTING(    0x20, "4" )
  1396: 	PORT_DIPNAME( 0x40, 0x40, "Allow Continue" )
  1397: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1398: 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  1399: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
  1400: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  1401: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1402: 
  1403: 	PORT_START      /* IN0 */
  1404: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1405: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1406: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1407: 
  1408: 	PORT_START      /* IN1 */
  1409: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1410: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1411: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1412: 
  1413: 	/* IN2 */
  1414: 	TAITO_B_SYSTEM_INPUT
  1415: INPUT_PORTS_END
  1416: 
  1417: INPUT_PORTS_START( ashurau )
  1418: 	PORT_START /* DSW A */
  1419: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
  1420: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  1421: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1422: 	TAITO_B_DSWA_2_4
  1423: 	TAITO_COINAGE_US_8
  1424: 
  1425: 	PORT_START /* DSW B */
  1426: 	TAITO_DIFFICULTY_8
  1427: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
  1428: 	PORT_DIPSETTING(    0x08, "every 100k" )
  1429: 	PORT_DIPSETTING(    0x0c, "every 150k" )
  1430: 	PORT_DIPSETTING(    0x04, "every 200k" )
  1431: 	PORT_DIPSETTING(    0x00, "every 250k" )
  1432: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
  1433: 	PORT_DIPSETTING(    0x00, "1" )
  1434: 	PORT_DIPSETTING(    0x10, "2" )
  1435: 	PORT_DIPSETTING(    0x30, "3" )
  1436: 	PORT_DIPSETTING(    0x20, "4" )
  1437: 	PORT_DIPNAME( 0x40, 0x40, "Allow Continue" )
  1438: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  1439: 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  1440: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
  1441: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  1442: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1443: 
  1444: 	PORT_START      /* IN0 */
  1445: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1446: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1447: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1448: 
  1449: 	PORT_START      /* IN1 */
  1450: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1451: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1452: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1453: 
  1454: 	/* IN2 */
  1455: 	TAITO_B_SYSTEM_INPUT
  1456: INPUT_PORTS_END
  1457: 
  1458: /*
  1459: Hit the Ice dipswitches
  1460: (info from Kevin Watson)
  1461: 
  1462: [1 is switch on and 0 is switch off]
  1463: 
  1464: Dip switch A
  1465: ------------
  1466: 
  1467: Setting             Options          1 2 3 4 5 6 7 8
  1468: cabinet style       4 player         0
  1469:                     2 player         1
  1470: Test mode           normal               0
  1471:                     test mode            1
  1472: Attract mode        on                     0
  1473:                     off                    1
  1474: Game price          1 coin 1 play            0 0 0 0
  1475:                     2 coin 1 play            1 0 0 0
  1476:                     3 coin 1 play            0 1 0 0
  1477:            coin1    1 coin 2 play            0 0 1 0
  1478:            coin2    1 coin 3 play            1 1 0 0
  1479:                     1 coin 4 play            0 1 0 0
  1480:                     1 coin 5 play            1 0 1 0
  1481:                     1 coin 6 play            1 1 1 0
  1482: 
  1483: switch 2 and 8 are always set to off
  1484: 
  1485: Dip switch table B
  1486: ------------------
  1487: 
  1488: Setting             Options          1 2 3 4 5 6 7 8
  1489: Difficulty          normal           0 0
  1490:                     easy             1 0
  1491:                     hard             0 1
  1492:                     hardest          1 1
  1493: Timer count         1 sec = 58/60        0 0
  1494:                     1 sec = 56/60        1 0
  1495:                     1 sec = 62/60        0 1
  1496:                     1 sec = 45/60        1 1
  1497: maximum credit      9                             0
  1498:                     99                            1
  1499: 
  1500: 5,6,7 are set to off
  1501: */
  1502: 
  1503: INPUT_PORTS_START( hitice )
  1504: 	PORT_START /* DSW A */
  1505: 	PORT_DIPNAME( 0x01, 0x01, "Cabinet Style" )
  1506: 	PORT_DIPSETTING(    0x01, "4 Players")
  1507: 	PORT_DIPSETTING(    0x00, "2 Players")
  1508: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
  1509: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ))
  1510: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1511: 	PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
  1512: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
  1513: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ))
  1514: 	PORT_DIPSETTING(    0x08, DEF_STR( On ))
  1515: 	TAITO_COINAGE_JAPAN_8
  1516: 
  1517: 	PORT_START /* DSW B */
  1518: 	TAITO_DIFFICULTY_8
  1519: 	PORT_DIPNAME( 0x0c, 0x0c, "Timer count" )
  1520: 	PORT_DIPSETTING(    0x0c, "1 sec = 58/60" )
  1521: 	PORT_DIPSETTING(    0x04, "1 sec = 56/60" )
  1522: 	PORT_DIPSETTING(    0x08, "1 sec = 62/60" )
  1523: 	PORT_DIPSETTING(    0x00, "1 sec = 45/60" )
  1524: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
  1525: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ))
  1526: 	PORT_DIPSETTING(    0x10, DEF_STR( On ))
  1527: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
  1528: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ))
  1529: 	PORT_DIPSETTING(    0x20, DEF_STR( On ))
  1530: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown) )
  1531: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ))
  1532: 	PORT_DIPSETTING(    0x40, DEF_STR( On ))
  1533: 	PORT_DIPNAME( 0x80, 0x80, "Maximum credits" )
  1534: 	PORT_DIPSETTING(    0x00, "99" )
  1535: 	PORT_DIPSETTING(    0x80, "9"  )
  1536: 
  1537: 	PORT_START      /* IN0 */
  1538: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  1539: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  1540: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
  1541: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  1542: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  1543: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
  1544: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1545: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1546: 
  1547: 	PORT_START      /* IN1 */
  1548: 	PORT_BIT(         0x01, IP_ACTIVE_LOW, IPT_TILT )
  1549: 	PORT_BIT(         0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  1550: 	PORT_BIT(         0x04, IP_ACTIVE_LOW, IPT_START1 )
  1551: 	PORT_BIT(         0x08, IP_ACTIVE_LOW, IPT_START2 )
  1552: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_COIN1, 2 )
  1553: 	PORT_BIT_IMPULSE( 0x20, IP_ACTIVE_LOW, IPT_COIN2, 2 )
  1554: 	PORT_BIT(         0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1555: 	PORT_BIT(         0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1556: 
  1557: 	PORT_START      /* IN2 */
  1558: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
  1559: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
  1560: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
  1561: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
  1562: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  1563: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  1564: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  1565: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  1566: 
  1567: 	PORT_START      /* IN5 IN6 */
  1568: 	PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER3 )
  1569: 	PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER3 )
  1570: 	PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER3 )
  1571: 	PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER3 )
  1572: 	PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER3 )
  1573: 	PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER3 )
  1574: 	PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER3 )
  1575: 	PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_START3 )
  1576: 	PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER4 )
  1577: 	PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER4 )
  1578: 	PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER4 )
  1579: 	PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER4 )
  1580: 	PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER4 )
  1581: 	PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER4 )
  1582: 	PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER4 )
  1583: 	PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_START4 )
  1584: INPUT_PORTS_END
  1585: 
  1586: INPUT_PORTS_START( rambo3 )
  1587: 	PORT_START /* DSW A */
  1588: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )  // all 5 "unused" in manual
  1589: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  1590: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1591: 	TAITO_B_DSWA_2_4
  1592: 	TAITO_COINAGE_WORLD_8
  1593: 
  1594: 	PORT_START /* DSW B */
  1595: 	TAITO_DIFFICULTY_8
  1596: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )
  1597: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ))
  1598: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1599: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
  1600: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ))
  1601: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1602: 	PORT_DIPNAME( 0x10, 0x10, "Allow Continue" )
  1603: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ))
  1604: 	PORT_DIPSETTING(    0x10, DEF_STR( On ))
  1605: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
  1606: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ))
  1607: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1608: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
  1609: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ))
  1610: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1611: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  1612: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  1613: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1614: 
  1615: 	PORT_START      /* IN0 */
  1616: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1617: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1618: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1619: 
  1620: 	PORT_START      /* IN1 */
  1621: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1622: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1623: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1624: 
  1625: 	/* IN2 */
  1626: 	TAITO_B_SYSTEM_INPUT
  1627: INPUT_PORTS_END
  1628: 
  1629: INPUT_PORTS_START( rambo3a )
  1630: 	PORT_START /* DSW A */
  1631: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )
  1632: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  1633: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1634: 	TAITO_B_DSWA_2_4
  1635: 	/* Coinage similar to US, but there are some differences */
  1636: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coinage ) )
  1637: 	PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) )
  1638: 	PORT_DIPSETTING(    0x20, DEF_STR( 2C_1C ) )
  1639: 	PORT_DIPSETTING(    0x00, DEF_STR( 4C_3C ) )
  1640: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) )
  1641: 	PORT_DIPNAME( 0xc0, 0xc0, "Price to Continue" )
  1642: 	PORT_DIPSETTING(    0x40, DEF_STR( 2C_1C ) )
  1643: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_1C ) )
  1644: 	PORT_DIPSETTING(    0xc0, "Same as Start" )
  1645: 	PORT_DIPSETTING(    0x00, "Same as Start or 1C/1C (if Coinage 4C/3C)" )
  1646: 
  1647: 	PORT_START /* DSW B */
  1648: 	TAITO_DIFFICULTY_8
  1649: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )
  1650: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ))
  1651: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1652: 	PORT_DIPNAME( 0x08, 0x08, "Control" )
  1653: 	PORT_DIPSETTING(    0x08, "8 way Joystick" )
  1654: 	PORT_DIPSETTING(    0x00, "Trackball" )
  1655: 	PORT_DIPNAME( 0x10, 0x10, "Allow Continue" )
  1656: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ))
  1657: 	PORT_DIPSETTING(    0x10, DEF_STR( On ))
  1658: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
  1659: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ))
  1660: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1661: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
  1662: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ))
  1663: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1664: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  1665: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  1666: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1667: 
  1668: 	PORT_START      /* IN0 */
  1669: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  1670: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  1671: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1672: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  1673: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  1674: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1675: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1676: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1677: 
  1678: 	PORT_START      /* IN1 */
  1679: 	PORT_BIT(         0x01, IP_ACTIVE_LOW, IPT_TILT )
  1680: 	PORT_BIT(         0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  1681: 	PORT_BIT(         0x04, IP_ACTIVE_LOW, IPT_START1 )
  1682: 	PORT_BIT(         0x08, IP_ACTIVE_LOW, IPT_START2 )
  1683: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_HIGH, IPT_COIN1, 2 )
  1684: 	PORT_BIT_IMPULSE( 0x20, IP_ACTIVE_HIGH, IPT_COIN2, 2 )
  1685: 	PORT_BIT(         0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1686: 	PORT_BIT(         0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1687: 
  1688: 	PORT_START      /* IN2 */
  1689: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
  1690: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
  1691: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
  1692: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
  1693: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  1694: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  1695: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  1696: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  1697: 
  1698: 	PORT_START
  1699: 	PORT_ANALOG( 0xffff, 0x0000, IPT_TRACKBALL_Y | IPF_PLAYER1 | IPF_REVERSE, 70, 30, 0, 0 )
  1700: 
  1701: 	PORT_START
  1702: 	PORT_ANALOG( 0xffff, 0x0000, IPT_TRACKBALL_X | IPF_PLAYER1, 70, 30, 0, 0 )
  1703: 
  1704: 	PORT_START
  1705: 	PORT_ANALOG( 0xffff, 0x0000, IPT_TRACKBALL_Y | IPF_PLAYER2 | IPF_REVERSE, 70, 30, 0, 0 )
  1706: 
  1707: 	PORT_START
  1708: 	PORT_ANALOG( 0xffff, 0x0000, IPT_TRACKBALL_X | IPF_PLAYER2, 70, 30, 0, 0 )
  1709: INPUT_PORTS_END
  1710: 
  1711: 
  1712: /* Helps document the input ports. */
  1713: 
  1714: INPUT_PORTS_START( pbobble )	/* Missing P3&4 controls ! */
  1715: 	PORT_START /* IN0 */
  1716: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1717: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1718: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1719: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1720: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1721: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1722: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1723: 	PORT_SERVICE_NO_TOGGLE( 0x80, IP_ACTIVE_LOW ) /*ok*/
  1724: 
  1725: 	PORT_START /* IN1 */
  1726: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1727: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1728: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1729: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1730: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_COIN1, 2 ) /*ok*/
  1731: 	PORT_BIT_IMPULSE( 0x20, IP_ACTIVE_LOW, IPT_COIN2, 2 ) /*ok*/
  1732: 	PORT_BIT_IMPULSE( 0x40, IP_ACTIVE_LOW, IPT_COIN3, 2 ) /*ok*/
  1733: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN4, 2 ) /*ok*/
  1734: 
  1735: 	PORT_START /* IN2 */ /*all OK*/
  1736: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_TILT )
  1737: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  1738: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )
  1739: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE3 )
  1740: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )
  1741: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
  1742: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )
  1743: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START4 )
  1744: 
  1745: 	PORT_START /* IN3 */ /*all OK*/
  1746: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  1747: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  1748: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
  1749: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1750: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  1751: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  1752: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
  1753: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1754: 
  1755: 	PORT_START /* IN4 */ /*all OK*/
  1756: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
  1757: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
  1758: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
  1759: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
  1760: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  1761: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  1762: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  1763: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  1764: 
  1765: 	PORT_START /* IN5 */
  1766: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER3 )
  1767: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER3 )
  1768: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER3 )
  1769: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1770: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER4 )
  1771: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER4 )
  1772: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER4 )
  1773: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1774: 
  1775: 	PORT_START /* IN6 */
  1776: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER3 )
  1777: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER3 )
  1778: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER3 )
  1779: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER3 )
  1780: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER4 )
  1781: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER4 )
  1782: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER4 )
  1783: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER4 )
  1784: INPUT_PORTS_END
  1785: 
  1786: INPUT_PORTS_START( spacedxo )
  1787: 	PORT_START /* DSW A */
  1788: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Cabinet ) )
  1789: 	PORT_DIPSETTING(    0x01, DEF_STR( Upright ) )
  1790: 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  1791: 	TAITO_B_DSWA_2_4
  1792: 	TAITO_COINAGE_JAPAN_NEW_8
  1793: 
  1794: 	PORT_START /* DSW B */
  1795: 	TAITO_DIFFICULTY_8
  1796: 	PORT_DIPNAME( 0x0c, 0x0c, "Match Point" )
  1797: 	PORT_DIPSETTING(    0x08, "4" )
  1798: 	PORT_DIPSETTING(    0x0c, "3" )
  1799: 	PORT_DIPSETTING(    0x04, "5" )
  1800: 	PORT_DIPSETTING(    0x00, "2" )
  1801: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
  1802: 	PORT_DIPSETTING(    0x30, "3" )
  1803: 	PORT_DIPSETTING(    0x20, "4" )
  1804: 	PORT_DIPSETTING(    0x10, "5" )
  1805: 	PORT_DIPSETTING(    0x00, "6" )
  1806: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Bonus_Life ) )
  1807: 	PORT_DIPSETTING(    0x40, "1500 Points" )
  1808: 	PORT_DIPSETTING(    0x00, "1000 Points" )
  1809: 	PORT_DIPNAME( 0x80, 0x80, "Game Type" )
  1810: 	PORT_DIPSETTING(    0x80, "Double Company" )
  1811: 	PORT_DIPSETTING(    0x00, "Single Company" )
  1812: 
  1813: 	PORT_START	/* IN0 */
  1814: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  1815: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  1816: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
  1817: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  1818: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  1819: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
  1820: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1821: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1822: 
  1823: 	PORT_START	/* IN1 */
  1824: 	PORT_BIT(         0x01, IP_ACTIVE_LOW, IPT_TILT )
  1825: 	PORT_BIT(         0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  1826: 	PORT_BIT(         0x04, IP_ACTIVE_LOW, IPT_START1 )
  1827: 	PORT_BIT(         0x08, IP_ACTIVE_LOW, IPT_START2 )
  1828: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_COIN1, 2 )
  1829: 	PORT_BIT_IMPULSE( 0x20, IP_ACTIVE_LOW, IPT_COIN2, 2 )
  1830: 	PORT_BIT(         0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1831: 	PORT_BIT(         0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1832: 
  1833: 	PORT_START	/* IN2 */ /*all OK*/
  1834: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
  1835: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
  1836: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
  1837: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
  1838: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  1839: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  1840: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  1841: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  1842: 
  1843: 	PORT_START      /* IN5 */
  1844: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START3 )
  1845: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER3 )
  1846: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER3 )
  1847: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER3 )
  1848: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER3 )
  1849: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER3 )
  1850: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER3 )
  1851: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER3 )
  1852: 
  1853: 	PORT_START      /* IN6 */
  1854: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START4 )
  1855: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER4 )
  1856: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER4 )
  1857: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER4 )
  1858: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER4 )
  1859: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER4 )
  1860: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER4 )
  1861: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER4 )
  1862: 
  1863: 	PORT_START      /* IN7 */
  1864: 	PORT_BIT_IMPULSE( 0x01, IP_ACTIVE_LOW, IPT_COIN3, 2 )
  1865: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE2 )
  1866: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_COIN4, 2 )
  1867: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE3 )
  1868: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1869: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1870: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1871: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1872: 
  1873: INPUT_PORTS_END
  1874: 
  1875: INPUT_PORTS_START( qzshowby )
  1876: 	PORT_START /* DSW B */
  1877: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1878: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1879: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1880: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1881: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1882: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1883: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) /*unused in test mode*/
  1884: 	PORT_SERVICE_NO_TOGGLE( 0x80, IP_ACTIVE_LOW ) /*ok*/
  1885: 
  1886: 	PORT_START
  1887: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1888: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1889: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1890: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1891: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_COIN1, 2 ) /*ok*/
  1892: 	PORT_BIT_IMPULSE( 0x20, IP_ACTIVE_LOW, IPT_COIN2, 2 ) /*ok*/
  1893: 	PORT_BIT_IMPULSE( 0x40, IP_ACTIVE_LOW, IPT_COIN3, 2 ) /*ok*/
  1894: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN4, 2 ) /*ok*/
  1895: 
  1896: 	PORT_START      /* IN0 */ /*all OK*/
  1897: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_TILT )
  1898: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  1899: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )
  1900: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_SERVICE3 )
  1901: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START1 )
  1902: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START2 )
  1903: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START3 )
  1904: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START4 )
  1905: 
  1906: 	PORT_START		/* IN 1 */ /*all OK*/
  1907: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN  ) /* IPT_START1 in test mode */
  1908: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1909: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1910: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1911: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN  ) /* IPT_START2 in test mode */
  1912: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1913: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1914: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1915: 
  1916: 	PORT_START      /* IN2 */ /*all OK*/
  1917: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  1918: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  1919: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER1 )
  1920: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
  1921: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  1922: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  1923: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER2 )
  1924: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
  1925: 
  1926: 	PORT_START      /* IN5 */
  1927: 	PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNKNOWN  ) /* IPT_START3 in test mode */
  1928: 	PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1929: 	PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1930: 	PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1931: 	PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_UNKNOWN  ) /* IPT_START4 in test mode */
  1932: 	PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1933: 	PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1934: 	PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1935: 
  1936: 	PORT_START      /* IN6 */
  1937: 	PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER3 )
  1938: 	PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER3 )
  1939: 	PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER3 )
  1940: 	PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER3 )
  1941: 	PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER4 )
  1942: 	PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER4 )
  1943: 	PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER4 )
  1944: 	PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER4 )
  1945: INPUT_PORTS_END
  1946: 
  1947: INPUT_PORTS_START( viofight )
  1948: 	PORT_START /* DSW A */
  1949: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )  // all 7 "unused" in manual
  1950: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  1951: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1952: 	TAITO_B_DSWA_2_4
  1953: 	TAITO_COINAGE_WORLD_8
  1954: 
  1955: 	PORT_START /* DSW B */
  1956: 	TAITO_DIFFICULTY_8
  1957: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unused ) )
  1958: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ))
  1959: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1960: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unused ) )
  1961: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ))
  1962: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1963: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )
  1964: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ))
  1965: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1966: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
  1967: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ))
  1968: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1969: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
  1970: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ))
  1971: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1972: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  1973: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  1974: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1975: 
  1976: 	PORT_START      /* IN0 */
  1977: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER1 )
  1978: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
  1979: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1980: 
  1981: 	PORT_START      /* IN1 */
  1982: 	TAITO_B_PLAYERS_INPUT( IPF_PLAYER2 )
  1983: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
  1984: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  1985: 
  1986: 	/* IN2 */
  1987: 	TAITO_B_SYSTEM_INPUT
  1988: INPUT_PORTS_END
  1989: 
  1990: INPUT_PORTS_START( silentd )	/* World Version */
  1991: 	PORT_START /* DSW A */
  1992: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )	/* Listed as "NOT USED" in the manual and only shown as "OFF" */
  1993: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  1994: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1995: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
  1996: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ))
  1997: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  1998: 	PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
  1999: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
  2000: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ))
  2001: 	PORT_DIPSETTING(    0x08, DEF_STR( On ))
  2002: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coinage ) )
  2003: 	PORT_DIPSETTING(    0x00, DEF_STR( 4C_1C ) )
  2004: 	PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) )
  2005: 	PORT_DIPSETTING(    0x20, DEF_STR( 2C_1C ) )
  2006: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) )
  2007: 
  2008: /* These next two are listed as Unused for "Oversea Versions"
  2009: 	For the USA version use this description:
  2010: 
  2011:   Buy-In Pricing	Same As Play Pricing	OFF	OFF (Defualt)
  2012: 					1 Coin  = Continue		ON	OFF
  2013: 					2 Coins = Contniue		OFF	ON
  2014: 					3 Coins = Continue		ON	ON
  2015:  */
  2016: 
  2017: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
  2018: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ))
  2019: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2020: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  2021: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  2022: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2023: 
  2024: 	PORT_START /* DSW B */
  2025: 	TAITO_DIFFICULTY_8
  2026: 	PORT_BITX(   0x04, 0x04, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Invulnerability", IP_KEY_NONE, IP_JOY_NONE )
  2027: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ))
  2028: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2029: 	PORT_DIPNAME( 0x08, 0x08, "Power-Up Bonus" )	/* Manual States "Power-Up at Stage Clear" */
  2030: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ))
  2031: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2032: 	PORT_DIPNAME( 0x10, 0x10, "Regain Power" )
  2033: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ))
  2034: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2035: 
  2036: /*  Manual Shows "1 Coin Slot (Shared)" and "4 Coin Slot (1 Per Player)"
  2037: 
  2038: 	You can play the game with 2, 3, or 4 players and the last option is a linked 4 players.
  2039: 	Using bit6 and bit7&8 you end up with 1, 2 or 4 seperate "Credits" on the demo screens.
  2040: 	Using bits7&8 you can have 2-4 players as shown at the top of the game screens.
  2041: 
  2042: */
  2043: 
  2044: 	PORT_DIPNAME( 0x20, 0x20, "Credits" )			/* Only shows 4 seperate credits with 4p/1m below */
  2045: 	PORT_DIPSETTING(    0x20, "Combined" )
  2046: 	PORT_DIPSETTING(    0x00, "Seperate" )			/* When multiple credits show, Coin B will affect p2 credits */
  2047: 	PORT_DIPNAME( 0xc0, 0x80, "Cabinet Style" )
  2048: 	PORT_DIPSETTING(    0xc0, "3 Players")
  2049: 	PORT_DIPSETTING(    0x80, "2 Players")
  2050: 	PORT_DIPSETTING(    0x40, "4 Players/1 Machine")	/* with bit6, shows 4 seperate credits */
  2051: 	PORT_DIPSETTING(    0x00, "4 Players/2 Machines")	/* with bit6 shows 2 seperate credits */
  2052: 
  2053: 	PORT_START      /* IN0 */
  2054: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  2055: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  2056: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
  2057: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  2058: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  2059: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
  2060: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2061: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2062: 
  2063: 	PORT_START      /* IN1 */
  2064: 	PORT_BIT(         0x01, IP_ACTIVE_LOW, IPT_TILT )
  2065: 	PORT_BIT(         0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2066: 	PORT_BIT(         0x04, IP_ACTIVE_LOW, IPT_START1 )
  2067: 	PORT_BIT(         0x08, IP_ACTIVE_LOW, IPT_START2 )
  2068: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_COIN1, 2 )
  2069: 	PORT_BIT_IMPULSE( 0x20, IP_ACTIVE_LOW, IPT_COIN2, 2 )
  2070: 	PORT_BIT(         0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2071: 	PORT_BIT(         0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2072: 
  2073: 	PORT_START      /* IN2 */
  2074: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
  2075: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
  2076: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
  2077: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
  2078: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  2079: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  2080: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  2081: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  2082: 
  2083: 	PORT_START      /* IN5 */
  2084: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START3 )
  2085: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER3 )
  2086: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER3 )
  2087: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER3 )
  2088: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER3 )
  2089: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER3 )
  2090: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER3 )
  2091: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER3 )
  2092: 
  2093: 	PORT_START      /* IN6 */
  2094: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START4 )
  2095: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER4 )
  2096: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER4 )
  2097: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER4 )
  2098: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER4 )
  2099: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER4 )
  2100: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER4 )
  2101: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER4 )
  2102: 
  2103: 	PORT_START      /* IN7 */
  2104: 	PORT_BIT_IMPULSE( 0x01, IP_ACTIVE_LOW, IPT_COIN3, 2 )
  2105: 	PORT_BIT_IMPULSE( 0x02, IP_ACTIVE_LOW, IPT_COIN3, 2 ) /*not sure if this is legal under MAME*/
  2106: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_COIN4, 2 )
  2107: 	PORT_BIT_IMPULSE( 0x08, IP_ACTIVE_LOW, IPT_COIN4, 2 ) /*not sure if this is legal under MAME*/
  2108: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2109: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2110: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2111: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2112: INPUT_PORTS_END
  2113: 
  2114: INPUT_PORTS_START( silentdj )
  2115: 	PORT_START /* DSW A */
  2116: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )	/* Listed as "NOT USED" in the manual and only shown as "OFF" */
  2117: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  2118: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2119: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
  2120: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ))
  2121: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2122: 	PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
  2123: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
  2124: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ))
  2125: 	PORT_DIPSETTING(    0x08, DEF_STR( On ))
  2126: 	TAITO_COINAGE_JAPAN_8
  2127: 
  2128: 	PORT_START /* DSW B */
  2129: 	TAITO_DIFFICULTY_8
  2130: 	PORT_BITX(   0x04, 0x04, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Invulnerability", IP_KEY_NONE, IP_JOY_NONE )
  2131: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ))
  2132: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2133: 	PORT_DIPNAME( 0x08, 0x08, "Power-Up Bonus" )	/* Manual States "Power-Up at Stage Clear" */
  2134: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ))
  2135: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2136: 	PORT_DIPNAME( 0x10, 0x10, "Regain Power" )
  2137: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ))
  2138: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2139: 	PORT_DIPNAME( 0x20, 0x20, "Credits" )			/* Only shows 4 seperate credits with 4p/1m below */
  2140: 	PORT_DIPSETTING(    0x20, "Combined" )
  2141: 	PORT_DIPSETTING(    0x00, "Seperate" )			/* When multiple credits show, Coin B will affect p2 credits */
  2142: 	PORT_DIPNAME( 0xc0, 0x80, "Cabinet Style" )
  2143: 	PORT_DIPSETTING(    0xc0, "3 Players")
  2144: 	PORT_DIPSETTING(    0x80, "2 Players")
  2145: 	PORT_DIPSETTING(    0x40, "4 Players/1 Machine")	/* with bit6, shows 4 seperate credits */
  2146: 	PORT_DIPSETTING(    0x00, "4 Players/2 Machines")	/* with bit6 shows 2 seperate credits */
  2147: 
  2148: 	PORT_START      /* IN0 */
  2149: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  2150: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  2151: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
  2152: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  2153: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  2154: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
  2155: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2156: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2157: 
  2158: 	PORT_START      /* IN1 */
  2159: 	PORT_BIT(         0x01, IP_ACTIVE_LOW, IPT_TILT )
  2160: 	PORT_BIT(         0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2161: 	PORT_BIT(         0x04, IP_ACTIVE_LOW, IPT_START1 )
  2162: 	PORT_BIT(         0x08, IP_ACTIVE_LOW, IPT_START2 )
  2163: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_COIN1, 2 )
  2164: 	PORT_BIT_IMPULSE( 0x20, IP_ACTIVE_LOW, IPT_COIN2, 2 )
  2165: 	PORT_BIT(         0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2166: 	PORT_BIT(         0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2167: 
  2168: 	PORT_START      /* IN2 */
  2169: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
  2170: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
  2171: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
  2172: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
  2173: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  2174: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  2175: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  2176: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  2177: 
  2178: 	PORT_START      /* IN5 */
  2179: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START3 )
  2180: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER3 )
  2181: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER3 )
  2182: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER3 )
  2183: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER3 )
  2184: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER3 )
  2185: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER3 )
  2186: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER3 )
  2187: 
  2188: 	PORT_START      /* IN6 */
  2189: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START4 )
  2190: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER4 )
  2191: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER4 )
  2192: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER4 )
  2193: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER4 )
  2194: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER4 )
  2195: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER4 )
  2196: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER4 )
  2197: 
  2198: 	PORT_START      /* IN7 */
  2199: 	PORT_BIT_IMPULSE( 0x01, IP_ACTIVE_LOW, IPT_COIN3, 2 )
  2200: 	PORT_BIT_IMPULSE( 0x02, IP_ACTIVE_LOW, IPT_COIN3, 2 ) /*not sure if this is legal under MAME*/
  2201: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_COIN4, 2 )
  2202: 	PORT_BIT_IMPULSE( 0x08, IP_ACTIVE_LOW, IPT_COIN4, 2 ) /*not sure if this is legal under MAME*/
  2203: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2204: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2205: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2206: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2207: INPUT_PORTS_END
  2208: 
  2209: INPUT_PORTS_START( selfeena )
  2210: 	PORT_START /* DSW A */
  2211: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )
  2212: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  2213: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2214: 	TAITO_B_DSWA_2_4
  2215: 	TAITO_COINAGE_JAPAN_NEW_8
  2216: 
  2217: 	PORT_START /* DSW B */
  2218: 	TAITO_DIFFICULTY_8
  2219: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Bonus_Life ) )
  2220: 	PORT_DIPSETTING(    0x0c, "100k only" )
  2221: 	PORT_DIPSETTING(    0x08, "200k only" )
  2222: 	PORT_DIPSETTING(    0x04, "300k only" )
  2223: 	PORT_DIPSETTING(    0x00, "400k only" )
  2224: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Lives ) )
  2225: 	PORT_DIPSETTING(    0x00, "1" )
  2226: 	PORT_DIPSETTING(    0x10, "2" )
  2227: 	PORT_DIPSETTING(    0x30, "3" )
  2228: 	PORT_DIPSETTING(    0x20, "4" )
  2229: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
  2230: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ))
  2231: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2232: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  2233: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  2234: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2235: 
  2236: 	PORT_START      /* IN0 */
  2237: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  2238: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  2239: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
  2240: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  2241: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  2242: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
  2243: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2244: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2245: 
  2246: 	PORT_START      /* IN1 */
  2247: 	PORT_BIT(         0x01, IP_ACTIVE_LOW, IPT_TILT )
  2248: 	PORT_BIT(         0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2249: 	PORT_BIT(         0x04, IP_ACTIVE_LOW, IPT_START1 )
  2250: 	PORT_BIT(         0x08, IP_ACTIVE_LOW, IPT_START2 )
  2251: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_COIN1, 2 )
  2252: 	PORT_BIT_IMPULSE( 0x20, IP_ACTIVE_LOW, IPT_COIN2, 2 )
  2253: 	PORT_BIT(         0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2254: 	PORT_BIT(         0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2255: 
  2256: 	PORT_START      /* IN2 */
  2257: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
  2258: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
  2259: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
  2260: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
  2261: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  2262: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  2263: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  2264: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  2265: INPUT_PORTS_END
  2266: 
  2267: INPUT_PORTS_START( ryujin )
  2268: 	PORT_START /* DSW A */
  2269: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )
  2270: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  2271: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2272: 	TAITO_B_DSWA_2_4
  2273: 	TAITO_COINAGE_JAPAN_NEW_8
  2274: 
  2275: 	PORT_START /* DSW B */
  2276: 	TAITO_DIFFICULTY_8
  2277: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Lives ) )
  2278: 	PORT_DIPSETTING(    0x00, "1" )
  2279: 	PORT_DIPSETTING(    0x04, "2" )
  2280: 	PORT_DIPSETTING(    0x0c, "3" )
  2281: 	PORT_DIPSETTING(    0x08, "4" )
  2282: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )
  2283: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ))
  2284: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2285: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unused ) )
  2286: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ))
  2287: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2288: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
  2289: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ))
  2290: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2291: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  2292: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  2293: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2294: 
  2295: 	PORT_START      /* IN0 */
  2296: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  2297: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  2298: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
  2299: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  2300: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  2301: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
  2302: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2303: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2304: 
  2305: 	PORT_START      /* IN1 */
  2306: 	PORT_BIT(         0x01, IP_ACTIVE_LOW, IPT_TILT )
  2307: 	PORT_BIT(         0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2308: 	PORT_BIT(         0x04, IP_ACTIVE_LOW, IPT_START1 )
  2309: 	PORT_BIT(         0x08, IP_ACTIVE_LOW, IPT_START2 )
  2310: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_COIN1, 2 )
  2311: 	PORT_BIT_IMPULSE( 0x20, IP_ACTIVE_LOW, IPT_COIN2, 2 )
  2312: 	PORT_BIT(         0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2313: 	PORT_BIT(         0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2314: 
  2315: 	PORT_START      /* IN2 */
  2316: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
  2317: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
  2318: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
  2319: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
  2320: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  2321: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  2322: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  2323: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  2324: INPUT_PORTS_END
  2325: 
  2326: INPUT_PORTS_START( sbm )
  2327: 	PORT_START /* DSW A *///+-ok
  2328: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
  2329: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ))
  2330: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2331: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
  2332: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ))
  2333: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2334: 	PORT_SERVICE( 0x04, IP_ACTIVE_LOW )
  2335: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
  2336: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ))
  2337: 	PORT_DIPSETTING(    0x08, DEF_STR( On ))
  2338: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coinage ) )
  2339: 	PORT_DIPSETTING(    0x00, DEF_STR( 4C_1C ) )
  2340: 	PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) )
  2341: 	PORT_DIPSETTING(    0x20, DEF_STR( 2C_1C ) )
  2342: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) )
  2343: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
  2344: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2345: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2346: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
  2347: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2348: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2349: 
  2350: 	PORT_START /* DSW B */ //+-ok
  2351: 	TAITO_DIFFICULTY_8
  2352: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
  2353: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ))
  2354: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2355: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
  2356: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ))
  2357: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2358: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
  2359: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ))
  2360: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2361: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
  2362: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ))
  2363: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2364: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
  2365: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ))
  2366: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2367: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
  2368: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ))
  2369: 	PORT_DIPSETTING(    0x00, DEF_STR( On ))
  2370: 
  2371: 	PORT_START      /* IN0 */
  2372: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )//sound select UP
  2373: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )//sound select DOWN
  2374: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )//ok (object test)
  2375: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )//ok (object test)
  2376: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )//-- unused in test modes
  2377: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )//-- unused in test modes
  2378: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )//BEN IN (ticket dispenser)
  2379: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )//LADY ????
  2380: 
  2381: 	PORT_START      /* IN1 */
  2382: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )//select; ok (1P in object test)
  2383: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )//start ; ok (2P in object test)
  2384: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2385: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2386: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2387: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2388: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2389: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2390: 
  2391: 	PORT_START      /* IN2 */
  2392: 	PORT_BIT(         0x01, IP_ACTIVE_LOW, IPT_TILT )       //ok
  2393: 	PORT_BIT(         0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )	//ok
  2394: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_COIN1, 2 )   //ok
  2395: 	PORT_BIT_IMPULSE( 0x08, IP_ACTIVE_LOW, IPT_COIN2, 2 )   //ok
  2396: 	/* BUTTON1 ACTIVE LOW, - game thinks that punching pad has already been raised */
  2397: 	PORT_BIT(         0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )//PHOTO 1 (punching pad photosensor 1)
  2398: 	PORT_BIT(         0x20, IP_ACTIVE_HIGH,IPT_BUTTON2 | IPF_PLAYER1 )//PHOTO 2 (punching pad photosensor 2)
  2399: 	PORT_BIT(         0x40, IP_ACTIVE_HIGH,IPT_BUTTON3 | IPF_PLAYER1 )//PHOTO 3	(punching pad photosensor 3)
  2400:  	/*To simulate a punch:
  2401: 		- wait for "READY GO!" message,
  2402: 		- press button1 + button 2 (LCTRL + ALT) (you'll hear a "punching" sound),
  2403:   		- THEN  press button 3 (SPACE)
  2404:  		The time passed between the presses will be used to calculate the power of your punch.
  2405: 		The longer the time - the less power.
  2406: 	*/
  2407: 	PORT_BIT(         0x80, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER1 )//PHOTO 4  ??? ACTIVE_LOW  ??? (punching pad photosensor 4)
  2408: INPUT_PORTS_END
  2409: 
  2410: 
  2411: 
  2412: static struct GfxLayout charlayout =
  2413: {
  2414: 	8,8,
  2415: 	RGN_FRAC(1,2),
  2416: 	4,
  2417: 	{ 0, 8, RGN_FRAC(1,2), RGN_FRAC(1,2)+8 },
  2418: 	{ 0, 1, 2, 3, 4, 5, 6, 7 },
  2419: 	{ 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16 },
  2420: 	16*8
  2421: };
  2422: static struct GfxLayout tilelayout =
  2423: {
  2424: 	16,16,
  2425: 	RGN_FRAC(1,2),
  2426: 	4,
  2427: 	{ 0, 8, RGN_FRAC(1,2), RGN_FRAC(1,2)+8 },
  2428: 	{ 0, 1, 2, 3, 4, 5, 6, 7,
  2429: 			8*16+0, 8*16+1, 8*16+2, 8*16+3, 8*16+4, 8*16+5, 8*16+6, 8*16+7 },
  2430: 	{ 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16,
  2431: 			16*16, 17*16, 18*16, 19*16, 20*16, 21*16, 22*16, 23*16 },
  2432: 	64*8
  2433: };
  2434: 
  2435: static struct GfxDecodeInfo gfxdecodeinfo[] =
  2436: {
  2437: 	{ REGION_GFX1, 0, &charlayout,  0, 256 },  /* text */
  2438: 	{ REGION_GFX1, 0, &tilelayout,  0, 256 },  /* sprites & playfield */
  2439: 	{ -1 } /* end of array */
  2440: };
  2441: 
  2442: static struct GfxLayout rambo3_charlayout =
  2443: {
  2444: 	8,8,
  2445: 	RGN_FRAC(1,4),
  2446: 	4,
  2447: 	{ RGN_FRAC(0,4), RGN_FRAC(1,4), RGN_FRAC(2,4), RGN_FRAC(3,4) },
  2448: 	{ 0, 1, 2, 3, 4, 5, 6, 7 },
  2449: 	{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
  2450: 	8*8
  2451: };
  2452: static struct GfxLayout rambo3_tilelayout =
  2453: {
  2454: 	16,16,
  2455: 	RGN_FRAC(1,4),
  2456: 	4,
  2457: 	{ RGN_FRAC(0,4), RGN_FRAC(1,4), RGN_FRAC(2,4), RGN_FRAC(3,4) },
  2458: 	{ 0, 1, 2, 3, 4, 5, 6, 7,
  2459: 			8*8+0, 8*8+1, 8*8+2, 8*8+3, 8*8+4, 8*8+5, 8*8+6, 8*8+7 },
  2460: 	{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
  2461: 			16*8, 17*8, 18*8, 19*8, 20*8, 21*8, 22*8, 23*8 },
  2462: 	32*8
  2463: };
  2464: 
  2465: static struct GfxDecodeInfo rambo3_gfxdecodeinfo[] =
  2466: {
  2467: 	{ REGION_GFX1, 0, &rambo3_charlayout,  0, 256 },  /* text */
  2468: 	{ REGION_GFX1, 0, &rambo3_tilelayout,  0, 256 },  /* sprites & playfield */
  2469: 	{ -1 } /* end of array */
  2470: };
  2471: 
  2472: 
  2473: /* handler called by the YM2610 emulator when the internal timers cause an IRQ */
  2474: static void irqhandler(int irq)
  2475: {
  2476: 	cpu_set_irq_line(1,0,irq ? ASSERT_LINE : CLEAR_LINE);
  2477: }
  2478: 
  2479: static struct YM2610interface ym2610_interface_rsaga2 =
  2480: {
  2481: 	1,	/* 1 chip */
  2482: 	8000000,	/* 8 MHz */
  2483: 	{ 25 },
  2484: 	{ 0 },
  2485: 	{ 0 },
  2486: 	{ 0 },
  2487: 	{ 0 },
  2488: 	{ irqhandler },
  2489: 	{ REGION_SOUND1 },
  2490: 	{ REGION_SOUND2 },
  2491: 	{ YM3012_VOL(100,MIXER_PAN_LEFT,100,MIXER_PAN_RIGHT) }
  2492: };
  2493: 
  2494: static struct YM2610interface ym2610_interface_crimec =
  2495: {
  2496: 	1,	/* 1 chip */
  2497: 	8000000,	/* 8 MHz */
  2498: 	{ 25 },
  2499: 	{ 0 },
  2500: 	{ 0 },
  2501: 	{ 0 },
  2502: 	{ 0 },
  2503: 	{ irqhandler },
  2504: 	{ REGION_SOUND1 },
  2505: 	{ REGION_SOUND1 },
  2506: 	{ YM3012_VOL(100,MIXER_PAN_LEFT,100,MIXER_PAN_RIGHT) }
  2507: };
  2508: 
  2509: static struct YM2203interface ym2203_interface =
  2510: {
  2511: 	1,
  2512: 	3000000,				/* ?? */
  2513: 	{ YM2203_VOL(80,25) },	/* ?? */
  2514: 	{ 0 },
  2515: 	{ 0 },
  2516: 	{ bankswitch_w },
  2517: 	{ 0 },
  2518: 	{ irqhandler }
  2519: };
  2520: 
  2521: static struct OKIM6295interface okim6295_interface =
  2522: {
  2523: 	2,
  2524: 	{ 8000,8000 },			/* ?? */
  2525: 	{ REGION_SOUND1,REGION_SOUND1 }, /* memory regions */
  2526: 	{ 50,65 }				/* ?? */
  2527: };
  2528: 
  2529: /*
  2530: 	Games that use the mb87078 are: pbobble, spacedx and qzshowby
  2531: 	schems are not available, but from the writes I guess that
  2532: 	they only use channel 1
  2533: 	The sound chips' volume altered with the mb87078 are:
  2534: 	ym2610 in spacedx,
  2535: 	ym2610b in pbobble,qzshowby,
  2536: 
  2537: 	Both ym2610 and ym2610b generate 3 (PSG like) + 2 (fm left,right) channels.
  2538: 	I use mixer_set_volume() to emulate the effect.
  2539: */
  2540: static void mb87078_gain_changed(int channel, int percent)
  2541: {
  2542: 	if (channel==1)
  2543: 	{
  2544: 		mixer_set_volume(0,percent);
  2545: 		mixer_set_volume(1,percent);
  2546: 		mixer_set_volume(2,percent);
  2547: 		mixer_set_volume(3,percent);
  2548: 		mixer_set_volume(4,percent);
  2549: 		//usrintf_showmessage("MB87078 gain ch#%i percent=%i",channel,percent);
  2550: 	}
  2551: }
  2552: 
  2553: static struct MB87078interface mb87078_interface =
  2554: {
  2555: 	mb87078_gain_changed	/*callback function for gain change*/
  2556: };
  2557: 
  2558: 
  2559: static MACHINE_INIT( mb87078 )
  2560: {
  2561: 	if (Machine->sample_rate != 0)
  2562: 		MB87078_start(0, &mb87078_interface); /*chip #0*/
  2563: /*
  2564: 	{
  2565: 		int i;
  2566: 		for (i=0; i<6; i++)
  2567: 			logerror("SOUND Chan#%i name=%s\n", i, mixer_get_name(i) );
  2568: 	}
  2569: */
  2570: }
  2571: 
  2572: 
  2573: static MACHINE_DRIVER_START( rastsag2 )
  2574: 
  2575: 	/* basic machine hardware */
  2576: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  2577: 	MDRV_CPU_MEMORY(rastsag2_readmem,rastsag2_writemem)
  2578: 	MDRV_CPU_VBLANK_INT(rastansaga2_interrupt,1)
  2579: 
  2580: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2581: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  2582: 
  2583: 	MDRV_FRAMES_PER_SECOND(60)
  2584: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2585: 	MDRV_INTERLEAVE(10)
  2586: 
  2587: 	/* video hardware */
  2588: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2589: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2590: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2591: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2592: 	MDRV_PALETTE_LENGTH(4096)
  2593: 
  2594: 	MDRV_VIDEO_START(taitob_color_order0)
  2595: 	MDRV_VIDEO_EOF(taitob)
  2596: 	MDRV_VIDEO_UPDATE(taitob)
  2597: 
  2598: 	/* sound hardware */
  2599: 	MDRV_SOUND_ADD(YM2610, ym2610_interface_rsaga2)
  2600: MACHINE_DRIVER_END
  2601: 
  2602: 
  2603: static MACHINE_DRIVER_START( ashura )
  2604: 
  2605: 	/* basic machine hardware */
  2606: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  2607: 	MDRV_CPU_MEMORY(rastsag2_readmem,rastsag2_writemem)
  2608: 	MDRV_CPU_VBLANK_INT(rastansaga2_interrupt,1)
  2609: 
  2610: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2611: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  2612: 
  2613: 	MDRV_FRAMES_PER_SECOND(60)
  2614: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2615: 	MDRV_INTERLEAVE(10)
  2616: 
  2617: 	/* video hardware */
  2618: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2619: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2620: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2621: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2622: 	MDRV_PALETTE_LENGTH(4096)
  2623: 
  2624: 	MDRV_VIDEO_START(taitob_color_order0)
  2625: 	MDRV_VIDEO_EOF(taitob)
  2626: 	MDRV_VIDEO_UPDATE(taitob)
  2627: 
  2628: 	/* sound hardware */
  2629: 	MDRV_SOUND_ADD(YM2610, ym2610_interface_crimec)
  2630: MACHINE_DRIVER_END
  2631: 
  2632: 
  2633: static MACHINE_DRIVER_START( crimec )
  2634: 
  2635: 	/* basic machine hardware */
  2636: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  2637: 	MDRV_CPU_MEMORY(crimec_readmem,crimec_writemem)
  2638: 	MDRV_CPU_VBLANK_INT(crimec_interrupt,1)
  2639: 
  2640: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2641: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  2642: 
  2643: 	MDRV_FRAMES_PER_SECOND(60)
  2644: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2645: 	MDRV_INTERLEAVE(10)
  2646: 
  2647: 	/* video hardware */
  2648: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2649: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2650: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2651: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2652: 	MDRV_PALETTE_LENGTH(4096)
  2653: 
  2654: 	MDRV_VIDEO_START(taitob_color_order1)
  2655: 	MDRV_VIDEO_EOF(taitob)
  2656: 	MDRV_VIDEO_UPDATE(taitob)
  2657: 
  2658: 	/* sound hardware */
  2659: 	MDRV_SOUND_ADD(YM2610, ym2610_interface_crimec)
  2660: MACHINE_DRIVER_END
  2661: 
  2662: 
  2663: static MACHINE_DRIVER_START( tetrist )
  2664: 
  2665: 	/* basic machine hardware */
  2666: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz ???*/
  2667: 	MDRV_CPU_MEMORY(tetrist_readmem,tetrist_writemem)
  2668: 	MDRV_CPU_VBLANK_INT(rastansaga2_interrupt,1)
  2669: 
  2670: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2671: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  2672: 
  2673: 	MDRV_FRAMES_PER_SECOND(60)
  2674: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2675: 	MDRV_INTERLEAVE(10)
  2676: 
  2677: 	/* video hardware */
  2678: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2679: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2680: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2681: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2682: 	MDRV_PALETTE_LENGTH(4096)
  2683: 
  2684: 	MDRV_VIDEO_START(taitob_color_order0)
  2685: 	MDRV_VIDEO_EOF(taitob)
  2686: 	MDRV_VIDEO_UPDATE(taitob)
  2687: 
  2688: 	/* sound hardware */
  2689: 	MDRV_SOUND_ADD(YM2610, ym2610_interface_rsaga2)
  2690: MACHINE_DRIVER_END
  2691: 
  2692: 
  2693: static MACHINE_DRIVER_START( hitice )
  2694: 
  2695: 	/* basic machine hardware */
  2696: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  2697: 	MDRV_CPU_MEMORY(hitice_readmem,hitice_writemem)
  2698: 	MDRV_CPU_VBLANK_INT(hitice_interrupt,1)
  2699: 
  2700: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2701: 	MDRV_CPU_MEMORY(hitice_sound_readmem,hitice_sound_writemem)
  2702: 
  2703: 	MDRV_FRAMES_PER_SECOND(60)
  2704: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2705: 	MDRV_INTERLEAVE(10)
  2706: 
  2707: 	/* video hardware */
  2708: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2709: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2710: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2711: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2712: 	MDRV_PALETTE_LENGTH(4096)
  2713: 
  2714: 	MDRV_VIDEO_START(hitice)
  2715: 	MDRV_VIDEO_EOF(taitob)
  2716: 	MDRV_VIDEO_UPDATE(taitob)
  2717: 
  2718: 	/* sound hardware */
  2719: 	MDRV_SOUND_ADD(YM2203, ym2203_interface)
  2720: 	MDRV_SOUND_ADD(OKIM6295, okim6295_interface)
  2721: MACHINE_DRIVER_END
  2722: 
  2723: 
  2724: static MACHINE_DRIVER_START( rambo3 )
  2725: 
  2726: 	/* basic machine hardware */
  2727: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  2728: 	MDRV_CPU_MEMORY(rambo3_readmem,rambo3_writemem)
  2729: 	MDRV_CPU_VBLANK_INT(rambo3_interrupt,1)
  2730: 
  2731: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2732: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  2733: 
  2734: 	MDRV_FRAMES_PER_SECOND(60)
  2735: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2736: 	MDRV_INTERLEAVE(10)
  2737: 
  2738: 	/* video hardware */
  2739: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2740: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2741: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2742: 	MDRV_GFXDECODE(rambo3_gfxdecodeinfo)
  2743: 	MDRV_PALETTE_LENGTH(4096)
  2744: 
  2745: 	MDRV_VIDEO_START(taitob_color_order0)
  2746: 	MDRV_VIDEO_EOF(taitob)
  2747: 	MDRV_VIDEO_UPDATE(taitob)
  2748: 
  2749: 	/* sound hardware */
  2750: 	MDRV_SOUND_ADD(YM2610, ym2610_interface_crimec)
  2751: MACHINE_DRIVER_END
  2752: 
  2753: 
  2754: static MACHINE_DRIVER_START( rambo3a )
  2755: 
  2756: 	/* basic machine hardware */
  2757: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  2758: 	MDRV_CPU_MEMORY(rambo3_readmem,rambo3_writemem)
  2759: 	MDRV_CPU_VBLANK_INT(rambo3_interrupt,1)
  2760: 
  2761: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2762: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  2763: 
  2764: 	MDRV_FRAMES_PER_SECOND(60)
  2765: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2766: 	MDRV_INTERLEAVE(10)
  2767: 
  2768: 	/* video hardware */
  2769: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2770: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2771: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2772: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2773: 	MDRV_PALETTE_LENGTH(4096)
  2774: 
  2775: 	MDRV_VIDEO_START(taitob_color_order2)
  2776: 	MDRV_VIDEO_EOF(taitob)
  2777: 	MDRV_VIDEO_UPDATE(taitob)
  2778: 
  2779: 	/* sound hardware */
  2780: 	MDRV_SOUND_ADD(YM2610, ym2610_interface_crimec)
  2781: MACHINE_DRIVER_END
  2782: 
  2783: 
  2784: static MACHINE_DRIVER_START( pbobble )
  2785: 
  2786: 	/* basic machine hardware */
  2787: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  2788: 	MDRV_CPU_MEMORY(pbobble_readmem,pbobble_writemem)
  2789: 	MDRV_CPU_VBLANK_INT(pbobble_interrupt,1)
  2790: 
  2791: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2792: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  2793: 
  2794: 	MDRV_FRAMES_PER_SECOND(60)
  2795: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2796: 	MDRV_INTERLEAVE(10)
  2797: 
  2798: 	MDRV_MACHINE_INIT(mb87078)
  2799: 	MDRV_NVRAM_HANDLER(taito_b)
  2800: 
  2801: 	/* video hardware */
  2802: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2803: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2804: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2805: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2806: 	MDRV_PALETTE_LENGTH(4096)
  2807: 
  2808: 	MDRV_VIDEO_START(taitob_color_order1)
  2809: 	MDRV_VIDEO_EOF(taitob)
  2810: 	MDRV_VIDEO_UPDATE(taitob)
  2811: 
  2812: 	/* sound hardware */
  2813: 	MDRV_SOUND_ADD(YM2610B, ym2610_interface_crimec)
  2814: MACHINE_DRIVER_END
  2815: 
  2816: 
  2817: static MACHINE_DRIVER_START( spacedx )
  2818: 
  2819: 	/* basic machine hardware */
  2820: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  2821: 	MDRV_CPU_MEMORY(spacedx_readmem,spacedx_writemem)
  2822: 	MDRV_CPU_VBLANK_INT(pbobble_interrupt,1)
  2823: 
  2824: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2825: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  2826: 
  2827: 	MDRV_FRAMES_PER_SECOND(60)
  2828: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2829: 	MDRV_INTERLEAVE(10)
  2830: 
  2831: 	MDRV_MACHINE_INIT(mb87078)
  2832: 	MDRV_NVRAM_HANDLER(taito_b)
  2833: 
  2834: 	/* video hardware */
  2835: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2836: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2837: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2838: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2839: 	MDRV_PALETTE_LENGTH(4096)
  2840: 
  2841: 	MDRV_VIDEO_START(taitob_color_order1)
  2842: 	MDRV_VIDEO_EOF(taitob)
  2843: 	MDRV_VIDEO_UPDATE(taitob)
  2844: 
  2845: 	/* sound hardware */
  2846: 	MDRV_SOUND_ADD(YM2610, ym2610_interface_crimec)
  2847: MACHINE_DRIVER_END
  2848: 
  2849: 
  2850: static MACHINE_DRIVER_START( spacedxo )
  2851: 
  2852: 	/* basic machine hardware */
  2853: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  2854: 	MDRV_CPU_MEMORY(spacedxo_readmem,spacedxo_writemem)
  2855: 	MDRV_CPU_VBLANK_INT(selfeena_interrupt,1)
  2856: 
  2857: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2858: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  2859: 
  2860: 	MDRV_FRAMES_PER_SECOND(60)
  2861: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2862: 	MDRV_INTERLEAVE(10)
  2863: 
  2864: 	/* video hardware */
  2865: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2866: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2867: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2868: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2869: 	MDRV_PALETTE_LENGTH(4096)
  2870: 
  2871: 	MDRV_VIDEO_START(taitob_color_order2)
  2872: 	MDRV_VIDEO_EOF(taitob)
  2873: 	MDRV_VIDEO_UPDATE(taitob)
  2874: 
  2875: 	/* sound hardware */
  2876: 	MDRV_SOUND_ADD(YM2610, ym2610_interface_crimec)
  2877: MACHINE_DRIVER_END
  2878: 
  2879: 
  2880: static MACHINE_DRIVER_START( qzshowby )
  2881: 
  2882: 	/* basic machine hardware */
  2883: 	MDRV_CPU_ADD(M68000, 16000000)	/* 16 MHz according to the readme*/
  2884: 	MDRV_CPU_MEMORY(qzshowby_readmem,qzshowby_writemem)
  2885: 	MDRV_CPU_VBLANK_INT(pbobble_interrupt,1)
  2886: 
  2887: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2888: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  2889: 
  2890: 	MDRV_FRAMES_PER_SECOND(60)
  2891: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2892: 	MDRV_INTERLEAVE(10)
  2893: 
  2894: 	MDRV_MACHINE_INIT(mb87078)
  2895: 	MDRV_NVRAM_HANDLER(taito_b)
  2896: 
  2897: 	/* video hardware */
  2898: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2899: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2900: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2901: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2902: 	MDRV_PALETTE_LENGTH(4096)
  2903: 
  2904: 	MDRV_VIDEO_START(taitob_color_order1)
  2905: 	MDRV_VIDEO_EOF(taitob)
  2906: 	MDRV_VIDEO_UPDATE(taitob)
  2907: 
  2908: 	/* sound hardware */
  2909: 	MDRV_SOUND_ADD(YM2610B, ym2610_interface_crimec)
  2910: MACHINE_DRIVER_END
  2911: 
  2912: 
  2913: static MACHINE_DRIVER_START( viofight )
  2914: 
  2915: 	/* basic machine hardware */
  2916: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  2917: 	MDRV_CPU_MEMORY(viofight_readmem,viofight_writemem)
  2918: 	MDRV_CPU_VBLANK_INT(viofight_interrupt,1)
  2919: 
  2920: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2921: 	MDRV_CPU_MEMORY(hitice_sound_readmem,hitice_sound_writemem)
  2922: 
  2923: 	MDRV_FRAMES_PER_SECOND(60)
  2924: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2925: 	MDRV_INTERLEAVE(10)
  2926: 
  2927: 	/* video hardware */
  2928: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2929: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2930: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2931: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2932: 	MDRV_PALETTE_LENGTH(4096)
  2933: 
  2934: 	MDRV_VIDEO_START(taitob_color_order2)
  2935: 	MDRV_VIDEO_EOF(taitob)
  2936: 	MDRV_VIDEO_UPDATE(taitob)
  2937: 
  2938: 	/* sound hardware */
  2939: 	MDRV_SOUND_ADD(YM2203, ym2203_interface)
  2940: 	MDRV_SOUND_ADD(OKIM6295, okim6295_interface)
  2941: MACHINE_DRIVER_END
  2942: 
  2943: #if 0 
  2944: static void masterw_patch(void)
  2945: {
  2946: 	data16_t *rom = (data16_t*)memory_region(REGION_CPU1);
  2947: 	rom[ 0x3fffe/2 ] = 2; //US version
  2948: }
  2949: #endif 
  2950: 
  2951: static MACHINE_DRIVER_START( masterw )
  2952: 
  2953: 	/* basic machine hardware */
  2954: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  2955: 	MDRV_CPU_MEMORY(masterw_readmem,masterw_writemem)
  2956: 	MDRV_CPU_VBLANK_INT(masterw_interrupt,1)
  2957: 
  2958: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2959: 	MDRV_CPU_MEMORY(masterw_sound_readmem,masterw_sound_writemem)
  2960: 
  2961: 	MDRV_FRAMES_PER_SECOND(60)
  2962: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2963: 	MDRV_INTERLEAVE(10)
  2964: 
  2965: 	/* video hardware */
  2966: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2967: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2968: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2969: 	MDRV_GFXDECODE(gfxdecodeinfo)
  2970: 	MDRV_PALETTE_LENGTH(4096)
  2971: 
  2972: 	MDRV_VIDEO_START(taitob_color_order2)
  2973: 	MDRV_VIDEO_EOF(taitob)
  2974: 	MDRV_VIDEO_UPDATE(taitob)
  2975: 
  2976: 	/* sound hardware */
  2977: 	MDRV_SOUND_ADD(YM2203, ym2203_interface)
  2978: MACHINE_DRIVER_END
  2979: 
  2980: 
  2981: static MACHINE_DRIVER_START( silentd )
  2982: 
  2983: 	/* basic machine hardware */
  2984: 	MDRV_CPU_ADD(M68000, 16000000)	/* 16 MHz ??? */
  2985: 	MDRV_CPU_MEMORY(silentd_readmem,silentd_writemem)
  2986: 	MDRV_CPU_VBLANK_INT(silentd_interrupt,1)
  2987: 
  2988: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  2989: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  2990: 
  2991: 	MDRV_FRAMES_PER_SECOND(60)
  2992: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  2993: 	MDRV_INTERLEAVE(10)
  2994: 
  2995: 	/* video hardware */
  2996: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  2997: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  2998: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  2999: 	MDRV_GFXDECODE(gfxdecodeinfo)
  3000: 	MDRV_PALETTE_LENGTH(4096)
  3001: 
  3002: 	MDRV_VIDEO_START(taitob_color_order2)
  3003: 	MDRV_VIDEO_EOF(taitob)
  3004: 	MDRV_VIDEO_UPDATE(taitob)
  3005: 
  3006: 	/* sound hardware */
  3007: 	MDRV_SOUND_ADD(YM2610, ym2610_interface_rsaga2)
  3008: MACHINE_DRIVER_END
  3009: 
  3010: 
  3011: static MACHINE_DRIVER_START( selfeena )
  3012: 
  3013: 	/* basic machine hardware */
  3014: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  3015: 	MDRV_CPU_MEMORY(selfeena_readmem,selfeena_writemem)
  3016: 	MDRV_CPU_VBLANK_INT(selfeena_interrupt,1)
  3017: 
  3018: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  3019: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  3020: 
  3021: 	MDRV_FRAMES_PER_SECOND(60)
  3022: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  3023: 	MDRV_INTERLEAVE(10)
  3024: 
  3025: 	/* video hardware */
  3026: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  3027: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  3028: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  3029: 	MDRV_GFXDECODE(gfxdecodeinfo)
  3030: 	MDRV_PALETTE_LENGTH(4096)
  3031: 
  3032: 	MDRV_VIDEO_START(taitob_color_order2)
  3033: 	MDRV_VIDEO_EOF(taitob)
  3034: 	MDRV_VIDEO_UPDATE(taitob)
  3035: 
  3036: 	/* sound hardware */
  3037: 	MDRV_SOUND_ADD(YM2610, ym2610_interface_crimec)
  3038: MACHINE_DRIVER_END
  3039: 
  3040: #if 0 
  3041: static void ryujin_patch(void)
  3042: {
  3043: 	data16_t *rom = (data16_t*)memory_region(REGION_CPU1);
  3044: 	rom[ 0x62/2 ] = 1;
  3045: 	//0 (already in rom) - Taito Corporation 1993
  3046: 	//1 - Taito America corp with blue FBI logo
  3047: }
  3048: #endif 
  3049: 
  3050: static MACHINE_DRIVER_START( ryujin )
  3051: 
  3052: 	/* basic machine hardware */
  3053: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  3054: 	MDRV_CPU_MEMORY(selfeena_readmem,selfeena_writemem)
  3055: 	MDRV_CPU_VBLANK_INT(selfeena_interrupt,1)
  3056: 
  3057: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  3058: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  3059: 
  3060: 	MDRV_FRAMES_PER_SECOND(60)
  3061: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  3062: 	MDRV_INTERLEAVE(10)
  3063: 
  3064: 	/* video hardware */
  3065: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  3066: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  3067: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  3068: 	MDRV_GFXDECODE(gfxdecodeinfo)
  3069: 	MDRV_PALETTE_LENGTH(4096)
  3070: 
  3071: 	MDRV_VIDEO_START(taitob_color_order2)
  3072: 	MDRV_VIDEO_EOF(taitob)
  3073: 	MDRV_VIDEO_UPDATE(taitob)
  3074: 
  3075: 	/* sound hardware */
  3076: 	MDRV_SOUND_ADD(YM2610, ym2610_interface_crimec)
  3077: MACHINE_DRIVER_END
  3078: 
  3079: #if 0 
  3080: static void sbm_patch(void)
  3081: {
  3082: 	data16_t *rom = (data16_t*)memory_region(REGION_CPU1);
  3083: 	rom[ 0x7ffff/2 ] = 2; //US version
  3084: }
  3085: #endif 
  3086: 
  3087: static MACHINE_DRIVER_START( sbm )
  3088: 
  3089: 	/* basic machine hardware */
  3090: 	MDRV_CPU_ADD(M68000, 12000000)	/* 12 MHz */
  3091: 	MDRV_CPU_MEMORY(sbm_readmem,sbm_writemem)
  3092: 	MDRV_CPU_VBLANK_INT(sbm_interrupt,1)
  3093: 
  3094: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
  3095: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  3096: 
  3097: 	MDRV_FRAMES_PER_SECOND(60)
  3098: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  3099: 	MDRV_INTERLEAVE(10)
  3100: 
  3101: 	/* video hardware */
  3102: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  3103: 	MDRV_SCREEN_SIZE(64*8, 32*8)
  3104: 	MDRV_VISIBLE_AREA(0*8, 40*8-1, 2*8, 30*8-1)
  3105: 	MDRV_GFXDECODE(gfxdecodeinfo)
  3106: 	MDRV_PALETTE_LENGTH(4096)
  3107: 
  3108: 	MDRV_VIDEO_START(taitob_color_order0)
  3109: 	MDRV_VIDEO_EOF(taitob)
  3110: 	MDRV_VIDEO_UPDATE(taitob)
  3111: 
  3112: 	/* sound hardware */
  3113: 	MDRV_SOUND_ADD(YM2610B, ym2610_interface_crimec)
  3114: MACHINE_DRIVER_END
  3115: 
  3116: /***************************************************************************
  3117: 
  3118:   Game driver(s)
  3119: 
  3120: ***************************************************************************/
  3121: 
  3122: ROM_START( rastsag2 )
  3123: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3124: 	ROM_LOAD16_BYTE( "b81-08.50" , 0x00000, 0x20000, CRC(d6da9169) SHA1(33d74315754576e6f879059de033f96f9003f819) )
  3125: 	ROM_LOAD16_BYTE( "b81-07.bin", 0x00001, 0x20000, CRC(8edf17d7) SHA1(b0c03002ed520abffefd55d4969d0ed4fcf3a3a4) )
  3126: 	ROM_LOAD16_BYTE( "b81-10.49" , 0x40000, 0x20000, CRC(53f34344) SHA1(9930c3fd9c17f7d9b654221da3896d0ff5778c97) )
  3127: 	ROM_LOAD16_BYTE( "b81-09.30" , 0x40001, 0x20000, CRC(630d34af) SHA1(42452111b10f1d543e03661012dda879218dea62) )
  3128: 
  3129: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3130: 	ROM_LOAD( "b81-11.bin", 0x00000, 0x4000, CRC(3704bf09) SHA1(a0a37b23e3df482c5f5aa43825345ea8affbba34) )
  3131: 	ROM_CONTINUE(           0x10000, 0xc000 ) /* banked stuff */
  3132: 
  3133: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3134: 	ROM_LOAD( "b81-03.bin", 0x000000, 0x080000, CRC(551b75e6) SHA1(5b8388ee2c6262f359c9e6d04c951ea8dc3901c9) )
  3135: 	ROM_LOAD( "b81-04.bin", 0x080000, 0x080000, CRC(cf734e12) SHA1(4201a74468058761454515738fbf3a7b22a66e00) )
  3136: 
  3137: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3138: 	ROM_LOAD( "b81-01.bin", 0x00000, 0x80000, CRC(b33f796b) SHA1(6cdb32f56283acdf20eb46a1e658e3bd7c97978c) )
  3139: 
  3140: 	ROM_REGION( 0x80000, REGION_SOUND2, 0 )
  3141: 	ROM_LOAD( "b81-02.bin", 0x00000, 0x80000, CRC(20ec3b86) SHA1(fcdcc7f0a09feb824d8d73b1af0aae7ec30fd1ed) )
  3142: ROM_END
  3143: 
  3144: ROM_START( nastarw )
  3145: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3146: 	ROM_LOAD16_BYTE( "b81-08.50" , 0x00000, 0x20000, CRC(d6da9169) SHA1(33d74315754576e6f879059de033f96f9003f819) )
  3147: 	ROM_LOAD16_BYTE( "b81-12.31",  0x00001, 0x20000, CRC(f9d82741) SHA1(f5f3a1101d92b6c241e819dcdcdcdc4b125140f7) )
  3148: 	ROM_LOAD16_BYTE( "b81-10.49" , 0x40000, 0x20000, CRC(53f34344) SHA1(9930c3fd9c17f7d9b654221da3896d0ff5778c97) )
  3149: 	ROM_LOAD16_BYTE( "b81-09.30" , 0x40001, 0x20000, CRC(630d34af) SHA1(42452111b10f1d543e03661012dda879218dea62) )
  3150: 
  3151: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3152: 	ROM_LOAD( "b81-11.bin", 0x00000, 0x4000, CRC(3704bf09) SHA1(a0a37b23e3df482c5f5aa43825345ea8affbba34) )
  3153: 	ROM_CONTINUE(           0x10000, 0xc000 ) /* banked stuff */
  3154: 
  3155: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3156: 	ROM_LOAD( "b81-03.bin", 0x000000, 0x080000, CRC(551b75e6) SHA1(5b8388ee2c6262f359c9e6d04c951ea8dc3901c9) )
  3157: 	ROM_LOAD( "b81-04.bin", 0x080000, 0x080000, CRC(cf734e12) SHA1(4201a74468058761454515738fbf3a7b22a66e00) )
  3158: 
  3159: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3160: 	ROM_LOAD( "b81-01.bin", 0x00000, 0x80000, CRC(b33f796b) SHA1(6cdb32f56283acdf20eb46a1e658e3bd7c97978c) )
  3161: 
  3162: 	ROM_REGION( 0x80000, REGION_SOUND2, 0 )
  3163: 	ROM_LOAD( "b81-02.bin", 0x00000, 0x80000, CRC(20ec3b86) SHA1(fcdcc7f0a09feb824d8d73b1af0aae7ec30fd1ed) )
  3164: ROM_END
  3165: 
  3166: ROM_START( nastar )
  3167: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3168: 	ROM_LOAD16_BYTE( "b81-08.50" , 0x00000, 0x20000, CRC(d6da9169) SHA1(33d74315754576e6f879059de033f96f9003f819) )
  3169: 	ROM_LOAD16_BYTE( "b81-13.bin", 0x00001, 0x20000, CRC(60d176fb) SHA1(fbe3a0603bcd23e565b0d474a63742d20a3ce8cc) )
  3170: 	ROM_LOAD16_BYTE( "b81-10.49" , 0x40000, 0x20000, CRC(53f34344) SHA1(9930c3fd9c17f7d9b654221da3896d0ff5778c97) )
  3171: 	ROM_LOAD16_BYTE( "b81-09.30" , 0x40001, 0x20000, CRC(630d34af) SHA1(42452111b10f1d543e03661012dda879218dea62) )
  3172: 
  3173: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3174: 	ROM_LOAD( "b81-11.bin", 0x00000, 0x4000, CRC(3704bf09) SHA1(a0a37b23e3df482c5f5aa43825345ea8affbba34) )
  3175: 	ROM_CONTINUE(           0x10000, 0xc000 ) /* banked stuff */
  3176: 
  3177: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3178: 	ROM_LOAD( "b81-03.bin", 0x000000, 0x080000, CRC(551b75e6) SHA1(5b8388ee2c6262f359c9e6d04c951ea8dc3901c9) )
  3179: 	ROM_LOAD( "b81-04.bin", 0x080000, 0x080000, CRC(cf734e12) SHA1(4201a74468058761454515738fbf3a7b22a66e00) )
  3180: 
  3181: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3182: 	ROM_LOAD( "b81-01.bin", 0x00000, 0x80000, CRC(b33f796b) SHA1(6cdb32f56283acdf20eb46a1e658e3bd7c97978c) )
  3183: 
  3184: 	ROM_REGION( 0x80000, REGION_SOUND2, 0 )
  3185: 	ROM_LOAD( "b81-02.bin", 0x00000, 0x80000, CRC(20ec3b86) SHA1(fcdcc7f0a09feb824d8d73b1af0aae7ec30fd1ed) )
  3186: ROM_END
  3187: 
  3188: ROM_START( crimec )
  3189: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3190: 	ROM_LOAD16_BYTE( "b99_07.40",    0x00000, 0x20000, CRC(26e886e6) SHA1(b7d0024a084216c1139eb6705f1b8143902cbed3) )
  3191: 	ROM_LOAD16_BYTE( "b99_05.29",    0x00001, 0x20000, CRC(ff7f9a9d) SHA1(c1897a141eea423879d2792640a9ee85636ed5be) )
  3192: 	ROM_LOAD16_BYTE( "b99_06.39",    0x40000, 0x20000, CRC(1f26aa92) SHA1(10ab253812db83204c136d01d865063a2210cb92) )
  3193: 	ROM_LOAD16_BYTE( "b99_14.28",    0x40001, 0x20000, CRC(71c8b4d7) SHA1(55068c9cac75200f564b10f98f322e30aaa6849e) )
  3194: 
  3195: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3196: 	ROM_LOAD( "b99_08.45", 0x00000, 0x4000, CRC(26135451) SHA1(651c77285eb12a13a2fe4069031c6f01150ecba4) )
  3197: 	ROM_CONTINUE(          0x10000, 0xc000 ) /* banked stuff */
  3198: 
  3199: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3200: 	ROM_LOAD( "b99_02.18", 0x000000, 0x080000, CRC(2a5d4a26) SHA1(94bdfca9365970a80a639027b195b71cebc5ab9c) )
  3201: 	ROM_LOAD( "b99_01.19", 0x080000, 0x080000, CRC(a19e373a) SHA1(2208c9142473dc2218fd8b97fd6d0c861aeba011) )
  3202: 
  3203: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3204: 	ROM_LOAD( "b99_03.37", 0x000000, 0x080000, CRC(dda10df7) SHA1(ffbe1423794035e6f049fddb096b7282610b7cee) )
  3205: ROM_END
  3206: 
  3207: ROM_START( crimecu )
  3208: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3209: 	ROM_LOAD16_BYTE( "b99_07.40",    0x00000, 0x20000, CRC(26e886e6) SHA1(b7d0024a084216c1139eb6705f1b8143902cbed3) )
  3210: 	ROM_LOAD16_BYTE( "b99_05.29",    0x00001, 0x20000, CRC(ff7f9a9d) SHA1(c1897a141eea423879d2792640a9ee85636ed5be) )
  3211: 	ROM_LOAD16_BYTE( "b99_06.39",    0x40000, 0x20000, CRC(1f26aa92) SHA1(10ab253812db83204c136d01d865063a2210cb92) )
  3212: 	ROM_LOAD16_BYTE( "b99_13.28",    0x40001, 0x20000, CRC(06cf8441) SHA1(0395fd1f38366bd56b4b53e435dc7c3676d9e9bf) )
  3213: 
  3214: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3215: 	ROM_LOAD( "b99_08.45", 0x00000, 0x4000, CRC(26135451) SHA1(651c77285eb12a13a2fe4069031c6f01150ecba4) )
  3216: 	ROM_CONTINUE(          0x10000, 0xc000 ) /* banked stuff */
  3217: 
  3218: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3219: 	ROM_LOAD( "b99_02.18", 0x000000, 0x080000, CRC(2a5d4a26) SHA1(94bdfca9365970a80a639027b195b71cebc5ab9c) )
  3220: 	ROM_LOAD( "b99_01.19", 0x080000, 0x080000, CRC(a19e373a) SHA1(2208c9142473dc2218fd8b97fd6d0c861aeba011) )
  3221: 
  3222: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3223: 	ROM_LOAD( "b99_03.37", 0x000000, 0x080000, CRC(dda10df7) SHA1(ffbe1423794035e6f049fddb096b7282610b7cee) )
  3224: ROM_END
  3225: 
  3226: ROM_START( crimecj )
  3227: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3228: 	ROM_LOAD16_BYTE( "b99_07.40", 0x00000, 0x20000, CRC(26e886e6) SHA1(b7d0024a084216c1139eb6705f1b8143902cbed3) )
  3229: 	ROM_LOAD16_BYTE( "b99_05.29", 0x00001, 0x20000, CRC(ff7f9a9d) SHA1(c1897a141eea423879d2792640a9ee85636ed5be) )
  3230: 	ROM_LOAD16_BYTE( "b99_06.39", 0x40000, 0x20000, CRC(1f26aa92) SHA1(10ab253812db83204c136d01d865063a2210cb92) )
  3231: 	ROM_LOAD16_BYTE( "b99_15.28", 0x40001, 0x20000, CRC(e8c1e56d) SHA1(ba0dc181db843e26676223f54cb121df738be987) )
  3232: 
  3233: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3234: 	ROM_LOAD( "b99_08.45", 0x00000, 0x4000, CRC(26135451) SHA1(651c77285eb12a13a2fe4069031c6f01150ecba4) )
  3235: 	ROM_CONTINUE(          0x10000, 0xc000 ) /* banked stuff */
  3236: 
  3237: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3238: 	ROM_LOAD( "b99_02.18", 0x000000, 0x080000, CRC(2a5d4a26) SHA1(94bdfca9365970a80a639027b195b71cebc5ab9c) )
  3239: 	ROM_LOAD( "b99_01.19", 0x080000, 0x080000, CRC(a19e373a) SHA1(2208c9142473dc2218fd8b97fd6d0c861aeba011) )
  3240: 
  3241: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3242: 	ROM_LOAD( "b99_03.37", 0x000000, 0x080000, CRC(dda10df7) SHA1(ffbe1423794035e6f049fddb096b7282610b7cee) )
  3243: ROM_END
  3244: 
  3245: ROM_START( ashura )
  3246: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3247: 	ROM_LOAD16_BYTE( "c4307-1.50", 0x00000, 0x20000, CRC(d5ceb20f) SHA1(59bc9468d7f43d3b1388c2915fafeba7e2cf13a5) )
  3248: 	ROM_LOAD16_BYTE( "c4305-1.31", 0x00001, 0x20000, CRC(a6f3bb37) SHA1(6959f3bcbcd2d5b13c95dcfd7a536541dcab49f8) )
  3249: 	ROM_LOAD16_BYTE( "c4306-1.49", 0x40000, 0x20000, CRC(0f331802) SHA1(e7ed01b0d664c4db6ea9acc54b57e674e10685aa) )
  3250: 	ROM_LOAD16_BYTE( "c4304-1.30", 0x40001, 0x20000, CRC(e06a2414) SHA1(77ebe1e61b6303f328757de2c90fae6588026414) )
  3251: 
  3252: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3253: 	ROM_LOAD( "c43-16",  0x00000, 0x4000, CRC(cb26fce1) SHA1(7cc60326455c7bb2ca543ddfd4002462cc079837) )
  3254: 	ROM_CONTINUE(        0x10000, 0xc000 ) /* banked stuff */
  3255: 
  3256: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3257: 	ROM_LOAD( "c43-02",  0x00000, 0x80000, CRC(105722ae) SHA1(1de5d396d2a4d5948544082c471a15ca1b8e756c) )
  3258: 	ROM_LOAD( "c43-03",  0x80000, 0x80000, CRC(426606ba) SHA1(961ec0a9dc18044adae433337bfa89d951c5207c) )
  3259: 
  3260: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3261: 	ROM_LOAD( "c43-01",  0x00000, 0x80000, CRC(db953f37) SHA1(252591b676366d4828acb20c77aa9960ad9b367e) )
  3262: ROM_END
  3263: 
  3264: ROM_START( ashurau )
  3265: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3266: 	ROM_LOAD16_BYTE( "c43-11", 0x00000, 0x20000, CRC(d5aefc9b) SHA1(0fdfa166942ea70a77f956d16fd3b31225044c54) )
  3267: 	ROM_LOAD16_BYTE( "c43-09", 0x00001, 0x20000, CRC(e91d0ab1) SHA1(992f63ebba538e624c695c1a868b14f4baa66ab9) )
  3268: 	ROM_LOAD16_BYTE( "c43-10", 0x40000, 0x20000, CRC(c218e7ea) SHA1(d9b19ad26206238f8417efe3b80c020fea0dd573) )
  3269: 	ROM_LOAD16_BYTE( "c43-08", 0x40001, 0x20000, CRC(5ef4f19f) SHA1(864e3a4a4e92adaa63249debad6292c528289fbe) )
  3270: 
  3271: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3272: 	ROM_LOAD( "c43-16",  0x00000, 0x4000, CRC(cb26fce1) SHA1(7cc60326455c7bb2ca543ddfd4002462cc079837) )
  3273: 	ROM_CONTINUE(        0x10000, 0xc000 ) /* banked stuff */
  3274: 
  3275: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3276: 	ROM_LOAD( "c43-02",  0x00000, 0x80000, CRC(105722ae) SHA1(1de5d396d2a4d5948544082c471a15ca1b8e756c) )
  3277: 	ROM_LOAD( "c43-03",  0x80000, 0x80000, CRC(426606ba) SHA1(961ec0a9dc18044adae433337bfa89d951c5207c) )
  3278: 
  3279: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3280: 	ROM_LOAD( "c43-01",  0x00000, 0x80000, CRC(db953f37) SHA1(252591b676366d4828acb20c77aa9960ad9b367e) )
  3281: ROM_END
  3282: 
  3283: ROM_START( tetrist )
  3284: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3285: 	ROM_LOAD16_BYTE( "c12-03.bin", 0x000000, 0x020000, CRC(38f1ed41) SHA1(d11194dd6686e6eba8c481bb0f9662041ca396ed) )
  3286: 	ROM_LOAD16_BYTE( "c12-02.bin", 0x000001, 0x020000, CRC(ed9530bc) SHA1(84c324e4ef0c5c3af04ea000ad3e9c319bd9f2a2) )
  3287: 	ROM_LOAD16_BYTE( "c12-05.bin", 0x040000, 0x020000, CRC(128e9927) SHA1(227b4a43074b66c9ba6f4497eb329fbcc5e3f52b) )
  3288: 	ROM_LOAD16_BYTE( "c12-04.bin", 0x040001, 0x020000, CRC(5da7a319) SHA1(0c903b3274f6eafe24c8b5ef476dc5e8e3131b20) )
  3289: 
  3290: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3291: 	ROM_LOAD( "c12-06.bin", 0x00000, 0x4000, CRC(f2814b38) SHA1(846d3cc7a6f1cfbfd5661d6942f24330d21f91f0) )
  3292: 	ROM_CONTINUE(           0x10000, 0xc000 ) /* banked stuff */
  3293: 
  3294: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3295: 	/* empty (uses only pixel layer) */
  3296: 
  3297: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )	/* adpcm samples */
  3298: 	/* empty */
  3299: 
  3300: 	ROM_REGION( 0x80000, REGION_SOUND2, 0 )	/* DELTA-T samples */
  3301: 	/* empty */
  3302: ROM_END
  3303: 
  3304: ROM_START( hitice )
  3305: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3306: 	ROM_LOAD16_BYTE( "c59-10", 0x00000, 0x20000, CRC(e4ffad15) SHA1(87da85e1489fe57bd012177a70434152e5475009) )
  3307: 	ROM_LOAD16_BYTE( "c59-12", 0x00001, 0x20000, CRC(a080d7af) SHA1(9c68b78fbcc42a2f748d1b7f84f138be79f7c0c9) )
  3308: 	ROM_LOAD16_BYTE( "c59-09", 0x40000, 0x10000, CRC(e243e3b0) SHA1(a7daf96ef70e9a92bb3ee4a151ce674a187c15a2) )
  3309: 	ROM_LOAD16_BYTE( "c59-11", 0x40001, 0x10000, CRC(4d4dfa52) SHA1(8ecd62dc2a2f35850340469afa54862b46053ce0) )
  3310: 
  3311: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3312: 	ROM_LOAD( "c59-08",  0x00000, 0x4000, CRC(d3cbc10b) SHA1(75305e264300e0ebd15ada45a6d222fee75bd8e4) )
  3313: 	ROM_CONTINUE(        0x10000, 0xc000 ) /* banked stuff */
  3314: 
  3315: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3316: 	ROM_LOAD( "c59-03",  0x00000, 0x80000, CRC(9e513048) SHA1(4ffa63c01a25e912dd218b7b2deaf5ad1a53659a) )
  3317: 	ROM_LOAD( "c59-02",  0x80000, 0x80000, CRC(affb5e07) SHA1(afe92268c78ab5565d2913672e25f3136a15f534) )
  3318: 
  3319: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3320: 	ROM_LOAD( "c59-01",  0x00000, 0x20000, CRC(46ae291d) SHA1(d36ab48cfa393a6a1eae5caa2a397087eb098f7f) )
  3321: ROM_END
  3322: 
  3323: ROM_START( rambo3 )
  3324: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3325: 	ROM_LOAD16_BYTE( "r3-0e.rom",  0x00000, 0x10000, CRC(3efa4177) SHA1(5e4995e34b92f625f7825238dfbc9e76d4090871) )
  3326: 	ROM_LOAD16_BYTE( "r3-0o.rom",  0x00001, 0x10000, CRC(55c38d92) SHA1(4f712b4eb20ee176da83a5f1154d5890d1360398) )
  3327: 
  3328: /*NOTE: there is a hole in address space here */
  3329: 
  3330: 	ROM_LOAD16_BYTE( "r3-1e.rom" , 0x40000, 0x20000, CRC(40e363c7) SHA1(9907def4736fbff15cf769a762bf1811f890d1c7) )
  3331: 	ROM_LOAD16_BYTE( "r3-1o.rom" , 0x40001, 0x20000, CRC(7f1fe6ab) SHA1(31231747982d9c42f693f650bc137794b438c2b7) )
  3332: 
  3333: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3334: 	ROM_LOAD( "r3-00.rom", 0x00000, 0x4000, CRC(df7a6ed6) SHA1(68f7f17c9ead6aee653b02de234ec54b519907d7) )
  3335: 	ROM_CONTINUE(          0x10000, 0xc000 ) /* banked stuff */
  3336: 
  3337: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE )
  3338: 	ROM_LOAD( "r3-ch1ll.rom", 0x000000, 0x020000, CRC(c86ea5fc) SHA1(daf89340bb5d6ae57ef6faedb3f86c944c68fc45) )
  3339: 	ROM_LOAD( "r3-ch1hl.rom", 0x020000, 0x020000, CRC(7525eb92) SHA1(f691a000580d078f207ea6e9bc8a527e74bc20e5) )
  3340: 	ROM_LOAD( "r3-ch3ll.rom", 0x040000, 0x020000, CRC(abe54b1e) SHA1(4b6d0c694d9c1fcdec87b70fbadee9fb3455b42c) )
  3341: 	ROM_LOAD( "r3-ch3hl.rom", 0x060000, 0x020000, CRC(80e5647e) SHA1(744e9dcc651b80ef4b3cc29ed0ebb223bb65f106) )
  3342: 
  3343: 	ROM_LOAD( "r3-ch1lh.rom", 0x080000, 0x020000, CRC(75568cf0) SHA1(78cb940fafb6e01a018d6823636b398a898e988a) )
  3344: 	ROM_LOAD( "r3-ch1hh.rom", 0x0a0000, 0x020000, CRC(e39cff37) SHA1(79680526759013f8641e82c27b3afc184c06f059) )
  3345: 	ROM_LOAD( "r3-ch3lh.rom", 0x0c0000, 0x020000, CRC(5a155c04) SHA1(9472ef6474275ac5993c2afb222cfbc8d848bd86) )
  3346: 	ROM_LOAD( "r3-ch3hh.rom", 0x0e0000, 0x020000, CRC(abe58fdb) SHA1(6429caa8680255c46457ab0ad6c0f610291d8a92) )
  3347: 
  3348: 	ROM_LOAD( "r3-ch0ll.rom", 0x100000, 0x020000, CRC(b416f1bf) SHA1(8ae546c8286d616a991766eb97c3d281dbafd944) )
  3349: 	ROM_LOAD( "r3-ch0hl.rom", 0x120000, 0x020000, CRC(a4cad36d) SHA1(f8327bcc490cb66703de9bbcd931d964609ae822) )
  3350: 	ROM_LOAD( "r3-ch2ll.rom", 0x140000, 0x020000, CRC(d0ce3051) SHA1(0dc57f53b82d8ae15106df8a08b404c076b9fcef) )
  3351: 	ROM_LOAD( "r3-ch2hl.rom", 0x160000, 0x020000, CRC(837d8677) SHA1(6a3b36399e89c8ff031b25bcf62704197d711a5b) )
  3352: 
  3353: 	ROM_LOAD( "r3-ch0lh.rom", 0x180000, 0x020000, CRC(76a330a2) SHA1(4324bceca7bf5155f7b2543748989e2d364a7e97) )
  3354: 	ROM_LOAD( "r3-ch0hh.rom", 0x1a0000, 0x020000, CRC(4dc69751) SHA1(2abf657dc951dc263b53a2c7a4ed2f4aaf5f9a98) )
  3355: 	ROM_LOAD( "r3-ch2lh.rom", 0x1c0000, 0x020000, CRC(df3bc48f) SHA1(6747a453da4bca0b837f4ef1f1bbe871f15332ed) )
  3356: 	ROM_LOAD( "r3-ch2hh.rom", 0x1e0000, 0x020000, CRC(bf37dfac) SHA1(27e825bd0a4d7ae65714fefeb6fedac501984ba9) )
  3357: 
  3358: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3359: 	ROM_LOAD( "r3-a1.rom", 0x00000, 0x20000, CRC(4396fa19) SHA1(cb6d983f210249676c500723041d74fa3fdc517d) )
  3360: 	ROM_LOAD( "r3-a2.rom", 0x20000, 0x20000, CRC(41fe53a8) SHA1(1723046111d0115d3f64c3111c50d51306e88ad0) )
  3361: 	ROM_LOAD( "r3-a3.rom", 0x40000, 0x20000, CRC(e89249ba) SHA1(cd94492a0643e9e1e25b121160914822a6a7723e) )
  3362: 	ROM_LOAD( "r3-a4.rom", 0x60000, 0x20000, CRC(9cf4c21b) SHA1(756fc6bbc798a39a18eab3829e032cac8fe3f8ed) )
  3363: ROM_END
  3364: 
  3365: ROM_START( rambo3a )
  3366: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3367: 	ROM_LOAD16_BYTE( "ramb3-11.bin",  0x00000, 0x20000, CRC(1cc42247) SHA1(e5a226a0016ec329fc23046c426c6303e452ef1d) )
  3368: 	ROM_LOAD16_BYTE( "ramb3-13.bin",  0x00001, 0x20000, CRC(0a964cb7) SHA1(332fe23c33b1400c628e0c491f3e00820bde6696) )
  3369: 	ROM_LOAD16_BYTE( "ramb3-07.bin",  0x40000, 0x20000, CRC(c973ff6f) SHA1(d11f289f8559602783d97b831182e8c37954980f) )
  3370: 	ROM_LOAD16_BYTE( "ramb3-06.bin",  0x40001, 0x20000, CRC(a83d3fd5) SHA1(4f07d969af3b25e4ab8d0f2c03e0c0c8ada02991) )
  3371: 
  3372: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3373: 	ROM_LOAD( "ramb3-10.bin", 0x00000, 0x4000, CRC(b18bc020) SHA1(5f3a108ad1f652103dda14672223529077a0924b) )
  3374: 	ROM_CONTINUE(             0x10000, 0xc000 ) /* banked stuff */
  3375: 
  3376: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE )
  3377: 	ROM_LOAD( "ramb3-03.bin",  0x000000, 0x80000, CRC(f5808c41) SHA1(73e129e87d7e240f96cb06d484fb19cd0ef49721) )
  3378: 	ROM_LOAD( "ramb3-04.bin",  0x080000, 0x80000, CRC(c57831ce) SHA1(85c203a858df34fe8663b2b16447d328cdb4145e) )
  3379: 	ROM_LOAD( "ramb3-01.bin",  0x100000, 0x80000, CRC(c55fcf54) SHA1(6a26ed2541be9e3341f20e74cc49b5366ce7d424) )
  3380: 	ROM_LOAD( "ramb3-02.bin",  0x180000, 0x80000, CRC(9dd014c6) SHA1(0f046d9de57db0272810adde7d49cc348b78f1f7) )
  3381: 
  3382: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3383: 	ROM_LOAD( "ramb3-05.bin", 0x00000, 0x80000, CRC(0179dc40) SHA1(89feb708618ae7fa96883473d5c7a09dcc6f452a) )
  3384: ROM_END
  3385: 
  3386: ROM_START( rambo3ae )
  3387: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3388: 	ROM_LOAD16_BYTE( "ramb3-11.bin",  0x00000, 0x20000, CRC(1cc42247) SHA1(e5a226a0016ec329fc23046c426c6303e452ef1d) )
  3389: 	ROM_LOAD16_BYTE( "ramb3-14.bin",  0x00001, 0x20000, CRC(7d917c21) SHA1(2850c46d6bdabfb76c40a7dc78ebc14b69ce95c9) )
  3390: 	ROM_LOAD16_BYTE( "ramb3-07.bin",  0x40000, 0x20000, CRC(c973ff6f) SHA1(d11f289f8559602783d97b831182e8c37954980f) )
  3391: 	ROM_LOAD16_BYTE( "ramb3-06.bin",  0x40001, 0x20000, CRC(a83d3fd5) SHA1(4f07d969af3b25e4ab8d0f2c03e0c0c8ada02991) )
  3392: 
  3393: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3394: 	ROM_LOAD( "ramb3-10.bin", 0x00000, 0x4000, CRC(b18bc020) SHA1(5f3a108ad1f652103dda14672223529077a0924b) )
  3395: 	ROM_CONTINUE(             0x10000, 0xc000 ) /* banked stuff */
  3396: 
  3397: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE )
  3398: 	ROM_LOAD( "ramb3-03.bin",  0x000000, 0x80000, CRC(f5808c41) SHA1(73e129e87d7e240f96cb06d484fb19cd0ef49721) )
  3399: 	ROM_LOAD( "ramb3-04.bin",  0x080000, 0x80000, CRC(c57831ce) SHA1(85c203a858df34fe8663b2b16447d328cdb4145e) )
  3400: 	ROM_LOAD( "ramb3-01.bin",  0x100000, 0x80000, CRC(c55fcf54) SHA1(6a26ed2541be9e3341f20e74cc49b5366ce7d424) )
  3401: 	ROM_LOAD( "ramb3-02.bin",  0x180000, 0x80000, CRC(9dd014c6) SHA1(0f046d9de57db0272810adde7d49cc348b78f1f7) )
  3402: 
  3403: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3404: 	ROM_LOAD( "ramb3-05.bin", 0x00000, 0x80000, CRC(0179dc40) SHA1(89feb708618ae7fa96883473d5c7a09dcc6f452a) )
  3405: ROM_END
  3406: 
  3407: ROM_START( pbobble )
  3408: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3409: 	ROM_LOAD16_BYTE( "pb-1c18.bin", 0x00000, 0x40000, CRC(5de14f49) SHA1(91d537748f26e19a5c32de4b8dad341750de39ef) )
  3410: 	ROM_LOAD16_BYTE( "pb-ic2.bin",  0x00001, 0x40000, CRC(2abe07d1) SHA1(2bb78b606a7341d74cced0447f8bd5ccc635cc4c) )
  3411: 
  3412: 	ROM_REGION( 0x2c000, REGION_CPU2, 0 )     /* 128k for Z80 code */
  3413: 	ROM_LOAD( "pb-ic27.bin", 0x00000, 0x04000, CRC(26efa4c4) SHA1(795af8f6d23c2cbe2c811ec9ab1f14a4eee3f99e) )
  3414: 	ROM_CONTINUE(            0x10000, 0x1c000 ) /* banked stuff */
  3415: 
  3416: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3417: 	ROM_LOAD( "pb-ic14.bin", 0x00000, 0x80000, CRC(55f90ea4) SHA1(793c79e5b72171124368ad09dd31235252c541f5) )
  3418: 	ROM_LOAD( "pb-ic9.bin",  0x80000, 0x80000, CRC(3253aac9) SHA1(916d85aa96e2914630833292a0655b0389b4a39b) )
  3419: 
  3420: 	ROM_REGION( 0x100000, REGION_SOUND1, 0 )
  3421: 	ROM_LOAD( "pb-ic15.bin", 0x000000, 0x100000, CRC(0840cbc4) SHA1(1adbd7aef44fa80832f63dfb8efdf69fd7256a57) )
  3422: ROM_END
  3423: 
  3424: ROM_START( spacedx )
  3425: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3426: 	ROM_LOAD16_BYTE( "d89-06",       0x00000, 0x40000, CRC(7122751e) SHA1(4b4eb58af28f1988ff102251407449d0affbd4c2) )
  3427: 	ROM_LOAD16_BYTE( "si-dxusa.ic2", 0x00001, 0x40000, CRC(50a4b8d1) SHA1(a8feac97c03cc8dc303dd9f4dae28f3daf851181) )
  3428: 
  3429: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3430: 	ROM_LOAD( "d89-07.27", 0x00000, 0x4000, CRC(bd743401) SHA1(bf1ff2255bbd79be21855814d52daced71fbe198) )
  3431: 	ROM_CONTINUE(          0x10000, 0xc000 ) /* banked stuff */
  3432: 
  3433: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3434: 	ROM_LOAD( "d89-02.14", 0x00000, 0x80000, CRC(c36544b9) SHA1(6bd5257dfb27532621b75f43e31aa351ad2192a2) )
  3435: 	ROM_LOAD( "d89-01.9",  0x80000, 0x80000, CRC(fffa0660) SHA1(de1abe1b1e9d14405b5663103ea4a6119fce7cc5) )
  3436: 
  3437: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )	/* adpcm samples */
  3438: 	ROM_LOAD( "d89-03.15", 0x00000, 0x80000, CRC(218f31a4) SHA1(9f52b9fa8f02003888180524a6e9ee7c9230f55d) )
  3439: ROM_END
  3440: 
  3441: ROM_START( spacedxj )
  3442: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3443: 	ROM_LOAD16_BYTE( "d89-06", 0x00000, 0x40000, CRC(7122751e) SHA1(4b4eb58af28f1988ff102251407449d0affbd4c2) )
  3444: 	ROM_LOAD16_BYTE( "d89-05", 0x00001, 0x40000, CRC(be1638af) SHA1(5d28af674dd355159602e323800419a33e0b77d2) )
  3445: 
  3446: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3447: 	ROM_LOAD( "d89-07.27", 0x00000, 0x4000, CRC(bd743401) SHA1(bf1ff2255bbd79be21855814d52daced71fbe198) )
  3448: 	ROM_CONTINUE(          0x10000, 0xc000 ) /* banked stuff */
  3449: 
  3450: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3451: 	ROM_LOAD( "d89-02.14", 0x00000, 0x80000, CRC(c36544b9) SHA1(6bd5257dfb27532621b75f43e31aa351ad2192a2) )
  3452: 	ROM_LOAD( "d89-01.9" , 0x80000, 0x80000, CRC(fffa0660) SHA1(de1abe1b1e9d14405b5663103ea4a6119fce7cc5) )
  3453: 
  3454: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )	/* adpcm samples */
  3455: 	ROM_LOAD( "d89-03.15", 0x00000, 0x80000, CRC(218f31a4) SHA1(9f52b9fa8f02003888180524a6e9ee7c9230f55d) )
  3456: ROM_END
  3457: 
  3458: ROM_START( spacedxo )
  3459: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 256k for 68000 code */
  3460: 	ROM_LOAD16_BYTE( "d89-08.bin",  0x00000, 0x20000, CRC(0c2fe7f9) SHA1(a0773c059c8ff2c9e367e0fb460d7e5f9a762ab1) )
  3461: 	ROM_LOAD16_BYTE( "d89-09j.bin", 0x00001, 0x20000, CRC(7f0a0ba4) SHA1(479df027929201997aeebbea5901a0a494f2dd61) )
  3462: 
  3463: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3464: 	ROM_LOAD( "d89-07.27", 0x00000, 0x4000, CRC(bd743401) SHA1(bf1ff2255bbd79be21855814d52daced71fbe198) )
  3465: 	ROM_CONTINUE(          0x10000, 0xc000 ) /* banked stuff */
  3466: 
  3467: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3468: 	ROM_LOAD( "d89-12.bin",0x00000, 0x80000, CRC(53df86f1) SHA1(f03d77dd54eb455462133a29dd8fec007abedcfd) )
  3469: 	ROM_LOAD( "d89-13.bin",0x80000, 0x80000, CRC(c44c1352) SHA1(78a04fe0ade6e8f9e6bbda7652a54a79b6208fdd) )
  3470: 
  3471: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )	/* adpcm samples */
  3472: 	ROM_LOAD( "d89-03.15", 0x00000, 0x80000, CRC(218f31a4) SHA1(9f52b9fa8f02003888180524a6e9ee7c9230f55d) )
  3473: ROM_END
  3474: 
  3475: ROM_START( qzshowby )
  3476: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )     /* 1M for 68000 code */
  3477: 	ROM_LOAD16_BYTE( "d72-13.bin", 0x00000, 0x80000, CRC(a867759f) SHA1(ab06f42d58ae099fe5c1f810786c2a3e5a667e8e) )
  3478: 	ROM_LOAD16_BYTE( "d72-12.bin", 0x00001, 0x80000, CRC(522c09a7) SHA1(2ceeb7ac24bb621630cc996381e57501f9ea672e) )
  3479: 
  3480: 	ROM_REGION( 0x2c000, REGION_CPU2, 0 )     /* 128k for Z80 code */
  3481: 	ROM_LOAD(  "d72-11.bin", 0x00000, 0x04000, CRC(2ca046e2) SHA1(983620e657d729e1441d509f18141bb3bb581855) )
  3482: 	ROM_CONTINUE(            0x10000, 0x1c000 ) /* banked stuff */
  3483: 
  3484: 	ROM_REGION( 0x400000, REGION_GFX1, ROMREGION_DISPOSE )
  3485: 	ROM_LOAD( "d72-03.bin", 0x000000, 0x200000, CRC(1de257d0) SHA1(df03b1fb5cd69e2d2eb2088f96f26b0ea9756fb7) )
  3486: 	ROM_LOAD( "d72-02.bin", 0x200000, 0x200000, CRC(bf0da640) SHA1(2b2493904ed0b94dc12b56dae71cc5c25701aef9) )
  3487: 
  3488: 	ROM_REGION( 0x200000, REGION_SOUND1, 0 )
  3489: 	ROM_LOAD( "d72-01.bin", 0x00000, 0x200000, CRC(b82b8830) SHA1(4b2dca16fe072a5ee51de5cf40637e3f1b39f695) )
  3490: ROM_END
  3491: 
  3492: ROM_START( viofight )
  3493: 	ROM_REGION( 0x080000, REGION_CPU1, 0 )     /* 1M for 68000 code */
  3494: 	ROM_LOAD16_BYTE( "c16-11.rom", 0x00000, 0x10000, CRC(23dbd388) SHA1(488f928826d16b201dcc4b491b09955d0af91f19) )
  3495: 	ROM_LOAD16_BYTE( "c16-14.rom", 0x00001, 0x10000, CRC(dc934f6a) SHA1(36d7b10478f2b97d0521edb84f1f4fa5a11f962b) )
  3496: 	ROM_LOAD16_BYTE( "c16-07.rom", 0x40000, 0x20000, CRC(64d1d059) SHA1(643ac7fa5076147b24810a8e1b925dfe09f75864) )
  3497: 	ROM_LOAD16_BYTE( "c16-06.rom", 0x40001, 0x20000, CRC(043761d8) SHA1(4587cadd73b628b4b9ac5c537cec20f90fb4959d) )
  3498: 
  3499: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 128k for Z80 code */
  3500: 	ROM_LOAD(  "c16-12.rom", 0x00000, 0x04000, CRC(6fb028c7) SHA1(a808d82e872914f994652e95dca3fcad00ba02fc) )
  3501: 	ROM_CONTINUE(            0x10000, 0x0c000 ) /* banked stuff */
  3502: 
  3503: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE )
  3504: 	ROM_LOAD( "c16-01.rom", 0x000000, 0x080000, CRC(7059ce83) SHA1(1e6825ab944254cd4ba6574762172245b3352319) )
  3505: 	ROM_LOAD( "c16-02.rom", 0x080000, 0x080000, CRC(b458e905) SHA1(b712cbf4a4015e1fc2243871fe753e230f0172c2) )
  3506: 	ROM_LOAD( "c16-03.rom", 0x100000, 0x080000, CRC(515a9431) SHA1(836be28614326d093be8841617cca83cef8d55cc) )
  3507: 	ROM_LOAD( "c16-04.rom", 0x180000, 0x080000, CRC(ebf285e2) SHA1(0f806e42778e28e9687d85b2601ee08dd786869b) )
  3508: 
  3509: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3510: 	ROM_LOAD( "c16-05.rom", 0x000000, 0x80000, CRC(a49d064a) SHA1(f9ed675cfaae69b68c99c7dce7c2a457b5b5c293) )
  3511: ROM_END
  3512: 
  3513: ROM_START( masterw )
  3514: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 512k for 68000 code */
  3515: 	ROM_LOAD16_BYTE( "b72-06.rom"   , 0x00000, 0x20000, CRC(ae848eff) SHA1(8715e64c5e03097aff5bf1a27e3809619a7731f0) )
  3516: 	ROM_LOAD16_BYTE( "b72-12.rom"   , 0x00001, 0x20000, CRC(7176ce70) SHA1(f3462ab9fe7e118b16fbe31d8caca27452280bf9) )
  3517: 	ROM_LOAD16_BYTE( "b72-04.rom"   , 0x40000, 0x20000, CRC(141e964c) SHA1(324e881317a3bf9885c81bb53cdc3de782ec2952) )
  3518: 	ROM_LOAD16_BYTE( "b72-03.rom"   , 0x40001, 0x20000, CRC(f4523496) SHA1(2c3e9d014ace1ae5127f432292f8d19c3a0ae1b0) )
  3519: 
  3520: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3521: 	ROM_LOAD( "b72-07.rom", 0x00000, 0x4000, CRC(2b1a946f) SHA1(cc9512e44bd92020ab5a53716b6399b7a6cde76d) )
  3522: 	ROM_CONTINUE(           0x10000, 0xc000 ) /* banked stuff */
  3523: 
  3524: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3525: 	ROM_LOAD( "mow-m02.rom", 0x000000, 0x080000, CRC(c519f65a) SHA1(f40cd7e09fa50abdafa95b7f9edf229e94e53d6f) )
  3526: 	ROM_LOAD( "mow-m01.rom", 0x080000, 0x080000, CRC(a24ac26e) SHA1(895715a2bb0cb15334cba2283bd228b4fc08cd0c) )
  3527: ROM_END
  3528: 
  3529: ROM_START( silentd )
  3530: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 256k for 68000 code */
  3531: 	ROM_LOAD16_BYTE( "sr_12-1.rom", 0x00000, 0x20000, CRC(5883d362) SHA1(21c3af053fa92c26f119466ecd655697cc72ff3a) )
  3532: 	ROM_LOAD16_BYTE( "sr_15-1.rom", 0x00001, 0x20000, CRC(8c0a72ae) SHA1(2199c4d6b87913ffb24cdccd6ca5176a97132baa) )
  3533: 	ROM_LOAD16_BYTE( "sr_11.rom",   0x40000, 0x20000, CRC(35da4428) SHA1(5374bd97ad58aa2d67404cb05c862bb3aba40d6a) )
  3534: 	ROM_LOAD16_BYTE( "sr_09.rom",   0x40001, 0x20000, CRC(2f05b14a) SHA1(f9ae935612e95d8ac2596af1728a6062569e9a42) )
  3535: 
  3536: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3537: 	ROM_LOAD(  "sr_13.rom", 0x00000, 0x04000, CRC(651861ab) SHA1(f94a120b70a4d59e17a6e120ca461b1f37587c0c) )
  3538: 	ROM_CONTINUE(           0x10000, 0x0c000 ) /* banked stuff */
  3539: 
  3540: 	ROM_REGION( 0x400000, REGION_GFX1, ROMREGION_DISPOSE )
  3541: 	ROM_LOAD( "sd_m04.rom", 0x000000, 0x100000, CRC(53237217) SHA1(fec044c26b8c99235f88c8be0d9ac63b81a3a094) )
  3542: 	ROM_LOAD( "sd_m06.rom", 0x100000, 0x100000, CRC(e6e6dfa7) SHA1(913fa9a21cea175a1af87023144ebc98b3b0f33b) )
  3543: 	ROM_LOAD( "sd_m03.rom", 0x200000, 0x100000, CRC(1b9b2846) SHA1(d9c87e130bc3baa949d8a8738daad648fcf284df) )
  3544: 	ROM_LOAD( "sd_m05.rom", 0x300000, 0x100000, CRC(e02472c5) SHA1(35572610f6823ec980a928a75abd689197ebe207) )
  3545: 
  3546: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3547: 	ROM_LOAD( "sd_m02.rom", 0x00000, 0x80000, CRC(e0de5c39) SHA1(75d0e193d882e67921c216c3293454e34304d25e) )
  3548: 
  3549: 	ROM_REGION( 0x80000, REGION_SOUND2, 0 )
  3550: 	ROM_LOAD( "sd_m01.rom", 0x00000, 0x80000, CRC(b41fff1a) SHA1(54920d13fa2b3000eedab9d0050a299ae743c663) )
  3551: ROM_END
  3552: 
  3553: ROM_START( silentdj )
  3554: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 256k for 68000 code */
  3555: 	ROM_LOAD16_BYTE( "sr_12-1.rom", 0x00000, 0x20000, CRC(5883d362) SHA1(21c3af053fa92c26f119466ecd655697cc72ff3a) )
  3556: 	ROM_LOAD16_BYTE( "10-1.10",     0x00001, 0x20000, CRC(584306fc) SHA1(961cb6aaa426e3d83c499d101ef369b86a84c5d8) )
  3557: 	ROM_LOAD16_BYTE( "sr_11.rom",   0x40000, 0x20000, CRC(35da4428) SHA1(5374bd97ad58aa2d67404cb05c862bb3aba40d6a) )
  3558: 	ROM_LOAD16_BYTE( "sr_09.rom",   0x40001, 0x20000, CRC(2f05b14a) SHA1(f9ae935612e95d8ac2596af1728a6062569e9a42) )
  3559: 
  3560: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3561: 	ROM_LOAD(  "sr_13.rom", 0x00000, 0x04000, CRC(651861ab) SHA1(f94a120b70a4d59e17a6e120ca461b1f37587c0c) )
  3562: 	ROM_CONTINUE(           0x10000, 0x0c000 ) /* banked stuff */
  3563: 
  3564: 	ROM_REGION( 0x400000, REGION_GFX1, ROMREGION_DISPOSE )
  3565: 	ROM_LOAD( "sd_m04.rom", 0x000000, 0x100000, CRC(53237217) SHA1(fec044c26b8c99235f88c8be0d9ac63b81a3a094) )
  3566: 	ROM_LOAD( "sd_m06.rom", 0x100000, 0x100000, CRC(e6e6dfa7) SHA1(913fa9a21cea175a1af87023144ebc98b3b0f33b) )
  3567: 	ROM_LOAD( "sd_m03.rom", 0x200000, 0x100000, CRC(1b9b2846) SHA1(d9c87e130bc3baa949d8a8738daad648fcf284df) )
  3568: 	ROM_LOAD( "sd_m05.rom", 0x300000, 0x100000, CRC(e02472c5) SHA1(35572610f6823ec980a928a75abd689197ebe207) )
  3569: 
  3570: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )
  3571: 	ROM_LOAD( "sd_m02.rom", 0x00000, 0x80000, CRC(e0de5c39) SHA1(75d0e193d882e67921c216c3293454e34304d25e) )
  3572: 
  3573: 	ROM_REGION( 0x80000, REGION_SOUND2, 0 )
  3574: 	ROM_LOAD( "sd_m01.rom", 0x00000, 0x80000, CRC(b41fff1a) SHA1(54920d13fa2b3000eedab9d0050a299ae743c663) )
  3575: ROM_END
  3576: 
  3577: ROM_START( selfeena )
  3578: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 256k for 68000 code */
  3579: 	ROM_LOAD16_BYTE( "se-02.27", 0x00000, 0x20000, CRC(08f0c8e3) SHA1(2279ebfcd0cd05eec9c7a01ca7db82fcdc3b7ca7) )
  3580: 	ROM_LOAD16_BYTE( "se-01.26", 0x00001, 0x20000, CRC(a06ca64b) SHA1(6bfd3c5faf169678ba9bb1c483901b6c06605faf) )
  3581: 
  3582: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3583: 	ROM_LOAD( "se-03.39",0x00000, 0x4000, CRC(675998be) SHA1(16e59a9b7dc46aeee0022cb73cf6feced6796c35) )
  3584: 	ROM_CONTINUE(        0x10000, 0xc000 ) /* banked stuff */
  3585: 
  3586: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE )
  3587: 	ROM_LOAD( "se-04.2",  0x000000, 0x80000, CRC(920ad100) SHA1(69cd2af6218db90632f09a131d2956ab69034643) )
  3588: 	ROM_LOAD( "se-05.1",  0x080000, 0x80000, CRC(d297c995) SHA1(e5ad5a8ce222621c9156c2949916bee6b3099c4e) )
  3589: 
  3590: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )	/* adpcm samples */
  3591: 	ROM_LOAD( "se-06.11", 0x00000, 0x80000, CRC(80d5e772) SHA1(bee4982a3d65210ff86495e36a0b656934b00c7d) )
  3592: ROM_END
  3593: 
  3594: ROM_START( ryujin )
  3595: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 256k for 68000 code */
  3596: 	ROM_LOAD16_BYTE( "ruj02.27", 0x00000, 0x20000, CRC(0d223aee) SHA1(33f5498a650b244c5a4a22415408a269da597abf) )
  3597: 	ROM_LOAD16_BYTE( "ruj01.26", 0x00001, 0x20000, CRC(c6bcdd1e) SHA1(d8620995ad1bc256eab4ed7e1c549e8b6ec5c3fb) )
  3598: 	ROM_LOAD16_BYTE( "ruj04.29", 0x40000, 0x20000, CRC(0c153cab) SHA1(16fac3863c1394c9f41173174a4aca20cded6278) )
  3599: 	ROM_LOAD16_BYTE( "ruj03.28", 0x40001, 0x20000, CRC(7695f89c) SHA1(755eb7ef40da190d55de80ee5e0e0a537c22e5f1) )
  3600: 
  3601: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3602: 	ROM_LOAD( "ruj05.39",0x00000, 0x4000, CRC(95270b16) SHA1(c1ad76268679cf198e9f1514360f280b73e49ab5) )
  3603: 	ROM_CONTINUE(        0x10000, 0xc000 ) /* banked stuff */
  3604: 
  3605: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE )
  3606: 	ROM_LOAD( "ryujin07.2", 0x000000, 0x100000, CRC(34f50980) SHA1(432384bd283389bca17611602eb310726c9d78a4) )
  3607: 	ROM_LOAD( "ryujin06.1", 0x100000, 0x100000, CRC(1b85ff34) SHA1(5ad259e6f7aa4a0c08975da73bf41400495f2e61) )
  3608: 
  3609: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )	/* adpcm samples */
  3610: 	ROM_LOAD( "ryujin08.11", 0x00000, 0x80000, CRC(480d040d) SHA1(50add2f304ef34f7f45f25a2a2cf0568d58259ad) )
  3611: ROM_END
  3612: 
  3613: ROM_START( sbm )
  3614: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )     /* 256k for 68000 code */
  3615: 	ROM_LOAD16_BYTE( "c69-20-1.10", 0x00000, 0x20000, CRC(b40e4910) SHA1(1436990b8c3c1d0763283133b2ce9d47cd65f825) )
  3616: 	ROM_LOAD16_BYTE( "c69-22-1.12", 0x00001, 0x20000, CRC(ecbcf830) SHA1(49f04a198d327866b26b978a302ddc7aea5ac6de) )
  3617: 	ROM_LOAD16_BYTE( "c69-19-1.9" , 0x40000, 0x20000, CRC(5719c158) SHA1(e1cdf89695e1dba75f92e449d08fa6df57e9b388) )
  3618: 	ROM_LOAD16_BYTE( "c69-21-1.11", 0x40001, 0x20000, CRC(73562394) SHA1(ef9cf4718db05d9b99d6e2630e8f6ad248f30b9a) )
  3619: 
  3620: 	ROM_REGION( 0x1c000, REGION_CPU2, 0 )     /* 64k for Z80 code */
  3621: 	ROM_LOAD( "c69-23.28",0x00000, 0x4000, CRC(b2fce13e) SHA1(ecdb08482af80fd04cc8b67157e11ca61ce06437) )
  3622: 	ROM_CONTINUE(         0x10000, 0xc000 ) /* banked stuff */
  3623: 
  3624: 	ROM_REGION( 0x400000, REGION_GFX1, ROMREGION_DISPOSE )
  3625: 	ROM_LOAD       ( "c69-01.ic5", 0x000000, 0x100000, CRC(521fabe3) SHA1(f81303688ac014145a7e9325affc4a0f86755ba9) )
  3626: 	ROM_LOAD16_BYTE( "c69-13.ic2", 0x100000, 0x020000, CRC(d1550884) SHA1(f3a65827c45959fe5ac4bfc92831a8bed76bf287) )
  3627: 	ROM_LOAD16_BYTE( "c69-12.ic1", 0x100001, 0x020000, CRC(eb56582c) SHA1(41b77704aeaecf3eaa3f87e97c0b59fd00e5349e) )
  3628: 	/* 140000-1fffff empty */
  3629: 	ROM_LOAD       ( "c69-02.ic6", 0x200000, 0x100000, CRC(f0e20d35) SHA1(af67f39498f68523ece4cd91045456092038e0a4) )
  3630: 	ROM_LOAD16_BYTE( "c69-15.ic4", 0x300000, 0x020000, CRC(9761d316) SHA1(f03216bbade96948ff433a925e8bffb8760b4101) )
  3631: 	ROM_LOAD16_BYTE( "c69-14.ic3", 0x300001, 0x020000, CRC(0ed0272a) SHA1(03b15654213ff71ffc96d3a87657bdeb724e9269) )
  3632: 	/* 340000-3fffff empty */
  3633: 
  3634: 	ROM_REGION( 0x80000, REGION_SOUND1, 0 )	/* adpcm samples */
  3635: 	ROM_LOAD( "c69-03.36", 0x00000, 0x80000, CRC(63e6b6e7) SHA1(72574ca7505eee15fabc4996f253505d9dd65898) )
  3636: ROM_END
  3637: 
  3638: 
  3639: GAME( 1989, masterw,  0,       masterw,  masterw,  0, ROT270, "Taito Corporation Japan", "Master of Weapon (World)" )
  3640: GAME( 1988, nastar,   0,       rastsag2, nastar,   0, ROT0,   "Taito Corporation Japan", "Nastar (World)" )
  3641: GAME( 1988, nastarw,  nastar,  rastsag2, nastarw,  0, ROT0,   "Taito America Corporation", "Nastar Warrior (US)" )
  3642: GAME( 1988, rastsag2, nastar,  rastsag2, rastsag2, 0, ROT0,   "Taito Corporation", "Rastan Saga 2 (Japan)" )
  3643: GAME( 1989, rambo3,   0,       rambo3,   rambo3,   0, ROT0,   "Taito Europe Corporation", "Rambo III (Europe set 1)" )
  3644: GAME( 1989, rambo3ae, rambo3,  rambo3a,  rambo3a,  0, ROT0,   "Taito Europe Corporation", "Rambo III (Europe set 2)" )
  3645: GAME( 1989, rambo3a,  rambo3,  rambo3a,  rambo3a,  0, ROT0,   "Taito America Corporation", "Rambo III (US)" )
  3646: GAME( 1989, crimec,   0,       crimec,   crimec,   0, ROT0,   "Taito Corporation Japan", "Crime City (World)" )
  3647: GAME( 1989, crimecu,  crimec,  crimec,   crimecu,  0, ROT0,   "Taito America Corporation", "Crime City (US)" )
  3648: GAME( 1989, crimecj,  crimec,  crimec,   crimecj,  0, ROT0,   "Taito Corporation", "Crime City (Japan)" )
  3649: GAME( 1989, tetrist,  tetris,  tetrist,  tetrist,  0, ROT0,   "Sega", "Tetris (Japan, B-System)" )
  3650: GAME( 1989, viofight, 0,       viofight, viofight, 0, ROT0,   "Taito Corporation Japan", "Violence Fight (World)" )
  3651: GAME( 1990, ashura,   0,       ashura,   ashura,   0, ROT270, "Taito Corporation", "Ashura Blaster (Japan)" )
  3652: GAME( 1990, ashurau,  ashura,  ashura,   ashurau,  0, ROT270, "Taito America Corporation", "Ashura Blaster (US)" )
  3653: GAME( 1990, hitice,   0,       hitice,   hitice,   0, ROT0,   "Williams", "Hit the Ice (US)" )
  3654: GAME( 1991, selfeena, 0,       selfeena, selfeena, 0, ROT0,   "East Technology", "Sel Feena" )
  3655: GAME( 1992, silentd,  0,       silentd,  silentd,  0, ROT0,   "Taito Corporation Japan", "Silent Dragon (World)" )
  3656: GAME( 1992, silentdj, silentd, silentd,  silentdj, 0, ROT0,   "Taito Corporation", "Silent Dragon (Japan)" )
  3657: GAME( 1993, ryujin,   0,       ryujin,   ryujin,   0, ROT270, "Taito Corporation", "Ryu Jin (Japan)" )
  3658: GAME( 1993, qzshowby, 0,       qzshowby, qzshowby, 0, ROT0,   "Taito Corporation", "Quiz Sekai wa SHOW by shobai (Japan)" )
  3659: GAME( 1994, pbobble,  0,       pbobble,  pbobble,  0, ROT0,   "Taito Corporation", "Puzzle Bobble (Japan, B-System)" )
  3660: GAME( 1994, spacedx,  0,       spacedx,  pbobble,  0, ROT0,   "Taito Corporation", "Space Invaders DX (US) v2.1" )
  3661: GAME( 1994, spacedxj, spacedx, spacedx,  pbobble,  0, ROT0,   "Taito Corporation", "Space Invaders DX (Japan) v2.1" )
  3662: GAME( 1994, spacedxo, spacedx, spacedxo, spacedxo, 0, ROT0,   "Taito Corporation", "Space Invaders DX (Japan) v2.0" )
  3663: /*
  3664: 	Sonic Blast Man is a ticket dispensing game.
  3665: 	(Japanese version however does not dispense them, only US does - try the "sbm_patch" in the machine_driver).
  3666: 	It is a bit different from other games running on this system,
  3667: 	in that it has a punching pad that player needs to punch to hit
  3668:  	the enemy.
  3669: */
  3670: GAME(  1990, sbm,      0,       sbm,      sbm,      0, ROT0,   "Taito Corporation", "Sonic Blast Man (Japan)" )
  3671: 




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