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 : Mad Gear : VM Driver Source

Source Listing


     1: /**************************************************************************
     2: 
     3:   Last Duel 			          - Capcom, 1988
     4:   LED Storm 			          - Capcom, 1988
     5:   Mad Gear                        - Capcom, 1989
     6: 
     7:   Emulation by Bryan McPhail, mish@tendril.co.uk
     8: 
     9:   Trivia ;)  The Mad Gear pcb has an unused pad on the board for an i8751
    10: microcontroller.
    11: 
    12: TODO:
    13: - The seem to be minor priority issues in Mad Gear, but the game might just
    14:   be like that. The priority PROM is missing.
    15: - visible area might be wrong
    16: 
    17: **************************************************************************/
    18: 
    19: #include "driver.h" 
    20: #include "vidhrdw/generic.h" 
    21: 
    22: WRITE16_HANDLER( lastduel_vram_w );
    23: WRITE16_HANDLER( lastduel_flip_w );
    24: WRITE16_HANDLER( lastduel_scroll1_w );
    25: WRITE16_HANDLER( lastduel_scroll2_w );
    26: WRITE16_HANDLER( madgear_scroll1_w );
    27: WRITE16_HANDLER( madgear_scroll2_w );
    28: WRITE16_HANDLER( lastduel_scroll_w );
    29: VIDEO_START( lastduel );
    30: VIDEO_START( madgear );
    31: VIDEO_UPDATE( lastduel );
    32: VIDEO_EOF( lastduel );
    33: 
    34: extern data16_t *lastduel_vram,*lastduel_scroll2,*lastduel_scroll1;
    35: 
    36: /******************************************************************************/
    37: 
    38: static WRITE16_HANDLER( lastduel_sound_w )
    39: {
    40: 	if (ACCESSING_LSB)
    41: 		soundlatch_w(0,data & 0xff);
    42: }
    43: 
    44: /******************************************************************************/
    45: 
    46: static MEMORY_READ16_START( lastduel_readmem )
    47: 	{ 0x000000, 0x05ffff, MRA16_ROM },
    48: 	{ 0xfc0800, 0xfc0fff, MRA16_RAM },
    49: 	{ 0xfc4000, 0xfc4001, input_port_0_word_r },
    50: 	{ 0xfc4002, 0xfc4003, input_port_1_word_r },
    51: 	{ 0xfc4004, 0xfc4005, input_port_2_word_r },
    52: 	{ 0xfc4006, 0xfc4007, input_port_3_word_r },
    53: 	{ 0xfcc000, 0xfcdfff, MRA16_RAM },
    54: 	{ 0xfd0000, 0xfd3fff, MRA16_RAM },
    55: 	{ 0xfd4000, 0xfd7fff, MRA16_RAM },
    56: 	{ 0xfd8000, 0xfd87ff, MRA16_RAM },
    57: 	{ 0xfe0000, 0xffffff, MRA16_RAM },
    58: MEMORY_END
    59: 
    60: static MEMORY_WRITE16_START( lastduel_writemem )
    61: 	{ 0x000000, 0x05ffff, MWA16_ROM },
    62: 	{ 0xfc0000, 0xfc0003, MWA16_NOP }, /* Written rarely */
    63: 	{ 0xfc0800, 0xfc0fff, MWA16_RAM, &spriteram16, &spriteram_size },
    64: 	{ 0xfc4000, 0xfc4001, lastduel_flip_w },
    65: 	{ 0xfc4002, 0xfc4003, lastduel_sound_w },
    66: 	{ 0xfc8000, 0xfc8007, lastduel_scroll_w },
    67: 	{ 0xfcc000, 0xfcdfff, lastduel_vram_w, &lastduel_vram },
    68: 	{ 0xfd0000, 0xfd3fff, lastduel_scroll1_w, &lastduel_scroll1 },
    69: 	{ 0xfd4000, 0xfd7fff, lastduel_scroll2_w, &lastduel_scroll2 },
    70: 	{ 0xfd8000, 0xfd87ff, paletteram16_RRRRGGGGBBBBIIII_word_w, &paletteram16 },
    71: 	{ 0xfe0000, 0xffffff, MWA16_RAM },
    72: MEMORY_END
    73: 
    74: static MEMORY_READ16_START( madgear_readmem )
    75: 	{ 0x000000, 0x07ffff, MRA16_ROM },
    76: 	{ 0xfc1800, 0xfc1fff, MRA16_RAM },
    77: 	{ 0xfc4000, 0xfc4001, input_port_0_word_r },
    78: 	{ 0xfc4002, 0xfc4003, input_port_1_word_r },
    79: 	{ 0xfc4004, 0xfc4005, input_port_2_word_r },
    80: 	{ 0xfc4006, 0xfc4007, input_port_3_word_r },
    81: 	{ 0xfc8000, 0xfc9fff, MRA16_RAM },
    82: 	{ 0xfcc000, 0xfcc7ff, MRA16_RAM },
    83: 	{ 0xfd4000, 0xfd7fff, MRA16_RAM },
    84: 	{ 0xfd8000, 0xfdffff, MRA16_RAM },
    85: 	{ 0xff0000, 0xffffff, MRA16_RAM },
    86: MEMORY_END
    87: 
    88: static MEMORY_WRITE16_START( madgear_writemem )
    89: 	{ 0x000000, 0x07ffff, MWA16_ROM },
    90: 	{ 0xfc1800, 0xfc1fff, MWA16_RAM, &spriteram16, &spriteram_size },
    91: 	{ 0xfc4000, 0xfc4001, lastduel_flip_w },
    92: 	{ 0xfc4002, 0xfc4003, lastduel_sound_w },
    93: 	{ 0xfc8000, 0xfc9fff, lastduel_vram_w, &lastduel_vram },
    94: 	{ 0xfcc000, 0xfcc7ff, paletteram16_RRRRGGGGBBBBIIII_word_w, &paletteram16 },
    95: 	{ 0xfd0000, 0xfd0007, lastduel_scroll_w },
    96: 	{ 0xfd4000, 0xfd7fff, madgear_scroll1_w, &lastduel_scroll1 },
    97: 	{ 0xfd8000, 0xfdffff, madgear_scroll2_w, &lastduel_scroll2 },
    98: 	{ 0xff0000, 0xffffff, MWA16_RAM },
    99: MEMORY_END
   100: 
   101: /******************************************************************************/
   102: 
   103: static MEMORY_READ_START( sound_readmem )
   104: 	{ 0x0000, 0xdfff, MRA_ROM },
   105: 	{ 0xe000, 0xe7ff, MRA_RAM },
   106: 	{ 0xe800, 0xe800, YM2203_status_port_0_r },
   107: 	{ 0xf000, 0xf000, YM2203_status_port_1_r },
   108: 	{ 0xf800, 0xf800, soundlatch_r },
   109: MEMORY_END
   110: 
   111: static MEMORY_WRITE_START( sound_writemem )
   112: 	{ 0x0000, 0xdfff, MWA_ROM },
   113: 	{ 0xe000, 0xe7ff, MWA_RAM },
   114: 	{ 0xe800, 0xe800, YM2203_control_port_0_w },
   115: 	{ 0xe801, 0xe801, YM2203_write_port_0_w },
   116: 	{ 0xf000, 0xf000, YM2203_control_port_1_w },
   117: 	{ 0xf001, 0xf001, YM2203_write_port_1_w },
   118: MEMORY_END
   119: 
   120: static WRITE_HANDLER( mg_bankswitch_w )
   121: {
   122: 	int bankaddress;
   123: 	unsigned char *RAM = memory_region(REGION_CPU2);
   124: 
   125: 	bankaddress = 0x10000 + (data & 0x01) * 0x4000;
   126: 	cpu_setbank(3,&RAM[bankaddress]);
   127: }
   128: 
   129: static MEMORY_READ_START( mg_sound_readmem )
   130: 	{ 0x0000, 0x7fff, MRA_ROM },
   131: 	{ 0x8000, 0xcfff, MRA_BANK3 },
   132: 	{ 0xd000, 0xd7ff, MRA_RAM },
   133: 	{ 0xf000, 0xf000, YM2203_status_port_0_r },
   134: 	{ 0xf002, 0xf002, YM2203_status_port_1_r },
   135: 	{ 0xf006, 0xf006, soundlatch_r },
   136: MEMORY_END
   137: 
   138: static MEMORY_WRITE_START( mg_sound_writemem )
   139: 	{ 0x0000, 0xcfff, MWA_ROM },
   140: 	{ 0xd000, 0xd7ff, MWA_RAM },
   141: 	{ 0xf000, 0xf000, YM2203_control_port_0_w },
   142: 	{ 0xf001, 0xf001, YM2203_write_port_0_w },
   143: 	{ 0xf002, 0xf002, YM2203_control_port_1_w },
   144: 	{ 0xf003, 0xf003, YM2203_write_port_1_w },
   145: 	{ 0xf004, 0xf004, OKIM6295_data_0_w },
   146: 	{ 0xf00a, 0xf00a, mg_bankswitch_w },
   147: MEMORY_END
   148: 
   149: /******************************************************************************/
   150: 
   151: static struct GfxLayout sprite_layout =
   152: {
   153: 	16,16,
   154: 	RGN_FRAC(1,4),
   155: 	4,
   156: 	{ RGN_FRAC(0,4), RGN_FRAC(1,4), RGN_FRAC(2,4), RGN_FRAC(3,4) },
   157: 	{ 0, 1, 2, 3, 4, 5, 6, 7,
   158: 			16*8+0, 16*8+1, 16*8+2, 16*8+3, 16*8+4, 16*8+5, 16*8+6, 16*8+7 },
   159: 	{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8,
   160: 			8*8, 9*8, 10*8, 11*8, 12*8, 13*8, 14*8, 15*8 },
   161: 	32*8
   162: };
   163: 
   164: static struct GfxLayout text_layout =
   165: {
   166: 	8,8,
   167: 	RGN_FRAC(1,1),
   168: 	2,
   169: 	{ 4, 0 },
   170: 	{ 0, 1, 2, 3, 8+0, 8+1, 8+2, 8+3 },
   171: 	{ 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16 },
   172: 	16*8
   173: };
   174: 
   175: static struct GfxLayout tile_layout =
   176: {
   177: 	16,16,
   178: 	RGN_FRAC(1,2),
   179: 	4,
   180: 	{ 4, 0, RGN_FRAC(1,2)+4, RGN_FRAC(1,2)+0, },
   181: 	{ 0, 1, 2, 3, 8+0, 8+1, 8+2, 8+3,
   182: 			16*16+0, 16*16+1, 16*16+2, 16*16+3, 16*16+8+0, 16*16+8+1, 16*16+8+2, 16*16+8+3 },
   183: 	{ 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16,
   184: 			8*16, 9*16, 10*16, 11*16, 12*16, 13*16, 14*16, 15*16 },
   185: 	32*16
   186: };
   187: 
   188: static struct GfxLayout madgear_tile =
   189: {
   190: 	16,16,
   191: 	RGN_FRAC(1,1),
   192: 	4,
   193: 	{ 3*4, 2*4, 1*4, 0*4 },
   194: 	{ 0, 1, 2, 3, 16+0, 16+1, 16+2, 16+3,
   195: 			32*16+0, 32*16+1, 32*16+2, 32*16+3, 32*16+16+0, 32*16+16+1, 32*16+16+2, 32*16+16+3 },
   196: 	{ 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32,
   197: 			8*32, 9*32, 10*32, 11*32, 12*32, 13*32, 14*32, 15*32 },
   198: 	64*16
   199: };
   200: 
   201: static struct GfxLayout madgear_tile2 =
   202: {
   203: 	16,16,
   204: 	RGN_FRAC(1,1),
   205: 	4,
   206: 	{ 1*4, 3*4, 0*4, 2*4 },
   207: 	{ 0, 1, 2, 3, 16+0, 16+1, 16+2, 16+3,
   208: 			32*16+0, 32*16+1, 32*16+2, 32*16+3, 32*16+16+0, 32*16+16+1, 32*16+16+2, 32*16+16+3 },
   209: 	{ 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32,
   210: 			8*32, 9*32, 10*32, 11*32, 12*32, 13*32, 14*32, 15*32 },
   211: 	64*16
   212: };
   213: 
   214: static struct GfxDecodeInfo lastduel_gfxdecodeinfo[] =
   215: {
   216: 	{ REGION_GFX1, 0,&sprite_layout, 0x200, 16 },	/* colors 0x200-0x2ff */
   217: 	{ REGION_GFX2, 0,&text_layout,   0x300, 16 },	/* colors 0x300-0x33f */
   218: 	{ REGION_GFX3, 0,&tile_layout,   0x000, 16 },	/* colors 0x000-0x0ff */
   219: 	{ REGION_GFX4, 0,&tile_layout,   0x100, 16 },	/* colors 0x100-0x1ff */
   220: 	{ -1 }
   221: };
   222: 
   223: static struct GfxDecodeInfo madgear_gfxdecodeinfo[] =
   224: {
   225: 	{ REGION_GFX1, 0,&sprite_layout, 0x200, 16 },	/* colors 0x200-0x2ff */
   226: 	{ REGION_GFX2, 0,&text_layout,   0x300, 16 },	/* colors 0x300-0x33f */
   227: 	{ REGION_GFX3, 0,&madgear_tile,  0x000, 16 },	/* colors 0x000-0x0ff */
   228: 	{ REGION_GFX4, 0,&madgear_tile2, 0x100, 16 },	/* colors 0x100-0x1ff */
   229: 	{ -1 }
   230: };
   231: 
   232: /******************************************************************************/
   233: 
   234: /* handler called by the 2203 emulator when the internal timers cause an IRQ */
   235: static void irqhandler(int irq)
   236: {
   237: 	cpu_set_irq_line(1,0,irq ? ASSERT_LINE : CLEAR_LINE);
   238: }
   239: 
   240: static struct OKIM6295interface okim6295_interface =
   241: {
   242: 	1,              	/* 1 chip */
   243: 	{ 7759 },           /* 7759Hz frequency */
   244: 	{ REGION_SOUND1 },	/* memory region 3 */
   245: 	{ 98 }
   246: };
   247: 
   248: static struct YM2203interface ym2203_interface =
   249: {
   250: 	2,			/* 2 chips */
   251: 	3579545, /* Accurate */
   252: 	{ YM2203_VOL(40,40), YM2203_VOL(40,40) },
   253: 	{ 0 },
   254: 	{ 0 },
   255: 	{ 0 },
   256: 	{ 0 },
   257: 	{ irqhandler }
   258: };
   259: 
   260: static INTERRUPT_GEN( lastduel_interrupt )
   261: {
   262: 	if (cpu_getiloops() == 0) cpu_set_irq_line(0, 2, HOLD_LINE); /* VBL */
   263: 	else cpu_set_irq_line(0, 4, HOLD_LINE); /* Controls */
   264: }
   265: 
   266: static INTERRUPT_GEN( madgear_interrupt )
   267: {
   268: 	if (cpu_getiloops() == 0) cpu_set_irq_line(0, 5, HOLD_LINE); /* VBL */
   269: 	else cpu_set_irq_line(0, 6, HOLD_LINE); /* Controls */
   270: }
   271: 
   272: static MACHINE_DRIVER_START( lastduel )
   273: 
   274: 	/* basic machine hardware */
   275: 	MDRV_CPU_ADD(M68000, 10000000) /* Could be 8 MHz */
   276: 	MDRV_CPU_MEMORY(lastduel_readmem,lastduel_writemem)
   277: 	MDRV_CPU_VBLANK_INT(lastduel_interrupt,3)	/* 1 for vbl, 2 for control reads?? */
   278: 
   279: 	MDRV_CPU_ADD(Z80, 3579545)
   280: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU) /* Accurate */
   281: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
   282: 
   283: 	MDRV_FRAMES_PER_SECOND(60)
   284: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
   285: 
   286: 	/* video hardware */
   287: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_NEEDS_6BITS_PER_GUN | VIDEO_UPDATE_BEFORE_VBLANK | VIDEO_BUFFERS_SPRITERAM)
   288: 	MDRV_SCREEN_SIZE(64*8, 32*8)
   289: 	MDRV_VISIBLE_AREA(8*8, (64-8)*8-1, 1*8, 31*8-1 )
   290: 	MDRV_GFXDECODE(lastduel_gfxdecodeinfo)
   291: 	MDRV_PALETTE_LENGTH(1024)
   292: 
   293: 	MDRV_VIDEO_START(lastduel)
   294: 	MDRV_VIDEO_EOF(lastduel)
   295: 	MDRV_VIDEO_UPDATE(lastduel)
   296: 
   297: 	/* sound hardware */
   298: 	MDRV_SOUND_ADD(YM2203, ym2203_interface)
   299: MACHINE_DRIVER_END
   300: 
   301: 
   302: static MACHINE_DRIVER_START( madgear )
   303: 
   304: 	/* basic machine hardware */
   305: 	MDRV_CPU_ADD(M68000, 10000000) /* Accurate */
   306: 	MDRV_CPU_MEMORY(madgear_readmem,madgear_writemem)
   307: 	MDRV_CPU_VBLANK_INT(madgear_interrupt,3)	/* 1 for vbl, 2 for control reads?? */
   308: 
   309: 	MDRV_CPU_ADD(Z80, 3579545)
   310: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU) /* Accurate */
   311: 	MDRV_CPU_MEMORY(mg_sound_readmem,mg_sound_writemem)
   312: 
   313: 	MDRV_FRAMES_PER_SECOND(60)
   314: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
   315: 
   316: 	/* video hardware */
   317: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_NEEDS_6BITS_PER_GUN | VIDEO_UPDATE_BEFORE_VBLANK | VIDEO_BUFFERS_SPRITERAM)
   318: 	MDRV_SCREEN_SIZE(64*8, 32*8)
   319: 	MDRV_VISIBLE_AREA(8*8, (64-8)*8-1, 1*8, 31*8-1 )
   320: 	MDRV_GFXDECODE(madgear_gfxdecodeinfo)
   321: 	MDRV_PALETTE_LENGTH(1024)
   322: 
   323: 	MDRV_VIDEO_START(madgear)
   324: 	MDRV_VIDEO_EOF(lastduel)
   325: 	MDRV_VIDEO_UPDATE(lastduel)
   326: 
   327: 	/* sound hardware */
   328: 	MDRV_SOUND_ADD(YM2203, ym2203_interface)
   329: 	MDRV_SOUND_ADD(OKIM6295, okim6295_interface)
   330: MACHINE_DRIVER_END
   331: 
   332: /******************************************************************************/
   333: 
   334: INPUT_PORTS_START( lastduel )
   335: 	PORT_START
   336: 	PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
   337: 	PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
   338: 	PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY )
   339: 	PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
   340: 	PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 )
   341: 	PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 )
   342: 	PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED )
   343: 	PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED )
   344: 	PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_COCKTAIL )
   345: 	PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_COCKTAIL )
   346: 	PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_COCKTAIL )
   347: 	PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_COCKTAIL )
   348: 	PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
   349: 	PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
   350: 	PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED )
   351: 	PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNUSED )
   352: 
   353: 	PORT_START
   354: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 )
   355: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_START2 )
   356: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
   357: 	PORT_SERVICE( 0x08, IP_ACTIVE_LOW )
   358: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
   359: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 )
   360: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN1 )
   361: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN2 )
   362: 
   363: 	PORT_START
   364: 	PORT_DIPNAME( 0x0007, 0x0007, DEF_STR( Coin_B ) )
   365: 	PORT_DIPSETTING(      0x0000, DEF_STR( 4C_1C ) )
   366: 	PORT_DIPSETTING(      0x0001, DEF_STR( 3C_1C ) )
   367: 	PORT_DIPSETTING(      0x0002, DEF_STR( 2C_1C ) )
   368: 	PORT_DIPSETTING(      0x0007, DEF_STR( 1C_1C ) )
   369: 	PORT_DIPSETTING(      0x0006, DEF_STR( 1C_2C ) )
   370: 	PORT_DIPSETTING(      0x0005, DEF_STR( 1C_3C ) )
   371: 	PORT_DIPSETTING(      0x0004, DEF_STR( 1C_4C ) )
   372: 	PORT_DIPSETTING(      0x0003, DEF_STR( 1C_6C ) )
   373: 	PORT_DIPNAME( 0x0038, 0x0038, DEF_STR( Coin_A ) )
   374: 	PORT_DIPSETTING(      0x0000, DEF_STR( 4C_1C ) )
   375: 	PORT_DIPSETTING(      0x0008, DEF_STR( 3C_1C ) )
   376: 	PORT_DIPSETTING(      0x0010, DEF_STR( 2C_1C ) )
   377: 	PORT_DIPSETTING(      0x0038, DEF_STR( 1C_1C ) )
   378: 	PORT_DIPSETTING(      0x0030, DEF_STR( 1C_2C ) )
   379: 	PORT_DIPSETTING(      0x0028, DEF_STR( 1C_3C ) )
   380: 	PORT_DIPSETTING(      0x0020, DEF_STR( 1C_4C ) )
   381: 	PORT_DIPSETTING(      0x0018, DEF_STR( 1C_6C ) )
   382: 	PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Unknown ) )
   383: 	PORT_DIPSETTING(      0x0040, DEF_STR( Off ) )
   384: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   385: 	PORT_DIPNAME( 0x0080, 0x0080, DEF_STR( Unknown ) )
   386: 	PORT_DIPSETTING(      0x0080, DEF_STR( Off ) )
   387: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   388: 	PORT_DIPNAME( 0x0300, 0x0300, DEF_STR( Difficulty ) )
   389: 	PORT_DIPSETTING(      0x0200, "Easy" )
   390: 	PORT_DIPSETTING(      0x0300, "Normal" )
   391: 	PORT_DIPSETTING(      0x0100, "Difficult" )
   392: 	PORT_DIPSETTING(      0x0000, "Very Difficult" )
   393: 	PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )	/* Could be cabinet type? */
   394: 	PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
   395: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   396: 	PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) )
   397: 	PORT_DIPSETTING(      0x0800, DEF_STR( Off ) )
   398: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   399: 	PORT_DIPNAME( 0x3000, 0x3000, DEF_STR( Bonus_Life ) )
   400: 	PORT_DIPSETTING(      0x2000, "20000 60000 80000" )
   401: 	PORT_DIPSETTING(      0x3000, "30000 80000 80000" )
   402: 	PORT_DIPSETTING(      0x1000, "40000 80000 80000" )
   403: 	PORT_DIPSETTING(      0x0000, "40000 80000 100000" )
   404: 	PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) )
   405: 	PORT_DIPSETTING(      0x4000, DEF_STR( Off ) )
   406: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   407: 	PORT_DIPNAME( 0x8000, 0x8000, DEF_STR( Unknown ) )
   408: 	PORT_DIPSETTING(      0x8000, DEF_STR( Off ) )
   409: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   410: 
   411: 	PORT_START
   412: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
   413: 	PORT_DIPSETTING(    0x03, "3" )
   414: 	PORT_DIPSETTING(    0x02, "4" )
   415: 	PORT_DIPSETTING(    0x01, "6" )
   416: 	PORT_DIPSETTING(    0x00, "8" )
   417: 	PORT_DIPNAME( 0x04, 0x04, "Type" )
   418: 	PORT_DIPSETTING(    0x04, "Car" )
   419: 	PORT_DIPSETTING(    0x00, "Plane" )
   420: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   421: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   422: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   423: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   424: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   425: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   426: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Demo_Sounds ) )
   427: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
   428: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
   429: 	PORT_DIPNAME( 0x40, 0x40, "Allow Continue" )
   430: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
   431: 	PORT_DIPSETTING(    0x40, DEF_STR( Yes ) )
   432: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )
   433: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   434: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   435: INPUT_PORTS_END
   436: 
   437: INPUT_PORTS_START( madgear )
   438: 	PORT_START
   439: 	PORT_DIPNAME( 0x0001, 0x0001, "Allow Continue" )
   440: 	PORT_DIPSETTING(      0x0000, DEF_STR( No ) )
   441: 	PORT_DIPSETTING(      0x0001, DEF_STR( Yes ) )
   442: 	PORT_DIPNAME( 0x0002, 0x0002, DEF_STR( Flip_Screen ) )
   443: 	PORT_DIPSETTING(      0x0002, DEF_STR( Off ) )
   444: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   445: 	PORT_DIPNAME( 0x000c, 0x000c, DEF_STR( Difficulty ) )
   446: 	PORT_DIPSETTING(      0x0008, "Easy" )
   447: 	PORT_DIPSETTING(      0x000c, "Normal" )
   448: 	PORT_DIPSETTING(      0x0004, "Difficult" )
   449: 	PORT_DIPSETTING(      0x0000, "Very Difficult" )
   450: 	PORT_DIPNAME( 0x0030, 0x0030, DEF_STR( Cabinet ) )
   451: 	PORT_DIPSETTING(      0x0030, "Upright One Player" )
   452: 	PORT_DIPSETTING(      0x0000, "Upright Two Players" )
   453: 	PORT_DIPSETTING(      0x0010, DEF_STR( Cocktail ) )
   454: /* 	PORT_DIPSETTING(      0x0020, "Upright One Player" ) */
   455: 	PORT_DIPNAME( 0x0040, 0x0040, DEF_STR( Demo_Sounds ) )
   456: 	PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
   457: 	PORT_DIPSETTING(      0x0040, DEF_STR( On ) )
   458: 	PORT_DIPNAME( 0x0080, 0x0080, "Background Music" )
   459: 	PORT_DIPSETTING(      0x0000, DEF_STR( Off ) )
   460: 	PORT_DIPSETTING(      0x0080, DEF_STR( On ) )
   461: 	PORT_DIPNAME( 0x0100, 0x0100, DEF_STR( Unknown ) )
   462: 	PORT_DIPSETTING(      0x0100, DEF_STR( Off ) )
   463: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   464: 	PORT_DIPNAME( 0x0200, 0x0200, DEF_STR( Unknown ) )
   465: 	PORT_DIPSETTING(      0x0200, DEF_STR( Off ) )
   466: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   467: 	PORT_DIPNAME( 0x0400, 0x0400, DEF_STR( Unknown ) )
   468: 	PORT_DIPSETTING(      0x0400, DEF_STR( Off ) )
   469: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   470: 	PORT_DIPNAME( 0x0800, 0x0800, DEF_STR( Unknown ) )
   471: 	PORT_DIPSETTING(      0x0800, DEF_STR( Off ) )
   472: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   473: 	PORT_DIPNAME( 0x1000, 0x1000, DEF_STR( Unknown ) )
   474: 	PORT_DIPSETTING(      0x1000, DEF_STR( Off ) )
   475: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   476: 	PORT_DIPNAME( 0x2000, 0x2000, DEF_STR( Unknown ) )
   477: 	PORT_DIPSETTING(      0x2000, DEF_STR( Off ) )
   478: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   479: 	PORT_DIPNAME( 0x4000, 0x4000, DEF_STR( Unknown ) )
   480: 	PORT_DIPSETTING(      0x4000, DEF_STR( Off ) )
   481: 	PORT_DIPSETTING(      0x0000, DEF_STR( On ) )
   482: 	PORT_SERVICE( 0x8000, IP_ACTIVE_LOW )
   483: 
   484: 	PORT_START /* Dip switch C, free play is COIN B all off, COIN A all on */
   485: 	PORT_DIPNAME( 0x0f00, 0x0f00, DEF_STR( Coin_B ) )
   486: 	PORT_DIPSETTING(      0x0200, DEF_STR( 6C_1C ) )
   487: 	PORT_DIPSETTING(      0x0400, DEF_STR( 5C_1C ) )
   488: 	PORT_DIPSETTING(      0x0500, DEF_STR( 4C_1C ) )
   489: 	PORT_DIPSETTING(      0x0700, DEF_STR( 3C_1C ) )
   490: 	PORT_DIPSETTING(      0x0100, DEF_STR( 8C_3C ) )
   491: 	PORT_DIPSETTING(      0x0900, DEF_STR( 2C_1C ) )
   492: 	PORT_DIPSETTING(      0x0300, DEF_STR( 5C_3C ) )
   493: 	PORT_DIPSETTING(      0x0600, DEF_STR( 3C_2C ) )
   494: 	PORT_DIPSETTING(      0x0f00, DEF_STR( 1C_1C ) )
   495: //	PORT_DIPSETTING(      0x0000, DEF_STR( 1C_1C ) )
   496: 	PORT_DIPSETTING(      0x0800, DEF_STR( 2C_3C ) )
   497: 	PORT_DIPSETTING(      0x0e00, DEF_STR( 1C_2C ) )
   498: 	PORT_DIPSETTING(      0x0d00, DEF_STR( 1C_3C ) )
   499: 	PORT_DIPSETTING(      0x0c00, DEF_STR( 1C_4C ) )
   500: 	PORT_DIPSETTING(      0x0b00, DEF_STR( 1C_5C ) )
   501: 	PORT_DIPSETTING(      0x0a00, DEF_STR( 1C_6C ) )
   502: 	PORT_DIPNAME( 0xf000, 0xf000, DEF_STR( Coin_A ) )
   503: 	PORT_DIPSETTING(      0x2000, DEF_STR( 6C_1C ) )
   504: 	PORT_DIPSETTING(      0x4000, DEF_STR( 5C_1C ) )
   505: 	PORT_DIPSETTING(      0x5000, DEF_STR( 4C_1C ) )
   506: 	PORT_DIPSETTING(      0x7000, DEF_STR( 3C_1C ) )
   507: 	PORT_DIPSETTING(      0x1000, DEF_STR( 8C_3C ) )
   508: 	PORT_DIPSETTING(      0x9000, DEF_STR( 2C_1C ) )
   509: 	PORT_DIPSETTING(      0x3000, DEF_STR( 5C_3C ) )
   510: 	PORT_DIPSETTING(      0x6000, DEF_STR( 3C_2C ) )
   511: 	PORT_DIPSETTING(      0xf000, DEF_STR( 1C_1C ) )
   512: 	PORT_DIPSETTING(      0x8000, DEF_STR( 2C_3C ) )
   513: 	PORT_DIPSETTING(      0xe000, DEF_STR( 1C_2C ) )
   514: 	PORT_DIPSETTING(      0xd000, DEF_STR( 1C_3C ) )
   515: 	PORT_DIPSETTING(      0xc000, DEF_STR( 1C_4C ) )
   516: 	PORT_DIPSETTING(      0xb000, DEF_STR( 1C_5C ) )
   517: 	PORT_DIPSETTING(      0xa000, DEF_STR( 1C_6C ) )
   518: 	PORT_DIPSETTING(      0x0000, DEF_STR( Free_Play ) )
   519: 
   520: 	PORT_START
   521: 	PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_UNUSED )
   522: 	PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNUSED )
   523: 	PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_UNUSED )
   524: 	PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
   525: 	PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_COCKTAIL )
   526: 	PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_COCKTAIL )
   527: 	PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_COCKTAIL )
   528: 	PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_COCKTAIL )
   529: 	PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNUSED )
   530: 	PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_UNUSED )
   531: 	PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_UNUSED )
   532: 	PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_BUTTON1 )
   533: 	PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
   534: 	PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
   535: 	PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY )
   536: 	PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
   537: 
   538: 	PORT_START
   539: 	PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_UNKNOWN )
   540: 	PORT_BIT( 0x0200, IP_ACTIVE_LOW, IPT_START2 )
   541: 	PORT_BIT( 0x0400, IP_ACTIVE_LOW, IPT_START1 )
   542: 	PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_COIN2 )
   543: 	PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_COIN1 )
   544: 	PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN )
   545: 	PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN )
   546: 	PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_SERVICE1 )
   547: INPUT_PORTS_END
   548: 
   549: /******************************************************************************/
   550: 
   551: ROM_START( lastduel )
   552: 	ROM_REGION( 0x60000, REGION_CPU1, 0 )	/* 68000 code */
   553: 	ROM_LOAD16_BYTE( "ldu-06.rom",   0x00000, 0x20000, CRC(4228a00b) SHA1(8c23f74f682ba2074da9f3306600c881ce41e50f) )
   554: 	ROM_LOAD16_BYTE( "ldu-05.rom",   0x00001, 0x20000, CRC(7260434f) SHA1(55eeb12977efb3c6afd86d68612782ba526c9055) )
   555: 	ROM_LOAD16_BYTE( "ldu-04.rom",   0x40000, 0x10000, CRC(429fb964) SHA1(78769b05e62c190d846dd08214427d1abbbe2bba) )
   556: 	ROM_LOAD16_BYTE( "ldu-03.rom",   0x40001, 0x10000, CRC(5aa4df72) SHA1(9e7315b793f09c8b422bad1ce776588e3a48d80c) )
   557: 
   558: 	ROM_REGION( 0x10000 , REGION_CPU2, 0 ) /* audio CPU */
   559: 	ROM_LOAD( "ld_02.bin",    0x0000, 0x10000, CRC(91834d0c) SHA1(aaa63b8470fc19b82c25028ab27675a7837ab9a1) )
   560: 
   561: 	ROM_REGION( 0x80000, REGION_GFX1, ROMREGION_DISPOSE )
   562: 	ROM_LOAD( "ld_09.bin",    0x000000, 0x10000, CRC(f8fd5243) SHA1(fad80d8959f50a83eb2e47788a8183284d19bea6) ) /* sprites */
   563: 	ROM_LOAD( "ld_10.bin",    0x010000, 0x10000, CRC(b49ad746) SHA1(4e609982d60155b0df13a156c37bdf2a25626632) )
   564: 	ROM_LOAD( "ld_11.bin",    0x020000, 0x10000, CRC(1a0d180e) SHA1(a68a7f5d00da99a8068876fd2d61c726047aca80) )
   565: 	ROM_LOAD( "ld_12.bin",    0x030000, 0x10000, CRC(b2745e26) SHA1(b511631fe4e21f3d2dc7440b3f69cd5edb43d20e) )
   566: 	ROM_LOAD( "ld_15.bin",    0x040000, 0x10000, CRC(96b13bbc) SHA1(f2df8d4f11e9192063063ff2e9e4fe76971c5b24) )
   567: 	ROM_LOAD( "ld_16.bin",    0x050000, 0x10000, CRC(9d80f7e6) SHA1(ce7c10eba6a9f6a1fad655c7de6b487aef6d7d64) )
   568: 	ROM_LOAD( "ld_13.bin",    0x060000, 0x10000, CRC(a1a598ac) SHA1(a0d24d9125cd502b57adf9167cb61e8864d521ce) )
   569: 	ROM_LOAD( "ld_14.bin",    0x070000, 0x10000, CRC(edf515cc) SHA1(8dc68d1d4e480afe9614ea85e2eced3fd3917484) )
   570: 
   571: 	ROM_REGION( 0x08000, REGION_GFX2, ROMREGION_DISPOSE )
   572: 	ROM_LOAD( "ld_01.bin",    0x000000, 0x08000, CRC(ad3c6f87) SHA1(1a5ef003c0eb641484921dc0c11450c53ee315f5) ) /* 8x8 text */
   573: 
   574: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE )
   575: 	ROM_LOAD( "ld_17.bin",    0x000000, 0x10000, CRC(7188bfdd) SHA1(26c47af6abb4e6f5e11e2dd6b56113a54c0e6269) ) /* tiles */
   576: 	ROM_LOAD( "ld_18.bin",    0x010000, 0x10000, CRC(a62af66a) SHA1(240dafcb03011cf51bfe9d01bec4aceac64d5760) )
   577: 	ROM_LOAD( "ld_19.bin",    0x020000, 0x10000, CRC(4b762e50) SHA1(95b3413f67d2e9ebea2a8331945a572a3d824cc1) )
   578: 	ROM_LOAD( "ld_20.bin",    0x030000, 0x10000, CRC(b140188e) SHA1(491af082789a11c809c2798da6ae5e52a2b1d986) )
   579: 
   580: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE )
   581: 	ROM_LOAD( "ld_28.bin",    0x000000, 0x10000, CRC(06778248) SHA1(09663db5f07961a432feb4f82847a2f9741b34ad) ) /* tiles */
   582: 	ROM_LOAD( "ld_26.bin",    0x010000, 0x10000, CRC(b0edac81) SHA1(2ba1f864b7f8047b20206063d4e9956ef1d1ad34) )
   583: 	ROM_LOAD( "ld_24.bin",    0x020000, 0x10000, CRC(66eac4df) SHA1(b2604f6fd443071deb2729f4381e6fe3a2069a33) )
   584: 	ROM_LOAD( "ld_22.bin",    0x030000, 0x10000, CRC(f80f8812) SHA1(2483b272b51ab15c47eb0b48df68b7c3b05d4d35) )
   585: 	ROM_LOAD( "ld_27.bin",    0x040000, 0x10000, CRC(48c78675) SHA1(27b03cd1a5335b60953e5dc4888264598e63c147) )
   586: 	ROM_LOAD( "ld_25.bin",    0x050000, 0x10000, CRC(c541ae9a) SHA1(b1d6acab76cba77ea6b9fe6fc770b6a6d6960a77) )
   587: 	ROM_LOAD( "ld_23.bin",    0x060000, 0x10000, CRC(d817332c) SHA1(c1c3d70a42eb01237bcbe8e274f7022e74c8c715) )
   588: 	ROM_LOAD( "ld_21.bin",    0x070000, 0x10000, CRC(b74f0c0e) SHA1(866e3c65fd5dd7099423baefd09eb2b7da7e8392) )
   589: 
   590: 	ROM_REGION( 0x0100, REGION_PROMS, 0 )
   591: 	ROM_LOAD( "63s141.3d",    0x0000, 0x0100, CRC(729a1ddc) SHA1(eb1d48785a0f187a4cb9c164e6c82481268b3174) )	/* priority (not used) */
   592: ROM_END
   593: 
   594: ROM_START( lstduela )
   595: 	ROM_REGION( 0x60000, REGION_CPU1, 0 )	/* 68000 code */
   596: 	ROM_LOAD16_BYTE( "06",   0x00000, 0x20000, CRC(0e71acaf) SHA1(e804c77bfd768ae2fc1917bcec1fd0ec7418b780) )
   597: 	ROM_LOAD16_BYTE( "05",   0x00001, 0x20000, CRC(47a85bea) SHA1(9d6b2a4e27c84ffce8ed58aa1b314c67c7314932) )
   598: 	ROM_LOAD16_BYTE( "04",   0x40000, 0x10000, CRC(aa4bf001) SHA1(3f14b174016c6fa4c82011d3d0f1c957096d6d93) )
   599: 	ROM_LOAD16_BYTE( "03",   0x40001, 0x10000, CRC(bbaac8ab) SHA1(3c5773e39e7a96ef62da7b846ce4099222b3e66b) )
   600: 
   601: 	ROM_REGION( 0x10000 , REGION_CPU2, 0 ) /* audio CPU */
   602: 	ROM_LOAD( "ld_02.bin",    0x0000, 0x10000, CRC(91834d0c) SHA1(aaa63b8470fc19b82c25028ab27675a7837ab9a1) )
   603: 
   604: 	ROM_REGION( 0x80000, REGION_GFX1, ROMREGION_DISPOSE )
   605: 	ROM_LOAD( "ld_09.bin",    0x000000, 0x10000, CRC(f8fd5243) SHA1(fad80d8959f50a83eb2e47788a8183284d19bea6) ) /* sprites */
   606: 	ROM_LOAD( "ld_10.bin",    0x010000, 0x10000, CRC(b49ad746) SHA1(4e609982d60155b0df13a156c37bdf2a25626632) )
   607: 	ROM_LOAD( "ld_11.bin",    0x020000, 0x10000, CRC(1a0d180e) SHA1(a68a7f5d00da99a8068876fd2d61c726047aca80) )
   608: 	ROM_LOAD( "ld_12.bin",    0x030000, 0x10000, CRC(b2745e26) SHA1(b511631fe4e21f3d2dc7440b3f69cd5edb43d20e) )
   609: 	ROM_LOAD( "ld_15.bin",    0x040000, 0x10000, CRC(96b13bbc) SHA1(f2df8d4f11e9192063063ff2e9e4fe76971c5b24) )
   610: 	ROM_LOAD( "ld_16.bin",    0x050000, 0x10000, CRC(9d80f7e6) SHA1(ce7c10eba6a9f6a1fad655c7de6b487aef6d7d64) )
   611: 	ROM_LOAD( "ld_13.bin",    0x060000, 0x10000, CRC(a1a598ac) SHA1(a0d24d9125cd502b57adf9167cb61e8864d521ce) )
   612: 	ROM_LOAD( "ld_14.bin",    0x070000, 0x10000, CRC(edf515cc) SHA1(8dc68d1d4e480afe9614ea85e2eced3fd3917484) )
   613: 
   614: 	ROM_REGION( 0x08000, REGION_GFX2, ROMREGION_DISPOSE )
   615: 	ROM_LOAD( "ld_01.bin",    0x000000, 0x08000, CRC(ad3c6f87) SHA1(1a5ef003c0eb641484921dc0c11450c53ee315f5) ) /* 8x8 text */
   616: 
   617: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE )
   618: 	ROM_LOAD( "ld_17.bin",    0x000000, 0x10000, CRC(7188bfdd) SHA1(26c47af6abb4e6f5e11e2dd6b56113a54c0e6269) ) /* tiles */
   619: 	ROM_LOAD( "ld_18.bin",    0x010000, 0x10000, CRC(a62af66a) SHA1(240dafcb03011cf51bfe9d01bec4aceac64d5760) )
   620: 	ROM_LOAD( "ld_19.bin",    0x020000, 0x10000, CRC(4b762e50) SHA1(95b3413f67d2e9ebea2a8331945a572a3d824cc1) )
   621: 	ROM_LOAD( "ld_20.bin",    0x030000, 0x10000, CRC(b140188e) SHA1(491af082789a11c809c2798da6ae5e52a2b1d986) )
   622: 
   623: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE )
   624: 	ROM_LOAD( "ld_28.bin",    0x000000, 0x10000, CRC(06778248) SHA1(09663db5f07961a432feb4f82847a2f9741b34ad) ) /* tiles */
   625: 	ROM_LOAD( "ld_26.bin",    0x010000, 0x10000, CRC(b0edac81) SHA1(2ba1f864b7f8047b20206063d4e9956ef1d1ad34) )
   626: 	ROM_LOAD( "ld_24.bin",    0x020000, 0x10000, CRC(66eac4df) SHA1(b2604f6fd443071deb2729f4381e6fe3a2069a33) )
   627: 	ROM_LOAD( "ld_22.bin",    0x030000, 0x10000, CRC(f80f8812) SHA1(2483b272b51ab15c47eb0b48df68b7c3b05d4d35) )
   628: 	ROM_LOAD( "ld_27.bin",    0x040000, 0x10000, CRC(48c78675) SHA1(27b03cd1a5335b60953e5dc4888264598e63c147) )
   629: 	ROM_LOAD( "ld_25.bin",    0x050000, 0x10000, CRC(c541ae9a) SHA1(b1d6acab76cba77ea6b9fe6fc770b6a6d6960a77) )
   630: 	ROM_LOAD( "ld_23.bin",    0x060000, 0x10000, CRC(d817332c) SHA1(c1c3d70a42eb01237bcbe8e274f7022e74c8c715) )
   631: 	ROM_LOAD( "ld_21.bin",    0x070000, 0x10000, CRC(b74f0c0e) SHA1(866e3c65fd5dd7099423baefd09eb2b7da7e8392) )
   632: 
   633: 	ROM_REGION( 0x0100, REGION_PROMS, 0 )
   634: 	ROM_LOAD( "63s141.3d",    0x0000, 0x0100, CRC(729a1ddc) SHA1(eb1d48785a0f187a4cb9c164e6c82481268b3174) )	/* priority (not used) */
   635: ROM_END
   636: 
   637: ROM_START( lstduelb )
   638: 	ROM_REGION( 0x60000, REGION_CPU1, 0 )	/* 68000 code */
   639: 	ROM_LOAD16_BYTE( "ld_08.bin",    0x00000, 0x10000, CRC(43811a96) SHA1(79db50c941d8845f1642f2257c610768172923a3) )
   640: 	ROM_LOAD16_BYTE( "ld_07.bin",    0x00001, 0x10000, CRC(63c30946) SHA1(cab7374839a68483b3f94821144546cc3eb1528e) )
   641: 	ROM_LOAD16_BYTE( "ld_04.bin",    0x20000, 0x10000, CRC(46a4e0f8) SHA1(7d5fac209357090c5faeee3834c19f1d8125aac5) )
   642: 	ROM_LOAD16_BYTE( "ld_03.bin",    0x20001, 0x10000, CRC(8d5f204a) SHA1(0415b8a836a62aee1f430bc124996cb8c12ed5cf) )
   643: 	ROM_LOAD16_BYTE( "ldu-04.rom",   0x40000, 0x10000, CRC(429fb964) SHA1(78769b05e62c190d846dd08214427d1abbbe2bba) )
   644: 	ROM_LOAD16_BYTE( "ldu-03.rom",   0x40001, 0x10000, CRC(5aa4df72) SHA1(9e7315b793f09c8b422bad1ce776588e3a48d80c) )
   645: 
   646: 	ROM_REGION( 0x10000 , REGION_CPU2, 0 ) /* audio CPU */
   647: 	ROM_LOAD( "ld_02.bin",    0x0000, 0x10000, CRC(91834d0c) SHA1(aaa63b8470fc19b82c25028ab27675a7837ab9a1) )
   648: 
   649: 	ROM_REGION( 0x80000, REGION_GFX1, ROMREGION_DISPOSE )
   650: 	ROM_LOAD( "ld_09.bin",    0x000000, 0x10000, CRC(f8fd5243) SHA1(fad80d8959f50a83eb2e47788a8183284d19bea6) ) /* sprites */
   651: 	ROM_LOAD( "ld_10.bin",    0x010000, 0x10000, CRC(b49ad746) SHA1(4e609982d60155b0df13a156c37bdf2a25626632) )
   652: 	ROM_LOAD( "ld_11.bin",    0x020000, 0x10000, CRC(1a0d180e) SHA1(a68a7f5d00da99a8068876fd2d61c726047aca80) )
   653: 	ROM_LOAD( "ld_12.bin",    0x030000, 0x10000, CRC(b2745e26) SHA1(b511631fe4e21f3d2dc7440b3f69cd5edb43d20e) )
   654: 	ROM_LOAD( "ld_15.bin",    0x040000, 0x10000, CRC(96b13bbc) SHA1(f2df8d4f11e9192063063ff2e9e4fe76971c5b24) )
   655: 	ROM_LOAD( "ld_16.bin",    0x050000, 0x10000, CRC(9d80f7e6) SHA1(ce7c10eba6a9f6a1fad655c7de6b487aef6d7d64) )
   656: 	ROM_LOAD( "ld_13.bin",    0x060000, 0x10000, CRC(a1a598ac) SHA1(a0d24d9125cd502b57adf9167cb61e8864d521ce) )
   657: 	ROM_LOAD( "ld_14.bin",    0x070000, 0x10000, CRC(edf515cc) SHA1(8dc68d1d4e480afe9614ea85e2eced3fd3917484) )
   658: 
   659: 	ROM_REGION( 0x08000, REGION_GFX2, ROMREGION_DISPOSE )
   660: 	ROM_LOAD( "ld_01.bin",    0x000000, 0x08000, CRC(ad3c6f87) SHA1(1a5ef003c0eb641484921dc0c11450c53ee315f5) ) /* 8x8 text */
   661: 
   662: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE )
   663: 	ROM_LOAD( "ld_17.bin",    0x000000, 0x10000, CRC(7188bfdd) SHA1(26c47af6abb4e6f5e11e2dd6b56113a54c0e6269) ) /* tiles */
   664: 	ROM_LOAD( "ld_18.bin",    0x010000, 0x10000, CRC(a62af66a) SHA1(240dafcb03011cf51bfe9d01bec4aceac64d5760) )
   665: 	ROM_LOAD( "ld_19.bin",    0x020000, 0x10000, CRC(4b762e50) SHA1(95b3413f67d2e9ebea2a8331945a572a3d824cc1) )
   666: 	ROM_LOAD( "ld_20.bin",    0x030000, 0x10000, CRC(b140188e) SHA1(491af082789a11c809c2798da6ae5e52a2b1d986) )
   667: 
   668: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE )
   669: 	ROM_LOAD( "ld_28.bin",    0x000000, 0x10000, CRC(06778248) SHA1(09663db5f07961a432feb4f82847a2f9741b34ad) ) /* tiles */
   670: 	ROM_LOAD( "ld_26.bin",    0x010000, 0x10000, CRC(b0edac81) SHA1(2ba1f864b7f8047b20206063d4e9956ef1d1ad34) )
   671: 	ROM_LOAD( "ld_24.bin",    0x020000, 0x10000, CRC(66eac4df) SHA1(b2604f6fd443071deb2729f4381e6fe3a2069a33) )
   672: 	ROM_LOAD( "ld_22.bin",    0x030000, 0x10000, CRC(f80f8812) SHA1(2483b272b51ab15c47eb0b48df68b7c3b05d4d35) )
   673: 	ROM_LOAD( "ld_27.bin",    0x040000, 0x10000, CRC(48c78675) SHA1(27b03cd1a5335b60953e5dc4888264598e63c147) )
   674: 	ROM_LOAD( "ld_25.bin",    0x050000, 0x10000, CRC(c541ae9a) SHA1(b1d6acab76cba77ea6b9fe6fc770b6a6d6960a77) )
   675: 	ROM_LOAD( "ld_23.bin",    0x060000, 0x10000, CRC(d817332c) SHA1(c1c3d70a42eb01237bcbe8e274f7022e74c8c715) )
   676: 	ROM_LOAD( "ld_21.bin",    0x070000, 0x10000, CRC(b74f0c0e) SHA1(866e3c65fd5dd7099423baefd09eb2b7da7e8392) )
   677: 
   678: 	ROM_REGION( 0x0100, REGION_PROMS, 0 )
   679: 	ROM_LOAD( "63s141.3d",    0x0000, 0x0100, CRC(729a1ddc) SHA1(eb1d48785a0f187a4cb9c164e6c82481268b3174) )	/* priority (not used) */
   680: ROM_END
   681: 
   682: ROM_START( madgear )
   683: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )	/* 256K for 68000 code */
   684: 	ROM_LOAD16_BYTE( "mg_04.rom",    0x00000, 0x20000, CRC(b112257d) SHA1(4acfd8ba0fe8d68ca7c9b0fde2b13ce0c9104258) )
   685: 	ROM_LOAD16_BYTE( "mg_03.rom",    0x00001, 0x20000, CRC(b2672465) SHA1(96d10046e67181160daebb2b07c867c08f8600dc) )
   686: 	ROM_LOAD16_BYTE( "mg_02.rom",    0x40000, 0x20000, CRC(9f5ebe16) SHA1(2183cb807157d48204d8d4d4b7555c9a7772ddfd) )
   687: 	ROM_LOAD16_BYTE( "mg_01.rom",    0x40001, 0x20000, CRC(1cea2af0) SHA1(9f4642ed2d21fa525e9fecaac6235a3653df3030) )
   688: 
   689: 	ROM_REGION( 0x18000 , REGION_CPU2, 0 ) /* audio CPU */
   690: 	ROM_LOAD( "mg_05.rom",    0x00000,  0x08000, CRC(2fbfc945) SHA1(8066516dcf9261abee1edd103bdbe0cc18913ed3) )
   691: 	ROM_CONTINUE(             0x10000,  0x08000 )
   692: 
   693: 	ROM_REGION( 0x80000, REGION_GFX1, ROMREGION_DISPOSE )
   694: 	ROM_LOAD( "mg_m11.rom",   0x000000, 0x10000, CRC(ee319a64) SHA1(ce8d65fdac3ec1009b22764807c03dd96b340660) )	/* Interleaved sprites */
   695: 	ROM_LOAD( "mg_m07.rom",   0x010000, 0x10000, CRC(e5c0b211) SHA1(dc4a92061c686a9d211a7b95aab2e41219508d67) )
   696: 	ROM_LOAD( "mg_m12.rom",   0x020000, 0x10000, CRC(887ef120) SHA1(9d57b497334d64df9a4ab7f15824dcc6a333f73d) )
   697: 	ROM_LOAD( "mg_m08.rom",   0x030000, 0x10000, CRC(59709aa3) SHA1(384641da58c8b5198ad4fa51cd5fd9a628bcb888) )
   698: 	ROM_LOAD( "mg_m13.rom",   0x040000, 0x10000, CRC(eae07db4) SHA1(59c4ff48d906b2bb101fbebe06383940fdff064f) )
   699: 	ROM_LOAD( "mg_m09.rom",   0x050000, 0x10000, CRC(40ee83eb) SHA1(35e11fcb3b75ada99df23715ecb955bd40e10da8) )
   700: 	ROM_LOAD( "mg_m14.rom",   0x060000, 0x10000, CRC(21e5424c) SHA1(2f7c5d974c847bb14eaf278545bca653919110ba) )
   701: 	ROM_LOAD( "mg_m10.rom",   0x070000, 0x10000, CRC(b64afb54) SHA1(5fdd4f67e6b7440448adf395b61c79b79b4f86e7) )
   702: 
   703: 	ROM_REGION( 0x08000, REGION_GFX2, ROMREGION_DISPOSE )
   704: 	ROM_LOAD( "mg_06.rom",    0x000000, 0x08000, CRC(382ee59b) SHA1(a1da439f0585f5cafe2fb7024f1ae0527e34cd92) )	/* 8x8 text */
   705: 
   706: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE )
   707: 	ROM_LOAD( "ls-12",        0x000000, 0x40000, CRC(6c1b2c6c) SHA1(18f22129f13c6bfa7e285f0e09a35644272f6ecb) )
   708: 
   709: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE )
   710: 	ROM_LOAD( "ls-11",        0x000000, 0x80000, CRC(6bf81c64) SHA1(2289978c6bdb6e4f86e7094e861df147e757e249) )
   711: 
   712: 	ROM_REGION( 0x40000, REGION_SOUND1, 0 ) /* ADPCM */
   713: 	ROM_LOAD( "ls-06",        0x00000, 0x20000, CRC(88d39a5b) SHA1(8fb2d1d26e2ffb93dfc9cf8f23bb81eb64496c2b) )
   714: 	ROM_LOAD( "ls-05",        0x20000, 0x20000, CRC(b06e03b5) SHA1(7d17e5cfb57866c60146bea1a4535e961c73327c) )
   715: 
   716: 	ROM_REGION( 0x0100, REGION_PROMS, 0 )
   717: 	ROM_LOAD( "prom",         0x0000, 0x0100, NO_DUMP )	/* priority (not used) */
   718: ROM_END
   719: 
   720: ROM_START( madgearj )
   721: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )	/* 256K for 68000 code */
   722: 	ROM_LOAD16_BYTE( "mdj_04.rom",   0x00000, 0x20000, CRC(9ebbebb1) SHA1(84a2b146c10c1635b11c3af0242fd4680994eb5a) )
   723: 	ROM_LOAD16_BYTE( "mdj_03.rom",   0x00001, 0x20000, CRC(a5579c2d) SHA1(789dcb1cdf5cae20ab497c75460ad98c33d1a046) )
   724: 	ROM_LOAD16_BYTE( "mg_02.rom",    0x40000, 0x20000, CRC(9f5ebe16) SHA1(2183cb807157d48204d8d4d4b7555c9a7772ddfd) )
   725: 	ROM_LOAD16_BYTE( "mg_01.rom",    0x40001, 0x20000, CRC(1cea2af0) SHA1(9f4642ed2d21fa525e9fecaac6235a3653df3030) )
   726: 
   727: 	ROM_REGION(  0x18000 , REGION_CPU2, 0 ) /* audio CPU */
   728: 	ROM_LOAD( "mg_05.rom",    0x00000,  0x08000, CRC(2fbfc945) SHA1(8066516dcf9261abee1edd103bdbe0cc18913ed3) )
   729: 	ROM_CONTINUE(             0x10000,  0x08000 )
   730: 
   731: 	ROM_REGION( 0x80000, REGION_GFX1, ROMREGION_DISPOSE )
   732: 	ROM_LOAD( "mg_m11.rom",   0x000000, 0x10000, CRC(ee319a64) SHA1(ce8d65fdac3ec1009b22764807c03dd96b340660) )	/* Interleaved sprites */
   733: 	ROM_LOAD( "mg_m07.rom",   0x010000, 0x10000, CRC(e5c0b211) SHA1(dc4a92061c686a9d211a7b95aab2e41219508d67) )
   734: 	ROM_LOAD( "mg_m12.rom",   0x020000, 0x10000, CRC(887ef120) SHA1(9d57b497334d64df9a4ab7f15824dcc6a333f73d) )
   735: 	ROM_LOAD( "mg_m08.rom",   0x030000, 0x10000, CRC(59709aa3) SHA1(384641da58c8b5198ad4fa51cd5fd9a628bcb888) )
   736: 	ROM_LOAD( "mg_m13.rom",   0x040000, 0x10000, CRC(eae07db4) SHA1(59c4ff48d906b2bb101fbebe06383940fdff064f) )
   737: 	ROM_LOAD( "mg_m09.rom",   0x050000, 0x10000, CRC(40ee83eb) SHA1(35e11fcb3b75ada99df23715ecb955bd40e10da8) )
   738: 	ROM_LOAD( "mg_m14.rom",   0x060000, 0x10000, CRC(21e5424c) SHA1(2f7c5d974c847bb14eaf278545bca653919110ba) )
   739: 	ROM_LOAD( "mg_m10.rom",   0x070000, 0x10000, CRC(b64afb54) SHA1(5fdd4f67e6b7440448adf395b61c79b79b4f86e7) )
   740: 
   741: 	ROM_REGION( 0x08000, REGION_GFX2, ROMREGION_DISPOSE )
   742: 	ROM_LOAD( "mg_06.rom",    0x000000, 0x08000, CRC(382ee59b) SHA1(a1da439f0585f5cafe2fb7024f1ae0527e34cd92) )	/* 8x8 text */
   743: 
   744: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE )
   745: 	ROM_LOAD( "ls-12",        0x000000, 0x40000, CRC(6c1b2c6c) SHA1(18f22129f13c6bfa7e285f0e09a35644272f6ecb) )
   746: 
   747: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE )
   748: 	ROM_LOAD( "ls-11",        0x000000, 0x80000, CRC(6bf81c64) SHA1(2289978c6bdb6e4f86e7094e861df147e757e249) )
   749: 
   750: 	ROM_REGION( 0x40000, REGION_SOUND1, 0 ) /* ADPCM */
   751: 	ROM_LOAD( "ls-06",        0x00000, 0x20000, CRC(88d39a5b) SHA1(8fb2d1d26e2ffb93dfc9cf8f23bb81eb64496c2b) )
   752: 	ROM_LOAD( "ls-05",        0x20000, 0x20000, CRC(b06e03b5) SHA1(7d17e5cfb57866c60146bea1a4535e961c73327c) )
   753: 
   754: 	ROM_REGION( 0x0100, REGION_PROMS, 0 )
   755: 	ROM_LOAD( "prom",         0x0000, 0x0100, NO_DUMP )	/* priority (not used) */
   756: ROM_END
   757: 
   758: ROM_START( ledstorm )
   759: 	ROM_REGION( 0x80000, REGION_CPU1, 0 )	/* 256K for 68000 code */
   760: 	ROM_LOAD16_BYTE( "mdu.04",    0x00000, 0x20000, CRC(7f7f8329) SHA1(9b7ecb7f5cc3f2c80e05da3b9055e2fbd64bf0ce) )
   761: 	ROM_LOAD16_BYTE( "mdu.03",    0x00001, 0x20000, CRC(11fa542f) SHA1(1cedfc471058e0d0502a1eeafcab479dca4fea41) )
   762: 	ROM_LOAD16_BYTE( "mg_02.rom", 0x40000, 0x20000, CRC(9f5ebe16) SHA1(2183cb807157d48204d8d4d4b7555c9a7772ddfd) )
   763: 	ROM_LOAD16_BYTE( "mg_01.rom", 0x40001, 0x20000, CRC(1cea2af0) SHA1(9f4642ed2d21fa525e9fecaac6235a3653df3030) )
   764: 
   765: 	ROM_REGION(  0x18000 , REGION_CPU2, 0 ) /* audio CPU */
   766: 	ROM_LOAD( "mg_05.rom",    0x00000,  0x08000, CRC(2fbfc945) SHA1(8066516dcf9261abee1edd103bdbe0cc18913ed3) )
   767: 	ROM_CONTINUE(             0x10000,  0x08000 )
   768: 
   769: 	ROM_REGION( 0x80000, REGION_GFX1, ROMREGION_DISPOSE )
   770: 	ROM_LOAD( "mg_m11.rom",   0x000000, 0x10000, CRC(ee319a64) SHA1(ce8d65fdac3ec1009b22764807c03dd96b340660) )	/* Interleaved sprites */
   771: 	ROM_LOAD( "07",           0x010000, 0x10000, CRC(7152b212) SHA1(b021496e8b3c22c018907e6e374a7401d3843570) )
   772: 	ROM_LOAD( "mg_m12.rom",   0x020000, 0x10000, CRC(887ef120) SHA1(9d57b497334d64df9a4ab7f15824dcc6a333f73d) )
   773: 	ROM_LOAD( "08",           0x030000, 0x10000, CRC(72e5d525) SHA1(209def4206e9b66be9879f0105d3f04980f156da) )
   774: 	ROM_LOAD( "mg_m13.rom",   0x040000, 0x10000, CRC(eae07db4) SHA1(59c4ff48d906b2bb101fbebe06383940fdff064f) )
   775: 	ROM_LOAD( "09",           0x050000, 0x10000, CRC(7b5175cb) SHA1(8d8d4953dd787308bed75345af6789899d2afded) )
   776: 	ROM_LOAD( "mg_m14.rom",   0x060000, 0x10000, CRC(21e5424c) SHA1(2f7c5d974c847bb14eaf278545bca653919110ba) )
   777: 	ROM_LOAD( "10",           0x070000, 0x10000, CRC(6db7ca64) SHA1(389cc93b9bfe2824a0de9796e79c6d452d09567e) )
   778: 
   779: 	ROM_REGION( 0x08000, REGION_GFX2, ROMREGION_DISPOSE )
   780: 	ROM_LOAD( "06",           0x000000, 0x08000, CRC(54bfdc02) SHA1(480ef755425aed9e0149bdb90bf30ddaef2be192) )	/* 8x8 text */
   781: 
   782: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE )
   783: 	ROM_LOAD( "ls-12",        0x000000, 0x40000, CRC(6c1b2c6c) SHA1(18f22129f13c6bfa7e285f0e09a35644272f6ecb) )
   784: 
   785: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE )
   786: 	ROM_LOAD( "ls-11",        0x000000, 0x80000, CRC(6bf81c64) SHA1(2289978c6bdb6e4f86e7094e861df147e757e249) )
   787: 
   788: 	ROM_REGION( 0x40000, REGION_SOUND1, 0 ) /* ADPCM */
   789: 	ROM_LOAD( "ls-06",        0x00000, 0x20000, CRC(88d39a5b) SHA1(8fb2d1d26e2ffb93dfc9cf8f23bb81eb64496c2b) )
   790: 	ROM_LOAD( "ls-05",        0x20000, 0x20000, CRC(b06e03b5) SHA1(7d17e5cfb57866c60146bea1a4535e961c73327c) )
   791: 
   792: 	ROM_REGION( 0x0100, REGION_PROMS, 0 )
   793: 	ROM_LOAD( "prom",         0x0000, 0x0100, NO_DUMP )	/* priority (not used) */
   794: ROM_END
   795: 
   796: /******************************************************************************/
   797: 
   798: GAME( 1988, lastduel, 0,        lastduel, lastduel, 0, ROT270, "Capcom", "Last Duel (US set 1)" )
   799: GAME( 1988, lstduela, lastduel, lastduel, lastduel, 0, ROT270, "Capcom", "Last Duel (US set 2)" )
   800: GAME( 1988, lstduelb, lastduel, lastduel, lastduel, 0, ROT270, "bootleg", "Last Duel (bootleg)" )
   801: GAME( 1989, madgear,  0,        madgear,  madgear,  0, ROT270, "Capcom", "Mad Gear (US)" )
   802: GAME( 1989, madgearj, madgear,  madgear,  madgear,  0, ROT270, "Capcom", "Mad Gear (Japan)" )
   803: GAME( 1988, ledstorm, madgear,  madgear,  madgear,  0, ROT270, "Capcom", "Led Storm (US)" )
   804: 




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