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 : Perfect Soldiers : VM Driver Source

Source Listing


     1: /*****************************************************************************
     2: 
     3: 	Irem M92 system games:
     4: 
     5: 	Gunforce (World)				M92-A	(c) 1991 Irem Corp
     6: 	Gunforce (USA)					M92-A	(c) 1991 Irem America Corp
     7: 	Gunforce (Japan)				M92-A	(c) 1991 Irem Corp
     8: 	Blademaster	(World)						(c) 1991 Irem Corp
     9: 	Lethal Thunder (World)					(c) 1991 Irem Corp
    10: 	Thunder Blaster (Japan)					(c) 1991 Irem Corp
    11: 	Undercover Cops	(World)					(c) 1992 Irem Corp
    12: 	Undercover Cops	(Japan)					(c) 1992 Irem Corp
    13: 	Mystic Riders (World)					(c) 1992 Irem Corp
    14: 	Gun Hohki (Japan)						(c) 1992 Irem Corp
    15: 	Major Title 2 (World)			M92-F	(c) 1992 Irem Corp
    16: 	The Irem Skins Game (USA Set 1)	M92-F	(c) 1992 Irem America Corp
    17: 	The Irem Skins Game (USA Set 2)	M92-F	(c) 1992 Irem America Corp
    18: 	Hook (World)							(c) 1992 Irem Corp
    19: 	Hook (USA)								(c) 1992 Irem America Corp
    20: 	R-Type Leo (World)						(c) 1992 Irem Corp
    21: 	R-Type Leo (Japan)						(c) 1992 Irem Corp
    22: 	In The Hunt	(World)				M92-E	(c) 1993 Irem Corp
    23: 	In The Hunt	(USA)				M92-E	(c) 1993 Irem Corp
    24: 	Kaitei Daisensou (Japan)		M92-E	(c) 1993 Irem Corp
    25: 	Ninja Baseball Batman (USA)				(c) 1993 Irem America Corp
    26: 	Yakyuu Kakutou League-Man (Japan)		(c) 1993 Irem Corp
    27: 	Perfect Soldiers (Japan)		M92-G	(c) 1993 Irem Corp
    28: 	Dream Soccer 94 (Japan)			M92-G	(c) 1994 Irem Corp
    29: 	Gunforce 2 (US)					M92-G	(c) 1994 Irem Corp
    30: 	Geostorm (Japan)				M92-G	(c) 1994 Irem Corp
    31: 
    32: System notes:
    33: 	Each game has an encrypted sound cpu (see irem_cpu.c), the sound cpu and
    34: 	the sprite chip are on the game board rather than the main board and
    35: 	can differ between games.
    36: 
    37: 	Irem Skins Game has an eeprom and ticket payout(?).
    38: 	R-Type Leo & Lethal Thunder have a memory card.
    39: 
    40: 	Many games use raster IRQ's for special video effects, eg,
    41: 		* Scrolling water in Undercover Cops
    42: 		* Score display in R-Type Leo
    43: 
    44: 	These are slow to emulate, and can be turned on/off by pressing
    45: 	F1 - they are on by default.
    46: 	Todo:  Raster effects don't work in flipscreen mode.
    47: 
    48: Glitch list!
    49: 
    50: 	Gunforce:
    51: 		Animated water sometimes doesn't appear on level 5 (but it
    52: 		always appears if you cheat and jump straight to the level).
    53: 		Almost certainly a core bug.
    54: 
    55: 	Irem Skins:
    56: 		- Priority bug: you can't see the arrow on the top right map.
    57: 		- Gfx problems at the players information during attract mode in
    58: 		  Skins Game *only*, Major Title is fine (that part of attract mode
    59: 		  is different).
    60: 		- Eeprom load/save not yet implemented - when done, MT2EEP should
    61: 		  be removed from the ROM definition.
    62: 
    63: 	Perfect Soliders:
    64: 		Shortly into the fight, the sound CPU enters a tight loop, conitnuously
    65: 		writing to the status port and with interrupts disabled. I don't see how
    66: 		it is supposed to get out of that loop. Maybe it's not supposed to enter
    67: 		it at all?
    68: 
    69: 	LeagueMan:
    70: 		Raster effects don't work properly (not even cpu time per line?).
    71: 
    72: 	Dream Soccer 94:
    73: 		Slight priority problems when goal scoring animation is played
    74: 
    75: 	Emulation by Bryan McPhail, mish@tendril.co.uk
    76: 	Thanks to Chris Hardy and Olli Bergmann too!
    77: 
    78: 
    79: Sound programs:
    80: 
    81: Game                          Year  ID string
    82: ----------------------------  ----  ------------
    83: Gunforce					  1991  -
    84: Blade Master				  1991  -
    85: Lethal Thunder				  1991  -
    86: Undercover Cops				  1992  Rev 3.40 M92
    87: Mystic Riders				  1992  Rev 3.44 M92
    88: Major Title 2				  1992  Rev 3.44 M92
    89: Hook						  1992  Rev 3.45 M92
    90: R-Type Leo					  1992  Rev 3.45 M92
    91: In The Hunt					  1993  Rev 3.45 M92
    92: Ninja Baseball Batman		  1993  Rev 3.50 M92
    93: Perfect Soldiers			  1993  Rev 3.50 M92
    94: World PK Soccer               1995  Rev 3.51 M92
    95: Fire Barrel                   1993  Rev 3.52 M92
    96: Dream Soccer '94              1994  Rev 3.53 M92
    97: Gunforce 2                    1994  Rev 3.53 M92
    98: 
    99: *****************************************************************************/
   100: 
   101: #include "driver.h" 
   102: #include "vidhrdw/generic.h" 
   103: #include "m92.h" 
   104: #include "machine/irem_cpu.h" 
   105: #include "state.h" 
   106: 
   107: static int irqvector;
   108: static int sound_status;
   109: static int bankaddress;
   110: 
   111: static int m92_irq_vectorbase;
   112: static unsigned char *m92_ram,*m92_snd_ram;
   113: 
   114: #define M92_IRQ_0 ((m92_irq_vectorbase+0)/4)  /* VBL interrupt*/ 
   115: #define M92_IRQ_1 ((m92_irq_vectorbase+4)/4)  /* Sprite buffer complete interrupt */ 
   116: #define M92_IRQ_2 ((m92_irq_vectorbase+8)/4)  /* Raster interrupt */ 
   117: #define M92_IRQ_3 ((m92_irq_vectorbase+12)/4) /* Sound cpu interrupt */ 
   118: 
   119: #define M92_SCANLINES	256 
   120: 
   121: /* From vidhrdw/m92.c */
   122: WRITE_HANDLER( m92_spritecontrol_w );
   123: WRITE_HANDLER( m92_videocontrol_w );
   124: READ_HANDLER( m92_paletteram_r );
   125: WRITE_HANDLER( m92_paletteram_w );
   126: READ_HANDLER( m92_vram_r );
   127: WRITE_HANDLER( m92_vram_w );
   128: WRITE_HANDLER( m92_pf1_control_w );
   129: WRITE_HANDLER( m92_pf2_control_w );
   130: WRITE_HANDLER( m92_pf3_control_w );
   131: WRITE_HANDLER( m92_master_control_w );
   132: VIDEO_START( m92 );
   133: VIDEO_UPDATE( m92 );
   134: void m92_vh_raster_partial_refresh(struct mame_bitmap *bitmap,int start_line,int end_line);
   135: 
   136: extern int m92_raster_irq_position,m92_raster_enable;
   137: extern unsigned char *m92_vram_data,*m92_spritecontrol;
   138: 
   139: extern int m92_sprite_buffer_busy,m92_game_kludge;
   140: 
   141: /*****************************************************************************/
   142: 
   143: static void set_m92_bank(void)
   144: {
   145: 	unsigned char *RAM = memory_region(REGION_CPU1);
   146: 	cpu_setbank(1,&RAM[bankaddress]);
   147: }
   148: 
   149: /*****************************************************************************/
   150: 
   151: static READ_HANDLER( m92_eeprom_r )
   152: {
   153: 	unsigned char *RAM = memory_region(REGION_USER1);
   154: //	logerror("%05x: EEPROM RE %04x\n",activecpu_get_pc(),offset);
   155: 	return RAM[offset/2];
   156: }
   157: 
   158: static WRITE_HANDLER( m92_eeprom_w )
   159: {
   160: 	unsigned char *RAM = memory_region(REGION_USER1);
   161: //	logerror("%05x: EEPROM WR %04x\n",activecpu_get_pc(),offset);
   162: 	RAM[offset/2]=data;
   163: }
   164: 
   165: static WRITE_HANDLER( m92_coincounter_w )
   166: {
   167: 	if (offset==0) {
   168: 		coin_counter_w(0,data & 0x01);
   169: 		coin_counter_w(1,data & 0x02);
   170: 		/* Bit 0x8 is Motor(?!), used in Hook, In The Hunt, UCops */
   171: 		/* Bit 0x8 is Memcard related in RTypeLeo */
   172: 		/* Bit 0x40 set in Blade Master test mode input check */
   173: 	}
   174: }
   175: 
   176: static WRITE_HANDLER( m92_bankswitch_w )
   177: {
   178: 	if (offset==1) return; /* Unused top byte */
   179: 	bankaddress = 0x100000 + ((data&0x7)*0x10000);
   180: 	set_m92_bank();
   181: }
   182: 
   183: static READ_HANDLER( m92_port_4_r )
   184: {
   185: 	return readinputport(4) | m92_sprite_buffer_busy; /* Bit 7 low indicates busy */
   186: }
   187: 
   188: /*****************************************************************************/
   189: 
   190: enum { VECTOR_INIT, YM2151_ASSERT, YM2151_CLEAR, V30_ASSERT, V30_CLEAR };
   191: 
   192: static void setvector_callback(int param)
   193: {
   194: 	switch(param)
   195: 	{
   196: 		case VECTOR_INIT:	irqvector = 0;		break;
   197: 		case YM2151_ASSERT:	irqvector |= 0x2;	break;
   198: 		case YM2151_CLEAR:	irqvector &= ~0x2;	break;
   199: 		case V30_ASSERT:	irqvector |= 0x1;	break;
   200: 		case V30_CLEAR:		irqvector &= ~0x1;	break;
   201: 	}
   202: 
   203: 	if (irqvector & 0x2)		/* YM2151 has precedence */
   204: 		cpu_irq_line_vector_w(1,0,0x18);
   205: 	else if (irqvector & 0x1)	/* V30 */
   206: 		cpu_irq_line_vector_w(1,0,0x19);
   207: 
   208: 	if (irqvector == 0)	/* no IRQs pending */
   209: 		cpu_set_irq_line(1,0,CLEAR_LINE);
   210: 	else	/* IRQ pending */
   211: 		cpu_set_irq_line(1,0,ASSERT_LINE);
   212: }
   213: 
   214: static WRITE_HANDLER( m92_soundlatch_w )
   215: {
   216: 	if (offset==0)
   217: 	{
   218: 		timer_set(TIME_NOW,V30_ASSERT,setvector_callback);
   219: 		soundlatch_w(0,data);
   220: //		logerror("soundlatch_w %02x\n",data);
   221: 	}
   222: }
   223: 
   224: static READ_HANDLER( m92_sound_status_r )
   225: {
   226: //logerror("%06x: read sound status\n",activecpu_get_pc());
   227: 	if (offset == 0)
   228: 		return sound_status&0xff;
   229: 	return sound_status>>8;
   230: }
   231: 
   232: static READ_HANDLER( m92_soundlatch_r )
   233: {
   234: 	if (offset == 0)
   235: 	{
   236: 		int res = soundlatch_r(offset);
   237: //		logerror("soundlatch_r %02x\n",res);
   238: 		return res;
   239: 	}
   240: 	else return 0xff;
   241: }
   242: 
   243: static WRITE_HANDLER( m92_sound_irq_ack_w )
   244: {
   245: 	if (offset == 0)
   246: 		timer_set(TIME_NOW,V30_CLEAR,setvector_callback);
   247: }
   248: 
   249: static WRITE_HANDLER( m92_sound_status_w )
   250: {
   251: 	if (offset == 0) {
   252: 		sound_status = data | (sound_status&0xff00);
   253: 		cpu_set_irq_line_and_vector(0,0,HOLD_LINE,M92_IRQ_3);
   254: 	}
   255: 	else
   256: 		sound_status = (data<<8) | (sound_status&0xff);
   257: }
   258: 
   259: /*****************************************************************************/
   260: 
   261: static MEMORY_READ_START( readmem )
   262: 	{ 0x00000, 0x9ffff, MRA_ROM },
   263: 	{ 0xa0000, 0xbffff, MRA_BANK1 },
   264: 	{ 0xc0000, 0xcffff, MRA_BANK2 }, /* Mirror of rom:  Used by In The Hunt as protection */
   265: 	{ 0xd0000, 0xdffff, m92_vram_r },
   266: 	{ 0xe0000, 0xeffff, MRA_RAM },
   267: 	{ 0xf8000, 0xf87ff, MRA_RAM },
   268: 	{ 0xf8800, 0xf8fff, m92_paletteram_r },
   269: 	{ 0xffff0, 0xfffff, MRA_ROM },
   270: MEMORY_END
   271: 
   272: static MEMORY_WRITE_START( writemem )
   273: 	{ 0x00000, 0xbffff, MWA_ROM },
   274: 	{ 0xd0000, 0xdffff, m92_vram_w, &m92_vram_data },
   275: 	{ 0xe0000, 0xeffff, MWA_RAM, &m92_ram }, /* System ram */
   276: 	{ 0xf8000, 0xf87ff, MWA_RAM, &spriteram, &spriteram_size },
   277: 	{ 0xf8800, 0xf8fff, m92_paletteram_w },
   278: 	{ 0xf9000, 0xf900f, m92_spritecontrol_w, &m92_spritecontrol },
   279: 	{ 0xf9800, 0xf9801, m92_videocontrol_w },
   280: 	{ 0xffff0, 0xfffff, MWA_ROM },
   281: MEMORY_END
   282: 
   283: static MEMORY_READ_START( lethalth_readmem ) /* Same as above but with different VRAM addressing PAL */
   284: 	{ 0x00000, 0x7ffff, MRA_ROM },
   285: 	{ 0x80000, 0x8ffff, m92_vram_r },
   286: 	{ 0xe0000, 0xeffff, MRA_RAM },
   287: 	{ 0xf8000, 0xf87ff, MRA_RAM },
   288: 	{ 0xf8800, 0xf8fff, paletteram_r },
   289: 	{ 0xffff0, 0xfffff, MRA_ROM },
   290: MEMORY_END
   291: 
   292: static MEMORY_WRITE_START( lethalth_writemem )
   293: 	{ 0x00000, 0x7ffff, MWA_ROM },
   294: 	{ 0x80000, 0x8ffff, m92_vram_w, &m92_vram_data },
   295: 	{ 0xe0000, 0xeffff, MWA_RAM, &m92_ram }, /* System ram */
   296: 	{ 0xf8000, 0xf87ff, MWA_RAM, &spriteram, &spriteram_size },
   297: 	{ 0xf8800, 0xf8fff, m92_paletteram_w },
   298: 	{ 0xf9000, 0xf900f, m92_spritecontrol_w, &m92_spritecontrol },
   299: 	{ 0xf9800, 0xf9801, m92_videocontrol_w },
   300: 	{ 0xffff0, 0xfffff, MWA_ROM },
   301: MEMORY_END
   302: 
   303: static PORT_READ_START( readport )
   304: 	{ 0x00, 0x00, input_port_0_r }, /* Player 1 */
   305: 	{ 0x01, 0x01, input_port_1_r }, /* Player 2 */
   306: 	{ 0x02, 0x02, m92_port_4_r },   /* Coins & VBL */
   307: 	{ 0x03, 0x03, input_port_7_r }, /* Dip 3 */
   308: 	{ 0x04, 0x04, input_port_6_r }, /* Dip 2 */
   309: 	{ 0x05, 0x05, input_port_5_r }, /* Dip 1 */
   310: 	{ 0x06, 0x06, input_port_2_r }, /* Player 3 */
   311: 	{ 0x07, 0x07, input_port_3_r },	/* Player 4 */
   312: 	{ 0x08, 0x09, m92_sound_status_r },	/* answer from sound CPU */
   313: PORT_END
   314: 
   315: static PORT_WRITE_START( writeport )
   316: 	{ 0x00, 0x01, m92_soundlatch_w },
   317: 	{ 0x02, 0x03, m92_coincounter_w },
   318: 	{ 0x20, 0x21, m92_bankswitch_w },
   319: 	{ 0x40, 0x43, MWA_NOP }, /* Interrupt controller, only written to at bootup */
   320: 	{ 0x80, 0x87, m92_pf1_control_w },
   321: 	{ 0x88, 0x8f, m92_pf2_control_w },
   322: 	{ 0x90, 0x97, m92_pf3_control_w },
   323: 	{ 0x98, 0x9f, m92_master_control_w },
   324: //	{ 0xc0, 0xc1, m92_unknown_w },	// sound related?
   325: PORT_END
   326: 
   327: /******************************************************************************/
   328: 
   329: static MEMORY_READ_START( sound_readmem )
   330: 	{ 0x00000, 0x1ffff, MRA_ROM },
   331: 	{ 0xa0000, 0xa3fff, MRA_RAM },
   332: 	{ 0xa8042, 0xa8043, YM2151_status_port_0_r },
   333: 	{ 0xa8044, 0xa8045, m92_soundlatch_r },
   334: 	{ 0xffff0, 0xfffff, MRA_ROM },
   335: MEMORY_END
   336: 
   337: static MEMORY_WRITE_START( sound_writemem )
   338: 	{ 0x00000, 0x1ffff, MWA_ROM },
   339: 	{ 0x9ff00, 0x9ffff, MWA_NOP }, /* Irq controller? */
   340: 	{ 0xa0000, 0xa3fff, MWA_RAM, &m92_snd_ram },
   341: 	{ 0xa8000, 0xa803f, IremGA20_w },
   342: 	{ 0xa8040, 0xa8041, YM2151_register_port_0_w },
   343: 	{ 0xa8042, 0xa8043, YM2151_data_port_0_w },
   344: 	{ 0xa8044, 0xa8045, m92_sound_irq_ack_w },
   345: 	{ 0xa8046, 0xa8047, m92_sound_status_w },
   346: 	{ 0xffff0, 0xfffff, MWA_ROM },
   347: MEMORY_END
   348: 
   349: /******************************************************************************/
   350: 
   351: INPUT_PORTS_START( bmaster )
   352: 	IREM_JOYSTICK_1_2(1)
   353: 	IREM_JOYSTICK_1_2(2)
   354: 	PORT_UNUSED
   355: 	PORT_UNUSED
   356: 	IREM_COINS
   357: 	IREM_SYSTEM_DIPSWITCH
   358: 
   359: 	PORT_START	/* Dip switch bank 1 */
   360: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
   361: 	PORT_DIPSETTING(    0x00, "1" )
   362: 	PORT_DIPSETTING(    0x03, "2" )
   363: 	PORT_DIPSETTING(    0x02, "3" )
   364: 	PORT_DIPSETTING(    0x01, "4" )
   365: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
   366: 	PORT_DIPSETTING(    0x00, "Very Easy" )
   367: 	PORT_DIPSETTING(    0x08, "Easy" )
   368: 	PORT_DIPSETTING(    0x0c, "Normal" )
   369: 	PORT_DIPSETTING(    0x04, "Hard" )
   370: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Bonus_Life ) )
   371: 	PORT_DIPSETTING(    0x10, "300k only" )
   372: 	PORT_DIPSETTING(    0x00, "None" )
   373: 	PORT_DIPNAME( 0x20, 0x20, "Allow Continue" )
   374: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
   375: 	PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
   376: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   377: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   378: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   379: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   380: 
   381: 	PORT_START	/* Dip switch bank 2 */
   382: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   383: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   384: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   385: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   386: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   387: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   388: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   389: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   390: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   391: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   392: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   393: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   394: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   395: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   396: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   397: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   398: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   399: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   400: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   401: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   402: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   403: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
   404: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   405: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   406: INPUT_PORTS_END
   407: 
   408: INPUT_PORTS_START( gunforce )
   409: 	IREM_JOYSTICK_1_2(1)
   410: 	IREM_JOYSTICK_1_2(2)
   411: 	PORT_UNUSED
   412: 	PORT_UNUSED
   413: 	IREM_COINS
   414: 	IREM_SYSTEM_DIPSWITCH
   415: 
   416: 	PORT_START	/* Dip switch bank 1 */
   417: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
   418: 	PORT_DIPSETTING(    0x02, "2" )
   419: 	PORT_DIPSETTING(    0x03, "3" )
   420: 	PORT_DIPSETTING(    0x01, "4" )
   421: 	PORT_DIPSETTING(    0x00, "5" )
   422: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
   423: 	PORT_DIPSETTING(    0x00, "Very Easy" )
   424: 	PORT_DIPSETTING(    0x08, "Easy" )
   425: 	PORT_DIPSETTING(    0x0c, "Normal" )
   426: 	PORT_DIPSETTING(    0x04, "Hard" )
   427: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Bonus_Life ) )
   428: 	PORT_DIPSETTING(    0x00, "15000 35000 75000 120000" )
   429: 	PORT_DIPSETTING(    0x10, "20000 40000 90000 150000" )
   430: 	PORT_DIPNAME( 0x20, 0x20, "Allow Continue" )
   431: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
   432: 	PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
   433: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   434: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   435: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   436: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   437: 
   438: 	PORT_UNUSED	/* Game manual only mentions 2 dips */
   439: INPUT_PORTS_END
   440: 
   441: INPUT_PORTS_START( lethalth )
   442: 	IREM_JOYSTICK_1_2(1)
   443: 	IREM_JOYSTICK_1_2(2)
   444: 	PORT_UNUSED
   445: 	PORT_UNUSED
   446: 	IREM_COINS
   447: 	IREM_SYSTEM_DIPSWITCH
   448: 
   449: 	PORT_START	/* Dip switch bank 1 */
   450: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
   451: 	PORT_DIPSETTING(    0x02, "2" )
   452: 	PORT_DIPSETTING(    0x03, "3" )
   453: 	PORT_DIPSETTING(    0x01, "4" )
   454: 	PORT_DIPSETTING(    0x00, "5" )
   455: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
   456: 	PORT_DIPSETTING(    0x00, "Very Easy" )
   457: 	PORT_DIPSETTING(    0x08, "Easy" )
   458: 	PORT_DIPSETTING(    0x0c, "Normal" )
   459: 	PORT_DIPSETTING(    0x04, "Hard" )
   460: 	PORT_DIPNAME( 0x10, 0x10, "Continuous Play" )
   461: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
   462: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
   463: 	PORT_DIPNAME( 0x20, 0x20, "Allow Continue" )
   464: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
   465: 	PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
   466: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   467: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   468: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   469: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   470: 
   471: 	PORT_START	/* Dip switch bank 2 */
   472: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   473: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   474: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   475: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   476: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   477: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   478: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   479: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   480: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   481: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   482: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   483: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   484: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   485: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   486: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   487: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   488: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   489: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   490: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   491: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   492: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   493: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
   494: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   495: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   496: INPUT_PORTS_END
   497: 
   498: INPUT_PORTS_START( hook )
   499: 	IREM_JOYSTICK_1_2(1)
   500: 	IREM_JOYSTICK_1_2(2)
   501: 	IREM_JOYSTICK_3_4(3)
   502: 	IREM_JOYSTICK_3_4(4)
   503: 	IREM_COINS
   504: 	IREM_SYSTEM_DIPSWITCH_4PLAYERS
   505: 
   506: 	PORT_START	/* Dip switch bank 1 */
   507: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
   508: 	PORT_DIPSETTING(    0x00, "1" )
   509: 	PORT_DIPSETTING(    0x03, "2" )
   510: 	PORT_DIPSETTING(    0x02, "3" )
   511: 	PORT_DIPSETTING(    0x01, "4" )
   512: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
   513: 	PORT_DIPSETTING(    0x00, "Very Easy" )
   514: 	PORT_DIPSETTING(    0x08, "Easy" )
   515: 	PORT_DIPSETTING(    0x0c, "Normal" )
   516: 	PORT_DIPSETTING(    0x04, "Hard" )
   517: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   518: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   519: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   520: 	PORT_DIPNAME( 0x20, 0x20, "Any Button to Start" )
   521: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
   522: 	PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
   523: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   524: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   525: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   526: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   527: 
   528: 	PORT_START	/* Dip switch bank 2 */
   529: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   530: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   531: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   532: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   533: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   534: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   535: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   536: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   537: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   538: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   539: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   540: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   541: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   542: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   543: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   544: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   545: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   546: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   547: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   548: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   549: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   550: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
   551: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   552: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   553: INPUT_PORTS_END
   554: 
   555: INPUT_PORTS_START( majtitl2 )
   556: 	IREM_JOYSTICK_1_2(1)
   557: 	IREM_JOYSTICK_1_2(2)
   558: 	IREM_JOYSTICK_3_4(3)
   559: 	IREM_JOYSTICK_3_4(4)
   560: 	IREM_COINS
   561: 	IREM_SYSTEM_DIPSWITCH_4PLAYERS
   562: 
   563: 	PORT_START	/* Dip switch bank 1 */
   564: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   565: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   566: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   567: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   568: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   569: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   570: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) /* Probably difficulty */
   571: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   572: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   573: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   574: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   575: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   576: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) /* One of these is continue */
   577: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   578: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   579: 	PORT_DIPNAME( 0x20, 0x00, "Any Button to Start" )
   580: 	PORT_DIPSETTING(    0x20, DEF_STR( No ) )
   581: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
   582: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   583: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   584: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   585: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   586: 
   587: 	PORT_START	/* Dip switch bank 2 */
   588: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   589: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   590: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   591: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   592: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   593: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   594: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   595: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   596: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   597: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   598: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   599: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   600: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   601: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   602: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   603: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   604: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   605: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   606: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   607: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   608: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   609: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
   610: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   611: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   612: INPUT_PORTS_END
   613: 
   614: INPUT_PORTS_START( mysticri )
   615: 	IREM_JOYSTICK_1_2(1)
   616: 	IREM_JOYSTICK_1_2(2)
   617: 	PORT_UNUSED
   618: 	PORT_UNUSED
   619: 	IREM_COINS
   620: 	IREM_SYSTEM_DIPSWITCH
   621: 
   622: 	PORT_START	/* Dip switch bank 1 */
   623: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
   624: 	PORT_DIPSETTING(    0x02, "2" )
   625: 	PORT_DIPSETTING(    0x03, "3" )
   626: 	PORT_DIPSETTING(    0x01, "4" )
   627: 	PORT_DIPSETTING(    0x00, "5" )
   628: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) /* Probably difficulty */
   629: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   630: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   631: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   632: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   633: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   634: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   635: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   636: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   637: 	PORT_DIPNAME( 0x20, 0x20, "Allow Continue" )
   638: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
   639: 	PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
   640: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   641: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   642: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   643: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   644: 
   645: 	PORT_START	/* Dip switch bank 2 */
   646: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   647: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   648: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   649: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   650: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   651: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   652: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   653: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   654: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   655: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   656: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   657: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   658: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   659: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   660: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   661: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   662: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   663: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   664: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   665: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   666: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   667: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
   668: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   669: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   670: INPUT_PORTS_END
   671: 
   672: INPUT_PORTS_START( uccops )
   673: 	IREM_JOYSTICK_1_2(1)
   674: 	IREM_JOYSTICK_1_2(2)
   675: 	IREM_JOYSTICK_3_4(3)
   676: 	PORT_UNUSED
   677: 	IREM_COINS
   678: 	IREM_SYSTEM_DIPSWITCH_3PLAYERS
   679: 
   680: 	PORT_START	/* Dip switch bank 1 */
   681: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Lives ) )
   682: 	PORT_DIPSETTING(    0x00, "1" )
   683: 	PORT_DIPSETTING(    0x03, "2" )
   684: 	PORT_DIPSETTING(    0x02, "3" )
   685: 	PORT_DIPSETTING(    0x01, "4" )
   686: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
   687: 	PORT_DIPSETTING(    0x00, "Very Easy" )
   688: 	PORT_DIPSETTING(    0x08, "Easy" )
   689: 	PORT_DIPSETTING(    0x0c, "Normal" )
   690: 	PORT_DIPSETTING(    0x04, "Hard" )
   691: 	/* There is ALLWAYS a Bonus Life at 300K */
   692: 	/* It does not depends on the value of bit 0x10 */
   693: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   694: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   695: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   696: 	PORT_DIPNAME( 0x20, 0x20, "Any Button to Start" )
   697: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
   698: 	PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
   699: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   700: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   701: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   702: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   703: 
   704: 	PORT_START	/* Dip switch bank 2 */
   705: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   706: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   707: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   708: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   709: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   710: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   711: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   712: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   713: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   714: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   715: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   716: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   717: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   718: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   719: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   720: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   721: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   722: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   723: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   724: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   725: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   726: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
   727: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   728: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   729: INPUT_PORTS_END
   730: 
   731: INPUT_PORTS_START( rtypeleo )
   732: 	IREM_JOYSTICK_1_2(1)
   733: 	IREM_JOYSTICK_1_2(2)
   734: 	PORT_UNUSED
   735: 	PORT_UNUSED
   736: 	IREM_COINS
   737: 	IREM_SYSTEM_DIPSWITCH
   738: 
   739: 	PORT_START	/* Dip switch bank 1 */
   740: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
   741: 	PORT_DIPSETTING(    0x02, "2" )
   742: 	PORT_DIPSETTING(    0x03, "3" )
   743: 	PORT_DIPSETTING(    0x01, "4" )
   744: 	PORT_DIPSETTING(    0x00, "5" )
   745: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
   746: 	PORT_DIPSETTING(    0x00, "Very Easy" )
   747: 	PORT_DIPSETTING(    0x08, "Easy" )
   748: 	PORT_DIPSETTING(    0x0c, "Normal" )
   749: 	PORT_DIPSETTING(    0x04, "Hard" )
   750: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) /* Buy in/coin mode?? */
   751: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   752: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   753: 	PORT_DIPNAME( 0x20, 0x20, "Allow Continue" )
   754: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
   755: 	PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
   756: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   757: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   758: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   759: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   760: 
   761: 	PORT_UNUSED	/* Game manual only mentions 2 dips */
   762: INPUT_PORTS_END
   763: 
   764: INPUT_PORTS_START( inthunt )
   765: 	IREM_JOYSTICK_1_2(1)
   766: 	IREM_JOYSTICK_1_2(2)
   767: 	PORT_UNUSED
   768: 	PORT_UNUSED
   769: 	IREM_COINS
   770: 	IREM_SYSTEM_DIPSWITCH
   771: 
   772: 	PORT_START	/* Dip switch bank 1 */
   773: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
   774: 	PORT_DIPSETTING(    0x02, "2" )
   775: 	PORT_DIPSETTING(    0x03, "3" )
   776: 	PORT_DIPSETTING(    0x01, "4" )
   777: 	PORT_DIPSETTING(    0x00, "5" )
   778: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
   779: 	PORT_DIPSETTING(    0x00, "Very Easy" )
   780: 	PORT_DIPSETTING(    0x08, "Easy" )
   781: 	PORT_DIPSETTING(    0x0c, "Normal" )
   782: 	PORT_DIPSETTING(    0x04, "Hard" )
   783: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unused ) )
   784: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   785: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   786: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   787: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   788: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   789: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   790: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   791: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   792: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   793: 
   794: 	PORT_START	/* Dip switch bank 2 */
   795: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   796: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   797: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   798: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   799: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   800: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   801: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   802: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   803: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   804: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   805: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   806: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   807: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   808: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   809: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   810: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   811: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   812: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   813: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   814: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   815: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   816: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
   817: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   818: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   819: INPUT_PORTS_END
   820: 
   821: INPUT_PORTS_START( nbbatman )
   822: 	IREM_JOYSTICK_1_2(1)
   823: 	IREM_JOYSTICK_1_2(2)
   824: 	IREM_JOYSTICK_3_4(3)
   825: 	IREM_JOYSTICK_3_4(4)
   826: 	IREM_COINS
   827: 	IREM_SYSTEM_DIPSWITCH_4PLAYERS
   828: 
   829: 	PORT_START	/* Dip switch bank 1 */
   830: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
   831: 	PORT_DIPSETTING(    0x00, "1" )
   832: 	PORT_DIPSETTING(    0x03, "2" )
   833: 	PORT_DIPSETTING(    0x02, "3" )
   834: 	PORT_DIPSETTING(    0x01, "4" )
   835: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) /* Probably difficulty */
   836: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   837: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   838: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   839: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   840: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   841: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) /* One of these is continue */
   842: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   843: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   844: 	PORT_DIPNAME( 0x20, 0x00, "Any Button to Start" )
   845: 	PORT_DIPSETTING(    0x20, DEF_STR( No ) )
   846: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
   847: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   848: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   849: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   850: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   851: 
   852: 	PORT_START	/* Dip switch bank 2 */
   853: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   854: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   855: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   856: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   857: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   858: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   859: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   860: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   861: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   862: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   863: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   864: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   865: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   866: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   867: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   868: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   869: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   870: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   871: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   872: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   873: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   874: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
   875: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   876: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   877: INPUT_PORTS_END
   878: 
   879: INPUT_PORTS_START( psoldier )
   880: 	PORT_START
   881: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
   882: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
   883: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
   884: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
   885: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
   886: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
   887: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
   888: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
   889: 
   890: 	PORT_START
   891: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
   892: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
   893: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
   894: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
   895: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
   896: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
   897: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
   898: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   899: 
   900: 	PORT_UNUSED
   901: 
   902: 	PORT_START /* Extra connector for kick buttons */
   903: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
   904: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER1 )
   905: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON5 | IPF_PLAYER1 )
   906: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON6 | IPF_PLAYER1 )
   907: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
   908: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER2 )
   909: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON5 | IPF_PLAYER2 )
   910: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON6 | IPF_PLAYER2 )
   911: 
   912: 	IREM_COINS
   913: 	IREM_SYSTEM_DIPSWITCH
   914: 
   915: 	PORT_START	/* Dip switch bank 1 */
   916: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   917: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   918: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   919: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   920: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   921: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   922: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) /* Probably difficulty */
   923: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   924: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   925: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   926: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   927: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   928: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) /* One of these is continue */
   929: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   930: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   931: 	PORT_DIPNAME( 0x20, 0x00, "Any Button to Start" )
   932: 	PORT_DIPSETTING(    0x20, DEF_STR( No ) )
   933: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
   934: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   935: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   936: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   937: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   938: 
   939: 	PORT_START	/* Dip switch bank 2 */
   940: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   941: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   942: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   943: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   944: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   945: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   946: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   947: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   948: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   949: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   950: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   951: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   952: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   953: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   954: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   955: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   956: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   957: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   958: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   959: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   960: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   961: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
   962: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   963: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   964: INPUT_PORTS_END
   965: 
   966: INPUT_PORTS_START( dsccr94j )
   967: 	IREM_JOYSTICK_1_2(1)
   968: 	IREM_JOYSTICK_1_2(2)
   969: 	IREM_JOYSTICK_3_4(3)
   970: 	IREM_JOYSTICK_3_4(4)
   971: 	IREM_COINS
   972: 	IREM_SYSTEM_DIPSWITCH_4PLAYERS
   973: 
   974: 	PORT_START	/* Dip switch bank 1 */
   975: 	PORT_DIPNAME( 0x03, 0x03, "Time" )
   976: 	PORT_DIPSETTING(    0x00, "1:30" )
   977: 	PORT_DIPSETTING(    0x03, "2:00" )
   978: 	PORT_DIPSETTING(    0x02, "2:30" )
   979: 	PORT_DIPSETTING(    0x01, "3:00" )
   980: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   981: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   982: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   983: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   984: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   985: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   986: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   987: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   988: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   989: 	PORT_DIPNAME( 0x20, 0x20, "Starting Button" )
   990: 	PORT_DIPSETTING(    0x00, "Button 1" )
   991: 	PORT_DIPSETTING(    0x20, "Start Button" )
   992: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
   993: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   994: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   995: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   996: 
   997: 	PORT_START	/* Dip switch bank 2 */
   998: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   999: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  1000: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1001: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
  1002: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  1003: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1004: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
  1005: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  1006: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1007: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
  1008: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  1009: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1010: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
  1011: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  1012: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1013: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
  1014: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  1015: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1016: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
  1017: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  1018: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1019: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
  1020: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  1021: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1022: INPUT_PORTS_END
  1023: 
  1024: INPUT_PORTS_START( gunforc2 )
  1025: 	IREM_JOYSTICK_1_2(1)
  1026: 	IREM_JOYSTICK_1_2(2)
  1027: 	PORT_UNUSED
  1028: 	PORT_UNUSED
  1029: 	IREM_COINS
  1030: 	IREM_SYSTEM_DIPSWITCH
  1031: 
  1032: 	PORT_START	/* Dip switch bank 1 */
  1033: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
  1034: 	PORT_DIPSETTING(    0x02, "3" )
  1035: 	PORT_DIPSETTING(    0x03, "2" )
  1036: 	PORT_DIPSETTING(    0x01, "4" )
  1037: 	PORT_DIPSETTING(    0x00, "1" )
  1038: 	PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
  1039: 	PORT_DIPSETTING(    0x00, "Very Easy" )
  1040: 	PORT_DIPSETTING(    0x08, "Easy" )
  1041: 	PORT_DIPSETTING(    0x0c, "Normal" )
  1042: 	PORT_DIPSETTING(    0x04, "Hard" )
  1043: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Bonus_Life ) )
  1044: 	PORT_DIPSETTING(    0x00, "15000 35000 75000 120000" )
  1045: 	PORT_DIPSETTING(    0x10, "20000 40000 90000 150000" )
  1046: 	PORT_DIPNAME( 0x20, 0x20, "Allow Continue" )
  1047: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
  1048: 	PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
  1049: 	PORT_DIPNAME( 0x40, 0x00, DEF_STR( Demo_Sounds ) )
  1050: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  1051: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  1052: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  1053: 
  1054: 	PORT_UNUSED	/* Game manual only mentions 2 dips */
  1055: INPUT_PORTS_END
  1056: 
  1057: /***************************************************************************/
  1058: 
  1059: static struct GfxLayout charlayout =
  1060: {
  1061: 	8,8,	/* 8*8 characters */
  1062: 	RGN_FRAC(1,4),
  1063: 	4,	/* 4 bits per pixel */
  1064: 	{ RGN_FRAC(3,4), RGN_FRAC(2,4), RGN_FRAC(1,4), RGN_FRAC(0,4) },
  1065: 	{ 0, 1, 2, 3, 4, 5, 6, 7 },
  1066: 	{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
  1067: 	8*8	/* every char takes 8 consecutive bytes */
  1068: };
  1069: 
  1070: static struct GfxLayout spritelayout =
  1071: {
  1072: 	16,16,
  1073: 	RGN_FRAC(1,4),
  1074: 	4,
  1075: 	{ RGN_FRAC(3,4), RGN_FRAC(2,4), RGN_FRAC(1,4), RGN_FRAC(0,4) },
  1076: 	{ 0, 1, 2, 3, 4, 5, 6, 7,
  1077: 		16*8+0, 16*8+1, 16*8+2, 16*8+3, 16*8+4, 16*8+5, 16*8+6, 16*8+7 },
  1078: 	{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
  1079: 			8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8 },
  1080: 	32*8
  1081: };
  1082: 
  1083: static struct GfxLayout spritelayout2 =
  1084: {
  1085: 	16,16,
  1086: 	RGN_FRAC(1,4),
  1087: 	4,
  1088: 	{ RGN_FRAC(3,4), RGN_FRAC(2,4), RGN_FRAC(1,4), RGN_FRAC(0,4) },
  1089: 	{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 },
  1090: 	{ 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16,
  1091: 			8*16, 9*16, 10*16, 11*16, 12*16, 13*16, 14*16, 15*16 },
  1092: 	32*8
  1093: };
  1094: 
  1095: static struct GfxDecodeInfo gfxdecodeinfo[] =
  1096: {
  1097: 	{ REGION_GFX1, 0, &charlayout,   0, 128 },
  1098: 	{ REGION_GFX2, 0, &spritelayout, 0, 128 },
  1099: 	{ -1 } /* end of array */
  1100: };
  1101: 
  1102: static struct GfxDecodeInfo gfxdecodeinfo2[] =
  1103: {
  1104: 	{ REGION_GFX1, 0, &charlayout,    0, 128 },
  1105: 	{ REGION_GFX2, 0, &spritelayout2, 0, 128 },
  1106: 	{ -1 } /* end of array */
  1107: };
  1108: 
  1109: /***************************************************************************/
  1110: 
  1111: static void sound_irq(int state)
  1112: {
  1113: 	if (state)
  1114: 		timer_set(TIME_NOW,YM2151_ASSERT,setvector_callback);
  1115: 	else
  1116: 		timer_set(TIME_NOW,YM2151_CLEAR,setvector_callback);
  1117: }
  1118: 
  1119: static struct YM2151interface ym2151_interface =
  1120: {
  1121: 	1,
  1122: 	14318180/4,
  1123: 	{ YM3012_VOL(40,MIXER_PAN_LEFT,40,MIXER_PAN_RIGHT) },
  1124: 	{ sound_irq }
  1125: };
  1126: 
  1127: static struct IremGA20_interface iremGA20_interface =
  1128: {
  1129: 	14318180/4,
  1130: 	REGION_SOUND1,
  1131: 	{ MIXER(100,MIXER_PAN_LEFT), MIXER(100,MIXER_PAN_RIGHT) },
  1132: };
  1133: 
  1134: /***************************************************************************/
  1135: 
  1136: static INTERRUPT_GEN( m92_interrupt )
  1137: {
  1138: 	if (osd_skip_this_frame()==0)
  1139: 		m92_vh_raster_partial_refresh(Machine->scrbitmap,0,249);
  1140: 
  1141: 	cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, M92_IRQ_0); /* VBL */
  1142: }
  1143: 
  1144: static INTERRUPT_GEN( m92_raster_interrupt )
  1145: {
  1146: 	static int last_line=0;
  1147: 	int line = M92_SCANLINES - cpu_getiloops();
  1148: 
  1149: 	/* Raster interrupt */
  1150: 	if (m92_raster_enable && line==m92_raster_irq_position) {
  1151: 		if (osd_skip_this_frame()==0)
  1152: 			m92_vh_raster_partial_refresh(Machine->scrbitmap,last_line,line+1);
  1153: 		last_line=line+1;
  1154: 		cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, M92_IRQ_2);
  1155: 	}
  1156: 
  1157: 	/* Redraw screen, then set vblank and trigger the VBL interrupt */
  1158: 	else if (line==249) { /* 248 is last visible line */
  1159: 		if (osd_skip_this_frame()==0)
  1160: 			m92_vh_raster_partial_refresh(Machine->scrbitmap,last_line,249);
  1161: 		last_line=249;
  1162: 		cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, M92_IRQ_0);
  1163: 	}
  1164: 
  1165: 	/* End of vblank */
  1166: 	else if (line==M92_SCANLINES-1) {
  1167: 		last_line=0;
  1168: 	}
  1169: }
  1170: 
  1171: void m92_sprite_interrupt(void)
  1172: {
  1173: 	cpu_set_irq_line_and_vector(0,0,HOLD_LINE,M92_IRQ_1);
  1174: }
  1175: 
  1176: static MACHINE_DRIVER_START( raster )
  1177: 
  1178: 	/* basic machine hardware */
  1179: 	MDRV_CPU_ADD(V33,18000000/2)	/* NEC V33, 18 MHz clock */
  1180: 	MDRV_CPU_MEMORY(readmem,writemem)
  1181: 	MDRV_CPU_PORTS(readport,writeport)
  1182: 	MDRV_CPU_VBLANK_INT(m92_raster_interrupt,M92_SCANLINES) /* First visible line 8? */
  1183: 
  1184: 	MDRV_CPU_ADD(V30, 14318180/2)	/* 14.31818 MHz */
  1185: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  1186: 
  1187: 	MDRV_FRAMES_PER_SECOND(60)
  1188: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  1189: 
  1190: 	/* video hardware */
  1191: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_BUFFERS_SPRITERAM)
  1192: 	MDRV_SCREEN_SIZE(512, 512)
  1193: 	MDRV_VISIBLE_AREA(80, 511-112, 128+8, 511-128-8) /* 320 x 240 */
  1194: 	MDRV_GFXDECODE(gfxdecodeinfo)
  1195: 	MDRV_PALETTE_LENGTH(2048)
  1196: 
  1197: 	MDRV_VIDEO_START(m92)
  1198: 	MDRV_VIDEO_UPDATE(m92)
  1199: 
  1200: 	/* sound hardware */
  1201: 	MDRV_SOUND_ADD(YM2151, ym2151_interface)
  1202: 	MDRV_SOUND_ADD(IREMGA20, iremGA20_interface)
  1203: MACHINE_DRIVER_END
  1204: 
  1205: 
  1206: static MACHINE_DRIVER_START( nonraster )
  1207: 
  1208: 	/* basic machine hardware */
  1209: 	MDRV_CPU_ADD(V33, 18000000/2)	 /* NEC V33, 18 MHz clock */
  1210: 	MDRV_CPU_MEMORY(readmem,writemem)
  1211: 	MDRV_CPU_PORTS(readport,writeport)
  1212: 	MDRV_CPU_VBLANK_INT(m92_interrupt,1)
  1213: 
  1214: 	MDRV_CPU_ADD(V30, 14318180/2)
  1215: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)	/* 14.31818 MHz */
  1216: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  1217: 
  1218: 	MDRV_FRAMES_PER_SECOND(60)
  1219: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  1220: 
  1221: 	/* video hardware */
  1222: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_BUFFERS_SPRITERAM)
  1223: 	MDRV_SCREEN_SIZE(512, 512)
  1224: 	MDRV_VISIBLE_AREA(80, 511-112, 128+8, 511-128-8) /* 320 x 240 */
  1225: 	MDRV_GFXDECODE(gfxdecodeinfo)
  1226: 	MDRV_PALETTE_LENGTH(2048)
  1227: 
  1228: 	MDRV_VIDEO_START(m92)
  1229: 	MDRV_VIDEO_UPDATE(m92)
  1230: 
  1231: 	/* sound hardware */
  1232: 	MDRV_SOUND_ADD(YM2151, ym2151_interface)
  1233: 	MDRV_SOUND_ADD(IREMGA20, iremGA20_interface)
  1234: MACHINE_DRIVER_END
  1235: 
  1236: 
  1237: static MACHINE_DRIVER_START( lethalth )
  1238: 
  1239: 	/* basic machine hardware */
  1240: 	MDRV_CPU_ADD(V33, 18000000/2)	/* NEC V33, 18 MHz clock */
  1241: 	MDRV_CPU_MEMORY(lethalth_readmem,lethalth_writemem)
  1242: 	MDRV_CPU_PORTS(readport,writeport)
  1243: 	MDRV_CPU_VBLANK_INT(m92_interrupt,1)
  1244: 
  1245: 	MDRV_CPU_ADD(V30, 14318180/2)
  1246: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)	/* 14.31818 MHz */
  1247: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  1248: 
  1249: 	MDRV_FRAMES_PER_SECOND(60)
  1250: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  1251: 
  1252: 	/* video hardware */
  1253: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_BUFFERS_SPRITERAM)
  1254: 	MDRV_SCREEN_SIZE(512, 512)
  1255: 	MDRV_VISIBLE_AREA(80, 511-112, 128+8, 511-128-8) /* 320 x 240 */
  1256: 	MDRV_GFXDECODE(gfxdecodeinfo)
  1257: 	MDRV_PALETTE_LENGTH(2048)
  1258: 
  1259: 	MDRV_VIDEO_START(m92)
  1260: 	MDRV_VIDEO_UPDATE(m92)
  1261: 
  1262: 	/* sound hardware */
  1263: 	MDRV_SOUND_ADD(YM2151, ym2151_interface)
  1264: 	MDRV_SOUND_ADD(IREMGA20, iremGA20_interface)
  1265: MACHINE_DRIVER_END
  1266: 
  1267: 
  1268: static MACHINE_DRIVER_START( psoldier )
  1269: 
  1270: 	/* basic machine hardware */
  1271: 	MDRV_CPU_ADD(V33, 18000000/2)		/* NEC V33, 18 MHz clock */
  1272: 	MDRV_CPU_MEMORY(readmem,writemem)
  1273: 	MDRV_CPU_PORTS(readport,writeport)
  1274: 	MDRV_CPU_VBLANK_INT(m92_interrupt,1)
  1275: 
  1276: 	MDRV_CPU_ADD(V30, 14318180/2)
  1277: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)	/* 14.31818 MHz */
  1278: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  1279: 
  1280: 	MDRV_FRAMES_PER_SECOND(60)
  1281: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  1282: 
  1283: 	/* video hardware */
  1284: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_BUFFERS_SPRITERAM)
  1285: 	MDRV_SCREEN_SIZE(512, 512)
  1286: 	MDRV_VISIBLE_AREA(80, 511-112, 128+8, 511-128-8) /* 320 x 240 */
  1287: 	MDRV_GFXDECODE(gfxdecodeinfo2)
  1288: 	MDRV_PALETTE_LENGTH(2048)
  1289: 
  1290: 	MDRV_VIDEO_START(m92)
  1291: 	MDRV_VIDEO_UPDATE(m92)
  1292: 
  1293: 	/* sound hardware */
  1294: 	MDRV_SOUND_ADD(YM2151, ym2151_interface)
  1295: 	MDRV_SOUND_ADD(IREMGA20, iremGA20_interface)
  1296: MACHINE_DRIVER_END
  1297: 
  1298: /***************************************************************************/
  1299: 
  1300: ROM_START( bmaster )
  1301: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1302: 	ROM_LOAD16_BYTE( "bm_d-h0.rom",  0x000001, 0x40000, CRC(49b257c7) SHA1(cb4917ef6c5f959094f95b8535ea12e6b9b0bcc2) )
  1303: 	ROM_LOAD16_BYTE( "bm_d-l0.rom",  0x000000, 0x40000, CRC(a873523e) SHA1(9aee134c299e12064842e16db296f4259eccdf5b) )
  1304: 	ROM_LOAD16_BYTE( "bm_d-h1.rom",  0x080001, 0x10000, CRC(082b7158) SHA1(ca2cfcb3ecd1f130d3fb893f08d53521e7d443d4) )
  1305: 	ROM_LOAD16_BYTE( "bm_d-l1.rom",  0x080000, 0x10000, CRC(6ff0c04e) SHA1(7293a50445053101d22bc596d13e1a7ed67a65c6) )
  1306: 
  1307: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )
  1308: 	ROM_LOAD16_BYTE( "bm_d-sh0.rom",  0x000001, 0x10000, CRC(9f7c075b) SHA1(1dd3fb4dc41d3adea9ca8d1b4363dadebea49bda) )
  1309: 	ROM_LOAD16_BYTE( "bm_d-sl0.rom",  0x000000, 0x10000, CRC(1fa87c89) SHA1(971eae7dd2591191ed7a948a444387896735e149) )
  1310: 
  1311: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1312: 	ROM_LOAD( "bm_c0.rom",       0x000000, 0x40000, CRC(2cc966b8) SHA1(4d55954813efe975b7e644448effc61b22896e0b) )
  1313: 	ROM_LOAD( "bm_c1.rom",       0x040000, 0x40000, CRC(46df773e) SHA1(6f075492c06768f7d2315906ec1349fe09def22f) )
  1314: 	ROM_LOAD( "bm_c2.rom",       0x080000, 0x40000, CRC(05b867bd) SHA1(d44667f3f4908bacb6e10becc431b0f213c20407) )
  1315: 	ROM_LOAD( "bm_c3.rom",       0x0c0000, 0x40000, CRC(0a2227a4) SHA1(30499e99f3731993607e04c77637f6bbe641c05c) )
  1316: 
  1317: 	ROM_REGION( 0x200000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1318: 	ROM_LOAD( "bm_000.rom",      0x000000, 0x80000, CRC(339fc9f3) SHA1(36be0f3b5add2ecf3f602933f5456091daaeb1f6) )
  1319: 	ROM_LOAD( "bm_010.rom",      0x080000, 0x80000, CRC(6a14377d) SHA1(699e5b1984810ee9e504f9ddaec604671c0cb0b7) )
  1320: 	ROM_LOAD( "bm_020.rom",      0x100000, 0x80000, CRC(31532198) SHA1(7a285e003a7c359f5b1afe4da3b44069f716f7b5) )
  1321: 	ROM_LOAD( "bm_030.rom",      0x180000, 0x80000, CRC(d1a041d3) SHA1(84a8cf5911426ed785cb678395f52da0a9199546) )
  1322: 
  1323: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1324: 	ROM_LOAD( "bm_da.rom",       0x000000, 0x80000, CRC(62ce5798) SHA1(f7bf7706f71ce36d85c99e531d4789c4d7a095a0) )
  1325: ROM_END
  1326: 
  1327: ROM_START( skingame )
  1328: 	ROM_REGION( 0x180000, REGION_CPU1, 0 )
  1329: 	ROM_LOAD16_BYTE( "is-h0-d",  0x000001, 0x40000, CRC(80940abb) SHA1(7af5b667383f40987cc8190d81937410ea2c0301) )
  1330: 	ROM_LOAD16_BYTE( "is-l0-d",  0x000000, 0x40000, CRC(b84beed6) SHA1(b026a68623d7d96545a4b01770fc6cdd2a0ed0f4) )
  1331: 	ROM_LOAD16_BYTE( "is-h1",    0x100001, 0x40000, CRC(9ba8e1f2) SHA1(ae86697a97223d236e2e6dd33ddb8105b9f926cb) )
  1332: 	ROM_LOAD16_BYTE( "is-l1",    0x100000, 0x40000, CRC(e4e00626) SHA1(e8c6c7ad6a367da4036915a155c8695ad90ae47b) )
  1333: 
  1334: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 64k for the audio CPU */
  1335: 	ROM_LOAD16_BYTE( "mt2sh0",  0x000001, 0x10000, CRC(1ecbea43) SHA1(8d66ef419f75569f2c83a89c3985742b8a47914f) )
  1336: 	ROM_LOAD16_BYTE( "mt2sl0",  0x000000, 0x10000, CRC(8fd5b531) SHA1(92cae3f6dac7f89b559063de3be2f38587536b65) )
  1337: 
  1338: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1339: 	ROM_LOAD( "c0",       0x000000, 0x40000, CRC(7e61e4b5) SHA1(d0164862937bd506e701777c51dea1ddb3e2eda4) )
  1340: 	ROM_LOAD( "c1",       0x040000, 0x40000, CRC(0a667564) SHA1(d122e0619ae5cc0202f30270933784c954eb1e5d) )
  1341: 	ROM_LOAD( "c2",       0x080000, 0x40000, CRC(5eb44312) SHA1(75b584b63d4f4f2236a679235461f11004aa317f) )
  1342: 	ROM_LOAD( "c3",       0x0c0000, 0x40000, CRC(f2866294) SHA1(75e0071bf6282c93034dc7e73466af0f51046d01) )
  1343: 
  1344: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1345: 	ROM_LOAD( "k30",      0x000000, 0x100000, CRC(8c9a2678) SHA1(e8ed119c16ddd59af9e83d243e7be25974f7cbf8) )
  1346: 	ROM_LOAD( "k31",      0x100000, 0x100000, CRC(5455df78) SHA1(9e49bde1d5a310ff611932c3429601fbddf3a7b1) )
  1347: 	ROM_LOAD( "k32",      0x200000, 0x100000, CRC(3a258c41) SHA1(1d93fcd01728929848b782870f80a8cd0af44796) )
  1348: 	ROM_LOAD( "k33",      0x300000, 0x100000, CRC(c1e91a14) SHA1(1f0dbd99d8c5067dc3f8795fc3f1bd4466f64156) )
  1349: 
  1350: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1351: 	ROM_LOAD( "da",        0x000000, 0x80000, CRC(713b9e9f) SHA1(91384d67d4ba9c7d926fbecb077293c661b8ec83) )
  1352: 
  1353: 	ROM_REGION( 0x4000, REGION_USER1, 0 )	/* EEPROM */
  1354: 	ROM_LOAD( "mt2eep",       0x000000, 0x800, CRC(208af971) SHA1(69384cac24b7af35a031f9b60e035131a8b10cb2) )
  1355: ROM_END
  1356: 
  1357: ROM_START( majtitl2 )
  1358: 	ROM_REGION( 0x180000, REGION_CPU1, 0 )
  1359: 	ROM_LOAD16_BYTE( "mt2-ho-b.5m",0x000001, 0x40000, CRC(b163b12e) SHA1(cdb01a5266bd11f4cff1cb5c05cf24de13a527b2) )
  1360: 	ROM_LOAD16_BYTE( "mt2-lo-b.5f",0x000000, 0x40000, CRC(6f3b5d9d) SHA1(a39f25f29195023fb507dc9ffbfcbd57a4e6b30a) )
  1361: 	ROM_LOAD16_BYTE( "is-h1",      0x100001, 0x40000, CRC(9ba8e1f2) SHA1(ae86697a97223d236e2e6dd33ddb8105b9f926cb) )
  1362: 	ROM_LOAD16_BYTE( "is-l1",      0x100000, 0x40000, CRC(e4e00626) SHA1(e8c6c7ad6a367da4036915a155c8695ad90ae47b) )
  1363: 
  1364: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 64k for the audio CPU */
  1365: 	ROM_LOAD16_BYTE( "mt2sh0",  0x000001, 0x10000, CRC(1ecbea43) SHA1(8d66ef419f75569f2c83a89c3985742b8a47914f) )
  1366: 	ROM_LOAD16_BYTE( "mt2sl0",  0x000000, 0x10000, CRC(8fd5b531) SHA1(92cae3f6dac7f89b559063de3be2f38587536b65) )
  1367: 
  1368: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1369: 	ROM_LOAD( "c0",       0x000000, 0x40000, CRC(7e61e4b5) SHA1(d0164862937bd506e701777c51dea1ddb3e2eda4) )
  1370: 	ROM_LOAD( "c1",       0x040000, 0x40000, CRC(0a667564) SHA1(d122e0619ae5cc0202f30270933784c954eb1e5d) )
  1371: 	ROM_LOAD( "c2",       0x080000, 0x40000, CRC(5eb44312) SHA1(75b584b63d4f4f2236a679235461f11004aa317f) )
  1372: 	ROM_LOAD( "c3",       0x0c0000, 0x40000, CRC(f2866294) SHA1(75e0071bf6282c93034dc7e73466af0f51046d01) )
  1373: 
  1374: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1375: 	ROM_LOAD( "k30",      0x000000, 0x100000, CRC(8c9a2678) SHA1(e8ed119c16ddd59af9e83d243e7be25974f7cbf8) )
  1376: 	ROM_LOAD( "k31",      0x100000, 0x100000, CRC(5455df78) SHA1(9e49bde1d5a310ff611932c3429601fbddf3a7b1) )
  1377: 	ROM_LOAD( "k32",      0x200000, 0x100000, CRC(3a258c41) SHA1(1d93fcd01728929848b782870f80a8cd0af44796) )
  1378: 	ROM_LOAD( "k33",      0x300000, 0x100000, CRC(c1e91a14) SHA1(1f0dbd99d8c5067dc3f8795fc3f1bd4466f64156) )
  1379: 
  1380: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1381: 	ROM_LOAD( "da",        0x000000, 0x80000, CRC(713b9e9f) SHA1(91384d67d4ba9c7d926fbecb077293c661b8ec83) )
  1382: 
  1383: 	ROM_REGION( 0x4000, REGION_USER1, 0 )	/* EEPROM */
  1384: 	ROM_LOAD( "mt2eep",       0x000000, 0x800, CRC(208af971) SHA1(69384cac24b7af35a031f9b60e035131a8b10cb2) )
  1385: ROM_END
  1386: 
  1387: ROM_START( skingam2 )
  1388: 	ROM_REGION( 0x180000, REGION_CPU1, 0 )
  1389: 	ROM_LOAD16_BYTE( "mt2h0a", 0x000001, 0x40000, CRC(7c6dbbc7) SHA1(6ac2df542cbcac782d733aaa0f2e4ded702ec24f) )
  1390: 	ROM_LOAD16_BYTE( "mt2l0a", 0x000000, 0x40000, CRC(9de5f689) SHA1(ea5057cab0a2f5c4586337fc5a17f1a728450cbf) )
  1391: 	ROM_LOAD16_BYTE( "is-h1",  0x100001, 0x40000, CRC(9ba8e1f2) SHA1(ae86697a97223d236e2e6dd33ddb8105b9f926cb) )
  1392: 	ROM_LOAD16_BYTE( "is-l1",  0x100000, 0x40000, CRC(e4e00626) SHA1(e8c6c7ad6a367da4036915a155c8695ad90ae47b) )
  1393: 
  1394: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )
  1395: 	ROM_LOAD16_BYTE( "mt2sh0",  0x000001, 0x10000, CRC(1ecbea43) SHA1(8d66ef419f75569f2c83a89c3985742b8a47914f) )
  1396: 	ROM_LOAD16_BYTE( "mt2sl0",  0x000000, 0x10000, CRC(8fd5b531) SHA1(92cae3f6dac7f89b559063de3be2f38587536b65) )
  1397: 
  1398: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1399: 	ROM_LOAD( "c0",       0x000000, 0x40000, CRC(7e61e4b5) SHA1(d0164862937bd506e701777c51dea1ddb3e2eda4) )
  1400: 	ROM_LOAD( "c1",       0x040000, 0x40000, CRC(0a667564) SHA1(d122e0619ae5cc0202f30270933784c954eb1e5d) )
  1401: 	ROM_LOAD( "c2",       0x080000, 0x40000, CRC(5eb44312) SHA1(75b584b63d4f4f2236a679235461f11004aa317f) )
  1402: 	ROM_LOAD( "c3",       0x0c0000, 0x40000, CRC(f2866294) SHA1(75e0071bf6282c93034dc7e73466af0f51046d01) )
  1403: 
  1404: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1405: 	ROM_LOAD( "k30",      0x000000, 0x100000, CRC(8c9a2678) SHA1(e8ed119c16ddd59af9e83d243e7be25974f7cbf8) )
  1406: 	ROM_LOAD( "k31",      0x100000, 0x100000, CRC(5455df78) SHA1(9e49bde1d5a310ff611932c3429601fbddf3a7b1) )
  1407: 	ROM_LOAD( "k32",      0x200000, 0x100000, CRC(3a258c41) SHA1(1d93fcd01728929848b782870f80a8cd0af44796) )
  1408: 	ROM_LOAD( "k33",      0x300000, 0x100000, CRC(c1e91a14) SHA1(1f0dbd99d8c5067dc3f8795fc3f1bd4466f64156) )
  1409: 
  1410: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1411: 	ROM_LOAD( "da",        0x000000, 0x80000, CRC(713b9e9f) SHA1(91384d67d4ba9c7d926fbecb077293c661b8ec83) )
  1412: 
  1413: 	ROM_REGION( 0x4000, REGION_USER1, 0 )	/* EEPROM */
  1414: 	ROM_LOAD( "mt2eep",       0x000000, 0x800, CRC(208af971) SHA1(69384cac24b7af35a031f9b60e035131a8b10cb2) )
  1415: ROM_END
  1416: 
  1417: ROM_START( gunforce )
  1418: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1419: 	ROM_LOAD16_BYTE( "gf_h0-c.rom",  0x000001, 0x20000, CRC(c09bb634) SHA1(9b0e3174beeef173f5ef70f86f5db42bb01d9989) )
  1420: 	ROM_LOAD16_BYTE( "gf_l0-c.rom",  0x000000, 0x20000, CRC(1bef6f7d) SHA1(ff4d674fc5f97f5b298b4b5dc73fb8a6772b5f09) )
  1421: 	ROM_LOAD16_BYTE( "gf_h1-c.rom",  0x040001, 0x20000, CRC(c84188b7) SHA1(ff710be742f610d90538db296acdd435260bef12) )
  1422: 	ROM_LOAD16_BYTE( "gf_l1-c.rom",  0x040000, 0x20000, CRC(b189f72a) SHA1(f17d87349a57e1a4b20c4947e41edd7c39eaca13) )
  1423: 
  1424: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU - encrypted V30 = NANAO custom D80001 (?) */
  1425: 	ROM_LOAD16_BYTE( "gf_sh0.rom",0x000001, 0x010000, CRC(3f8f16e0) SHA1(a9f568c1b585c2cf13b21716954dac0a89936fc6) )
  1426: 	ROM_LOAD16_BYTE( "gf_sl0.rom",0x000000, 0x010000, CRC(db0b13a3) SHA1(6723026010610b706725a5284a7b8d70fe479dae) )
  1427: 
  1428: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1429: 	ROM_LOAD( "gf_c0.rom",       0x000000, 0x40000, CRC(b3b74979) SHA1(b5b4a4775e0b28c3f37273f93f69886c911af4aa) )
  1430: 	ROM_LOAD( "gf_c1.rom",       0x040000, 0x40000, CRC(f5c8590a) SHA1(a7f90f23051f8ab2b2d925e950a5ef3c260170ca) )
  1431: 	ROM_LOAD( "gf_c2.rom",       0x080000, 0x40000, CRC(30f9fb64) SHA1(f86e01b0d74a1f6c19d97d6d0e0f624f050dad10) )
  1432: 	ROM_LOAD( "gf_c3.rom",       0x0c0000, 0x40000, CRC(87b3e621) SHA1(8e2655c6e83d00c38210fdced25003793bd93d9f) )
  1433: 
  1434: 	ROM_REGION( 0x100000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1435: 	ROM_LOAD( "gf_000.rom",      0x000000, 0x40000, CRC(209e8e8d) SHA1(9720be888905be709733c53da207c3406d73aeb1) )
  1436: 	ROM_LOAD( "gf_010.rom",      0x040000, 0x40000, CRC(6e6e7808) SHA1(92c30eecf8f3669581720be6e49db87fbfac7d88) )
  1437: 	ROM_LOAD( "gf_020.rom",      0x080000, 0x40000, CRC(6f5c3cb0) SHA1(e41572c267489e2078f8d5605c97abe2034a091a) )
  1438: 	ROM_LOAD( "gf_030.rom",      0x0c0000, 0x40000, CRC(18978a9f) SHA1(aa484710a7c3561a9922f119a064f9205475ae64) )
  1439: 
  1440: 	ROM_REGION( 0x20000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1441: 	ROM_LOAD( "gf-da.rom",	 0x000000, 0x020000, CRC(933ba935) SHA1(482811e01239feecf10e232566a7809d0d4f11b8) )
  1442: ROM_END
  1443: 
  1444: ROM_START( gunforcj )
  1445: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1446: 	ROM_LOAD16_BYTE( "gfbh0e.bin",  0x000001, 0x20000, CRC(43c36e0f) SHA1(08c278861568f0a2fb2699b89a4170f6843bbcb7) )
  1447: 	ROM_LOAD16_BYTE( "gfbl0e.bin",  0x000000, 0x20000, CRC(24a558d8) SHA1(89a9fb737d51798bdd5c08f448d2d8b3e161396a) )
  1448: 	ROM_LOAD16_BYTE( "gfbh1e.bin",  0x040001, 0x20000, CRC(d9744f5d) SHA1(056d6e6e9874c33dcebe2e0ec946117d5eaa5d76) )
  1449: 	ROM_LOAD16_BYTE( "gfbl1e.bin",  0x040000, 0x20000, CRC(a0f7b61b) SHA1(5fc7fc3f57e82a9ae4e1f3c3e8e3e3b0bd3ff8f5) )
  1450: 
  1451: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU - encrypted V30 = NANAO custom D80001 (?) */
  1452: 	ROM_LOAD16_BYTE( "gf_sh0.rom",0x000001, 0x010000, CRC(3f8f16e0) SHA1(a9f568c1b585c2cf13b21716954dac0a89936fc6) )
  1453: 	ROM_LOAD16_BYTE( "gf_sl0.rom",0x000000, 0x010000, CRC(db0b13a3) SHA1(6723026010610b706725a5284a7b8d70fe479dae) )
  1454: 
  1455: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1456: 	ROM_LOAD( "gf_c0.rom",       0x000000, 0x40000, CRC(b3b74979) SHA1(b5b4a4775e0b28c3f37273f93f69886c911af4aa) )
  1457: 	ROM_LOAD( "gf_c1.rom",       0x040000, 0x40000, CRC(f5c8590a) SHA1(a7f90f23051f8ab2b2d925e950a5ef3c260170ca) )
  1458: 	ROM_LOAD( "gf_c2.rom",       0x080000, 0x40000, CRC(30f9fb64) SHA1(f86e01b0d74a1f6c19d97d6d0e0f624f050dad10) )
  1459: 	ROM_LOAD( "gf_c3.rom",       0x0c0000, 0x40000, CRC(87b3e621) SHA1(8e2655c6e83d00c38210fdced25003793bd93d9f) )
  1460: 
  1461: 	ROM_REGION( 0x100000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1462: 	ROM_LOAD( "gf_000.rom",      0x000000, 0x40000, CRC(209e8e8d) SHA1(9720be888905be709733c53da207c3406d73aeb1) )
  1463: 	ROM_LOAD( "gf_010.rom",      0x040000, 0x40000, CRC(6e6e7808) SHA1(92c30eecf8f3669581720be6e49db87fbfac7d88) )
  1464: 	ROM_LOAD( "gf_020.rom",      0x080000, 0x40000, CRC(6f5c3cb0) SHA1(e41572c267489e2078f8d5605c97abe2034a091a) )
  1465: 	ROM_LOAD( "gf_030.rom",      0x0c0000, 0x40000, CRC(18978a9f) SHA1(aa484710a7c3561a9922f119a064f9205475ae64) )
  1466: 
  1467: 	ROM_REGION( 0x20000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1468: 	ROM_LOAD( "gf-da.rom",	 0x000000, 0x020000, CRC(933ba935) SHA1(482811e01239feecf10e232566a7809d0d4f11b8) )
  1469: ROM_END
  1470: 
  1471: ROM_START( gunforcu )
  1472: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1473: 	ROM_LOAD16_BYTE( "gf_h0-d.5m",  0x000001, 0x20000, CRC(a6db7b5c) SHA1(5656473599e924ab799ea3c6f39d8ce34b08cb29) )
  1474: 	ROM_LOAD16_BYTE( "gf_l0-d.5f",  0x000000, 0x20000, CRC(82cf55f6) SHA1(42a2de61f2c5294c81fb135ea2472cc78637c66c) )
  1475: 	ROM_LOAD16_BYTE( "gf_h1-d.5l",  0x040001, 0x20000, CRC(08a3736c) SHA1(0ae904cf486a371f8b635c1f9dc5201e38a73f5a) )
  1476: 	ROM_LOAD16_BYTE( "gf_l1-d.5j",  0x040000, 0x20000, CRC(435f524f) SHA1(65c282ec50123747880850bc32c7ace0471ed9f2) )
  1477: 
  1478: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU - encrypted V30 = NANAO custom D80001 (?) */
  1479: 	ROM_LOAD16_BYTE( "gf_sh0.rom",0x000001, 0x010000, CRC(3f8f16e0) SHA1(a9f568c1b585c2cf13b21716954dac0a89936fc6) )
  1480: 	ROM_LOAD16_BYTE( "gf_sl0.rom",0x000000, 0x010000, CRC(db0b13a3) SHA1(6723026010610b706725a5284a7b8d70fe479dae) )
  1481: 
  1482: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1483: 	ROM_LOAD( "gf_c0.rom",       0x000000, 0x40000, CRC(b3b74979) SHA1(b5b4a4775e0b28c3f37273f93f69886c911af4aa) )
  1484: 	ROM_LOAD( "gf_c1.rom",       0x040000, 0x40000, CRC(f5c8590a) SHA1(a7f90f23051f8ab2b2d925e950a5ef3c260170ca) )
  1485: 	ROM_LOAD( "gf_c2.rom",       0x080000, 0x40000, CRC(30f9fb64) SHA1(f86e01b0d74a1f6c19d97d6d0e0f624f050dad10) )
  1486: 	ROM_LOAD( "gf_c3.rom",       0x0c0000, 0x40000, CRC(87b3e621) SHA1(8e2655c6e83d00c38210fdced25003793bd93d9f) )
  1487: 
  1488: 	ROM_REGION( 0x100000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1489: 	ROM_LOAD( "gf_000.rom",      0x000000, 0x40000, CRC(209e8e8d) SHA1(9720be888905be709733c53da207c3406d73aeb1) )
  1490: 	ROM_LOAD( "gf_010.rom",      0x040000, 0x40000, CRC(6e6e7808) SHA1(92c30eecf8f3669581720be6e49db87fbfac7d88) )
  1491: 	ROM_LOAD( "gf_020.rom",      0x080000, 0x40000, CRC(6f5c3cb0) SHA1(e41572c267489e2078f8d5605c97abe2034a091a) )
  1492: 	ROM_LOAD( "gf_030.rom",      0x0c0000, 0x40000, CRC(18978a9f) SHA1(aa484710a7c3561a9922f119a064f9205475ae64) )
  1493: 
  1494: 	ROM_REGION( 0x20000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1495: 	ROM_LOAD( "gf-da.rom",	 0x000000, 0x020000, CRC(933ba935) SHA1(482811e01239feecf10e232566a7809d0d4f11b8) )
  1496: ROM_END
  1497: 
  1498: ROM_START( inthunt )
  1499: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1500: 	ROM_LOAD16_BYTE( "ith-h0-d.rom",0x000001, 0x040000, CRC(52f8e7a6) SHA1(26d9e272b01e7b82019812059dcc9fbb043c6129) )
  1501: 	ROM_LOAD16_BYTE( "ith-l0-d.rom",0x000000, 0x040000, CRC(5db79eb7) SHA1(ffd4228d7b88a44a82e639a5583753da183fcb23) )
  1502: 	ROM_LOAD16_BYTE( "ith-h1-b.rom",0x080001, 0x020000, CRC(fc2899df) SHA1(f811ff5fd55655afdb25950d317db85c8091b6d6) )
  1503: 	ROM_LOAD16_BYTE( "ith-l1-b.rom",0x080000, 0x020000, CRC(955a605a) SHA1(2515accc2f4a06b07418e45eb62e746d09c81720) )
  1504: 
  1505: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* Irem D8000011A1 */
  1506: 	ROM_LOAD16_BYTE( "ith-sh0.rom",0x000001, 0x010000, CRC(209c8b7f) SHA1(eaf4a6d9222fe181df65cea1f13c3f2ebff2ec5b) )
  1507: 	ROM_LOAD16_BYTE( "ith-sl0.rom",0x000000, 0x010000, CRC(18472d65) SHA1(2705e94ee350ffda272c50ea3bf605826aa19978) )
  1508: 
  1509: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1510: 	ROM_LOAD( "ith_ic26.rom",0x000000, 0x080000, CRC(4c1818cf) SHA1(fc8c2ae640bc3504a52736be46febb92c998fd7d) )
  1511: 	ROM_LOAD( "ith_ic25.rom",0x080000, 0x080000, CRC(91145bae) SHA1(71b2695575f189a2fc72635831ba408f824d4928) )
  1512: 	ROM_LOAD( "ith_ic24.rom",0x100000, 0x080000, CRC(fc03fe3b) SHA1(7e34220b9b21b82e012dcbf3052cccb118e3c382) )
  1513: 	ROM_LOAD( "ith_ic23.rom",0x180000, 0x080000, CRC(ee156a0a) SHA1(4a303ed292ce79e3f990139c35b921213eb2711d) )
  1514: 
  1515: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1516: 	ROM_LOAD( "ith_ic34.rom",0x000000, 0x100000, CRC(a019766e) SHA1(59012a41d152a471a95f1f86b6b1e0f9dd3f9711) )
  1517: 	ROM_LOAD( "ith_ic35.rom",0x100000, 0x100000, CRC(3fca3073) SHA1(bdae171cb7705647f28354ca83ecdea3a15f6e22) )
  1518: 	ROM_LOAD( "ith_ic36.rom",0x200000, 0x100000, CRC(20d1b28b) SHA1(290947d77242e837444766ff5d420bc9b53b5b01) )
  1519: 	ROM_LOAD( "ith_ic37.rom",0x300000, 0x100000, CRC(90b6fd4b) SHA1(99237ebab7cf4689e06965bd546cd80a825ab024) )
  1520: 
  1521: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1522: 	ROM_LOAD( "ith_ic9.rom" ,0x000000, 0x080000, CRC(318ee71a) SHA1(e6f49a7adf7155ba40c4f33a8fdc9553c00f5e3d) )
  1523: ROM_END
  1524: 
  1525: ROM_START( inthuntu )
  1526: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1527: 	ROM_LOAD16_BYTE( "ithhoc.bin",0x000001, 0x040000, CRC(563dcec0) SHA1(0c7588ba603926fb0b490f2ba324ff73362a54d5) )
  1528: 	ROM_LOAD16_BYTE( "ithloc.bin",0x000000, 0x040000, CRC(1638c705) SHA1(8ca7a12c2f75172d4c2c808ea666b2f2e969398c) )
  1529: 	ROM_LOAD16_BYTE( "ithh1a.bin",0x080001, 0x020000, CRC(0253065f) SHA1(a11e6bf014c19b2e317b75f01a7f0d7a9a85c7d3) )
  1530: 	ROM_LOAD16_BYTE( "ithl1a.bin",0x080000, 0x020000, CRC(a57d688d) SHA1(aa049de5c41097b6f1da31e9bf3bac132f67aa6c) )
  1531: 
  1532: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* Irem D8000011A1 */
  1533: 	ROM_LOAD16_BYTE( "ith-sh0.rom",0x000001, 0x010000, CRC(209c8b7f) SHA1(eaf4a6d9222fe181df65cea1f13c3f2ebff2ec5b) )
  1534: 	ROM_LOAD16_BYTE( "ith-sl0.rom",0x000000, 0x010000, CRC(18472d65) SHA1(2705e94ee350ffda272c50ea3bf605826aa19978) )
  1535: 
  1536: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1537: 	ROM_LOAD( "ith_ic26.rom",0x000000, 0x080000, CRC(4c1818cf) SHA1(fc8c2ae640bc3504a52736be46febb92c998fd7d) )
  1538: 	ROM_LOAD( "ith_ic25.rom",0x080000, 0x080000, CRC(91145bae) SHA1(71b2695575f189a2fc72635831ba408f824d4928) )
  1539: 	ROM_LOAD( "ith_ic24.rom",0x100000, 0x080000, CRC(fc03fe3b) SHA1(7e34220b9b21b82e012dcbf3052cccb118e3c382) )
  1540: 	ROM_LOAD( "ith_ic23.rom",0x180000, 0x080000, CRC(ee156a0a) SHA1(4a303ed292ce79e3f990139c35b921213eb2711d) )
  1541: 
  1542: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1543: 	ROM_LOAD( "ith_ic34.rom",0x000000, 0x100000, CRC(a019766e) SHA1(59012a41d152a471a95f1f86b6b1e0f9dd3f9711) )
  1544: 	ROM_LOAD( "ith_ic35.rom",0x100000, 0x100000, CRC(3fca3073) SHA1(bdae171cb7705647f28354ca83ecdea3a15f6e22) )
  1545: 	ROM_LOAD( "ith_ic36.rom",0x200000, 0x100000, CRC(20d1b28b) SHA1(290947d77242e837444766ff5d420bc9b53b5b01) )
  1546: 	ROM_LOAD( "ith_ic37.rom",0x300000, 0x100000, CRC(90b6fd4b) SHA1(99237ebab7cf4689e06965bd546cd80a825ab024) )
  1547: 
  1548: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1549: 	ROM_LOAD( "ith_ic9.rom" ,0x000000, 0x080000, CRC(318ee71a) SHA1(e6f49a7adf7155ba40c4f33a8fdc9553c00f5e3d) )
  1550: ROM_END
  1551: 
  1552: ROM_START( kaiteids )
  1553: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1554: 	ROM_LOAD16_BYTE( "ith-h0j.bin",0x000001, 0x040000, CRC(dc1dec36) SHA1(f0a6e3be19752bffd9fd5f435405c8f591eab258) )
  1555: 	ROM_LOAD16_BYTE( "ith-l0j.bin",0x000000, 0x040000, CRC(8835d704) SHA1(42be25ccdc31824797a17e6f76bd06edfe853833) )
  1556: 	ROM_LOAD16_BYTE( "ith-h1j.bin",0x080001, 0x020000, CRC(5a7b212d) SHA1(50562d804a43aed7c34c19c8345782ac2f85caa7) )
  1557: 	ROM_LOAD16_BYTE( "ith-l1j.bin",0x080000, 0x020000, CRC(4c084494) SHA1(4f32003db32f13e19dd07c66996b4328ac2a671e) )
  1558: 
  1559: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* Irem D8000011A1 */
  1560: 	ROM_LOAD16_BYTE( "ith-sh0.rom",0x000001, 0x010000, CRC(209c8b7f) SHA1(eaf4a6d9222fe181df65cea1f13c3f2ebff2ec5b) )
  1561: 	ROM_LOAD16_BYTE( "ith-sl0.rom",0x000000, 0x010000, CRC(18472d65) SHA1(2705e94ee350ffda272c50ea3bf605826aa19978) )
  1562: 
  1563: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1564: 	ROM_LOAD( "ith_ic26.rom",0x000000, 0x080000, CRC(4c1818cf) SHA1(fc8c2ae640bc3504a52736be46febb92c998fd7d) )
  1565: 	ROM_LOAD( "ith_ic25.rom",0x080000, 0x080000, CRC(91145bae) SHA1(71b2695575f189a2fc72635831ba408f824d4928) )
  1566: 	ROM_LOAD( "ith_ic24.rom",0x100000, 0x080000, CRC(fc03fe3b) SHA1(7e34220b9b21b82e012dcbf3052cccb118e3c382) )
  1567: 	ROM_LOAD( "ith_ic23.rom",0x180000, 0x080000, CRC(ee156a0a) SHA1(4a303ed292ce79e3f990139c35b921213eb2711d) )
  1568: 
  1569: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1570: 	ROM_LOAD( "ith_ic34.rom",0x000000, 0x100000, CRC(a019766e) SHA1(59012a41d152a471a95f1f86b6b1e0f9dd3f9711) )
  1571: 	ROM_LOAD( "ith_ic35.rom",0x100000, 0x100000, CRC(3fca3073) SHA1(bdae171cb7705647f28354ca83ecdea3a15f6e22) )
  1572: 	ROM_LOAD( "ith_ic36.rom",0x200000, 0x100000, CRC(20d1b28b) SHA1(290947d77242e837444766ff5d420bc9b53b5b01) )
  1573: 	ROM_LOAD( "ith_ic37.rom",0x300000, 0x100000, CRC(90b6fd4b) SHA1(99237ebab7cf4689e06965bd546cd80a825ab024) )
  1574: 
  1575: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1576: 	ROM_LOAD( "ith_ic9.rom" ,0x000000, 0x080000, CRC(318ee71a) SHA1(e6f49a7adf7155ba40c4f33a8fdc9553c00f5e3d) )
  1577: ROM_END
  1578: 
  1579: ROM_START( hook )
  1580: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1581: 	ROM_LOAD16_BYTE( "h-h0-d.rom",0x000001, 0x040000, CRC(40189ff6) SHA1(ed86a566f0f47c03dd0628cda8b31a167788116c) )
  1582: 	ROM_LOAD16_BYTE( "h-l0-d.rom",0x000000, 0x040000, CRC(14567690) SHA1(74ddc300e81b006fdc57a4a86f5f178a30732dd8) )
  1583: 	ROM_LOAD16_BYTE( "h-h1.rom",  0x080001, 0x020000, CRC(264ba1f0) SHA1(49ecf9b3e5375629607fb747abe264406065580b) )
  1584: 	ROM_LOAD16_BYTE( "h-l1.rom",  0x080000, 0x020000, CRC(f9913731) SHA1(be7871d6843e76f66fae6b501c5ee83ccc366463) )
  1585: 
  1586: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU - encrypted V30 = NANAO custom D80001 (?) */
  1587: 	ROM_LOAD16_BYTE( "h-sh0.rom",0x000001, 0x010000, CRC(86a4e56e) SHA1(61163010e713be64368a4126f17d33cbdcf0c5ed) )
  1588: 	ROM_LOAD16_BYTE( "h-sl0.rom",0x000000, 0x010000, CRC(10fd9676) SHA1(1b51181a8f0711997e107e9a8b8f44341d08ea81) )
  1589: 
  1590: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1591: 	ROM_LOAD( "hook-c0.rom",0x000000, 0x040000, CRC(dec63dcf) SHA1(e9869110f832d782c460b123928b042c65fdf8bd) )
  1592: 	ROM_LOAD( "hook-c1.rom",0x040000, 0x040000, CRC(e4eb0b92) SHA1(159da3ec973490a153c69c96c1373cf4e0290736) )
  1593: 	ROM_LOAD( "hook-c2.rom",0x080000, 0x040000, CRC(a52b320b) SHA1(1522562239bb3b93ef552c47445daa4ee021495c) )
  1594: 	ROM_LOAD( "hook-c3.rom",0x0c0000, 0x040000, CRC(7ef67731) SHA1(af0b0ee6e1c06af04c609af7e077d4a7d76d8817) )
  1595: 
  1596: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1597: 	ROM_LOAD( "hook-000.rom",0x000000, 0x100000, CRC(ccceac30) SHA1(16e2b4393840344debe869034135feead7450184) )
  1598: 	ROM_LOAD( "hook-010.rom",0x100000, 0x100000, CRC(8ac8da67) SHA1(a9b962cb0bc0d8bc3bda8a0ed1ce06641d666b41) )
  1599: 	ROM_LOAD( "hook-020.rom",0x200000, 0x100000, CRC(8847af9a) SHA1(f82cdbd640fac373136219422172ca9fbf5d1830) )
  1600: 	ROM_LOAD( "hook-030.rom",0x300000, 0x100000, CRC(239e877e) SHA1(445e1096619c4e3a2d5b50a645fd45bd7c501590) )
  1601: 
  1602: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1603: 	ROM_LOAD( "hook-da.rom" ,0x000000, 0x080000, CRC(88cd0212) SHA1(789532f5544b5d024d8af60eb8a5c133ae0d19d4) )
  1604: ROM_END
  1605: 
  1606: ROM_START( hooku )
  1607: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1608: 	ROM_LOAD16_BYTE( "h0-c.3h",0x000001, 0x040000, CRC(84cc239e) SHA1(0a3011cd64cd27336b967b1b2446c8916b8be8e7) )
  1609: 	ROM_LOAD16_BYTE( "l0-c.5h",0x000000, 0x040000, CRC(45e194fe) SHA1(2049f242ea3058d42004bafb8b208759020be5bc) )
  1610: 	ROM_LOAD16_BYTE( "h-h1.rom",  0x080001, 0x020000, CRC(264ba1f0) SHA1(49ecf9b3e5375629607fb747abe264406065580b) )
  1611: 	ROM_LOAD16_BYTE( "h-l1.rom",  0x080000, 0x020000, CRC(f9913731) SHA1(be7871d6843e76f66fae6b501c5ee83ccc366463) )
  1612: 
  1613: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU - encrypted V30 = NANAO custom D80001 (?) */
  1614: 	ROM_LOAD16_BYTE( "h-sh0.rom",0x000001, 0x010000, CRC(86a4e56e) SHA1(61163010e713be64368a4126f17d33cbdcf0c5ed) )
  1615: 	ROM_LOAD16_BYTE( "h-sl0.rom",0x000000, 0x010000, CRC(10fd9676) SHA1(1b51181a8f0711997e107e9a8b8f44341d08ea81) )
  1616: 
  1617: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1618: 	ROM_LOAD( "hook-c0.rom",0x000000, 0x040000, CRC(dec63dcf) SHA1(e9869110f832d782c460b123928b042c65fdf8bd) )
  1619: 	ROM_LOAD( "hook-c1.rom",0x040000, 0x040000, CRC(e4eb0b92) SHA1(159da3ec973490a153c69c96c1373cf4e0290736) )
  1620: 	ROM_LOAD( "hook-c2.rom",0x080000, 0x040000, CRC(a52b320b) SHA1(1522562239bb3b93ef552c47445daa4ee021495c) )
  1621: 	ROM_LOAD( "hook-c3.rom",0x0c0000, 0x040000, CRC(7ef67731) SHA1(af0b0ee6e1c06af04c609af7e077d4a7d76d8817) )
  1622: 
  1623: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1624: 	ROM_LOAD( "hook-000.rom",0x000000, 0x100000, CRC(ccceac30) SHA1(16e2b4393840344debe869034135feead7450184) )
  1625: 	ROM_LOAD( "hook-010.rom",0x100000, 0x100000, CRC(8ac8da67) SHA1(a9b962cb0bc0d8bc3bda8a0ed1ce06641d666b41) )
  1626: 	ROM_LOAD( "hook-020.rom",0x200000, 0x100000, CRC(8847af9a) SHA1(f82cdbd640fac373136219422172ca9fbf5d1830) )
  1627: 	ROM_LOAD( "hook-030.rom",0x300000, 0x100000, CRC(239e877e) SHA1(445e1096619c4e3a2d5b50a645fd45bd7c501590) )
  1628: 
  1629: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1630: 	ROM_LOAD( "hook-da.rom" ,0x000000, 0x080000, CRC(88cd0212) SHA1(789532f5544b5d024d8af60eb8a5c133ae0d19d4) )
  1631: ROM_END
  1632: 
  1633: ROM_START( rtypeleo )
  1634: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1635: 	ROM_LOAD16_BYTE( "rtl-h0-c",     0x000001, 0x040000, CRC(5fef7fa1) SHA1(7d18d4ea979d887d6da42c79734b8c695f3df02b) )
  1636: 	ROM_LOAD16_BYTE( "rtl-l0-c",     0x000000, 0x040000, CRC(8156456b) SHA1(9755ab80feb92e3e3a36154d57ee2b53185b6816) )
  1637: 	ROM_LOAD16_BYTE( "rtl-h1-d.bin", 0x080001, 0x020000, CRC(352ff444) SHA1(e302bc8dbf80abe5c1aaf02e92473fc72a796e72) )
  1638: 	ROM_LOAD16_BYTE( "rtl-l1-d.bin", 0x080000, 0x020000, CRC(fd34ea46) SHA1(aca12d46ebff94505d03884e45805e84bbece6a7) )
  1639: 
  1640: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU - encrypted V30 = NANAO custom D80001 (?) */
  1641: 	ROM_LOAD16_BYTE( "rtl-sh0a.bin",0x000001, 0x010000, CRC(e518b4e3) SHA1(44ec1d6b27bc3e49ad967f43960398ba1a19c5e3) )
  1642: 	ROM_LOAD16_BYTE( "rtl-sl0a.bin",0x000000, 0x010000, CRC(896f0d36) SHA1(9246b1a5a8717dd823340d4cb79012a3df6fa4b7) )
  1643: 
  1644: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1645: 	ROM_LOAD( "rtl-c0.bin", 0x000000, 0x080000, CRC(fb588d7c) SHA1(78e96db9912b22f8eff03d57e470b1ef946f7351) )
  1646: 	ROM_LOAD( "rtl-c1.bin", 0x080000, 0x080000, CRC(e5541bff) SHA1(cd8293603298b7ead79a16697845603223bb6a45) )
  1647: 	ROM_LOAD( "rtl-c2.bin", 0x100000, 0x080000, CRC(faa9ae27) SHA1(de6c7f1843adcaa9fce0d0d9407999babbf52e27) )
  1648: 	ROM_LOAD( "rtl-c3.bin", 0x180000, 0x080000, CRC(3a2343f6) SHA1(dea1af889d6a422af3f49abf2cee91aec4d0cac3) )
  1649: 
  1650: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1651: 	ROM_LOAD( "rtl-000.bin",0x000000, 0x100000, CRC(82a06870) SHA1(c7233019c4dcfcab55b665a7b0973e74cca879cd) )
  1652: 	ROM_LOAD( "rtl-010.bin",0x100000, 0x100000, CRC(417e7a56) SHA1(d33a40eb7ec0afde0a59799a428aadee12dd5c63) )
  1653: 	ROM_LOAD( "rtl-020.bin",0x200000, 0x100000, CRC(f9a3f3a1) SHA1(b4eb9326ff992e62b70925277fbbd3ea2eabf359) )
  1654: 	ROM_LOAD( "rtl-030.bin",0x300000, 0x100000, CRC(03528d95) SHA1(f2705646ee8d9e7b7f70cfd2c31b6e32798f459d) )
  1655: 
  1656: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1657: 	ROM_LOAD( "rtl-da.bin" ,0x000000, 0x080000, CRC(dbebd1ff) SHA1(b369d6e944331e6773608ff24f04b8f16267b8da) )
  1658: ROM_END
  1659: 
  1660: ROM_START( rtypelej )
  1661: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1662: 	ROM_LOAD16_BYTE( "rtl-h0-d.bin", 0x000001, 0x040000, CRC(3dbac89f) SHA1(bfb4d1ab480b7828f6b7374df6d30d766f327b95) )
  1663: 	ROM_LOAD16_BYTE( "rtl-l0-d.bin", 0x000000, 0x040000, CRC(f85a2537) SHA1(50eeca8de0c7fd28375d082a05f18473d0b15ed4) )
  1664: 	ROM_LOAD16_BYTE( "rtl-h1-d.bin", 0x080001, 0x020000, CRC(352ff444) SHA1(e302bc8dbf80abe5c1aaf02e92473fc72a796e72) )
  1665: 	ROM_LOAD16_BYTE( "rtl-l1-d.bin", 0x080000, 0x020000, CRC(fd34ea46) SHA1(aca12d46ebff94505d03884e45805e84bbece6a7) )
  1666: 
  1667: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU - encrypted V30 = NANAO custom D80001 (?) */
  1668: 	ROM_LOAD16_BYTE( "rtl-sh0a.bin",0x000001, 0x010000, CRC(e518b4e3) SHA1(44ec1d6b27bc3e49ad967f43960398ba1a19c5e3) )
  1669: 	ROM_LOAD16_BYTE( "rtl-sl0a.bin",0x000000, 0x010000, CRC(896f0d36) SHA1(9246b1a5a8717dd823340d4cb79012a3df6fa4b7) )
  1670: 
  1671: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1672: 	ROM_LOAD( "rtl-c0.bin", 0x000000, 0x080000, CRC(fb588d7c) SHA1(78e96db9912b22f8eff03d57e470b1ef946f7351) )
  1673: 	ROM_LOAD( "rtl-c1.bin", 0x080000, 0x080000, CRC(e5541bff) SHA1(cd8293603298b7ead79a16697845603223bb6a45) )
  1674: 	ROM_LOAD( "rtl-c2.bin", 0x100000, 0x080000, CRC(faa9ae27) SHA1(de6c7f1843adcaa9fce0d0d9407999babbf52e27) )
  1675: 	ROM_LOAD( "rtl-c3.bin", 0x180000, 0x080000, CRC(3a2343f6) SHA1(dea1af889d6a422af3f49abf2cee91aec4d0cac3) )
  1676: 
  1677: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1678: 	ROM_LOAD( "rtl-000.bin",0x000000, 0x100000, CRC(82a06870) SHA1(c7233019c4dcfcab55b665a7b0973e74cca879cd) )
  1679: 	ROM_LOAD( "rtl-010.bin",0x100000, 0x100000, CRC(417e7a56) SHA1(d33a40eb7ec0afde0a59799a428aadee12dd5c63) )
  1680: 	ROM_LOAD( "rtl-020.bin",0x200000, 0x100000, CRC(f9a3f3a1) SHA1(b4eb9326ff992e62b70925277fbbd3ea2eabf359) )
  1681: 	ROM_LOAD( "rtl-030.bin",0x300000, 0x100000, CRC(03528d95) SHA1(f2705646ee8d9e7b7f70cfd2c31b6e32798f459d) )
  1682: 
  1683: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1684: 	ROM_LOAD( "rtl-da.bin" ,0x000000, 0x080000, CRC(dbebd1ff) SHA1(b369d6e944331e6773608ff24f04b8f16267b8da) )
  1685: ROM_END
  1686: 
  1687: ROM_START( mysticri )
  1688: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1689: 	ROM_LOAD16_BYTE( "mr-h0-b.bin",  0x000001, 0x040000, CRC(d529f887) SHA1(fedfedd23fdbb8c4a19970dc4e2c8c0f96915982) )
  1690: 	ROM_LOAD16_BYTE( "mr-l0-b.bin",  0x000000, 0x040000, CRC(a457ab44) SHA1(6f85428061cf384c6d645ff0aacd850730a86987) )
  1691: 	ROM_LOAD16_BYTE( "mr-h1-b.bin",  0x080001, 0x010000, CRC(e17649b9) SHA1(fb09a0ccd22475d81ba667c88d1b5eb7cc64728f) )
  1692: 	ROM_LOAD16_BYTE( "mr-l1-b.bin",  0x080000, 0x010000, CRC(a87c62b4) SHA1(d3cae0f420faeb4556767b6ad817fc39d31b7273) )
  1693: 
  1694: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU - encrypted V30 = NANAO custom D80001 (?) */
  1695: 	ROM_LOAD16_BYTE( "mr-sh0.bin",0x000001, 0x010000, CRC(50d335e4) SHA1(a1a92e95fbd6b99d904a82cea4a1ff6fd2ac8dde) )
  1696: 	ROM_LOAD16_BYTE( "mr-sl0.bin",0x000000, 0x010000, CRC(0fa32721) SHA1(1561ddd2597592060b8a78f1dff6cbb25fb7cd2e) )
  1697: 
  1698: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1699: 	ROM_LOAD( "mr-c0.bin", 0x000000, 0x040000, CRC(872a8fad) SHA1(236406e5959c81a1cffe96fef02d637c2150ce1e) )
  1700: 	ROM_LOAD( "mr-c1.bin", 0x040000, 0x040000, CRC(d2ffb27a) SHA1(fedfb430ce8a8953b2f78970d0b0dc5571de333c) )
  1701: 	ROM_LOAD( "mr-c2.bin", 0x080000, 0x040000, CRC(62bff287) SHA1(cb7b73c4a26737f1a1f9cc9423ae51c284368b1b) )
  1702: 	ROM_LOAD( "mr-c3.bin", 0x0c0000, 0x040000, CRC(d0da62ab) SHA1(96c7c8e1d8dafb797731652fa91d3048aa157185) )
  1703: 
  1704: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1705: 	ROM_LOAD( "mr-o00.bin", 0x000000, 0x080000, CRC(a0f9ce16) SHA1(ae423313d189ebddc6d5d0785ac484e0cdf79112) )
  1706: 	ROM_LOAD( "mr-o10.bin", 0x100000, 0x080000, CRC(4e70a9e9) SHA1(8f6b043b03420a590a1081c99311723169126332) )
  1707: 	ROM_LOAD( "mr-o20.bin", 0x200000, 0x080000, CRC(b9c468fc) SHA1(dc42a5b80cad5373fce03cc416b9d742fcbec6e9) )
  1708: 	ROM_LOAD( "mr-o30.bin", 0x300000, 0x080000, CRC(cc32433a) SHA1(a1a1ab09c4bd6c9ae85529c1aa5427ad3126b914) )
  1709: 
  1710: 	ROM_REGION( 0x40000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1711: 	ROM_LOAD( "mr-da.bin" ,0x000000, 0x040000, CRC(1a11fc59) SHA1(6d1f4ca688bf015ecbbe369fbc0eb5e2bcaefcfc) )
  1712: ROM_END
  1713: 
  1714: ROM_START( gunhohki )
  1715: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1716: 	ROM_LOAD16_BYTE( "mr-h0.bin",  0x000001, 0x040000, CRC(83352270) SHA1(25393ac0ec0f91c2890bbfc8c1b12e0f6bccb2ab) )
  1717: 	ROM_LOAD16_BYTE( "mr-l0.bin",  0x000000, 0x040000, CRC(9db308ae) SHA1(eadec2e07a602d104a38bf9e159865405ab11581) )
  1718: 	ROM_LOAD16_BYTE( "mr-h1.bin",  0x080001, 0x010000, CRC(c9532b60) SHA1(b83322ba7bb3eea4c64dd65b3c0a5cade61841d8) )
  1719: 	ROM_LOAD16_BYTE( "mr-l1.bin",  0x080000, 0x010000, CRC(6349b520) SHA1(406620d9c63ce3d6801105c8122e1d0bbe6152ad) )
  1720: 
  1721: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU - encrypted V30 = NANAO custom D80001 (?) */
  1722: 	ROM_LOAD16_BYTE( "mr-sh0.bin",0x000001, 0x010000, CRC(50d335e4) SHA1(a1a92e95fbd6b99d904a82cea4a1ff6fd2ac8dde) )
  1723: 	ROM_LOAD16_BYTE( "mr-sl0.bin",0x000000, 0x010000, CRC(0fa32721) SHA1(1561ddd2597592060b8a78f1dff6cbb25fb7cd2e) )
  1724: 
  1725: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1726: 	ROM_LOAD( "mr-c0.bin", 0x000000, 0x040000, CRC(872a8fad) SHA1(236406e5959c81a1cffe96fef02d637c2150ce1e) )
  1727: 	ROM_LOAD( "mr-c1.bin", 0x040000, 0x040000, CRC(d2ffb27a) SHA1(fedfb430ce8a8953b2f78970d0b0dc5571de333c) )
  1728: 	ROM_LOAD( "mr-c2.bin", 0x080000, 0x040000, CRC(62bff287) SHA1(cb7b73c4a26737f1a1f9cc9423ae51c284368b1b) )
  1729: 	ROM_LOAD( "mr-c3.bin", 0x0c0000, 0x040000, CRC(d0da62ab) SHA1(96c7c8e1d8dafb797731652fa91d3048aa157185) )
  1730: 
  1731: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1732: 	ROM_LOAD( "mr-o00.bin", 0x000000, 0x080000, CRC(a0f9ce16) SHA1(ae423313d189ebddc6d5d0785ac484e0cdf79112) )
  1733: 	ROM_LOAD( "mr-o10.bin", 0x100000, 0x080000, CRC(4e70a9e9) SHA1(8f6b043b03420a590a1081c99311723169126332) )
  1734: 	ROM_LOAD( "mr-o20.bin", 0x200000, 0x080000, CRC(b9c468fc) SHA1(dc42a5b80cad5373fce03cc416b9d742fcbec6e9) )
  1735: 	ROM_LOAD( "mr-o30.bin", 0x300000, 0x080000, CRC(cc32433a) SHA1(a1a1ab09c4bd6c9ae85529c1aa5427ad3126b914) )
  1736: 
  1737: 	ROM_REGION( 0x40000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1738: 	ROM_LOAD( "mr-da.bin" ,0x000000, 0x040000, CRC(1a11fc59) SHA1(6d1f4ca688bf015ecbbe369fbc0eb5e2bcaefcfc) )
  1739: ROM_END
  1740: 
  1741: ROM_START( uccops )
  1742: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1743: 	ROM_LOAD16_BYTE( "uc_h0.rom",  0x000001, 0x040000, CRC(240aa5f7) SHA1(8d864bb1377e9f6d266631ed365c5809b9da33f8) )
  1744: 	ROM_LOAD16_BYTE( "uc_l0.rom",  0x000000, 0x040000, CRC(df9a4826) SHA1(298033d97b9587e3548cb3bffa16b7ba9a6ff20d) )
  1745: 	ROM_LOAD16_BYTE( "uc_h1.rom",  0x080001, 0x020000, CRC(8d29bcd6) SHA1(470b77d1b8f88824bac294bd12a205a23dad2287) )
  1746: 	ROM_LOAD16_BYTE( "uc_l1.rom",  0x080000, 0x020000, CRC(a8a402d8) SHA1(0b40fb69f0a3e24e6b60117d2d2fd4cc170bc621) )
  1747: 
  1748: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU - encrypted V30 = NANAO custom D80001 (?) */
  1749: 	ROM_LOAD16_BYTE( "uc_sh0.rom", 0x000001, 0x010000, CRC(df90b198) SHA1(6b334457f06f6b9cfb355ba3d399bebb37b5733e) )
  1750: 	ROM_LOAD16_BYTE( "uc_sl0.rom", 0x000000, 0x010000, CRC(96c11aac) SHA1(16c47b4f97f0532fff30bb163f26d8cf6b923a2e) )
  1751: 
  1752: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1753: 	ROM_LOAD( "uc_w38m.rom", 0x000000, 0x080000, CRC(130a40e5) SHA1(f70bad2fe126bb0e451a3fa6100a610928e9a502) )
  1754: 	ROM_LOAD( "uc_w39m.rom", 0x080000, 0x080000, CRC(e42ca144) SHA1(ea83b1027d403e874fda6e68097814f8b9ce25d6) )
  1755: 	ROM_LOAD( "uc_w40m.rom", 0x100000, 0x080000, CRC(c2961648) SHA1(b5d28638e72ab50d598e284f31bf389956ae12c6) )
  1756: 	ROM_LOAD( "uc_w41m.rom", 0x180000, 0x080000, CRC(f5334b80) SHA1(6fa70ceba4f67fb0562be7b24b28bda0ffc13ef5) )
  1757: 
  1758: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1759: 	ROM_LOAD( "uc_k16m.rom", 0x000000, 0x100000, CRC(4a225f09) SHA1(f4d27813241fd9b020e4df8b03c852c8ecb92586) )
  1760: 	ROM_LOAD( "uc_k17m.rom", 0x100000, 0x100000, CRC(e4ed9a54) SHA1(55befbd2e156c765c5e79a3176cf4336d2111293) )
  1761: 	ROM_LOAD( "uc_k18m.rom", 0x200000, 0x100000, CRC(a626eb12) SHA1(826c4796c2e63f777490b43f84ffa37a6b749ca2) )
  1762: 	ROM_LOAD( "uc_k19m.rom", 0x300000, 0x100000, CRC(5df46549) SHA1(87b0b799b50bf2b6ee916d9f8dfc1ee7666ce800) )
  1763: 
  1764: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1765: 	ROM_LOAD( "uc_w42.rom", 0x000000, 0x080000, CRC(d17d3fd6) SHA1(b02da0d01c41c7bf50cd35d6c75bacc3e3e0b85a) )
  1766: ROM_END
  1767: 
  1768: ROM_START( uccopsj )
  1769: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1770: 	ROM_LOAD16_BYTE( "uca-h0.bin", 0x000001, 0x040000, CRC(9e17cada) SHA1(086bb9c1ab851cab3734c2f9188d8ff3c5f98913) )
  1771: 	ROM_LOAD16_BYTE( "uca-l0.bin", 0x000000, 0x040000, CRC(4a4e3208) SHA1(d61c74d46584e2c15e70f7a17b598e51981da9e8) )
  1772: 	ROM_LOAD16_BYTE( "uca-h1.bin", 0x080001, 0x020000, CRC(83f78dea) SHA1(6d197c3ea76beac31c3ea6e54a3ffea9d6c0c653) )
  1773: 	ROM_LOAD16_BYTE( "uca-l1.bin", 0x080000, 0x020000, CRC(19628280) SHA1(e6c06cb7c37e46a7db3b4f318e836aa5a2390eda) )
  1774: 
  1775: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU - encrypted V30 = NANAO custom D80001 (?) */
  1776: 	ROM_LOAD16_BYTE( "uca-sh0.bin", 0x000001, 0x010000, CRC(f0ca1b03) SHA1(07154a2c747091f8be23587c109d91ed1672da6e) )
  1777: 	ROM_LOAD16_BYTE( "uca-sl0.bin", 0x000000, 0x010000, CRC(d1661723) SHA1(bdc00196aa2074e7b21e5949f73e9f2b93d76fd9) )
  1778: 
  1779: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1780: 	ROM_LOAD( "uca-c0.bin", 0x000000, 0x080000, CRC(6a419a36) SHA1(1907d15fcc4a8bf875d19768667ee4de4702cc2a) )
  1781: 	ROM_LOAD( "uca-c1.bin", 0x080000, 0x080000, CRC(d703ecc7) SHA1(9716a8fde668e63cf3060450eb32ea43edf143d8) )
  1782: 	ROM_LOAD( "uca-c2.bin", 0x100000, 0x080000, CRC(96397ac6) SHA1(6dfe507bd9f41b5d46d85ef5f46a368745593b52) )
  1783: 	ROM_LOAD( "uca-c3.bin", 0x180000, 0x080000, CRC(5d07d10d) SHA1(ee1a928b37043c476346f189f75d2bfcc44bffe6) )
  1784: 
  1785: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1786: 	ROM_LOAD( "uca-o3.bin", 0x000000, 0x100000, CRC(97f7775e) SHA1(5cd147fd940b1ab6eba8e6c6f803bdcc5da5a563) )
  1787: 	ROM_LOAD( "uca-o2.bin", 0x100000, 0x100000, CRC(5e0b1d65) SHA1(9e45753d10b2d7b580cd11cef74181209a424189) )
  1788: 	ROM_LOAD( "uca-o1.bin", 0x200000, 0x100000, CRC(bdc224b3) SHA1(09477ec39890d954fac6ff653b9f46c9adea56b6) )
  1789: 	ROM_LOAD( "uca-o0.bin", 0x300000, 0x100000, CRC(7526daec) SHA1(79431d711deb6ed09dc52be753b7b0f2c5588dc3) )
  1790: 
  1791: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1792: 	ROM_LOAD( "uca-da.bin", 0x000000, 0x080000, CRC(0b2855e9) SHA1(70f9decd78eab679a2ccad69e01cb303b61e0d38) )
  1793: ROM_END
  1794: 
  1795: ROM_START( lethalth )
  1796: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1797: 	ROM_LOAD16_BYTE( "lt_d-h0.rom",  0x000001, 0x020000, CRC(20c68935) SHA1(edbb5322082bde7136ab015931fdcd18e5c293a8) )
  1798: 	ROM_LOAD16_BYTE( "lt_d-l0.rom",  0x000000, 0x020000, CRC(e1432fb3) SHA1(4b6c22d740cd598d0e34e257910fe7c3d4f3fd32) )
  1799: 	ROM_LOAD16_BYTE( "lt_d-h1.rom",  0x040001, 0x020000, CRC(d7dd3d48) SHA1(b848feee55159e334f711e4f661d415ffc1e3513) )
  1800: 	ROM_LOAD16_BYTE( "lt_d-l1.rom",  0x040000, 0x020000, CRC(b94b3bd8) SHA1(7b89d9177d8b357b09317606cb2070c14c3449a5) )
  1801: 
  1802: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU */
  1803: 	ROM_LOAD16_BYTE( "lt_d-sh0.rom",0x000001, 0x010000, CRC(af5b224f) SHA1(a07f2c6ca0e65af016d74b90342cfaab7535324e) )
  1804: 	ROM_LOAD16_BYTE( "lt_d-sl0.rom",0x000000, 0x010000, CRC(cb3faac3) SHA1(e1ee32fac7ee9e97fbf68904572e90aa9d0c9460) )
  1805: 
  1806: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1807: 	ROM_LOAD( "lt_7a.rom", 0x000000, 0x040000, CRC(ada0fd50) SHA1(7eeb33360cacddf8887f3acce65350af0251936d) )
  1808: 	ROM_LOAD( "lt_7b.rom", 0x040000, 0x040000, CRC(d2596883) SHA1(5a9f7384c63304c3c1e27375419d59a2b476f46a) )
  1809: 	ROM_LOAD( "lt_7d.rom", 0x080000, 0x040000, CRC(2de637ef) SHA1(bd1be59d4fe9bf365454c1d471effd88aa942df6) )
  1810: 	ROM_LOAD( "lt_7h.rom", 0x0c0000, 0x040000, CRC(9f6585cd) SHA1(5d59addc65c3ce20e7ea090a178fe9e17fba525b) )
  1811: 
  1812: 	ROM_REGION( 0x100000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1813: 	ROM_LOAD( "lt_7j.rom", 0x000000, 0x040000, CRC(baf8863e) SHA1(fd5937cd70fcffd861a207dc4769d34459dd28d3) )
  1814: 	ROM_LOAD( "lt_7l.rom", 0x040000, 0x040000, CRC(40fd50af) SHA1(d9bf1e339671fd167fad237bb5bc6d1b183686f5) )
  1815: 	ROM_LOAD( "lt_7s.rom", 0x080000, 0x040000, CRC(c8e970df) SHA1(7771c17b36dcc9f01ac9e033f3f86e571c5ebbd3) )
  1816: 	ROM_LOAD( "lt_7y.rom", 0x0c0000, 0x040000, CRC(f5436708) SHA1(e8cb278f4d310eeeb67e01534d17562c7fce62f0) )
  1817: 
  1818: 	ROM_REGION( 0x40000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1819: 	ROM_LOAD( "lt_8a.rom" ,0x000000, 0x040000, CRC(357762a2) SHA1(d13b2a0f5d48c0171bcef708589cad194a7ea1ed) )
  1820: ROM_END
  1821: 
  1822: ROM_START( thndblst )
  1823: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1824: 	ROM_LOAD16_BYTE( "lt_d-h0j.rom", 0x000001, 0x020000, CRC(dc218a18) SHA1(f092245fd56ca75096c77ce6abf848454b905cfc) )
  1825: 	ROM_LOAD16_BYTE( "lt_d-l0j.rom", 0x000000, 0x020000, CRC(ae9a3f81) SHA1(c323073e2c245b3c52f93e07b98b0c2d4f4e97b1) )
  1826: 	ROM_LOAD16_BYTE( "lt_d-h1.rom",  0x040001, 0x020000, CRC(d7dd3d48) SHA1(b848feee55159e334f711e4f661d415ffc1e3513) )
  1827: 	ROM_LOAD16_BYTE( "lt_d-l1.rom",  0x040000, 0x020000, CRC(b94b3bd8) SHA1(7b89d9177d8b357b09317606cb2070c14c3449a5) )
  1828: 
  1829: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU */
  1830: 	ROM_LOAD16_BYTE( "lt_d-sh0.rom",0x000001, 0x010000, CRC(af5b224f) SHA1(a07f2c6ca0e65af016d74b90342cfaab7535324e) )
  1831: 	ROM_LOAD16_BYTE( "lt_d-sl0.rom",0x000000, 0x010000, CRC(cb3faac3) SHA1(e1ee32fac7ee9e97fbf68904572e90aa9d0c9460) )
  1832: 
  1833: 	ROM_REGION( 0x100000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1834: 	ROM_LOAD( "lt_7a.rom", 0x000000, 0x040000, CRC(ada0fd50) SHA1(7eeb33360cacddf8887f3acce65350af0251936d) )
  1835: 	ROM_LOAD( "lt_7b.rom", 0x040000, 0x040000, CRC(d2596883) SHA1(5a9f7384c63304c3c1e27375419d59a2b476f46a) )
  1836: 	ROM_LOAD( "lt_7d.rom", 0x080000, 0x040000, CRC(2de637ef) SHA1(bd1be59d4fe9bf365454c1d471effd88aa942df6) )
  1837: 	ROM_LOAD( "lt_7h.rom", 0x0c0000, 0x040000, CRC(9f6585cd) SHA1(5d59addc65c3ce20e7ea090a178fe9e17fba525b) )
  1838: 
  1839: 	ROM_REGION( 0x100000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1840: 	ROM_LOAD( "lt_7j.rom", 0x000000, 0x040000, CRC(baf8863e) SHA1(fd5937cd70fcffd861a207dc4769d34459dd28d3) )
  1841: 	ROM_LOAD( "lt_7l.rom", 0x040000, 0x040000, CRC(40fd50af) SHA1(d9bf1e339671fd167fad237bb5bc6d1b183686f5) )
  1842: 	ROM_LOAD( "lt_7s.rom", 0x080000, 0x040000, CRC(c8e970df) SHA1(7771c17b36dcc9f01ac9e033f3f86e571c5ebbd3) )
  1843: 	ROM_LOAD( "lt_7y.rom", 0x0c0000, 0x040000, CRC(f5436708) SHA1(e8cb278f4d310eeeb67e01534d17562c7fce62f0) )
  1844: 
  1845: 	ROM_REGION( 0x40000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1846: 	ROM_LOAD( "lt_8a.rom" ,0x000000, 0x040000, CRC(357762a2) SHA1(d13b2a0f5d48c0171bcef708589cad194a7ea1ed) )
  1847: ROM_END
  1848: 
  1849: ROM_START( nbbatman )
  1850: 	ROM_REGION( 0x180000, REGION_CPU1, 0 )
  1851: 	ROM_LOAD16_BYTE( "a1-h0-a.34",  0x000001, 0x040000, CRC(24a9b794) SHA1(a4867a89ea2749d60e6d1225bd84a488403b8cf3) )
  1852: 	ROM_LOAD16_BYTE( "a1-l0-a.31",  0x000000, 0x040000, CRC(846d7716) SHA1(28434fd74b168ef73d00779b3e5d8b36b1f3ef80) )
  1853: 	ROM_LOAD16_BYTE( "a1-h1-.33",   0x100001, 0x040000, CRC(3ce2aab5) SHA1(b39f17853bcab7ab290fdfaf9f3d8e8c2d91072a) )
  1854: 	ROM_LOAD16_BYTE( "a1-l1-.32",   0x100000, 0x040000, CRC(116d9bcc) SHA1(c2faf8d1c6b51ac1483757777fd55961b74501fb) )
  1855: 
  1856: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU */
  1857: 	ROM_LOAD16_BYTE( "a1-sh0-.14",0x000001, 0x010000, CRC(b7fae3e6) SHA1(ce41380d6c0f29f2facf9bf23dd4403648cd9eb4) )
  1858: 	ROM_LOAD16_BYTE( "a1-sl0-.17",0x000000, 0x010000, CRC(b26d54fc) SHA1(136e1a83da08a0dc9046faf71f3f58d8d3095fde) )
  1859: 
  1860: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1861: 	ROM_LOAD( "lh534k0c.9",  0x000000, 0x080000, CRC(314a0c6d) SHA1(a918ae638f10b18165f7d34ab7db54fbf258df01) )
  1862: 	ROM_LOAD( "lh534k0e.10", 0x080000, 0x080000, CRC(dc31675b) SHA1(81b0a6b35285e855c778c7f32f31115f1edce099) )
  1863: 	ROM_LOAD( "lh534k0f.11", 0x100000, 0x080000, CRC(e15d8bfb) SHA1(74ea6f9748ed52e579cb08445282c871b3fd0f3a) )
  1864: 	ROM_LOAD( "lh534k0g.12", 0x180000, 0x080000, CRC(888d71a3) SHA1(d1609e326fda5ac579ddf1ad5dc77443ec2a180f) )
  1865: 
  1866: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1867: 	ROM_LOAD( "lh538393.42", 0x000000, 0x100000, CRC(26cdd224) SHA1(ab2a3dd8eafec78866a0d45c1f051209025bdc77) )
  1868: 	ROM_LOAD( "lh538394.43", 0x100000, 0x100000, CRC(4bbe94fa) SHA1(7c13b22e056dc1cf497ea0b3e9766579c33d4370) )
  1869: 	ROM_LOAD( "lh538395.44", 0x200000, 0x100000, CRC(2a533b5e) SHA1(ceb9750b674adfa5fa0f88e46bce7b2b58440873) )
  1870: 	ROM_LOAD( "lh538396.45", 0x300000, 0x100000, CRC(863a66fa) SHA1(0edc4734daee8fc1738df4f4f17bcd817f0ade0a) )
  1871: 
  1872: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1873: 	ROM_LOAD( "lh534k0k.8" ,0x000000, 0x080000, CRC(735e6380) SHA1(bf019815e579ef2393c00869f101a01f746e04d6) )
  1874: ROM_END
  1875: 
  1876: ROM_START( leaguemn )
  1877: 	ROM_REGION( 0x180000, REGION_CPU1, 0 )
  1878: 	ROM_LOAD16_BYTE( "lma1-h0.34",  0x000001, 0x040000, CRC(47c54204) SHA1(59de4e9a75c88dba71aa1949e7ac2c4b9e98f413) )
  1879: 	ROM_LOAD16_BYTE( "lma1-l0.31",  0x000000, 0x040000, CRC(1d062c82) SHA1(8d5969dc0264a05334196132bc2b5a3a59fb9e3a) )
  1880: 	ROM_LOAD16_BYTE( "a1-h1-.33",   0x100001, 0x040000, CRC(3ce2aab5) SHA1(b39f17853bcab7ab290fdfaf9f3d8e8c2d91072a) )
  1881: 	ROM_LOAD16_BYTE( "a1-l1-.32",   0x100000, 0x040000, CRC(116d9bcc) SHA1(c2faf8d1c6b51ac1483757777fd55961b74501fb) )
  1882: 
  1883: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU */
  1884: 	ROM_LOAD16_BYTE( "a1-sh0-.14",0x000001, 0x010000, CRC(b7fae3e6) SHA1(ce41380d6c0f29f2facf9bf23dd4403648cd9eb4) )
  1885: 	ROM_LOAD16_BYTE( "a1-sl0-.17",0x000000, 0x010000, CRC(b26d54fc) SHA1(136e1a83da08a0dc9046faf71f3f58d8d3095fde) )
  1886: 
  1887: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1888: 	ROM_LOAD( "lh534k0c.9",  0x000000, 0x080000, CRC(314a0c6d) SHA1(a918ae638f10b18165f7d34ab7db54fbf258df01) )
  1889: 	ROM_LOAD( "lh534k0e.10", 0x080000, 0x080000, CRC(dc31675b) SHA1(81b0a6b35285e855c778c7f32f31115f1edce099) )
  1890: 	ROM_LOAD( "lh534k0f.11", 0x100000, 0x080000, CRC(e15d8bfb) SHA1(74ea6f9748ed52e579cb08445282c871b3fd0f3a) )
  1891: 	ROM_LOAD( "lh534k0g.12", 0x180000, 0x080000, CRC(888d71a3) SHA1(d1609e326fda5ac579ddf1ad5dc77443ec2a180f) )
  1892: 
  1893: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1894: 	ROM_LOAD( "lh538393.42", 0x000000, 0x100000, CRC(26cdd224) SHA1(ab2a3dd8eafec78866a0d45c1f051209025bdc77) )
  1895: 	ROM_LOAD( "lh538394.43", 0x100000, 0x100000, CRC(4bbe94fa) SHA1(7c13b22e056dc1cf497ea0b3e9766579c33d4370) )
  1896: 	ROM_LOAD( "lh538395.44", 0x200000, 0x100000, CRC(2a533b5e) SHA1(ceb9750b674adfa5fa0f88e46bce7b2b58440873) )
  1897: 	ROM_LOAD( "lh538396.45", 0x300000, 0x100000, CRC(863a66fa) SHA1(0edc4734daee8fc1738df4f4f17bcd817f0ade0a) )
  1898: 
  1899: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1900: 	ROM_LOAD( "lh534k0k.8" ,0x000000, 0x080000, CRC(735e6380) SHA1(bf019815e579ef2393c00869f101a01f746e04d6) )
  1901: ROM_END
  1902: 
  1903: ROM_START( psoldier )
  1904: 	ROM_REGION( 0x100000, REGION_CPU1, 0 )
  1905: 	ROM_LOAD16_BYTE( "f3_h0d.h0",  0x000001, 0x040000, CRC(38f131fd) SHA1(0e513a5edfd8ab14440c360000a40b9d750cb54a) )
  1906: 	ROM_LOAD16_BYTE( "f3_l0d.l0",  0x000000, 0x040000, CRC(1662969c) SHA1(8de1683076d7128ec16f1d053afb5e236add73e6) )
  1907: 	ROM_LOAD16_BYTE( "f3_h1.h1",   0x080001, 0x040000, CRC(c8d1947c) SHA1(832a448f117224941799aeece2ec0b25065be3e2) )
  1908: 	ROM_LOAD16_BYTE( "f3_l1.l1",   0x080000, 0x040000, CRC(7b9492fc) SHA1(335166d096dec3773ec69b05dad6763505818dd6) )
  1909: 
  1910: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )	/* 1MB for the audio CPU */
  1911: 	ROM_LOAD16_BYTE( "f3_sh0.sh0",0x000001, 0x010000, CRC(90b55e5e) SHA1(cf77ccb68a10a29289bc42db348f480e21c3a558) )
  1912: 	ROM_LOAD16_BYTE( "f3_sl0.sl0",0x000000, 0x010000, CRC(77c16d57) SHA1(68c7f026b718b700f1f9162f53cdc859b65944b9) )
  1913: 
  1914: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE ) /* Tiles */
  1915: 	ROM_LOAD( "f3_w50.c0",  0x000000, 0x040000, CRC(47e788ee) SHA1(79a6624c9a36f380057c4fbda511128d62f9161e) )
  1916: 	ROM_LOAD( "f3_w51.c1",  0x080000, 0x040000, CRC(8e535e3f) SHA1(a51a5a660d13e95da559e7c1eaf23479eddd196f) )
  1917: 	ROM_LOAD( "f3_w52.c2",  0x100000, 0x040000, CRC(a6eb2e56) SHA1(db45fd5ffefbe407247069c611a1d40849770297) )
  1918: 	ROM_LOAD( "f3_w53.c3",  0x180000, 0x040000, CRC(2f992807) SHA1(bc0fe02b7ad31cb06ab0bf3f91de4ca5130893f1) )
  1919: 
  1920: 	ROM_REGION( 0x800000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1921: 	ROM_LOAD16_BYTE( "f3_w37.000", 0x000001, 0x100000, CRC(fd4cda03) SHA1(34bfabb5a0fdc96507d3c3c028a0b087c406a0d1) )
  1922: 	ROM_LOAD16_BYTE( "f3_w38.001", 0x000000, 0x100000, CRC(755bab10) SHA1(8d3a584f5e34da24a162c1812ec5a3fea49778d7) )
  1923: 	ROM_LOAD16_BYTE( "f3_w39.010", 0x200001, 0x100000, CRC(b21ced92) SHA1(0af44bddaef77f9427f7073dfc96e8a59d7a9ba5) )
  1924: 	ROM_LOAD16_BYTE( "f3_w40.011", 0x200000, 0x100000, CRC(2e906889) SHA1(2aee05ce8f0074302090f1b1c58054c4a861ae68) )
  1925: 	ROM_LOAD16_BYTE( "f3_w41.020", 0x400001, 0x100000, CRC(02455d10) SHA1(4f83d8349d39b220a2150a52d0202c7f8d2b588f) )
  1926: 	ROM_LOAD16_BYTE( "f3_w42.021", 0x400000, 0x100000, CRC(124589b9) SHA1(dc8f95a0ff205fd24136738941a8931c16c380a4) )
  1927: 	ROM_LOAD16_BYTE( "f3_w43.030", 0x600001, 0x100000, CRC(dae7327a) SHA1(3c742b57f30df3ee8d5f5b36dc890af1ec396df5) )
  1928: 	ROM_LOAD16_BYTE( "f3_w44.031", 0x600000, 0x100000, CRC(d0fc84ac) SHA1(19154f81c4182be1fe835b5647fa30360c3507aa) )
  1929: 
  1930: 	ROM_REGION( 0x80000, REGION_SOUND1, ROMREGION_SOUNDONLY )
  1931: 	ROM_LOAD( "f3_w95.da" ,0x000000, 0x080000, CRC(f7ca432b) SHA1(274458b68f906e6043bc36110a4903280647ac2d) )
  1932: ROM_END
  1933: 
  1934: ROM_START( dsccr94j )
  1935: 	ROM_REGION( 0x180000, REGION_CPU1, 0 )
  1936: 	ROM_LOAD16_BYTE("a3_-h0-e.bin", 0x000001, 0x040000, CRC(8de1dbcd) SHA1(3726c7f8bc1e61a488ab7ef0b79a7a45054235c2) )
  1937: 	ROM_LOAD16_BYTE("a3_-l0-e.bin", 0x000000, 0x040000, CRC(d3df8bfd) SHA1(b98064579491aef8eb8ccb94195412e79674a0c1) )
  1938: 	ROM_LOAD16_BYTE("ds_h1-c.rom",  0x100001, 0x040000, CRC(6109041b) SHA1(063898a88f8a6a9f1510aa55e53a39f037b02903) )
  1939: 	ROM_LOAD16_BYTE("ds_l1-c.rom",  0x100000, 0x040000, CRC(97a01f6b) SHA1(e188e28f880f5f3f4d7b49eca639d643989b1468) )
  1940: 
  1941: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )
  1942: 	ROM_LOAD16_BYTE("ds_sh0.rom",   0x000001, 0x010000, CRC(23fe6ffc) SHA1(896377961cafc19e44d9d889f9fbfdbaedd556da) )
  1943: 	ROM_LOAD16_BYTE("ds_sl0.rom",   0x000000, 0x010000, CRC(768132e5) SHA1(1bb64516eb58d3b246f08e1c07f091e78085689f) )
  1944: 
  1945: 	ROM_REGION( 0x400000, REGION_GFX1, ROMREGION_DISPOSE )	/* chars */
  1946: 	ROM_LOAD("c0.bin",   0x000000, 0x100000, CRC(83ea8a47) SHA1(b29c8cc50da85c8168dda92446dfa12582580f96) )
  1947: 	ROM_LOAD("c1.bin",   0x100000, 0x100000, CRC(64063e6d) SHA1(80b66e08292a3682f80d5670c5fe9f0fcc92062e) )
  1948: 	ROM_LOAD("c2.bin",   0x200000, 0x100000, CRC(cc1f621a) SHA1(a0bdfe582206d49ca01bedc2b6973ebe5248efe4) )
  1949: 	ROM_LOAD("c3.bin",   0x300000, 0x100000, CRC(515829e1) SHA1(2b5a5151eeb56cd3da30c8cb6415605cbe1d82e9) )
  1950: 
  1951: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE )	/* sprites */
  1952: 	ROM_LOAD16_BYTE("a3-o00-w.bin",   0x000001, 0x80000, CRC(b094e5ad) SHA1(9acceb24a72eeb3c6e629c08d4cc9ef2a171da32) )
  1953: 	ROM_LOAD16_BYTE("a3-o01-w.bin",   0x000000, 0x80000, CRC(91f34018) SHA1(4982b914ecce0358d63800caf7e249e1723bf7cf) )
  1954: 	ROM_LOAD16_BYTE("a3-o10-w.bin",   0x100001, 0x80000, CRC(edddeef4) SHA1(73a90c20c99209206370e8bff35199c3a6b9dc3d) )
  1955: 	ROM_LOAD16_BYTE("a3-o11-w.bin",   0x100000, 0x80000, CRC(274a9526) SHA1(2844079b2ec33ff2ccf6f73586ff426bdab9cf83) )
  1956: 	ROM_LOAD16_BYTE("a3-o20-w.bin",   0x200001, 0x80000, CRC(32064393) SHA1(bacd4902079557141133920c44b16b52242692e7) )
  1957: 	ROM_LOAD16_BYTE("a3-o21-w.bin",   0x200000, 0x80000, CRC(57bae3d9) SHA1(11face0e157ed42d7836bb8d60a4b75740de52d5) )
  1958: 	ROM_LOAD16_BYTE("a3-o30-w.bin",   0x300001, 0x80000, CRC(be838e2f) SHA1(fc8a42b9183dfc60c317cbcef1da6798fed125ef) )
  1959: 	ROM_LOAD16_BYTE("a3-o31-w.bin",   0x300000, 0x80000, CRC(bf899f0d) SHA1(f781454df089743186816ce98d863c94f7b208bd) )
  1960: 
  1961: 	ROM_REGION( 0x100000, REGION_SOUND1, 0 )
  1962: 	ROM_LOAD("ds_da0.rom" ,  0x000000, 0x100000, CRC(67fc52fd) SHA1(5771e948115af8fe4a6d3f448c03a2a9b42b6f20) )
  1963: ROM_END
  1964: 
  1965: ROM_START( gunforc2 )
  1966: 	ROM_REGION( 0x180000, REGION_CPU1, 0 )
  1967: 	ROM_LOAD16_BYTE("a2-h0-a.6h", 0x000001, 0x040000, CRC(49965e22) SHA1(077283c66a4cc2c47221c5f3267f440223615a15) )
  1968: 	ROM_LOAD16_BYTE("a2-l0-a.8h", 0x000000, 0x040000, CRC(8c88b278) SHA1(0fd8e663619dcd8c81b3baa290bb0e72c185273a) )
  1969: 	ROM_LOAD16_BYTE("a2-h1-a.6f", 0x100001, 0x040000, CRC(34280b88) SHA1(3fd3cdf8acfa845abacb0708fb48741ee44dbf13) )
  1970: 	ROM_LOAD16_BYTE("a2-l1-a.8f", 0x100000, 0x040000, CRC(c8c13f51) SHA1(fde3fd983ebb920f79e6898aa0576da9dd9f0c15) )
  1971: 
  1972: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )
  1973: 	ROM_LOAD16_BYTE("a2_sho.3l",   0x000001, 0x010000, CRC(2e2d103d) SHA1(6b663948f69218308d9ecdb677557b2db1dfbf5a) )
  1974: 	ROM_LOAD16_BYTE("a2_slo.5l",   0x000000, 0x010000, CRC(2287e0b3) SHA1(755dab510915161428ed57ab18410c393e138e65) )
  1975: 
  1976: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE )	/* chars */
  1977: 	ROM_LOAD("a2_c0.1a",   0x000000, 0x080000, CRC(68b8f574) SHA1(fb935947cdde43e84453f82caeea141a4ae7226d) )
  1978: 	ROM_LOAD("a2_c1.1b",   0x080000, 0x080000, CRC(0b9efe67) SHA1(1df4108d30d2538f6407e328513517cd3412321f) )
  1979: 	ROM_LOAD("a2_c2.3a",   0x100000, 0x080000, CRC(7a9e9978) SHA1(241dc310e75960e306701a2e86e30d9c1a60ebff) )
  1980: 	ROM_LOAD("a2_c3.3b",   0x180000, 0x080000, CRC(1395ee6d) SHA1(e9befc966e6ee046eaca185a9969976304a119d8) )
  1981: 
  1982: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  1983: 	ROM_LOAD( "a2_000.8a", 0x000000, 0x100000, CRC(38e03147) SHA1(cc5bacad9592aa5e91632b139955e1c704a67a33) )
  1984: 	ROM_LOAD( "a2_010.8b", 0x100000, 0x100000, CRC(1d5b05f8) SHA1(884f134ed51b432965a4e5e79915ba9c0ab562c6) )
  1985: 	ROM_LOAD( "a2_020.8c", 0x200000, 0x100000, CRC(f2f461cc) SHA1(04e91efc749d022c8012caac493767ec1f6a992d) )
  1986: 	ROM_LOAD( "a2_030.8d", 0x300000, 0x100000, CRC(97609d9d) SHA1(71ddff85a8ddeac69863bbf6c493c5c3973fd175) )
  1987: 
  1988: 	ROM_REGION( 0x100000, REGION_SOUND1, 0 )
  1989: 	ROM_LOAD("a2_da.1l" ,  0x000000, 0x100000, CRC(3c8cdb6a) SHA1(d1f4186e8ddf99698443f8ee1c60a6e6bc367b09) )
  1990: ROM_END
  1991: 
  1992: ROM_START( geostorm )
  1993: 	ROM_REGION( 0x180000, REGION_CPU1, 0 )
  1994: 	ROM_LOAD16_BYTE("geo-h0.bin", 0x000001, 0x040000, CRC(9be58d09) SHA1(ab98b91abc8129c342c59674eab9683cccc6ca35) )
  1995: 	ROM_LOAD16_BYTE("geo-l0.bin", 0x000000, 0x040000, CRC(59abb75d) SHA1(52b48685470ffa3f36a8259bf333448bf40caea9) )
  1996: 	ROM_LOAD16_BYTE("a2-h1-a.6f", 0x100001, 0x040000, CRC(34280b88) SHA1(3fd3cdf8acfa845abacb0708fb48741ee44dbf13) )
  1997: 	ROM_LOAD16_BYTE("a2-l1-a.8f", 0x100000, 0x040000, CRC(c8c13f51) SHA1(fde3fd983ebb920f79e6898aa0576da9dd9f0c15) )
  1998: 
  1999: 	ROM_REGION( 0x100000 * 2, REGION_CPU2, 0 )
  2000: 	ROM_LOAD16_BYTE("a2_sho.3l",   0x000001, 0x010000, CRC(2e2d103d) SHA1(6b663948f69218308d9ecdb677557b2db1dfbf5a) )
  2001: 	ROM_LOAD16_BYTE("a2_slo.5l",   0x000000, 0x010000, CRC(2287e0b3) SHA1(755dab510915161428ed57ab18410c393e138e65) )
  2002: 
  2003: 	ROM_REGION( 0x200000, REGION_GFX1, ROMREGION_DISPOSE )	/* chars */
  2004: 	ROM_LOAD("a2_c0.1a",   0x000000, 0x080000, CRC(68b8f574) SHA1(fb935947cdde43e84453f82caeea141a4ae7226d) )
  2005: 	ROM_LOAD("a2_c1.1b",   0x080000, 0x080000, CRC(0b9efe67) SHA1(1df4108d30d2538f6407e328513517cd3412321f) )
  2006: 	ROM_LOAD("a2_c2.3a",   0x100000, 0x080000, CRC(7a9e9978) SHA1(241dc310e75960e306701a2e86e30d9c1a60ebff) )
  2007: 	ROM_LOAD("a2_c3.3b",   0x180000, 0x080000, CRC(1395ee6d) SHA1(e9befc966e6ee046eaca185a9969976304a119d8) )
  2008: 
  2009: 	ROM_REGION( 0x400000, REGION_GFX2, ROMREGION_DISPOSE ) /* Sprites */
  2010: 	ROM_LOAD( "a2_000.8a", 0x000000, 0x100000, CRC(38e03147) SHA1(cc5bacad9592aa5e91632b139955e1c704a67a33) )
  2011: 	ROM_LOAD( "a2_010.8b", 0x100000, 0x100000, CRC(1d5b05f8) SHA1(884f134ed51b432965a4e5e79915ba9c0ab562c6) )
  2012: 	ROM_LOAD( "a2_020.8c", 0x200000, 0x100000, CRC(f2f461cc) SHA1(04e91efc749d022c8012caac493767ec1f6a992d) )
  2013: 	ROM_LOAD( "a2_030.8d", 0x300000, 0x100000, CRC(97609d9d) SHA1(71ddff85a8ddeac69863bbf6c493c5c3973fd175) )
  2014: 
  2015: 	ROM_REGION( 0x100000, REGION_SOUND1, 0 )
  2016: 	ROM_LOAD("a2_da.1l" ,  0x000000, 0x100000, CRC(3c8cdb6a) SHA1(d1f4186e8ddf99698443f8ee1c60a6e6bc367b09) )
  2017: ROM_END
  2018: 
  2019: /***************************************************************************/
  2020: 
  2021: static READ_HANDLER( lethalth_cycle_r )
  2022: {
  2023: 	if (activecpu_get_pc()==0x1f4 && m92_ram[0x1e]==2 && offset==0)
  2024: 		cpu_spinuntil_int();
  2025: 
  2026: 	return m92_ram[0x1e + offset];
  2027: }
  2028: 
  2029: static READ_HANDLER( hook_cycle_r )
  2030: {
  2031: 	if (activecpu_get_pc()==0x55ba && m92_ram[0x12]==0 && m92_ram[0x13]==0 && offset==0)
  2032: 		cpu_spinuntil_int();
  2033: 
  2034: 	return m92_ram[0x12 + offset];
  2035: }
  2036: 
  2037: static READ_HANDLER( bmaster_cycle_r )
  2038: {
  2039: 	int d=activecpu_geticount();
  2040: 
  2041: 	/* If possible skip this cpu segment - idle loop */
  2042: 	if (d>159 && d<0xf0000000) {
  2043: 		if (activecpu_get_pc()==0x410 && m92_ram[0x6fde]==0 && m92_ram[0x6fdf]==0 && offset==0) {
  2044: 			/* Adjust in-game counter, based on cycles left to run */
  2045: 			int old;
  2046: 
  2047: 			old=m92_ram[0x74aa]+(m92_ram[0x74ab]<<8);
  2048: 			old=(old+d/25)&0xffff; /* 25 cycles per increment */
  2049: 			m92_ram[0x74aa]=old&0xff;
  2050: 			m92_ram[0x74ab]=old>>8;
  2051: 			cpu_spinuntil_int();
  2052: 		}
  2053: 	}
  2054: 	return m92_ram[0x6fde + offset];
  2055: }
  2056: 
  2057: static READ_HANDLER( psoldier_cycle_r )
  2058: {
  2059: 	int a=m92_ram[0]+(m92_ram[1]<<8);
  2060: 	int b=m92_ram[0x1aec]+(m92_ram[0x1aed]<<8);
  2061: 	int c=m92_ram[0x1aea]+(m92_ram[0x1aeb]<<8);
  2062: 
  2063: 	if (activecpu_get_pc()==0x2dae && b!=a && c!=a && offset==0)
  2064: 		cpu_spinuntil_int();
  2065: 
  2066: 	return m92_ram[0x1aec + offset];
  2067: }
  2068: 
  2069: static READ_HANDLER( psoldier_snd_cycle_r )
  2070: {
  2071: 	int a=m92_snd_ram[0xc34];
  2072: //logerror("%08x: %d %d\n",activecpu_get_pc(),a,offset);
  2073: 	if (activecpu_get_pc()==0x8f0 && (a&0x80)!=0x80 && offset==0) {
  2074: 		cpu_spinuntil_int();
  2075: 	}
  2076: 
  2077: 	return m92_snd_ram[0xc34 + offset];
  2078: }
  2079: 
  2080: static READ_HANDLER( inthunt_cycle_r )
  2081: {
  2082: 	int d=activecpu_geticount();
  2083: 	int line = 256 - cpu_getiloops();
  2084: 
  2085: 	/* If possible skip this cpu segment - idle loop */
  2086: 	if (d>159 && d<0xf0000000 && line<247) {
  2087: 		if (activecpu_get_pc()==0x858 && m92_ram[0x25f]==0 && offset==1) {
  2088: 			/* Adjust in-game counter, based on cycles left to run */
  2089: 			int old;
  2090: 
  2091: 			old=m92_ram[0xb892]+(m92_ram[0xb893]<<8);
  2092: 			old=(old+d/82)&0xffff; /* 82 cycles per increment */
  2093: 			m92_ram[0xb892]=old&0xff;
  2094: 			m92_ram[0xb893]=old>>8;
  2095: 
  2096: 			cpu_spinuntil_int();
  2097: 		}
  2098: 	}
  2099: 
  2100: 	return m92_ram[0x25e + offset];
  2101: }
  2102: 
  2103: static READ_HANDLER( uccops_cycle_r )
  2104: {
  2105: 	int a=m92_ram[0x3f28]+(m92_ram[0x3f29]<<8);
  2106: 	int b=m92_ram[0x3a00]+(m92_ram[0x3a01]<<8);
  2107: 	int c=m92_ram[0x3a02]+(m92_ram[0x3a03]<<8);
  2108: 	int d=activecpu_geticount();
  2109: 	int line = 256 - cpu_getiloops();
  2110: 
  2111: 	/* If possible skip this cpu segment - idle loop */
  2112: 	if (d>159 && d<0xf0000000 && line<247) {
  2113: 		if ((activecpu_get_pc()==0x900ff || activecpu_get_pc()==0x90103) && b==c && offset==1) {
  2114: 			cpu_spinuntil_int();
  2115: 			/* Update internal counter based on cycles left to run */
  2116: 			a=(a+d/127)&0xffff; /* 127 cycles per loop increment */
  2117: 			m92_ram[0x3f28]=a&0xff;
  2118: 			m92_ram[0x3f29]=a>>8;
  2119: 		}
  2120: 	}
  2121: 
  2122: 	return m92_ram[0x3a02 + offset];
  2123: }
  2124: 
  2125: static READ_HANDLER( rtypeleo_cycle_r )
  2126: {
  2127: 	if (activecpu_get_pc()==0x30791 && offset==0 && m92_ram[0x32]==2 && m92_ram[0x33]==0)
  2128: 		cpu_spinuntil_int();
  2129: 
  2130: 	return m92_ram[0x32 + offset];
  2131: }
  2132: 
  2133: static READ_HANDLER( rtypelej_cycle_r )
  2134: {
  2135: 	if (activecpu_get_pc()==0x307a3 && offset==0 && m92_ram[0x32]==2 && m92_ram[0x33]==0)
  2136: 		cpu_spinuntil_int();
  2137: 
  2138: 	return m92_ram[0x32 + offset];
  2139: }
  2140: 
  2141: static READ_HANDLER( gunforce_cycle_r )
  2142: {
  2143: 	int a=m92_ram[0x6542]+(m92_ram[0x6543]<<8);
  2144: 	int b=m92_ram[0x61d0]+(m92_ram[0x61d1]<<8);
  2145: 	int d=activecpu_geticount();
  2146: 	int line = 256 - cpu_getiloops();
  2147: 
  2148: 	/* If possible skip this cpu segment - idle loop */
  2149: 	if (d>159 && d<0xf0000000 && line<247) {
  2150: 		if (activecpu_get_pc()==0x40a && ((b&0x8000)==0) && offset==1) {
  2151: 			cpu_spinuntil_int();
  2152: 			/* Update internal counter based on cycles left to run */
  2153: 			a=(a+d/80)&0xffff; /* 80 cycles per loop increment */
  2154: 			m92_ram[0x6542]=a&0xff;
  2155: 			m92_ram[0x6543]=a>>8;
  2156: 		}
  2157: 	}
  2158: 
  2159: 	return m92_ram[0x61d0 + offset];
  2160: }
  2161: 
  2162: static READ_HANDLER( dsccr94j_cycle_r )
  2163: {
  2164: 	int a=m92_ram[0x965a]+(m92_ram[0x965b]<<8);
  2165: 	int d=activecpu_geticount();
  2166: 
  2167: 	if (activecpu_get_pc()==0x988 && m92_ram[0x8636]==0 && offset==0) {
  2168: 		cpu_spinuntil_int();
  2169: 
  2170: 		/* Update internal counter based on cycles left to run */
  2171: 		a=(a+d/56)&0xffff; /* 56 cycles per loop increment */
  2172: 		m92_ram[0x965a]=a&0xff;
  2173: 		m92_ram[0x965b]=a>>8;
  2174: 	}
  2175: 
  2176: 	return m92_ram[0x8636 + offset];
  2177: }
  2178: 
  2179: static READ_HANDLER( gunforc2_cycle_r )
  2180: {
  2181: 	int a=m92_ram[0x9fa0]+(m92_ram[0x9fa1]<<8);
  2182: 	int b=m92_ram[0x9fa2]+(m92_ram[0x9fa3]<<8);
  2183: 	int c=m92_ram[0xa6aa]+(m92_ram[0xa6ab]<<8);
  2184: 	int d=activecpu_geticount();
  2185: 
  2186: 	if (activecpu_get_pc()==0x510 && a==b && offset==0) {
  2187: 		cpu_spinuntil_int();
  2188: 
  2189: 		/* Update internal counter based on cycles left to run */
  2190: 		c=(c+d/62)&0xffff; /* 62 cycles per loop increment */
  2191: 		m92_ram[0xa6aa]=a&0xff;
  2192: 		m92_ram[0xa6ab]=a>>8;
  2193: 	}
  2194: 
  2195: 	return m92_ram[0x9fa0 + offset];
  2196: }
  2197: 
  2198: static READ_HANDLER( gunforc2_snd_cycle_r )
  2199: {
  2200: 	int a=m92_snd_ram[0xc31];
  2201: 
  2202: 	if (activecpu_get_pc()==0x8aa && a!=3 && offset==1) {
  2203: 		cpu_spinuntil_int();
  2204: 	}
  2205: 
  2206: 	return m92_snd_ram[0xc30 + offset];
  2207: }
  2208: 
  2209: /***************************************************************************/
  2210: 
  2211: static void m92_startup(void)
  2212: {
  2213: 	unsigned char *RAM = memory_region(REGION_CPU1);
  2214: 
  2215: 	memcpy(RAM+0xffff0,RAM+0x7fff0,0x10); /* Start vector */
  2216: 	bankaddress = 0xa0000; /* Initial bank */
  2217: 	set_m92_bank();
  2218: 
  2219: 	/* Mirror used by In The Hunt for protection */
  2220: 	memcpy(RAM+0xc0000,RAM+0x00000,0x10000);
  2221: 	cpu_setbank(2,&RAM[0xc0000]);
  2222: 
  2223: 	RAM = memory_region(REGION_CPU2);
  2224: 	memcpy(RAM+0xffff0,RAM+0x1fff0,0x10); /* Sound cpu Start vector */
  2225: 
  2226: 	m92_game_kludge=0;
  2227: 	m92_irq_vectorbase=0x80;
  2228: 	m92_raster_enable=1;
  2229: 	m92_sprite_buffer_busy=0x80;
  2230: }
  2231: 
  2232: static void init_m92(const unsigned char *decryption_table)
  2233: {
  2234: 	m92_startup();
  2235: 	setvector_callback(VECTOR_INIT);
  2236: 	irem_cpu_decrypt(1,decryption_table);
  2237: 
  2238: 	state_save_register_int  ("main", 0, "irqvector",    &irqvector);
  2239: 	state_save_register_int  ("main", 0, "sound_status", &sound_status);
  2240: 	state_save_register_int("main", 0, "bankaddress", &bankaddress);
  2241: 	state_save_register_func_postload(set_m92_bank);
  2242: }
  2243: 
  2244: static DRIVER_INIT( bmaster )
  2245: {
  2246: 	install_mem_read_handler(0, 0xe6fde, 0xe6fdf, bmaster_cycle_r);
  2247: 	init_m92(bomberman_decryption_table);
  2248: }
  2249: 
  2250: static DRIVER_INIT( gunforce )
  2251: {
  2252: 	install_mem_read_handler(0, 0xe61d0, 0xe61d1, gunforce_cycle_r);
  2253: 	init_m92(gunforce_decryption_table);
  2254: }
  2255: 
  2256: static DRIVER_INIT( hook )
  2257: {
  2258: 	install_mem_read_handler(0, 0xe0012, 0xe0013, hook_cycle_r);
  2259: 	init_m92(hook_decryption_table);
  2260: }
  2261: 
  2262: static DRIVER_INIT( mysticri )
  2263: {
  2264: 	init_m92(mysticri_decryption_table);
  2265: }
  2266: 
  2267: static DRIVER_INIT( uccops )
  2268: {
  2269: 	install_mem_read_handler(0, 0xe3a02, 0xe3a03, uccops_cycle_r);
  2270: 	init_m92(dynablaster_decryption_table);
  2271: }
  2272: 
  2273: static DRIVER_INIT( rtypeleo )
  2274: {
  2275: 	install_mem_read_handler(0, 0xe0032, 0xe0033, rtypeleo_cycle_r);
  2276: 	init_m92(rtypeleo_decryption_table);
  2277: 	m92_irq_vectorbase=0x20;
  2278: 	m92_game_kludge=1;
  2279: }
  2280: 
  2281: static DRIVER_INIT( rtypelej )
  2282: {
  2283: 	install_mem_read_handler(0, 0xe0032, 0xe0033, rtypelej_cycle_r);
  2284: 	init_m92(rtypeleo_decryption_table);
  2285: 	m92_irq_vectorbase=0x20;
  2286: 	m92_game_kludge=1;
  2287: }
  2288: 
  2289: static DRIVER_INIT( majtitl2 )
  2290: {
  2291: 	init_m92(majtitl2_decryption_table);
  2292: 
  2293: 	/* This game has an eprom on the game board */
  2294: 	install_mem_read_handler(0, 0xf0000, 0xf3fff, m92_eeprom_r);
  2295: 	install_mem_write_handler(0, 0xf0000, 0xf3fff, m92_eeprom_w);
  2296: 
  2297: 	m92_game_kludge=2;
  2298: }
  2299: 
  2300: static DRIVER_INIT( inthunt )
  2301: {
  2302: 	install_mem_read_handler(0, 0xe025e, 0xe025f, inthunt_cycle_r);
  2303: 	init_m92(inthunt_decryption_table);
  2304: }
  2305: 
  2306: static DRIVER_INIT( lethalth )
  2307: {
  2308: 	install_mem_read_handler(0, 0xe001e, 0xe001f, lethalth_cycle_r);
  2309: 	init_m92(lethalth_decryption_table);
  2310: 	m92_irq_vectorbase=0x20;
  2311: 
  2312: 	/* This game sets the raster IRQ position, but the interrupt routine
  2313: 		is just an iret, no need to emulate it */
  2314: 	m92_raster_enable=0;
  2315: 	m92_game_kludge=3; /* No upper palette bank? It could be a different motherboard */
  2316: }
  2317: 
  2318: static DRIVER_INIT( nbbatman )
  2319: {
  2320: 	unsigned char *RAM = memory_region(REGION_CPU1);
  2321: 
  2322: 	init_m92(leagueman_decryption_table);
  2323: 
  2324: 	memcpy(RAM+0x80000,RAM+0x100000,0x20000);
  2325: }
  2326: 
  2327: static DRIVER_INIT( psoldier )
  2328: {
  2329: 	install_mem_read_handler(0, 0xe1aec, 0xe1aed, psoldier_cycle_r);
  2330: 	install_mem_read_handler(1, 0xa0c34, 0xa0c35, psoldier_snd_cycle_r);
  2331: 
  2332: 	init_m92(psoldier_decryption_table);
  2333: 	m92_irq_vectorbase=0x20;
  2334: 	/* main CPU expects an answer even before writing the first command */
  2335: 	sound_status = 0x80;
  2336: }
  2337: 
  2338: static DRIVER_INIT( dsccr94j )
  2339: {
  2340: 	install_mem_read_handler(0, 0xe8636, 0xe8637, dsccr94j_cycle_r);
  2341: 	init_m92(dsoccr94_decryption_table);
  2342: }
  2343: 
  2344: static DRIVER_INIT( gunforc2 )
  2345: {
  2346: 	unsigned char *RAM = memory_region(REGION_CPU1);
  2347: 	init_m92(lethalth_decryption_table);
  2348: 	memcpy(RAM+0x80000,RAM+0x100000,0x20000);
  2349: 
  2350: 	install_mem_read_handler(0, 0xe9fa0, 0xe9fa1, gunforc2_cycle_r);
  2351: 	install_mem_read_handler(1, 0xa0c30, 0xa0c31, gunforc2_snd_cycle_r);
  2352: }
  2353: 
  2354: /***************************************************************************/
  2355: 
  2356: /* The 'nonraster' machine is for games that don't use the raster interrupt feature - slightly faster to emulate */
  2357: GAME( 1991, gunforce, 0,        raster,    gunforce, gunforce, ROT0,   "Irem",         "Gunforce - Battle Fire Engulfed Terror Island (World)" )
  2358: GAME( 1991, gunforcj, gunforce, raster,    gunforce, gunforce, ROT0,   "Irem",         "Gunforce - Battle Fire Engulfed Terror Island (Japan)" )
  2359: GAME( 1991, gunforcu, gunforce, raster,    gunforce, gunforce, ROT0,   "Irem America", "Gunforce - Battle Fire Engulfed Terror Island (US)" )
  2360: GAME( 1991, bmaster,  0,        nonraster, bmaster,  bmaster,  ROT0,   "Irem",         "Blade Master (World)" )
  2361: GAME( 1991, lethalth, 0,        lethalth,  lethalth, lethalth, ROT270, "Irem",         "Lethal Thunder (World)" )
  2362: GAME( 1991, thndblst, lethalth, lethalth,  lethalth, lethalth, ROT270, "Irem",         "Thunder Blaster (Japan)" )
  2363: GAME( 1992, uccops,   0,        raster,    uccops,   uccops,   ROT0,   "Irem",         "Undercover Cops (World)" )
  2364: GAME( 1992, uccopsj,  uccops,   raster,    uccops,   uccops,   ROT0,   "Irem",         "Undercover Cops (Japan)" )
  2365: GAME( 1992, mysticri, 0,        nonraster, mysticri, mysticri, ROT0,   "Irem",         "Mystic Riders (World)" )
  2366: GAME( 1992, gunhohki, mysticri, nonraster, mysticri, mysticri, ROT0,   "Irem",         "Gun Hohki (Japan)" )
  2367: GAMEX(1992, majtitl2, 0,        raster,    majtitl2, majtitl2, ROT0,   "Irem",         "Major Title 2 (World)", GAME_IMPERFECT_GRAPHICS )
  2368: GAMEX(1992, skingame, majtitl2, raster,    majtitl2, majtitl2, ROT0,   "Irem America", "The Irem Skins Game (US set 1)", GAME_IMPERFECT_GRAPHICS )
  2369: GAMEX(1992, skingam2, majtitl2, raster,    majtitl2, majtitl2, ROT0,   "Irem America", "The Irem Skins Game (US set 2)", GAME_IMPERFECT_GRAPHICS )
  2370: GAME( 1992, hook,     0,        nonraster, hook,     hook,     ROT0,   "Irem",         "Hook (World)" )
  2371: GAME( 1992, hooku,    hook,     nonraster, hook,     hook,     ROT0,   "Irem America", "Hook (US)" )
  2372: GAME( 1992, rtypeleo, 0,        raster,    rtypeleo, rtypeleo, ROT0,   "Irem",         "R-Type Leo (World rev. C)" )
  2373: GAME( 1992, rtypelej, rtypeleo, raster,    rtypeleo, rtypelej, ROT0,   "Irem",         "R-Type Leo (Japan rev. D)" )
  2374: GAME( 1993, inthunt,  0,        raster,    inthunt,  inthunt,  ROT0,   "Irem",         "In The Hunt (World)" )
  2375: GAME( 1993, inthuntu, inthunt,  raster,    inthunt,  inthunt,  ROT0,   "Irem America", "In The Hunt (US)" )
  2376: GAME( 1993, kaiteids, inthunt,  raster,    inthunt,  inthunt,  ROT0,   "Irem",         "Kaitei Daisensou (Japan)" )
  2377: GAMEX(1993, nbbatman, 0,        raster,    nbbatman, nbbatman, ROT0,   "Irem America", "Ninja Baseball Batman (US)", GAME_IMPERFECT_GRAPHICS )
  2378: GAMEX(1993, leaguemn, nbbatman, raster,    nbbatman, nbbatman, ROT0,   "Irem",         "Yakyuu Kakutou League-Man (Japan)", GAME_IMPERFECT_GRAPHICS )
  2379: GAMEX(1993, psoldier, 0,        psoldier,  psoldier, psoldier, ROT0,   "Irem",         "Perfect Soldiers (Japan)", GAME_IMPERFECT_SOUND )
  2380: GAME( 1994, dsccr94j, dsoccr94, psoldier,  dsccr94j, dsccr94j, ROT0,   "Irem",         "Dream Soccer '94 (Japan)" )
  2381: GAME( 1994, gunforc2, 0,        raster,    gunforc2, gunforc2, ROT0,   "Irem",         "Gunforce 2 (US)" )
  2382: GAME( 1994, geostorm, gunforc2, raster,    gunforc2, gunforc2, ROT0,   "Irem",         "Geostorm (Japan)" )
  2383: 




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