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 : Mega Zone : VM Driver Source

Source Listing


     1: /**************************************************************************
     2: 
     3: Based on drivers from Juno First emulator by Chris Hardy (chris@junofirst.freeserve.co.uk)
     4: 
     5: To enter service mode, keep 1&2 pressed on reset
     6: 
     7: ***************************************************************************/
     8: 
     9: #include "driver.h" 
    10: #include "vidhrdw/generic.h" 
    11: #include "cpu/m6809/m6809.h" 
    12: #include "cpu/i8039/i8039.h" 
    13: #include "cpu/z80/z80.h" 
    14: 
    15: 
    16: void konami1_decode(void);
    17: 
    18: extern unsigned char *megazone_scrollx;
    19: extern unsigned char *megazone_scrolly;
    20: 
    21: static unsigned char *megazone_sharedram;
    22: 
    23: extern unsigned char *megazone_videoram2;
    24: extern unsigned char *megazone_colorram2;
    25: extern size_t megazone_videoram2_size;
    26: 
    27: static int i8039_status;
    28: 
    29: VIDEO_START( megazone );
    30: 
    31: WRITE_HANDLER( megazone_flipscreen_w );
    32: PALETTE_INIT( megazone );
    33: WRITE_HANDLER( megazone_sprite_bank_select_w );
    34: VIDEO_UPDATE( megazone );
    35: 
    36: 
    37: 
    38: READ_HANDLER( megazone_portA_r )
    39: {
    40: 	int clock,timer;
    41: 
    42: 
    43: 	/* main xtal 14.318MHz, divided by 8 to get the AY-3-8910 clock, further */
    44: 	/* divided by 1024 to get this timer */
    45: 	/* The base clock for the CPU and 8910 is NOT the same, so we have to */
    46: 	/* compensate. */
    47: 	/* (divide by (1024/2), and not 1024, because the CPU cycle counter is */
    48: 	/* incremented every other state change of the clock) */
    49: 
    50: 	clock = activecpu_gettotalcycles() * 7159/12288;	/* = (14318/8)/(18432/6) */
    51: 	timer = (clock / (1024/2)) & 0x0f;
    52: 
    53: 	/* low three bits come from the 8039 */
    54: 
    55: 	return (timer << 4) | i8039_status;
    56: }
    57: 
    58: static WRITE_HANDLER( megazone_portB_w )
    59: {
    60: 	int i;
    61: 
    62: 
    63: 	for (i = 0;i < 3;i++)
    64: 	{
    65: 		int C;
    66: 
    67: 
    68: 		C = 0;
    69: 		if (data & 1) C +=  10000;	/*  10000pF = 0.01uF */
    70: 		if (data & 2) C += 220000;	/* 220000pF = 0.22uF */
    71: 		data >>= 2;
    72: 		set_RC_filter(i,1000,2200,200,C);
    73: 	}
    74: }
    75: 
    76: WRITE_HANDLER( megazone_videoram2_w )
    77: {
    78: 	if (megazone_videoram2[offset] != data)
    79: 	{
    80: 		megazone_videoram2[offset] = data;
    81: 	}
    82: }
    83: 
    84: WRITE_HANDLER( megazone_colorram2_w )
    85: {
    86: 	if (megazone_colorram2[offset] != data)
    87: 	{
    88: 		megazone_colorram2[offset] = data;
    89: 	}
    90: }
    91: 
    92: READ_HANDLER( megazone_sharedram_r )
    93: {
    94: 	return(megazone_sharedram[offset]);
    95: }
    96: 
    97: WRITE_HANDLER( megazone_sharedram_w )
    98: {
    99: 	megazone_sharedram[offset] = data;
   100: }
   101: 
   102: static WRITE_HANDLER( megazone_i8039_irq_w )
   103: {
   104: 	cpu_set_irq_line(2, 0, ASSERT_LINE);
   105: }
   106: 
   107: WRITE_HANDLER( i8039_irqen_and_status_w )
   108: {
   109: 	if ((data & 0x80) == 0)
   110: 		cpu_set_irq_line(2, 0, CLEAR_LINE);
   111: 	i8039_status = (data & 0x70) >> 4;
   112: }
   113: 
   114: static WRITE_HANDLER( megazone_coin_counter_w )
   115: {
   116: 	coin_counter_w(1-offset,data);		/* 1-offset, because coin counters are in reversed order */
   117: }
   118: 
   119: 
   120: 
   121: static MEMORY_READ_START( readmem )
   122: 	{ 0x2000, 0x2fff, MRA_RAM },
   123: 	{ 0x3000, 0x33ff, MRA_RAM },
   124: 	{ 0x3800, 0x3fff, megazone_sharedram_r },
   125: 	{ 0x4000, 0xffff, MRA_ROM },		/* 4000->5FFF is a debug rom */
   126: MEMORY_END
   127: 
   128: static MEMORY_WRITE_START( writemem )
   129: 	{ 0x0000, 0x0001, megazone_coin_counter_w }, /* coin counter 2, coin counter 1 */
   130: 	{ 0x0005, 0x0005, megazone_flipscreen_w },
   131: 	{ 0x0007, 0x0007, interrupt_enable_w },
   132: 	{ 0x0800, 0x0800, watchdog_reset_w },
   133: 	{ 0x1800, 0x1800, MWA_RAM, &megazone_scrollx },
   134: 	{ 0x1000, 0x1000, MWA_RAM, &megazone_scrolly },
   135: 	{ 0x2000, 0x23ff, videoram_w, &videoram, &videoram_size },
   136: 	{ 0x2400, 0x27ff, megazone_videoram2_w, &megazone_videoram2, &megazone_videoram2_size },
   137: 	{ 0x2800, 0x2bff, colorram_w, &colorram },
   138: 	{ 0x2c00, 0x2fff, megazone_colorram2_w, &megazone_colorram2 },
   139: 	{ 0x3000, 0x33ff, MWA_RAM, &spriteram, &spriteram_size },
   140: 	{ 0x3800, 0x3fff, megazone_sharedram_w, &megazone_sharedram },
   141: 	{ 0x4000, 0xffff, MWA_ROM },
   142: MEMORY_END
   143: 
   144: static MEMORY_READ_START( sound_readmem )
   145: 	{ 0x0000, 0x1fff, MRA_ROM },
   146: 	{ 0x6000, 0x6000, input_port_0_r }, /* IO Coin */
   147: 	{ 0x6001, 0x6001, input_port_1_r }, /* P1 IO */
   148: 	{ 0x6002, 0x6002, input_port_2_r }, /* P2 IO */
   149: 	{ 0x8000, 0x8000, input_port_3_r }, /* DIP 1 */
   150: 	{ 0x8001, 0x8001, input_port_4_r }, /* DIP 2 */
   151: 	{ 0xe000, 0xe7ff, megazone_sharedram_r },  /* Shared with $3800->3fff of main CPU */
   152: MEMORY_END
   153: 
   154: static MEMORY_WRITE_START( sound_writemem )
   155: 	{ 0x0000, 0x1fff, MWA_ROM },
   156: 	{ 0x2000, 0x2000, megazone_i8039_irq_w },	/* START line. Interrupts 8039 */
   157: 	{ 0x4000, 0x4000, soundlatch_w },			/* CODE  line. Command Interrupts 8039 */
   158: 	{ 0xa000, 0xa000, MWA_RAM },				/* INTMAIN - Interrupts main CPU (unused) */
   159: 	{ 0xc000, 0xc000, MWA_RAM },				/* INT (Actually is NMI) enable/disable (unused)*/
   160: 	{ 0xc001, 0xc001, watchdog_reset_w },
   161: 	{ 0xe000, 0xe7ff, megazone_sharedram_w },	/* Shared with $3800->3fff of main CPU */
   162: MEMORY_END
   163: 
   164: static PORT_READ_START( sound_readport )
   165: 	{ 0x00, 0x02, AY8910_read_port_0_r },
   166: PORT_END
   167: 
   168: static PORT_WRITE_START( sound_writeport )
   169: 	{ 0x00, 0x00, AY8910_control_port_0_w },
   170: 	{ 0x02, 0x02, AY8910_write_port_0_w },
   171: PORT_END
   172: 
   173: static MEMORY_READ_START( i8039_readmem )
   174: 	{ 0x0000, 0x0fff, MRA_ROM },
   175: MEMORY_END
   176: 
   177: static MEMORY_WRITE_START( i8039_writemem )
   178: 	{ 0x0000, 0x0fff, MWA_ROM },
   179: MEMORY_END
   180: 
   181: static PORT_READ_START( i8039_readport )
   182: 	{ 0x00, 0xff, soundlatch_r },
   183: PORT_END
   184: 
   185: static PORT_WRITE_START( i8039_writeport )
   186: 	{ I8039_p1, I8039_p1, DAC_0_data_w },
   187: 	{ I8039_p2, I8039_p2, i8039_irqen_and_status_w },
   188: PORT_END
   189: 
   190: INPUT_PORTS_START( megazone )
   191: 	PORT_START      /* IN0 */
   192: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
   193: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
   194: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1 )
   195: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
   196: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 )
   197: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
   198: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
   199: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
   200: 
   201: 	PORT_START      /* IN1 */
   202: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
   203: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
   204: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
   205: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY )
   206: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
   207: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 )
   208: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
   209: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
   210: 
   211: 	PORT_START      /* IN2 */
   212: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_COCKTAIL )
   213: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_COCKTAIL )
   214: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_COCKTAIL)
   215: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_COCKTAIL)
   216: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
   217: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
   218: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
   219: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
   220: 
   221: 	PORT_START      /* DSW1 */
   222: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )
   223: 	PORT_DIPSETTING(    0x03, "3" )
   224: 	PORT_DIPSETTING(    0x02, "4" )
   225: 	PORT_DIPSETTING(    0x01, "5" )
   226: 	PORT_BITX(0,        0x00, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Infinite", IP_KEY_NONE, IP_JOY_NONE )
   227: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
   228: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   229: 	PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
   230: 	PORT_DIPNAME( 0x18, 0x18, DEF_STR( Bonus_Life ) )
   231: 	PORT_DIPSETTING(    0x18, "20k 70k" )
   232: 	PORT_DIPSETTING(    0x10, "20k 80k" )
   233: 	PORT_DIPSETTING(    0x08, "30k 90k" )
   234: 	PORT_DIPSETTING(    0x00, "30k 100k" )
   235: 	PORT_DIPNAME( 0x60, 0x40, DEF_STR( Difficulty ) )
   236: 	PORT_DIPSETTING(    0x60, "Easy" )
   237: 	PORT_DIPSETTING(    0x40, "Normal" )
   238: 	PORT_DIPSETTING(    0x20, "Difficult" )
   239: 	PORT_DIPSETTING(    0x00, "Very Difficult" )
   240: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Demo_Sounds ) )
   241: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   242: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   243: 
   244: 	PORT_START      /* DSW2 */
   245: 	PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_A ) )
   246: 	PORT_DIPSETTING(    0x02, DEF_STR( 4C_1C ) )
   247: 	PORT_DIPSETTING(    0x05, DEF_STR( 3C_1C ) )
   248: 	PORT_DIPSETTING(    0x08, DEF_STR( 2C_1C ) )
   249: 	PORT_DIPSETTING(    0x04, DEF_STR( 3C_2C ) )
   250: 	PORT_DIPSETTING(    0x01, DEF_STR( 4C_3C ) )
   251: 	PORT_DIPSETTING(    0x0f, DEF_STR( 1C_1C ) )
   252: 	PORT_DIPSETTING(    0x03, DEF_STR( 3C_4C ) )
   253: 	PORT_DIPSETTING(    0x07, DEF_STR( 2C_3C ) )
   254: 	PORT_DIPSETTING(    0x0e, DEF_STR( 1C_2C ) )
   255: 	PORT_DIPSETTING(    0x06, DEF_STR( 2C_5C ) )
   256: 	PORT_DIPSETTING(    0x0d, DEF_STR( 1C_3C ) )
   257: 	PORT_DIPSETTING(    0x0c, DEF_STR( 1C_4C ) )
   258: 	PORT_DIPSETTING(    0x0b, DEF_STR( 1C_5C ) )
   259: 	PORT_DIPSETTING(    0x0a, DEF_STR( 1C_6C ) )
   260: 	PORT_DIPSETTING(    0x09, DEF_STR( 1C_7C ) )
   261: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   262: 	PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_B ) )
   263: 	PORT_DIPSETTING(    0x20, DEF_STR( 4C_1C ) )
   264: 	PORT_DIPSETTING(    0x50, DEF_STR( 3C_1C ) )
   265: 	PORT_DIPSETTING(    0x80, DEF_STR( 2C_1C ) )
   266: 	PORT_DIPSETTING(    0x40, DEF_STR( 3C_2C ) )
   267: 	PORT_DIPSETTING(    0x10, DEF_STR( 4C_3C ) )
   268: 	PORT_DIPSETTING(    0xf0, DEF_STR( 1C_1C ) )
   269: 	PORT_DIPSETTING(    0x30, DEF_STR( 3C_4C ) )
   270: 	PORT_DIPSETTING(    0x70, DEF_STR( 2C_3C ) )
   271: 	PORT_DIPSETTING(    0xe0, DEF_STR( 1C_2C ) )
   272: 	PORT_DIPSETTING(    0x60, DEF_STR( 2C_5C ) )
   273: 	PORT_DIPSETTING(    0xd0, DEF_STR( 1C_3C ) )
   274: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_4C ) )
   275: 	PORT_DIPSETTING(    0xb0, DEF_STR( 1C_5C ) )
   276: 	PORT_DIPSETTING(    0xa0, DEF_STR( 1C_6C ) )
   277: 	PORT_DIPSETTING(    0x90, DEF_STR( 1C_7C ) )
   278: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   279: INPUT_PORTS_END
   280: 
   281: 
   282: 
   283: static struct GfxLayout charlayout =
   284: {
   285: 	8,8,    /* 8*8 characters */
   286: 	512,    /* 512 characters */
   287: 	4,      /* 4 bits per pixel */
   288: 	{ 0, 1, 2, 3 }, /* the four bitplanes are packed in one nibble */
   289: 	{ 0*4, 1*4, 2*4, 3*4, 4*4, 5*4, 6*4, 7*4 },
   290: 	{ 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32 },
   291: 	32*8    /* every char takes 8 consecutive bytes */
   292: };
   293: 
   294: static struct GfxLayout spritelayout =
   295: {
   296: 	16,16,	/* 16*16 sprites */
   297: 	256,	/* 256 sprites */
   298: 	4,	/* 4 bits per pixel */
   299: 	{ 0x4000*8+4, 0x4000*8+0, 4, 0 },
   300: 	{ 0, 1, 2, 3, 8*8+0, 8*8+1, 8*8+2, 8*8+3,
   301: 			16*8+0, 16*8+1, 16*8+2, 16*8+3, 24*8+0, 24*8+1, 24*8+2, 24*8+3 },
   302: 	{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 ,
   303: 		32*8, 33*8, 34*8, 35*8, 36*8, 37*8, 38*8, 39*8, },
   304: 	64*8	/* every sprite takes 64 consecutive bytes */
   305: };
   306: 
   307: static struct GfxDecodeInfo gfxdecodeinfo[] =
   308: {
   309: 	{ REGION_GFX1, 0, &charlayout,       0, 16 },
   310: 	{ REGION_GFX2, 0, &spritelayout, 16*16, 16 },
   311: 	{ -1 } /* end of array */
   312: };
   313: 
   314: 
   315: 
   316: static struct AY8910interface ay8910_interface =
   317: {
   318: 	1,	/* 1 chip */
   319: 	14318000/8,	/* 1.78975 MHz */
   320: 	{ 30 },
   321: 	{ megazone_portA_r },
   322: 	{ 0 },
   323: 	{ 0 },
   324: 	{ megazone_portB_w }
   325: };
   326: 
   327: static struct DACinterface dac_interface =
   328: {
   329: 	1,
   330: 	{ 50 }
   331: };
   332: 
   333: 
   334: 
   335: static MACHINE_DRIVER_START( megazone )
   336: 
   337: 	/* basic machine hardware */
   338: 	MDRV_CPU_ADD(M6809, 18432000/9)        /* 2 MHz */
   339: 	MDRV_CPU_MEMORY(readmem,writemem)
   340: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   341: 
   342: 	MDRV_CPU_ADD(Z80,18432000/6)     /* Z80 Clock is derived from the H1 signal */
   343: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
   344: 	MDRV_CPU_PORTS(sound_readport,sound_writeport)
   345: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   346: 
   347: 	MDRV_CPU_ADD(I8039,(14318000/2)/I8039_CLOCK_DIVIDER)
   348: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)	/* 1/2 14MHz crystal */
   349: 	MDRV_CPU_MEMORY(i8039_readmem,i8039_writemem)
   350: 	MDRV_CPU_PORTS(i8039_readport,i8039_writeport)
   351: 
   352: 	MDRV_FRAMES_PER_SECOND(60)
   353: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
   354: 	MDRV_INTERLEAVE(15)
   355: 
   356: 	/* video hardware */
   357: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
   358: 	MDRV_SCREEN_SIZE(36*8, 32*8)
   359: 	MDRV_VISIBLE_AREA(0*8, 36*8-1, 2*8, 30*8-1)
   360: 	MDRV_GFXDECODE(gfxdecodeinfo)
   361: 	MDRV_PALETTE_LENGTH(32)
   362: 	MDRV_COLORTABLE_LENGTH(16*16+16*16)
   363: 
   364: 	MDRV_PALETTE_INIT(megazone)
   365: 	MDRV_VIDEO_START(megazone)
   366: 	MDRV_VIDEO_UPDATE(megazone)
   367: 
   368: 	/* sound hardware */
   369: 	MDRV_SOUND_ADD(AY8910, ay8910_interface)
   370: 	MDRV_SOUND_ADD(DAC, dac_interface)
   371: MACHINE_DRIVER_END
   372: 
   373: 
   374: 
   375: /***************************************************************************
   376: 
   377:   Game driver(s)
   378: 
   379: ***************************************************************************/
   380: 
   381: ROM_START( megazone )
   382: 	ROM_REGION( 2*0x10000, REGION_CPU1, 0 )     /* 64k for code + 64k for decrypted opcodes */
   383: 	ROM_LOAD( "319i07.bin",    0x6000, 0x2000, CRC(94b22ea8) SHA1(dc3ed2a0d1a12df51e46561324d78b7d655be313) )
   384: 	ROM_LOAD( "319i06.bin",    0x8000, 0x2000, CRC(0468b619) SHA1(a6755728fab37674749f9b77cb53f6f228102f2f) )
   385: 	ROM_LOAD( "319i05.bin",    0xa000, 0x2000, CRC(ac59000c) SHA1(c7568589f6b0e1706e996fdfed9c16755541951e) )
   386: 	ROM_LOAD( "319i04.bin",    0xc000, 0x2000, CRC(1e968603) SHA1(fd818f678a3dc8d48a30f9f7670bfcb42a3009a2) )
   387: 	ROM_LOAD( "319i03.bin",    0xe000, 0x2000, CRC(0888b803) SHA1(37249bfb14c6c3ce40ad68be457ab1f66fd7ea70) )
   388: 
   389: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )     /* 64k for the audio CPU */
   390: 	ROM_LOAD( "319e02.bin",   0x0000, 0x2000, CRC(d5d45edb) SHA1(3808d1b58fe152f8f5b49bf0aa40c53e9c9dd4bd) )
   391: 
   392: 	ROM_REGION( 0x1000, REGION_CPU3, 0 )     /* 4k for the 8039 DAC CPU */
   393: 	ROM_LOAD( "319e01.bin",   0x0000, 0x1000, CRC(ed5725a0) SHA1(64f54621487291fbfe827fb4cecca299fd0db781) )
   394: 
   395: 	ROM_REGION( 0x04000, REGION_GFX1, ROMREGION_DISPOSE )
   396: 	ROM_LOAD( "319e12.bin",    0x0000, 0x2000, CRC(e0fb7835) SHA1(44ccaaf92bdb83323f45e08dbe118697720e9105) )
   397: 	ROM_LOAD( "319e13.bin",    0x2000, 0x2000, CRC(3d8f3743) SHA1(1f6fbf804dacfa44cd11b4cf41d0bedb7f2ff6b6) )
   398: 
   399: 	ROM_REGION( 0x08000, REGION_GFX2, ROMREGION_DISPOSE )
   400: 	ROM_LOAD( "319e11.bin",    0x0000, 0x2000, CRC(965a7ff6) SHA1(210aae91a3838e5f7c78747d9b7419d266538ffc) )
   401: 	ROM_LOAD( "319e09.bin",    0x2000, 0x2000, CRC(5eaa7f3e) SHA1(4c038e80d575988407252897a1f1bc6b76af597c) )
   402: 	ROM_LOAD( "319e10.bin",    0x4000, 0x2000, CRC(7bb1aeee) SHA1(be2dd46cd0121cedad6dab90a22643798a3176ab) )
   403: 	ROM_LOAD( "319e08.bin",    0x6000, 0x2000, CRC(6add71b1) SHA1(fc8c0ecd3b7f03d63b6c3143143986883345fa38) )
   404: 
   405: 	ROM_REGION( 0x0260, REGION_PROMS, 0 )
   406: 	ROM_LOAD( "319b18.a16",  0x0000, 0x020, CRC(23cb02af) SHA1(aba459826a75ec07bc6d97580e934f58aa22f4f4) ) /* palette */
   407: 	ROM_LOAD( "319b16.c6",   0x0020, 0x100, CRC(5748e933) SHA1(c1478c31533a11421cd4579ccfdbb430e193d17b) ) /* sprite lookup table */
   408: 	ROM_LOAD( "319b17.a11",  0x0120, 0x100, CRC(1fbfce73) SHA1(1c58eb91982d5f10511d54a83070e859ac57d2f1) ) /* character lookup table */
   409: 	ROM_LOAD( "319b14.e7",   0x0220, 0x020, CRC(55044268) SHA1(29cf4158314ed897daf045a7f07be865dd977663) ) /* timing (not used) */
   410: 	ROM_LOAD( "319b15.e8",   0x0240, 0x020, CRC(31fd7ab9) SHA1(04d6e51b4930619c8ee12fb0d7b5f981e4d6d8d3) ) /* timing (not used) */
   411: ROM_END
   412: 
   413: ROM_START( megaznik )
   414: 	ROM_REGION( 2*0x10000, REGION_CPU1, 0 )     /* 64k for code + 64k for decrypted opcodes */
   415: 	ROM_LOAD( "ic59_cpu.bin",  0x6000, 0x2000, CRC(f41922a0) SHA1(9f54509da18721a76593921c6e52085e62e6ea6b) )
   416: 	ROM_LOAD( "ic58_cpu.bin",  0x8000, 0x2000, CRC(7fd7277b) SHA1(e773247e0c9419cae49e04962ea362a2976c2db2) )
   417: 	ROM_LOAD( "ic57_cpu.bin",  0xa000, 0x2000, CRC(a4b33b51) SHA1(12bb4da0319a7fe355e5ea4945759c8709aed5fe) )
   418: 	ROM_LOAD( "ic56_cpu.bin",  0xc000, 0x2000, CRC(2aabcfbf) SHA1(f0054af98bd68158eab3328f8cf2a04b35e812c7) )
   419: 	ROM_LOAD( "ic55_cpu.bin",  0xe000, 0x2000, CRC(b33a3c37) SHA1(2f1fdf1b9f18fcc9bd97cc9adeecc4ce77dd30c9) )
   420: 
   421: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )     /* 64k for the audio CPU */
   422: 	ROM_LOAD( "319e02.bin",   0x0000, 0x2000, CRC(d5d45edb) SHA1(3808d1b58fe152f8f5b49bf0aa40c53e9c9dd4bd) )
   423: 
   424: 	ROM_REGION( 0x1000, REGION_CPU3, 0 )     /* 4k for the 8039 DAC CPU */
   425: 	ROM_LOAD( "319e01.bin",   0x0000, 0x1000, CRC(ed5725a0) SHA1(64f54621487291fbfe827fb4cecca299fd0db781) )
   426: 
   427: 	ROM_REGION( 0x04000, REGION_GFX1, ROMREGION_DISPOSE )
   428: 	ROM_LOAD( "ic40_vid.bin",  0x0000, 0x2000, CRC(07b8b24b) SHA1(faadcb20ee8b26b9ab0692df6a81e5423514863e) )
   429: 	ROM_LOAD( "319e13.bin",    0x2000, 0x2000, CRC(3d8f3743) SHA1(1f6fbf804dacfa44cd11b4cf41d0bedb7f2ff6b6) )
   430: 
   431: 	ROM_REGION( 0x08000, REGION_GFX2, ROMREGION_DISPOSE )
   432: 	ROM_LOAD( "319e11.bin",    0x0000, 0x2000, CRC(965a7ff6) SHA1(210aae91a3838e5f7c78747d9b7419d266538ffc) )
   433: 	ROM_LOAD( "319e09.bin",    0x2000, 0x2000, CRC(5eaa7f3e) SHA1(4c038e80d575988407252897a1f1bc6b76af597c) )
   434: 	ROM_LOAD( "319e10.bin",    0x4000, 0x2000, CRC(7bb1aeee) SHA1(be2dd46cd0121cedad6dab90a22643798a3176ab) )
   435: 	ROM_LOAD( "319e08.bin",    0x6000, 0x2000, CRC(6add71b1) SHA1(fc8c0ecd3b7f03d63b6c3143143986883345fa38) )
   436: 
   437: 	ROM_REGION( 0x0260, REGION_PROMS, 0 )
   438: 	ROM_LOAD( "319b18.a16",  0x0000, 0x020, CRC(23cb02af) SHA1(aba459826a75ec07bc6d97580e934f58aa22f4f4) ) /* palette */
   439: 	ROM_LOAD( "319b16.c6",   0x0020, 0x100, CRC(5748e933) SHA1(c1478c31533a11421cd4579ccfdbb430e193d17b) ) /* sprite lookup table */
   440: 	ROM_LOAD( "319b17.a11",  0x0120, 0x100, CRC(1fbfce73) SHA1(1c58eb91982d5f10511d54a83070e859ac57d2f1) ) /* character lookup table */
   441: 	ROM_LOAD( "319b14.e7",   0x0220, 0x020, CRC(55044268) SHA1(29cf4158314ed897daf045a7f07be865dd977663) ) /* timing (not used) */
   442: 	ROM_LOAD( "319b15.e8",   0x0240, 0x020, CRC(31fd7ab9) SHA1(04d6e51b4930619c8ee12fb0d7b5f981e4d6d8d3) ) /* timing (not used) */
   443: ROM_END
   444: 
   445: 
   446: static DRIVER_INIT( megazone )
   447: {
   448: 	konami1_decode();
   449: }
   450: 
   451: 
   452: GAME( 1983, megazone, 0,        megazone, megazone, megazone, ROT90, "Konami", "Mega Zone" )
   453: GAME( 1983, megaznik, megazone, megazone, megazone, megazone, ROT90, "Konami / Interlogic + Kosuka", "Mega Zone (Kosuka)" )
   454: 




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