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 : Counter Force : VM Driver Source

Source Listing


     1: /*
     2: snk.c
     3: various SNK triple Z80 games
     4: 
     5: Known Issues:
     6: - consolidate gfx decode/drivers, if possible
     7: - emulate protection (get rid of patches)
     8: 
     9: Bryan McPhail, 27/01/00:
    10: 
    11:   Fixed Gwar, Gwarj, both working properly now.
    12:   Renamed Gwarjp to Gwarj.
    13:   Added Gwara
    14:   Removed strcmp(drv->names) :)
    15:   Made Gwara (the new clone) the main set, and old gwar to gwara.  This is
    16:   because (what is now) gwara seemingly has a different graphics board.  Fix
    17:   chars and scroll registers are in different locations, while gwar (new)
    18:   matches the bootleg and original japanese versions.
    19: 
    20:   Added Bermuda Triangle (alternate), World Wars, these are the 'early'
    21:   versions of the main set with different sprites, gameplay etc.  All roms
    22:   are different except for the samples, technically Bermuda Triangle (Alt)
    23:   is a clone of World Wars rather than the main Bermuda set.
    24: 
    25:   Bermuda Triangle (alt) has some tile banking problems (see attract mode),
    26:   this may also be the cause of the title screen corruption in Bermuda
    27:   Triangle (main set).
    28: 
    29: 
    30: Stephh's notes (based on the games Z80 code and some tests) :
    31: 
    32: 1)  'ftsoccer'
    33: 
    34:   - The code to support the rotary jotsticks has been removed and/or patched
    35:     in this version (check the 'jmp' instruction at 0x00f1).
    36:     I'm SURE that I've played a version in France with the rotary joysticks,
    37:     and IMO it isn't dumped at the moment 8(
    38: 
    39:   - "Game Time" Dip Switch is the time for match type A. Here is what you
    40:     have to add for games B to E :
    41: 
    42:       Match Type       B        C        D        E
    43:       Time to add    00:30    01:00    01:30    02:00
    44: 
    45:   - When "Game Mode" Dip Switch is set to "Win Match Against CPU", this has an
    46:     effect on matches types A and B : player is awarded 99 goals at the end of
    47:     the round, which is enough to win all matches then see the ending credits.
    48: 
    49:   - Here are the buttons mapped to start a game :
    50:       * IPT_START1    : starts game A
    51:       * IPT_START2    : starts game B
    52:       * IPT_START3    : starts game C
    53:       * IPT_START4    : starts game D
    54:       * IPT_SERVICE2  : starts game E
    55: 
    56: 
    57: 2a) 'bermudat'
    58: 
    59:   - Japan version (5 letters when entering initials, and "TOKYO" as default names)
    60: 
    61:   - How to enter the "test mode" : while "front turbo check" is displayed on screen,
    62:     press '1' (start player 1) until a grid is displayed. You can then press '1'
    63:     to go to the next part or press '2' to reset the game.
    64: 
    65:   - The typo bug from 'bermudao' "test mode" is fixed.
    66: 
    67: 
    68: 2b) 'bermudao'
    69: 
    70:   - Japan version (5 letters when entering initials, and "TOKYO" as default names)
    71: 
    72:   - How to enter the "test mode" : while "front turbo check" is displayed on screen,
    73:     press '1' (start player 1) until a grid is displayed. You can then press '1'
    74:     to go to the next part or press '2' to reset the game.
    75: 
    76:   - There is typo bug in the "test mode" : when "Bonus Life" Dip Switch is set to
    77:     "60k 120k", it is written "80000P  160000P every".
    78: 
    79: 
    80: 2c) 'bermudaa'
    81: 
    82:   - US version (3 letters when entering initials, and "SNK  " as default names)
    83: 
    84:   - How to enter the "test mode" : reset the game and press F2 until is a grid is
    85:     displayed. You can then press F2 again to go to the next part.
    86: 
    87: 
    88: 2d) 'worldwar'
    89: 
    90:   - World version (5 letters when entering initials, and "WORLD" as default names)
    91:     And this had been confirmed by the guy who loant the PCB.
    92: 
    93:   - How to enter the "test mode" : reset the game and press F2 until is a grid is
    94:     displayed. You can then press F2 again to go to the next part.
    95: 
    96:   - Don't trust the "test mode" for the Dip Switches ! The infos which are
    97:     displayed are the one from 'bermudao' (see what the "unknown" Dip Switches do).
    98: 
    99: 
   100: AT042903:
   101:  - fixed Psycho Soldier lyrics tempo
   102:  - fixed char layer alignment in Fighting Golf, Athena and TNK3
   103:  - cleaned garbage tiles in Bermuda Triangle and improved sprite priority
   104:  - corrected tile ROM loading in Bermuda(alt)/Worldwar
   105:  - corrected sound ROM loading and palette in Touchdown Fever
   106:  - various sprite adjustments from MAME32 plus
   107: 
   108: AT08XX03:
   109:  - revamped CPU handshaking, improved clipping and made changes public to
   110:    marvins.c, hal21.c and sgladiat.c
   111:  - fixed shadows in tnk3, athena, fitegolf, countryc, tdfever and ftsoccer
   112:  - added highlights to tdfever and ftsoccer(needs masking at team selection)
   113:  - notes:
   114: 
   115: 	Mad Crasher and Gladiator(sgladiat.c) have different memory maps but
   116: 	their code base and port layouts are quite similar. The following are
   117: 	some distinctive designs of these two games common to many other SNK
   118: 	triple Z80 boards made in the mid-80's.
   119: 
   120: 	1) Shared RAM
   121: 
   122: 		The "shared" RAM in Mad Crasher is more appropriately
   123: 		"switched" RAM. Marvin's schematics indicate selector
   124: 		circuits and when a CPU wants to access specific part of
   125: 		the memory it will write to the first byte of the 4k page
   126: 		and give the selector a few cycles to settle.
   127: 
   128: 		It is not known what exactly happens when more than one CPU
   129: 		try to access the same page.
   130: 
   131: 	2) IRQ
   132: 
   133: 		CPUA starts recalculating game logic and constructing
   134: 		sprites for the next frame upon receiving IRQ0. When CPUB
   135: 		receives its own IRQ0 it copies sprite data prepared by
   136: 		CPUA in the previous frame to VRAM and updates scroll
   137: 		registers. The process takes about 2ms which fits in vblank
   138: 		nicely. However, if CPUA modifies sprite data before
   139: 		blitting is complete sprites for the current frame may get
   140: 		overwritten by those for the next and it creates a funny
   141: 		rubber-band effect.
   142: 
   143: 		In essence CPUA's IRQ0 should fire 1-2ms later than CPUB's
   144: 		to maintain visual stability. Increasing the delay will only
   145: 		waste cycles in idle loops. Note that certain games may have
   146: 		CPUA and B switched roles.
   147: 
   148: 	3) NMI
   149: 
   150: 		CPUA and B handshake through NMIs. They were implemented in
   151: 		all SNK triple Z80 drivers as
   152: 
   153: 			ENABLE->SIGNAL->HOLDUP->MAKEUP->ACKNOWLEDGE
   154: 
   155: 		but upon close examination of the games code no evidence of
   156: 		any game relying on this behavior to function correctly was
   157: 		found. Sometimes it even has adverse effects by triggering
   158: 		extra NMI's therefore handshaking has been reduced to basic
   159: 
   160: 			SIGNAL->ACKNOWLEDGE
   161: 
   162: 	4) Sound Latching
   163: 
   164: 		Each game has a byte-size sound command port being
   165: 		represented by Marvin's scheme as a single unit consists
   166: 		of one flip-flop and two latches. The flip-flop may be
   167: 		responsible for the sound busy flag but the second latch's
   168: 		function is unclear. HAL21 seems to have the most complex
   169: 		soundlatch circuit and the hardware is able to report
   170: 		playback status in six different bits.
   171: 
   172: 		The sound busy flag is raised when CPUA writes to the
   173: 		soundlatch and is lowered when a designated port is read.
   174: 		For games based on Marvin's hardware the designated port is
   175: 		the soundlatch itself. Most games clear the flag within the
   176: 		alerting IRQ autonomously but some like ASO and HAL21 do it
   177: 		shortly after the sound CPU has finished modulating an effect.
   178: 
   179: ****************************************************************************
   180: 
   181: ym3526
   182: Aso, Tank
   183: 
   184: ym3526x2
   185: Athena, Ikari, Fighting Golf
   186: 
   187: ym3526 + y8950
   188: Victory Road, Psycho Soldier, Bermuda Triangle, Touchdown Fever, Guerilla War
   189: 
   190: ym3812 + y8950
   191: Legofair, Chopper1
   192: 
   193: y8950
   194: Fighting Soccer
   195: 
   196: Credits (in alphabetical order)
   197: 	Ernesto Corvi
   198: 	Carlos A. Lozano
   199: 	Jarek Parchanski
   200: 	Phil Stroffolino (pjstroff@hotmail.com)
   201: 	Victor Trucco
   202: 	Marco Cassili
   203: 
   204: ***************************************************************************/
   205: 
   206: #include "driver.h" 
   207: #include "vidhrdw/generic.h" 
   208: #include "cpu/z80/z80.h" 
   209: #include "snk.h" 
   210: 
   211: /*********************************************************************/
   212: // Variables and Interrupt Handlers Common to All SNK Triple Z80 Games
   213: 
   214: int snk_gamegroup = 0;
   215: int snk_sound_busy_bit = 0;
   216: int snk_irq_delay = 1500;
   217: 
   218: // see IRQ notes in drivers\marvins.c
   219: static void irq_trigger_callback(int cpu) { cpu_set_irq_line(cpu, 0, HOLD_LINE); }
   220: 
   221: INTERRUPT_GEN( snk_irq_AB )
   222: {
   223: 	cpu_set_irq_line(0, 0, HOLD_LINE);
   224: 	timer_set(TIME_IN_USEC(snk_irq_delay), 1, irq_trigger_callback);
   225: }
   226: 
   227: INTERRUPT_GEN( snk_irq_BA )
   228: {
   229: 	cpu_set_irq_line(1, 0, HOLD_LINE);
   230: 	timer_set(TIME_IN_USEC(snk_irq_delay), 0, irq_trigger_callback);
   231: }
   232: 
   233: // NMI handshakes between CPUs are determined to be much simpler
   234: READ_HANDLER ( snk_cpuA_nmi_trigger_r ) { cpu_set_nmi_line(0, ASSERT_LINE); return 0; }
   235: WRITE_HANDLER( snk_cpuA_nmi_ack_w ) { cpu_set_nmi_line(0, CLEAR_LINE); }
   236: 
   237: READ_HANDLER ( snk_cpuB_nmi_trigger_r ) { cpu_set_nmi_line(1, ASSERT_LINE); return 0; }
   238: WRITE_HANDLER( snk_cpuB_nmi_ack_w ) { cpu_set_nmi_line(1, CLEAR_LINE); }
   239: 
   240: /*********************************************************************/
   241: 
   242: #define SNK_MAX_INPUT_PORTS 13 
   243: 
   244: typedef enum {
   245: 	SNK_UNUSED,
   246: 	SNK_INP0,
   247: 	SNK_INP1,SNK_INP2,SNK_INP3,SNK_INP4,
   248: 	SNK_INP5,SNK_INP6,SNK_INP7,SNK_INP8,
   249: 	SNK_INP9,SNK_INP10,SNK_INP11,
   250: 	SNK_ROT8_PLAYER1, SNK_ROT8_PLAYER2,
   251: 	SNK_ROT12_PLAYER1, SNK_ROT12_PLAYER2
   252: } SNK_INPUT_PORT_TYPE;
   253: 
   254: static unsigned char *shared_ram, *io_ram, *shared_ram2;
   255: static const SNK_INPUT_PORT_TYPE *snk_io; /* input port configuration */
   256: 
   257: static int hard_flags;
   258: 
   259: /*********************************************************************/
   260: 
   261: /*
   262: 	This 4 bit register is mapped at 0xf800.
   263: 
   264: 	Writes to this register always contain 0x0f in the lower nibble.
   265: 	The upper nibble contains a mask, which clears bits
   266: 
   267: 	bit 0:	set by YM3526/YM3812 callback?
   268: 	bit 1:	set by Y8950 callback?
   269: 	bit 2:	sound cpu busy
   270: 	bit 3:	sound command pending
   271: */
   272: static int snk_sound_register;
   273: 
   274: /*********************************************************************/
   275: 
   276: static int snk_rot8( int which ){
   277: 	const int dial_8[8]   = { 0xf0,0x30,0x10,0x50,0x40,0xc0,0x80,0xa0 };
   278: 	int value = readinputport(which+1);
   279: 	int joypos16 = value>>4;
   280: 	return (value&0xf) | dial_8[joypos16>>1];
   281: }
   282: 
   283: static int snk_rot12( int which ){
   284: /*
   285: 	This routine converts a 4 bit (16 directional) analog input to the 12
   286: 	directional input that many SNK games require.
   287: */
   288: 	const int dial_12[13] = {
   289: 	0xb0,0xa0,0x90,0x80,0x70,0x60,
   290: 	0xf0,
   291: 	/* 0xf0 isn't a valid direction, but avoids the "joystick error"
   292: 	protection
   293: 	** in Guerilla War which happens when direction changes directly from
   294: 	** 0x50<->0x60 8 times.
   295: 	*/
   296: 	0x50,0x40,0x30,0x20,0x10,0x00
   297: 	};
   298: 	int value = readinputport(which+1);
   299: 	int joydir = value>>4;
   300: 	static int old_joydir[2];
   301: 	static int dial_select[2];
   302: 
   303: 	int delta = (joydir - old_joydir[which])&0xf;
   304: 	old_joydir[which] = joydir;
   305: 
   306: 	if( delta<=7 && delta>=1 ){
   307: 		if( dial_select[which]==12 ) dial_select[which] = 0;
   308: 		else dial_select[which]++;
   309: 	}
   310: 	else if( delta > 8 ){
   311: 		if( dial_select[which]==0 ) dial_select[which] = 12;
   312: 		else dial_select[which]--;
   313: 	}
   314: 
   315: 	return (value&0xf) | dial_12[dial_select[which]];
   316: }
   317: 
   318: static int snk_input_port_r( int which ){
   319: 	switch( snk_io[which] ){
   320: 		case SNK_INP0:
   321: 		{
   322: 			int value = input_port_0_r( 0 );
   323: 			if( (snk_sound_register & 0x04) == 0 ) value &= ~snk_sound_busy_bit;
   324: 			return value;
   325: 		}
   326: 
   327: 		case SNK_ROT8_PLAYER1: return snk_rot8( 0 );
   328: 		case SNK_ROT8_PLAYER2: return snk_rot8( 1 );
   329: 
   330: 		case SNK_ROT12_PLAYER1: return snk_rot12( 0 );
   331: 		case SNK_ROT12_PLAYER2: return snk_rot12( 1 );
   332: 
   333: 		case SNK_INP1: return input_port_1_r(0);
   334: 		case SNK_INP2: return input_port_2_r(0);
   335: 		case SNK_INP3: return input_port_3_r(0);
   336: 		case SNK_INP4: return input_port_4_r(0);
   337: 		case SNK_INP5: return input_port_5_r(0);
   338: 		case SNK_INP6: return input_port_6_r(0);
   339: 		case SNK_INP7: return input_port_7_r(0);
   340: 		case SNK_INP8: return input_port_8_r(0);
   341: 		case SNK_INP9: return input_port_9_r(0);
   342: 		case SNK_INP10: return input_port_10_r(0);
   343: 		case SNK_INP11: return input_port_11_r(0);
   344: 
   345: 		default:
   346: 		logerror("read from unmapped input port:%d\n", which );
   347: 		break;
   348: 	}
   349: 	return 0;
   350: }
   351: 
   352: /*********************************************************************/
   353: 
   354: static WRITE_HANDLER( snk_sound_register_w ){
   355: 	snk_sound_register &= (data>>4);
   356: }
   357: 
   358: static READ_HANDLER( snk_sound_register_r ){
   359: 	return snk_sound_register;// | 0x2; /* hack; lets chopper1 play music */
   360: }
   361: 
   362: void snk_sound_callback0_w( int state ){ /* ? */
   363: 	if( state ) snk_sound_register |= 0x01;
   364: }
   365: 
   366: void snk_sound_callback1_w( int state ){ /* ? */
   367: 	if( state ) snk_sound_register |= 0x02;
   368: }
   369: 
   370: static struct YM3526interface ym3526_interface = {
   371: 	1,			/* number of chips */
   372: 	4000000,	/* 4 MHz */
   373: 	{ 100 },		/* mixing level */
   374: 	{ snk_sound_callback0_w } /* ? */
   375: };
   376: 
   377: static struct YM3526interface ym3526_ym3526_interface = {
   378: 	2,			/* number of chips */
   379: 	4000000,	/* 4 MHz */
   380: 	{ 100,100 },	/* mixing level */
   381: 	{ snk_sound_callback0_w, snk_sound_callback1_w } /* ? */
   382: };
   383: 
   384: static struct Y8950interface y8950_interface = {
   385: 	1,			/* number of chips */
   386: 	4000000,	/* 4 MHz */
   387: 	{ 100 },		/* mixing level */
   388: 	{ snk_sound_callback1_w }, /* ? */
   389: 	{ REGION_SOUND1 }	/* memory region */
   390: };
   391: 
   392: static struct YM3812interface ym3812_interface = {
   393: 	1,			/* number of chips */
   394: 	4000000,	/* 4 MHz */
   395: 	{ 100,100 },	/* mixing level */
   396: 	{ snk_sound_callback0_w } /* ? */
   397: };
   398: 
   399: static WRITE_HANDLER( snk_soundlatch_w ){
   400: 	snk_sound_register |= 0x08 | 0x04;
   401: 	soundlatch_w( offset, data );
   402: }
   403: 
   404: static READ_HANDLER( snk_soundlatch_clear_r ){ /* TNK3 */
   405: 	soundlatch_w( 0, 0 );
   406: 	snk_sound_register = 0;
   407: 	return 0x00;
   408: }
   409: 
   410: /*********************************************************************/
   411: 
   412: static MEMORY_READ_START( YM3526_readmem_sound )
   413: 	{ 0x0000, 0x7fff, MRA_ROM },
   414: 	{ 0x8000, 0x87ff, MRA_RAM },
   415: 	{ 0xa000, 0xa000, soundlatch_r },
   416: 	{ 0xc000, 0xc000, snk_soundlatch_clear_r },
   417: 	{ 0xe000, 0xe000, YM3526_status_port_0_r },
   418: MEMORY_END
   419: 
   420: static MEMORY_WRITE_START( YM3526_writemem_sound )
   421: 	{ 0x0000, 0x7fff, MWA_ROM },
   422: 	{ 0x8000, 0x87ff, MWA_RAM },
   423: 	{ 0xe000, 0xe000, YM3526_control_port_0_w },
   424: 	{ 0xe001, 0xe001, YM3526_write_port_0_w },
   425: MEMORY_END
   426: 
   427: static MEMORY_READ_START( YM3526_YM3526_readmem_sound )
   428: 	{ 0x0000, 0xbfff, MRA_ROM },
   429: 	{ 0xc000, 0xcfff, MRA_RAM },
   430: 	{ 0xe000, 0xe000, soundlatch_r },
   431: 	{ 0xe800, 0xe800, YM3526_status_port_0_r },
   432: 	{ 0xf000, 0xf000, YM3526_status_port_1_r },
   433: 	{ 0xf800, 0xf800, snk_sound_register_r },
   434: MEMORY_END
   435: 
   436: static MEMORY_WRITE_START( YM3526_YM3526_writemem_sound )
   437: 	{ 0x0000, 0xbfff, MWA_ROM },
   438: 	{ 0xc000, 0xcfff, MWA_RAM },
   439: 	{ 0xe800, 0xe800, YM3526_control_port_0_w },
   440: 	{ 0xec00, 0xec00, YM3526_write_port_0_w },
   441: 	{ 0xf000, 0xf000, YM3526_control_port_1_w },
   442: 	{ 0xf400, 0xf400, YM3526_write_port_1_w },
   443: 	{ 0xf800, 0xf800, snk_sound_register_w },
   444: MEMORY_END
   445: 
   446: static MEMORY_READ_START( YM3526_Y8950_readmem_sound )
   447: 	{ 0x0000, 0xbfff, MRA_ROM },
   448: 	{ 0xc000, 0xcfff, MRA_RAM },
   449: 	{ 0xe000, 0xe000, soundlatch_r },
   450: 	{ 0xe800, 0xe800, YM3526_status_port_0_r },
   451: 	{ 0xf000, 0xf000, Y8950_status_port_0_r },
   452: 	{ 0xf800, 0xf800, snk_sound_register_r },
   453: MEMORY_END
   454: 
   455: static MEMORY_WRITE_START( YM3526_Y8950_writemem_sound )
   456: 	{ 0x0000, 0xbfff, MWA_ROM },
   457: 	{ 0xc000, 0xcfff, MWA_RAM },
   458: 	{ 0xe800, 0xe800, YM3526_control_port_0_w },
   459: 	{ 0xec00, 0xec00, YM3526_write_port_0_w },
   460: 	{ 0xf000, 0xf000, Y8950_control_port_0_w },
   461: 	{ 0xf400, 0xf400, Y8950_write_port_0_w },
   462: 	{ 0xf800, 0xf800, snk_sound_register_w },
   463: MEMORY_END
   464: 
   465: static MEMORY_READ_START( YM3812_Y8950_readmem_sound )
   466: 	{ 0x0000, 0xbfff, MRA_ROM },
   467: 	{ 0xc000, 0xcfff, MRA_RAM },
   468: 	{ 0xe000, 0xe000, soundlatch_r },
   469: 	{ 0xe800, 0xe800, YM3812_status_port_0_r },
   470: 	{ 0xf000, 0xf000, Y8950_status_port_0_r },
   471: 	{ 0xf800, 0xf800, snk_sound_register_r },
   472: MEMORY_END
   473: 
   474: static MEMORY_WRITE_START( YM3812_Y8950_writemem_sound )
   475: 	{ 0x0000, 0xbfff, MWA_ROM },
   476: 	{ 0xc000, 0xcfff, MWA_RAM },
   477: 	{ 0xe800, 0xe800, YM3812_control_port_0_w },
   478: 	{ 0xec00, 0xec00, YM3812_write_port_0_w },
   479: 	{ 0xf000, 0xf000, Y8950_control_port_0_w },
   480: 	{ 0xf400, 0xf400, Y8950_write_port_0_w },
   481: 	{ 0xf800, 0xf800, snk_sound_register_w },
   482: MEMORY_END
   483: 
   484: static MEMORY_READ_START( Y8950_readmem_sound )
   485: 	{ 0x0000, 0xbfff, MRA_ROM },
   486: 	{ 0xc000, 0xcfff, MRA_RAM },
   487: 	{ 0xe000, 0xe000, soundlatch_r },
   488: 	{ 0xf000, 0xf000, Y8950_status_port_0_r },
   489: 	{ 0xf800, 0xf800, snk_sound_register_r },
   490: MEMORY_END
   491: 
   492: static MEMORY_WRITE_START( Y8950_writemem_sound )
   493: 	{ 0x0000, 0xbfff, MWA_ROM },
   494: 	{ 0xc000, 0xcfff, MWA_RAM },
   495: 	{ 0xf000, 0xf000, Y8950_control_port_0_w },
   496: 	{ 0xf400, 0xf400, Y8950_write_port_0_w },
   497: 	{ 0xf800, 0xf800, snk_sound_register_w },
   498: MEMORY_END
   499: 
   500: /**********************  Tnk3, Athena, Fighting Golf ********************/
   501: 
   502: static READ_HANDLER( shared_ram_r ){
   503: 	return shared_ram[offset];
   504: }
   505: static WRITE_HANDLER( shared_ram_w ){
   506: 	shared_ram[offset] = data;
   507: }
   508: 
   509: static READ_HANDLER( shared_ram2_r ){
   510: 	return shared_ram2[offset];
   511: }
   512: static WRITE_HANDLER( shared_ram2_w ){
   513: 	shared_ram2[offset] = data;
   514: }
   515: 
   516: static READ_HANDLER( cpuA_io_r ){
   517: 	switch( offset ){
   518: 		case 0x000: return snk_input_port_r( 0 );	// coin input, player start
   519: 		case 0x100: return snk_input_port_r( 1 );	// joy1
   520: 		case 0x180: return snk_input_port_r( 2 );	// joy2
   521: 		case 0x200: return snk_input_port_r( 3 );	// joy3
   522: 		case 0x280: return snk_input_port_r( 4 );	// joy4
   523: 		case 0x300: return snk_input_port_r( 5 );	// aim1
   524: 		case 0x380: return snk_input_port_r( 6 );	// aim2
   525: 		case 0x400: return snk_input_port_r( 7 );	// aim3
   526: 		case 0x480: return snk_input_port_r( 8 );	// aim4
   527: 		case 0x500: return snk_input_port_r( 9 );	// unused by tdfever
   528: 		case 0x580: return snk_input_port_r( 10 );	// dsw
   529: 		case 0x600: return snk_input_port_r( 11 );	// dsw
   530: 		case 0x080: return snk_input_port_r( 12 );	// player start (types C and D in 'ftsoccer')
   531: 
   532: 		case 0x700: return(snk_cpuB_nmi_trigger_r(0));
   533: 
   534: 		/* "Hard Flags" */
   535: 		case 0xe00:
   536: 		case 0xe20:
   537: 		case 0xe40:
   538: 		case 0xe60:
   539: 		case 0xe80:
   540: 		case 0xea0:
   541: 		case 0xee0: if( hard_flags ) return 0xff;
   542: 	}
   543: 	return io_ram[offset];
   544: }
   545: 
   546: static WRITE_HANDLER( cpuA_io_w ){
   547: 	switch( offset ){
   548: 		case 0x000:
   549: 		break;
   550: 
   551: 		case 0x400: /* most games */
   552: 		case 0x500: /* tdfever */
   553: 		snk_soundlatch_w( 0, data );
   554: 		break;
   555: 
   556: 		case 0x700:
   557: 		snk_cpuA_nmi_ack_w(0, 0);
   558: 		break;
   559: 
   560: 		default:
   561: 		io_ram[offset] = data;
   562: 		break;
   563: 	}
   564: }
   565: 
   566: static READ_HANDLER( cpuB_io_r ){
   567: 	switch( offset ){
   568: 		case 0x000:
   569: 		case 0x700: return(snk_cpuA_nmi_trigger_r(0));
   570: 
   571: 		/* "Hard Flags" they are needed here, otherwise ikarijp/b doesn't work right */
   572: 		case 0xe00:
   573: 		case 0xe20:
   574: 		case 0xe40:
   575: 		case 0xe60:
   576: 		case 0xe80:
   577: 		case 0xea0:
   578: 		case 0xee0: if( hard_flags ) return 0xff;
   579: 	}
   580: 	return io_ram[offset];
   581: }
   582: 
   583: static WRITE_HANDLER( cpuB_io_w )
   584: {
   585: 	io_ram[offset] = data;
   586: 
   587: 	if (offset==0 || offset==0x700) snk_cpuB_nmi_ack_w(0, 0);
   588: }
   589: 
   590: /**********************  Tnk3, Athena, Fighting Golf ********************/
   591: 
   592: static MEMORY_READ_START( tnk3_readmem_cpuA )
   593: 	{ 0x0000, 0xbfff, MRA_ROM },
   594: 	{ 0xc000, 0xcfff, cpuA_io_r },
   595: 	{ 0xd000, 0xf7ff, MRA_RAM },
   596: 	{ 0xf800, 0xffff, MRA_RAM },
   597: MEMORY_END
   598: static MEMORY_WRITE_START( tnk3_writemem_cpuA )
   599: 	{ 0x0000, 0xbfff, MWA_ROM },
   600: 	{ 0xc000, 0xcfff, cpuA_io_w, &io_ram },
   601: 	{ 0xd000, 0xf7ff, MWA_RAM, &shared_ram2 },
   602: 	{ 0xf800, 0xffff, MWA_RAM, &shared_ram },
   603: MEMORY_END
   604: 
   605: static MEMORY_READ_START( tnk3_readmem_cpuB )
   606: 	{ 0x0000, 0xbfff, MRA_ROM },
   607: 	{ 0xc000, 0xc7ff, cpuB_io_r },
   608: 	{ 0xc800, 0xefff, shared_ram2_r },
   609: 	{ 0xf000, 0xf7ff, MRA_RAM },
   610: 	{ 0xf800, 0xffff, shared_ram_r },
   611: MEMORY_END
   612: static MEMORY_WRITE_START( tnk3_writemem_cpuB )
   613: 	{ 0x0000, 0xbfff, MWA_ROM },
   614: 	{ 0xc000, 0xc7ff, cpuB_io_w },
   615: 	{ 0xc800, 0xefff, shared_ram2_w },
   616: 	{ 0xf000, 0xf7ff, MWA_RAM },
   617: 	{ 0xf800, 0xffff, shared_ram_w },
   618: MEMORY_END
   619: 
   620: 
   621: /* Chopper I, T.D.Fever, Psycho S., Bermuda T. */
   622: 
   623: static MEMORY_READ_START( readmem_cpuA )
   624: 	{ 0x0000, 0xbfff, MRA_ROM },
   625: 	{ 0xc000, 0xcfff, cpuA_io_r },
   626: 	{ 0xd000, 0xffff, MRA_RAM },
   627: MEMORY_END
   628: static MEMORY_WRITE_START( writemem_cpuA )
   629: 	{ 0x0000, 0xbfff, MWA_ROM },
   630: 	{ 0xc000, 0xcfff, cpuA_io_w, &io_ram },
   631: 	{ 0xd000, 0xffff, MWA_RAM, &shared_ram },
   632: MEMORY_END
   633: 
   634: static MEMORY_READ_START( readmem_cpuB )
   635: 	{ 0x0000, 0xbfff, MRA_ROM },
   636: 	{ 0xc000, 0xcfff, cpuB_io_r },
   637: 	{ 0xd000, 0xffff, shared_ram_r },
   638: MEMORY_END
   639: static MEMORY_WRITE_START( writemem_cpuB )
   640: 	{ 0x0000, 0xbfff, MWA_ROM },
   641: 	{ 0xc000, 0xcfff, cpuB_io_w },
   642: 	{ 0xd000, 0xffff, shared_ram_w },
   643: MEMORY_END
   644: 
   645: /*********************************************************************/
   646: 
   647: static struct GfxLayout char512 =
   648: {
   649: 	8,8,
   650: 	512,
   651: 	4,
   652: 	{ 0, 1, 2, 3 },
   653: 	{ 4, 0, 12, 8, 20, 16, 28, 24},
   654: 	{ 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32 },
   655: 	256
   656: };
   657: 
   658: static struct GfxLayout char1024 =
   659: {
   660: 	8,8,
   661: 	1024,
   662: 	4,
   663: 	{ 0, 1, 2, 3 },
   664: 	{ 4, 0, 12, 8, 20, 16, 28, 24},
   665: 	{ 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32 },
   666: 	256
   667: };
   668: 
   669: static struct GfxLayout tile1024 =
   670: {
   671: 	16,16,
   672: 	1024,
   673: 	4,
   674: 	{ 0, 1, 2, 3 },
   675: 	{ 4, 0, 12, 8, 20, 16, 28, 24,
   676: 		32+4, 32+0, 32+12, 32+8, 32+20, 32+16, 32+28, 32+24, },
   677: 	{ 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64,
   678: 		8*64, 9*64, 10*64, 11*64, 12*64, 13*64, 14*64, 15*64 },
   679: 	128*8
   680: };
   681: 
   682: static struct GfxLayout tile2048 =
   683: {
   684: 	16,16,
   685: 	2048,
   686: 	4,
   687: 	{ 0, 1, 2, 3 },
   688: 	{ 4, 0, 12, 8, 20, 16, 28, 24,
   689: 		32+4, 32+0, 32+12, 32+8, 32+20, 32+16, 32+28, 32+24, },
   690: 	{ 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64,
   691: 		8*64, 9*64, 10*64, 11*64, 12*64, 13*64, 14*64, 15*64 },
   692: 	128*8
   693: };
   694: 
   695: static struct GfxLayout tdfever_tiles =
   696: {
   697: 	16,16,
   698: 	512*5,
   699: 	4,
   700: 	{ 0, 1, 2, 3 },
   701: 	{ 4, 0, 12, 8, 20, 16, 28, 24,
   702: 		32+4, 32+0, 32+12, 32+8, 32+20, 32+16, 32+28, 32+24, },
   703: 	{ 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64,
   704: 		8*64, 9*64, 10*64, 11*64, 12*64, 13*64, 14*64, 15*64 },
   705: 	128*8
   706: };
   707: 
   708: static struct GfxLayout sprite512 =
   709: {
   710: 	16,16,
   711: 	512,
   712: 	3,
   713: 	{ 2*1024*256, 1*1024*256, 0*1024*256 },
   714: 	{ 7,6,5,4,3,2,1,0, 15,14,13,12,11,10,9,8 },
   715: 	{ 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16,
   716: 		8*16, 9*16, 10*16, 11*16, 12*16, 13*16, 14*16, 15*16 },
   717: 	256
   718: };
   719: 
   720: static struct GfxLayout sprite1024 =
   721: {
   722: 	16,16,
   723: 	1024,
   724: 	3,
   725: 	{ 2*1024*256,1*1024*256,0*1024*256 },
   726: 	{ 7,6,5,4,3,2,1,0, 15,14,13,12,11,10,9,8 },
   727: 	{ 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16,
   728: 		8*16, 9*16, 10*16, 11*16, 12*16, 13*16, 14*16, 15*16 },
   729: 	256
   730: };
   731: 
   732: static struct GfxLayout big_sprite512 =
   733: {
   734: 	32,32,
   735: 	512,
   736: 	3,
   737: 	{ 2*2048*256,1*2048*256,0*2048*256 },
   738: 	{
   739: 		7,6,5,4,3,2,1,0,
   740: 		15,14,13,12,11,10,9,8,
   741: 		23,22,21,20,19,18,17,16,
   742: 		31,30,29,28,27,26,25,24
   743: 	},
   744: 	{
   745: 		0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32,
   746: 		8*32, 9*32, 10*32, 11*32, 12*32, 13*32, 14*32, 15*32,
   747: 		16*32+0*32, 16*32+1*32, 16*32+2*32, 16*32+3*32,
   748: 		16*32+4*32, 16*32+5*32, 16*32+6*32, 16*32+7*32,
   749: 		16*32+8*32, 16*32+9*32, 16*32+10*32, 16*32+11*32,
   750: 		16*32+12*32, 16*32+13*32, 16*32+14*32, 16*32+15*32,
   751: 	},
   752: 	16*32*2
   753: };
   754: 
   755: static struct GfxLayout gwar_sprite1024 =
   756: {
   757: 	16,16,
   758: 	1024,
   759: 	4,
   760: 	{ 3*2048*256,2*2048*256,1*2048*256,0*2048*256 },
   761: 	{
   762: 		8,9,10,11,12,13,14,15,
   763: 		0,1,2,3,4,5,6,7
   764: 	},
   765: 	{ 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16,
   766: 			8*16, 9*16, 10*16, 11*16, 12*16, 13*16, 14*16, 15*16 },
   767: 	256
   768: };
   769: 
   770: static struct GfxLayout gwar_sprite2048 =
   771: {
   772: 	16,16,
   773: 	2048,
   774: 	4,
   775: 	{  3*2048*256,2*2048*256,1*2048*256,0*2048*256 },
   776: 	{ 8,9,10,11,12,13,14,15, 0,1,2,3,4,5,6,7 },
   777: 	{ 0*16, 1*16, 2*16, 3*16, 4*16, 5*16, 6*16, 7*16,
   778: 			8*16, 9*16, 10*16, 11*16, 12*16, 13*16, 14*16, 15*16 },
   779: 	256
   780: };
   781: 
   782: static struct GfxLayout gwar_big_sprite1024 =
   783: {
   784: 	32,32,
   785: 	1024,
   786: 	4,
   787: 	{ 3*1024*1024, 2*1024*1024, 1*1024*1024, 0*1024*1024 },
   788: 	{
   789: 		24,25,26,27,28,29,30,31,
   790: 		16,17,18,19,20,21,22,23,
   791: 		8,9,10,11,12,13,14,15,
   792: 		0,1,2,3,4,5,6,7
   793: 	},
   794: 	{
   795: 		0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32,
   796: 		8*32, 9*32, 10*32, 11*32, 12*32, 13*32, 14*32, 15*32,
   797: 		16*32+0*32, 16*32+1*32, 16*32+2*32, 16*32+3*32,
   798: 		16*32+4*32, 16*32+5*32, 16*32+6*32, 16*32+7*32,
   799: 		16*32+8*32, 16*32+9*32, 16*32+10*32, 16*32+11*32,
   800: 		16*32+12*32, 16*32+13*32, 16*32+14*32, 16*32+15*32,
   801: 	},
   802: 	1024
   803: };
   804: 
   805: static struct GfxLayout tdfever_big_sprite1024 =
   806: {
   807: 	32,32,
   808: 	1024,
   809: 	4,
   810: 	{ 0*0x100000, 1*0x100000, 2*0x100000, 3*0x100000 },
   811: 	{
   812: 		7,6,5,4,3,2,1,0,
   813: 		15,14,13,12,11,10,9,8,
   814: 		23,22,21,20,19,18,17,16,
   815: 		31,30,29,28,27,26,25,24
   816: 	},
   817: 	{
   818: 		0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32,
   819: 		8*32, 9*32, 10*32, 11*32, 12*32, 13*32, 14*32, 15*32,
   820: 		16*32+0*32, 16*32+1*32, 16*32+2*32, 16*32+3*32,
   821: 		16*32+4*32, 16*32+5*32, 16*32+6*32, 16*32+7*32,
   822: 		16*32+8*32, 16*32+9*32, 16*32+10*32, 16*32+11*32,
   823: 		16*32+12*32, 16*32+13*32, 16*32+14*32, 16*32+15*32,
   824: 	},
   825: 	1024
   826: };
   827: 
   828: /*********************************************************************/
   829: 
   830: static struct GfxDecodeInfo tnk3_gfxdecodeinfo[] =
   831: {
   832: 	{ REGION_GFX1, 0x0, &char512,	128*3,  8 },
   833: 	{ REGION_GFX2, 0x0, &char1024,	128*1, 16 },
   834: 	{ REGION_GFX3, 0x0, &sprite512,	128*0, 16 },
   835: 	{ -1 }
   836: };
   837: 
   838: static struct GfxDecodeInfo athena_gfxdecodeinfo[] =
   839: {
   840: 	/* colors 512-1023 are currently unused, I think they are a second bank */
   841: 	{ REGION_GFX1, 0x0, &char512,	128*3,  8 },	/* colors 384..511 */
   842: 	{ REGION_GFX2, 0x0, &char1024,   128*1, 16 },	/* colors 128..383 */
   843: 	{ REGION_GFX3, 0x0, &sprite1024,		0, 16 },	/* colors   0..127 */
   844: 	{ -1 }
   845: };
   846: 
   847: static struct GfxDecodeInfo ikari_gfxdecodeinfo[] =
   848: {
   849: 	{ REGION_GFX1, 0x0, &char512,             256, 16 },
   850: 	{ REGION_GFX2, 0x0, &tile1024,            256, 16 },
   851: 	{ REGION_GFX3, 0x0, &sprite1024,            0, 16 },
   852: 	{ REGION_GFX4, 0x0, &big_sprite512,       128, 16 },
   853: 	{ -1 }
   854: };
   855: 
   856: static struct GfxDecodeInfo gwar_gfxdecodeinfo[] =
   857: {
   858: 	{ REGION_GFX1, 0x0, &char1024,             256*0, 16 },
   859: 	{ REGION_GFX2, 0x0, &tile2048,             256*3, 16 },
   860: 	{ REGION_GFX3, 0x0, &gwar_sprite2048,      256*1, 16 },
   861: 	{ REGION_GFX4, 0x0, &gwar_big_sprite1024,  256*2, 16 },
   862: 	{ -1 }
   863: };
   864: 
   865: static struct GfxDecodeInfo bermudat_gfxdecodeinfo[] =
   866: {
   867: 	{ REGION_GFX1, 0x0, &char1024,             256*0, 16 },
   868: 	{ REGION_GFX2, 0x0, &tile2048,             256*3, 16 },
   869: 	{ REGION_GFX3, 0x0, &gwar_sprite1024,      256*1, 16 },
   870: 	{ REGION_GFX4, 0x0, &gwar_big_sprite1024,  256*2, 16 },
   871: 	{ -1 }
   872: };
   873: 
   874: static struct GfxDecodeInfo psychos_gfxdecodeinfo[] =
   875: {
   876: 	{ REGION_GFX1, 0x0, &char1024,             256*0, 16 },
   877: 	{ REGION_GFX2, 0x0, &tile2048,             256*3, 16 },
   878: 	{ REGION_GFX3, 0x0, &gwar_sprite1024,      256*1, 16 },
   879: 	{ REGION_GFX4, 0x0, &gwar_big_sprite1024,  256*2, 16 },
   880: 	{ -1 }
   881: };
   882: 
   883: static struct GfxDecodeInfo tdfever_gfxdecodeinfo[] =
   884: {
   885: 	{ REGION_GFX1, 0x0, &char1024,					256*0, 16 },
   886: 	{ REGION_GFX2, 0x0, &tdfever_tiles,				256*2, 16 },
   887: 	{ REGION_GFX3, 0x0, &tdfever_big_sprite1024,	256*1, 16 },
   888: 	{ -1 }
   889: };
   890: 
   891: 
   892: /**********************************************************************/
   893: 
   894: static MACHINE_DRIVER_START( tnk3 )
   895: 
   896: 	/* basic machine hardware */
   897: 	MDRV_CPU_ADD(Z80, 4000000)
   898: 	MDRV_CPU_MEMORY(tnk3_readmem_cpuA,tnk3_writemem_cpuA)
   899: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   900: 
   901: 	MDRV_CPU_ADD(Z80, 4000000)
   902: 	MDRV_CPU_MEMORY(tnk3_readmem_cpuB,tnk3_writemem_cpuB)
   903: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   904: 
   905: 	MDRV_CPU_ADD(Z80, 4000000)
   906: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
   907: 	MDRV_CPU_MEMORY(YM3526_readmem_sound,YM3526_writemem_sound)
   908: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,2)
   909: 
   910: 	MDRV_FRAMES_PER_SECOND(60)
   911: 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
   912: 	MDRV_INTERLEAVE(100)
   913: 
   914: 	/* video hardware */
   915: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_HAS_SHADOWS)
   916: 	MDRV_SCREEN_SIZE(36*8, 28*8)
   917: 	MDRV_VISIBLE_AREA(0*8, 36*8-1, 1*8, 28*8-1)
   918: 	MDRV_GFXDECODE(tnk3_gfxdecodeinfo)
   919: 	MDRV_PALETTE_LENGTH(1024)
   920: 
   921: 	MDRV_PALETTE_INIT(aso)
   922: 	MDRV_VIDEO_START(snk)
   923: 	MDRV_VIDEO_UPDATE(tnk3)
   924: 
   925: 	/* sound hardware */
   926: 	MDRV_SOUND_ADD(YM3526, ym3526_interface)
   927: MACHINE_DRIVER_END
   928: 
   929: 
   930: static MACHINE_DRIVER_START( athena )
   931: 
   932: 	/* basic machine hardware */
   933: 	MDRV_CPU_ADD(Z80, 4000000)
   934: 	MDRV_CPU_MEMORY(tnk3_readmem_cpuA,tnk3_writemem_cpuA)
   935: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   936: 
   937: 	MDRV_CPU_ADD(Z80, 4000000)
   938: 	MDRV_CPU_MEMORY(tnk3_readmem_cpuB,tnk3_writemem_cpuB)
   939: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   940: 
   941: 	MDRV_CPU_ADD(Z80, 4000000)
   942: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
   943: 	MDRV_CPU_MEMORY(YM3526_YM3526_readmem_sound,YM3526_YM3526_writemem_sound)
   944: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   945: 
   946: 	MDRV_FRAMES_PER_SECOND(60)
   947: 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
   948: 	MDRV_INTERLEAVE(300)
   949: 
   950: 	/* video hardware */
   951: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_HAS_SHADOWS)
   952: 	MDRV_SCREEN_SIZE(36*8, 28*8)
   953: 	MDRV_VISIBLE_AREA(0*8, 36*8-1, 1*8, 28*8-1)
   954: 	MDRV_GFXDECODE(athena_gfxdecodeinfo)
   955: 	MDRV_PALETTE_LENGTH(1024)
   956: 
   957: 	MDRV_PALETTE_INIT(aso)
   958: 	MDRV_VIDEO_START(snk)
   959: 	MDRV_VIDEO_UPDATE(tnk3)
   960: 
   961: 	/* sound hardware */
   962: 	MDRV_SOUND_ADD(YM3526, ym3526_ym3526_interface)
   963: MACHINE_DRIVER_END
   964: 
   965: 
   966: static MACHINE_DRIVER_START( ikari )
   967: 
   968: 	/* basic machine hardware */
   969: 	MDRV_CPU_ADD(Z80, 4000000)
   970: 	MDRV_CPU_MEMORY(readmem_cpuA,writemem_cpuA)
   971: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   972: 
   973: 	MDRV_CPU_ADD(Z80, 4000000)
   974: 	MDRV_CPU_MEMORY(readmem_cpuB,writemem_cpuB)
   975: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   976: 
   977: 	MDRV_CPU_ADD(Z80, 4000000)
   978: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
   979: 	MDRV_CPU_MEMORY(YM3526_YM3526_readmem_sound,YM3526_YM3526_writemem_sound)
   980: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   981: 
   982: 	MDRV_FRAMES_PER_SECOND(60)
   983: 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
   984: 	MDRV_INTERLEAVE(100)
   985: 
   986: 	/* video hardware */
   987: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_HAS_SHADOWS)
   988: 	MDRV_SCREEN_SIZE(36*8, 28*8)
   989: 	MDRV_VISIBLE_AREA(0*8, 36*8-1, 1*8, 28*8-1)
   990: 	MDRV_GFXDECODE(ikari_gfxdecodeinfo)
   991: 	MDRV_PALETTE_LENGTH(1024)
   992: 
   993: 	MDRV_PALETTE_INIT(snk_3bpp_shadow)
   994: 	MDRV_VIDEO_START(snk)
   995: 	MDRV_VIDEO_UPDATE(ikari)
   996: 
   997: 	/* sound hardware */
   998: 	MDRV_SOUND_ADD(YM3526, ym3526_ym3526_interface)
   999: MACHINE_DRIVER_END
  1000: 
  1001: 
  1002: static MACHINE_DRIVER_START( victroad )
  1003: 
  1004: 	/* basic machine hardware */
  1005: 	MDRV_CPU_ADD(Z80, 4000000)
  1006: 	MDRV_CPU_MEMORY(readmem_cpuA,writemem_cpuA)
  1007: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1008: 
  1009: 	MDRV_CPU_ADD(Z80, 4000000)
  1010: 	MDRV_CPU_MEMORY(readmem_cpuB,writemem_cpuB)
  1011: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1012: 
  1013: 	MDRV_CPU_ADD(Z80, 4000000)
  1014: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
  1015: 	MDRV_CPU_MEMORY(YM3526_Y8950_readmem_sound,YM3526_Y8950_writemem_sound)
  1016: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1017: 
  1018: 	MDRV_FRAMES_PER_SECOND(60)
  1019: 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
  1020: 	MDRV_INTERLEAVE(100)
  1021: 
  1022: 	/* video hardware */
  1023: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_HAS_SHADOWS)
  1024: 	MDRV_SCREEN_SIZE(36*8, 28*8)
  1025: 	MDRV_VISIBLE_AREA(0*8, 36*8-1, 1*8, 28*8-1)
  1026: 	MDRV_GFXDECODE(ikari_gfxdecodeinfo)
  1027: 	MDRV_PALETTE_LENGTH(1024)
  1028: 
  1029: 	MDRV_PALETTE_INIT(snk_3bpp_shadow)
  1030: 	MDRV_VIDEO_START(snk)
  1031: 	MDRV_VIDEO_UPDATE(ikari)
  1032: 
  1033: 	/* sound hardware */
  1034: 	MDRV_SOUND_ADD(YM3526, ym3526_interface)
  1035: 	MDRV_SOUND_ADD(Y8950,y8950_interface)
  1036: MACHINE_DRIVER_END
  1037: 
  1038: 
  1039: static MACHINE_DRIVER_START( gwar )
  1040: 
  1041: 	/* basic machine hardware */
  1042: 	MDRV_CPU_ADD(Z80, 4000000)
  1043: 	MDRV_CPU_MEMORY(readmem_cpuA,writemem_cpuA)
  1044: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1045: 
  1046: 	MDRV_CPU_ADD(Z80, 4000000)
  1047: 	MDRV_CPU_MEMORY(readmem_cpuB,writemem_cpuB)
  1048: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1049: 
  1050: 	MDRV_CPU_ADD(Z80, 4000000)
  1051: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
  1052: 	MDRV_CPU_MEMORY(YM3526_Y8950_readmem_sound,YM3526_Y8950_writemem_sound)
  1053: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1054: 
  1055: 	MDRV_FRAMES_PER_SECOND(60)
  1056: 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
  1057: 	MDRV_INTERLEAVE(100)
  1058: 
  1059: 	/* video hardware */
  1060: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  1061: 	MDRV_SCREEN_SIZE(400, 224)
  1062: 	MDRV_VISIBLE_AREA(8, 399-8, 0, 223)
  1063: 	MDRV_GFXDECODE(gwar_gfxdecodeinfo)
  1064: 	MDRV_PALETTE_LENGTH(1024)
  1065: 
  1066: 	MDRV_PALETTE_INIT(RRRR_GGGG_BBBB)
  1067: 	MDRV_VIDEO_START(snk)
  1068: 	MDRV_VIDEO_UPDATE(gwar)
  1069: 
  1070: 	/* sound hardware */
  1071: 	MDRV_SOUND_ADD(YM3526, ym3526_interface)
  1072: 	MDRV_SOUND_ADD(Y8950,y8950_interface)
  1073: MACHINE_DRIVER_END
  1074: 
  1075: 
  1076: static MACHINE_DRIVER_START( bermudat )
  1077: 
  1078: 	/* basic machine hardware */
  1079: 	MDRV_CPU_ADD(Z80, 4000000)
  1080: 	MDRV_CPU_MEMORY(readmem_cpuA,writemem_cpuA)
  1081: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1082: 
  1083: 	// 5MHz gives CPUB higher priority or ROM test will fail if the first NMI is triggered too early by CPUA
  1084: 	MDRV_CPU_ADD(Z80, 5000000)
  1085: 	MDRV_CPU_MEMORY(readmem_cpuB,writemem_cpuB)
  1086: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1087: 
  1088: 	MDRV_CPU_ADD(Z80, 4000000)
  1089: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
  1090: 	MDRV_CPU_MEMORY(YM3526_Y8950_readmem_sound,YM3526_Y8950_writemem_sound)
  1091: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1092: 
  1093: 	MDRV_FRAMES_PER_SECOND(60)
  1094: 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
  1095: 	MDRV_INTERLEAVE(100)
  1096: 
  1097: 	/* video hardware */
  1098: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  1099: 	MDRV_SCREEN_SIZE(400, 224)
  1100: 	MDRV_VISIBLE_AREA(16, 399, 0, 223)
  1101: 	MDRV_GFXDECODE(bermudat_gfxdecodeinfo)
  1102: 	MDRV_PALETTE_LENGTH(1024)
  1103: 
  1104: 	MDRV_PALETTE_INIT(RRRR_GGGG_BBBB)
  1105: 	MDRV_VIDEO_START(snk)
  1106: 	MDRV_VIDEO_UPDATE(gwar)
  1107: 
  1108: 	/* sound hardware */
  1109: 	MDRV_SOUND_ADD(YM3526, ym3526_interface)
  1110: 	MDRV_SOUND_ADD(Y8950,y8950_interface)
  1111: MACHINE_DRIVER_END
  1112: 
  1113: 
  1114: static MACHINE_DRIVER_START( psychos )
  1115: 
  1116: 	/* basic machine hardware */
  1117: 	MDRV_CPU_ADD(Z80, 4000000)
  1118: 	MDRV_CPU_MEMORY(readmem_cpuA,writemem_cpuA)
  1119: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1120: 
  1121: 	MDRV_CPU_ADD(Z80, 4000000)
  1122: 	MDRV_CPU_MEMORY(readmem_cpuB,writemem_cpuB)
  1123: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1124: 
  1125: 	MDRV_CPU_ADD(Z80, 4000000)
  1126: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
  1127: 	MDRV_CPU_MEMORY(YM3526_Y8950_readmem_sound,YM3526_Y8950_writemem_sound)
  1128: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,2)
  1129: 
  1130: 	MDRV_FRAMES_PER_SECOND(60)
  1131: 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
  1132: 	MDRV_INTERLEAVE(100)
  1133: 
  1134: 	/* video hardware */
  1135: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  1136: 	MDRV_SCREEN_SIZE(400, 224)
  1137: 	MDRV_VISIBLE_AREA(8, 399-8, 0, 223)
  1138: 	MDRV_GFXDECODE(psychos_gfxdecodeinfo)
  1139: 	MDRV_PALETTE_LENGTH(1024)
  1140: 
  1141: 	MDRV_PALETTE_INIT(RRRR_GGGG_BBBB)
  1142: 	MDRV_VIDEO_START(snk)
  1143: 	MDRV_VIDEO_UPDATE(gwar)
  1144: 
  1145: 	/* sound hardware */
  1146: 	MDRV_SOUND_ADD(YM3526, ym3526_interface)
  1147: 	MDRV_SOUND_ADD(Y8950,y8950_interface)
  1148: MACHINE_DRIVER_END
  1149: 
  1150: 
  1151: static MACHINE_DRIVER_START( chopper1 )
  1152: 
  1153: 	/* basic machine hardware */
  1154: 	MDRV_CPU_ADD(Z80, 4000000)
  1155: 	MDRV_CPU_MEMORY(readmem_cpuA,writemem_cpuA)
  1156: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1157: 
  1158: 	MDRV_CPU_ADD(Z80, 4000000)
  1159: 	MDRV_CPU_MEMORY(readmem_cpuB,writemem_cpuB)
  1160: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1161: 
  1162: 	MDRV_CPU_ADD(Z80, 4000000)
  1163: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
  1164: 	MDRV_CPU_MEMORY(YM3812_Y8950_readmem_sound,YM3812_Y8950_writemem_sound)
  1165: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1166: 
  1167: 	MDRV_FRAMES_PER_SECOND(60)
  1168: 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
  1169: 	MDRV_INTERLEAVE(100)
  1170: 
  1171: 	/* video hardware */
  1172: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
  1173: 	MDRV_SCREEN_SIZE(400, 224)
  1174: 	MDRV_VISIBLE_AREA(8, 399-8, 0, 223)
  1175: 	MDRV_GFXDECODE(psychos_gfxdecodeinfo)
  1176: 	MDRV_PALETTE_LENGTH(1024)
  1177: 
  1178: 	MDRV_PALETTE_INIT(RRRR_GGGG_BBBB)
  1179: 	MDRV_VIDEO_START(snk)
  1180: 	MDRV_VIDEO_UPDATE(gwar)
  1181: 
  1182: 	/* sound hardware */
  1183: 	MDRV_SOUND_ADD(YM3812, ym3812_interface)
  1184: 	MDRV_SOUND_ADD(Y8950, y8950_interface)
  1185: MACHINE_DRIVER_END
  1186: 
  1187: 
  1188: static MACHINE_DRIVER_START( tdfever )
  1189: 
  1190: 	/* basic machine hardware */
  1191: 	MDRV_CPU_ADD(Z80, 4000000)
  1192: 	MDRV_CPU_MEMORY(readmem_cpuA,writemem_cpuA)
  1193: 	MDRV_CPU_VBLANK_INT(snk_irq_AB,1)
  1194: 
  1195: 	MDRV_CPU_ADD(Z80, 4000000)
  1196: 	MDRV_CPU_MEMORY(readmem_cpuB,writemem_cpuB)
  1197: //	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1198: 
  1199: 	MDRV_CPU_ADD(Z80, 4000000)
  1200: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
  1201: 	MDRV_CPU_MEMORY(YM3526_Y8950_readmem_sound,YM3526_Y8950_writemem_sound)
  1202: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1203: 
  1204: 	MDRV_FRAMES_PER_SECOND(60)
  1205: 	MDRV_VBLANK_DURATION(1000)
  1206: 	MDRV_INTERLEAVE(300)
  1207: 
  1208: 	/* video hardware */
  1209: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_HAS_SHADOWS | VIDEO_HAS_HIGHLIGHTS | VIDEO_UPDATE_AFTER_VBLANK)
  1210: 	MDRV_SCREEN_SIZE(400,224)
  1211: 	MDRV_VISIBLE_AREA(8, 399-8, 0, 223)
  1212: 	MDRV_GFXDECODE(tdfever_gfxdecodeinfo)
  1213: 	MDRV_PALETTE_LENGTH(1024)
  1214: 
  1215: 	MDRV_PALETTE_INIT(snk_4bpp_shadow)
  1216: 	MDRV_VIDEO_START(snk)
  1217: 	MDRV_VIDEO_UPDATE(tdfever)
  1218: 
  1219: 	/* sound hardware */
  1220: 	MDRV_SOUND_ADD(YM3526, ym3526_interface)
  1221: 	MDRV_SOUND_ADD(Y8950,y8950_interface)
  1222: MACHINE_DRIVER_END
  1223: 
  1224: 
  1225: static MACHINE_DRIVER_START( ftsoccer )
  1226: 
  1227: 	/* basic machine hardware */
  1228: 	MDRV_CPU_ADD(Z80, 4000000)
  1229: 	MDRV_CPU_MEMORY(readmem_cpuA,writemem_cpuA)
  1230: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1231: 
  1232: 	MDRV_CPU_ADD(Z80, 4000000)
  1233: 	MDRV_CPU_MEMORY(readmem_cpuB,writemem_cpuB)
  1234: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1235: 
  1236: 	MDRV_CPU_ADD(Z80, 4000000)
  1237: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
  1238: 	MDRV_CPU_MEMORY(Y8950_readmem_sound,Y8950_writemem_sound)
  1239: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
  1240: 
  1241: 	MDRV_FRAMES_PER_SECOND(60)
  1242: 	MDRV_VBLANK_DURATION(DEFAULT_REAL_60HZ_VBLANK_DURATION)
  1243: 	MDRV_INTERLEAVE(100)
  1244: 
  1245: 	/* video hardware */
  1246: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_HAS_SHADOWS | VIDEO_HAS_HIGHLIGHTS | VIDEO_UPDATE_AFTER_VBLANK)
  1247: 	MDRV_SCREEN_SIZE(400,224)
  1248: 	MDRV_VISIBLE_AREA(8, 399-8, 0, 223)
  1249: 	MDRV_GFXDECODE(tdfever_gfxdecodeinfo)
  1250: 	MDRV_PALETTE_LENGTH(1024)
  1251: 
  1252: 	MDRV_PALETTE_INIT(snk_4bpp_shadow)
  1253: 	MDRV_VIDEO_START(snk)
  1254: 	MDRV_VIDEO_UPDATE(tdfever)
  1255: 
  1256: 	/* sound hardware */
  1257: 	MDRV_SOUND_ADD(Y8950, y8950_interface)
  1258: MACHINE_DRIVER_END
  1259: 
  1260: 
  1261: /***********************************************************************/
  1262: 
  1263: ROM_START( tnk3 )
  1264: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  1265: 	ROM_LOAD( "tnk3-p1.bin",  0x0000, 0x4000, CRC(0d2a8ca9) SHA1(eba950dab044496e8c1c02af20a9d380996ea20a) )
  1266: 	ROM_LOAD( "tnk3-p2.bin",  0x4000, 0x4000, CRC(0ae0a483) SHA1(6a1ba86da4fd75bfb00855db04eac2727ec4159e) )
  1267: 	ROM_LOAD( "tnk3-p3.bin",  0x8000, 0x4000, CRC(d16dd4db) SHA1(dcbc61251c13e11ce3cdd7a5ad200cd2d2758cab) )
  1268: 
  1269: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  1270: 	ROM_LOAD( "tnk3-p4.bin",  0x0000, 0x4000, CRC(01b45a90) SHA1(85ba3b157cd6463c92ed831bb48d38f3a16f9537) )
  1271: 	ROM_LOAD( "tnk3-p5.bin",  0x4000, 0x4000, CRC(60db6667) SHA1(9c4bb99473c6d9b8ac9086b7364b6278b70757f6) )
  1272: 	ROM_LOAD( "tnk3-p6.bin",  0x8000, 0x4000, CRC(4761fde7) SHA1(dadf60e33f5dd8108478ca480bcef6b2624cfca8) )
  1273: 
  1274: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1275: 	ROM_LOAD( "tnk3-p10.bin",  0x0000, 0x4000, CRC(7bf0a517) SHA1(0197feeaf511ac59f3df8195ec57e947fb08e995) )
  1276: 	ROM_LOAD( "tnk3-p11.bin",  0x4000, 0x4000, CRC(0569ce27) SHA1(7aa73f57ad97445ce5729f05cd8d24973886dbf5) )
  1277: 
  1278: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1279: 	ROM_LOAD( "7122.2",  0x000, 0x400, CRC(34c06bc6) SHA1(bb68e96a8fcc754840420952dab961e03bf6acdd) )
  1280: 	ROM_LOAD( "7122.1",  0x400, 0x400, CRC(6d0ac66a) SHA1(e792218ec43dd10473dc020afed8527cf43ea0d0) )
  1281: 	ROM_LOAD( "7122.0",  0x800, 0x400, CRC(4662b4c8) SHA1(391c2b8a17ce2e092b46a17fc4170dc1e3bde426) )
  1282: 
  1283: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1284: 	ROM_LOAD( "tnk3-p14.bin", 0x0000, 0x2000, CRC(1fd18c43) SHA1(611b5aa97df84c0117681772deb006f32a899ad3) )
  1285: 	ROM_RELOAD(               0x2000, 0x2000 )
  1286: 
  1287: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE ) /* background tiles */
  1288: 	ROM_LOAD( "tnk3-p12.bin", 0x0000, 0x4000, CRC(ff495a16) SHA1(e6b97a63efe58018260ff34f0ea4edc81718cb14) )
  1289: 	ROM_LOAD( "tnk3-p13.bin", 0x4000, 0x4000, CRC(f8344843) SHA1(c741dc84b48f830f6d4eaa4476f5c2a391153acc) )
  1290: 
  1291: 	ROM_REGION( 0x18000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1292: 	ROM_LOAD( "tnk3-p7.bin", 0x00000, 0x4000, CRC(06b92c88) SHA1(b39c2cc4a58937d89f9b0c9093b9742509db64a3) )
  1293: 	ROM_LOAD( "tnk3-p8.bin", 0x08000, 0x4000, CRC(63d0e2eb) SHA1(96182639bb620d9692a4c8266130769c44dd29f8) )
  1294: 	ROM_LOAD( "tnk3-p9.bin", 0x10000, 0x4000, CRC(872e3fac) SHA1(98e7e9315fe7ccc51151c67dc60a362a1c2d8372) )
  1295: ROM_END
  1296: 
  1297: ROM_START( tnk3j )
  1298: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  1299: 	ROM_LOAD( "p1.4e",  0x0000, 0x4000, CRC(03aca147) SHA1(9ce4cfdfbd22f10e13c8e474dc2e5aa3bfd57e0b) )
  1300: 	ROM_LOAD( "tnk3-p2.bin",  0x4000, 0x4000, CRC(0ae0a483) SHA1(6a1ba86da4fd75bfb00855db04eac2727ec4159e) )
  1301: 	ROM_LOAD( "tnk3-p3.bin",  0x8000, 0x4000, CRC(d16dd4db) SHA1(dcbc61251c13e11ce3cdd7a5ad200cd2d2758cab) )
  1302: 
  1303: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  1304: 	ROM_LOAD( "tnk3-p4.bin",  0x0000, 0x4000, CRC(01b45a90) SHA1(85ba3b157cd6463c92ed831bb48d38f3a16f9537) )
  1305: 	ROM_LOAD( "tnk3-p5.bin",  0x4000, 0x4000, CRC(60db6667) SHA1(9c4bb99473c6d9b8ac9086b7364b6278b70757f6) )
  1306: 	ROM_LOAD( "tnk3-p6.bin",  0x8000, 0x4000, CRC(4761fde7) SHA1(dadf60e33f5dd8108478ca480bcef6b2624cfca8) )
  1307: 
  1308: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1309: 	ROM_LOAD( "tnk3-p10.bin",  0x0000, 0x4000, CRC(7bf0a517) SHA1(0197feeaf511ac59f3df8195ec57e947fb08e995) )
  1310: 	ROM_LOAD( "tnk3-p11.bin",  0x4000, 0x4000, CRC(0569ce27) SHA1(7aa73f57ad97445ce5729f05cd8d24973886dbf5) )
  1311: 
  1312: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1313: 	ROM_LOAD( "7122.2",  0x000, 0x400, CRC(34c06bc6) SHA1(bb68e96a8fcc754840420952dab961e03bf6acdd) )
  1314: 	ROM_LOAD( "7122.1",  0x400, 0x400, CRC(6d0ac66a) SHA1(e792218ec43dd10473dc020afed8527cf43ea0d0) )
  1315: 	ROM_LOAD( "7122.0",  0x800, 0x400, CRC(4662b4c8) SHA1(391c2b8a17ce2e092b46a17fc4170dc1e3bde426) )
  1316: 
  1317: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1318: 	ROM_LOAD( "p14.1e", 0x0000, 0x2000, CRC(6bd575ca) SHA1(446bb929fa19a7ff8b92731f71ab3e3252899f07) )
  1319: 	ROM_RELOAD(         0x2000, 0x2000 )
  1320: 
  1321: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE ) /* background tiles */
  1322: 	ROM_LOAD( "tnk3-p12.bin", 0x0000, 0x4000, CRC(ff495a16) SHA1(e6b97a63efe58018260ff34f0ea4edc81718cb14) )
  1323: 	ROM_LOAD( "tnk3-p13.bin", 0x4000, 0x4000, CRC(f8344843) SHA1(c741dc84b48f830f6d4eaa4476f5c2a391153acc) )
  1324: 
  1325: 	ROM_REGION( 0x18000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1326: 	ROM_LOAD( "tnk3-p7.bin", 0x00000, 0x4000, CRC(06b92c88) SHA1(b39c2cc4a58937d89f9b0c9093b9742509db64a3) )
  1327: 	ROM_LOAD( "tnk3-p8.bin", 0x08000, 0x4000, CRC(63d0e2eb) SHA1(96182639bb620d9692a4c8266130769c44dd29f8) )
  1328: 	ROM_LOAD( "tnk3-p9.bin", 0x10000, 0x4000, CRC(872e3fac) SHA1(98e7e9315fe7ccc51151c67dc60a362a1c2d8372) )
  1329: ROM_END
  1330: 
  1331: /***********************************************************************/
  1332: 
  1333: ROM_START( athena )
  1334: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* 64k for cpuA code */
  1335: 	ROM_LOAD( "up02_p4.rom",  0x0000, 0x4000,  CRC(900a113c) SHA1(3a85f87cbf79d60f58858df4852d6d97300c9280) )
  1336: 	ROM_LOAD( "up02_m4.rom",  0x4000, 0x8000,  CRC(61c69474) SHA1(93f1222a3908c84fe6679e2deb90afbe4a22e675) )
  1337: 
  1338: 	ROM_REGION(  0x10000 , REGION_CPU2, 0 ) /* 64k for cpuB code */
  1339: 	ROM_LOAD( "up02_p8.rom",  0x0000, 0x4000, CRC(df50af7e) SHA1(2a69089aecf598cb11f4f1c9b42d81670f9bd68e) )
  1340: 	ROM_LOAD( "up02_m8.rom",  0x4000, 0x8000, CRC(f3c933df) SHA1(70a0bf63230be53da9196fae4c3e604205275ddd) )
  1341: 
  1342: 	ROM_REGION( 0x10000, REGION_CPU3, 0 ) /* 64k for sound code */
  1343: 	ROM_LOAD( "up02_g6.rom",  0x0000, 0x4000, CRC(42dbe029) SHA1(9aa311860693bd3e73f2b72ca4b171cb95f069ee) )
  1344: 	ROM_LOAD( "up02_k6.rom",  0x4000, 0x8000, CRC(596f1c8a) SHA1(8f1400c77473c845e57a14fa479cf4f7ac66a909) )
  1345: 
  1346: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1347: 	ROM_LOAD( "up02_c2.rom",  0x000, 0x400, CRC(294279ae) SHA1(b3db5617b83845a6c1abca8f71fa4598758a2a56) )
  1348: 	ROM_LOAD( "up02_b1.rom",  0x400, 0x400, CRC(d25c9099) SHA1(f3933075cce1255affc61dfefd9559b6e15ed29c) )
  1349: 	ROM_LOAD( "up02_c1.rom",  0x800, 0x400, CRC(a4a4e7dc) SHA1(aa694c2d44dcabc6cfd46307c55c3759eff57236) )
  1350: 
  1351: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1352: 	ROM_LOAD( "up01_d2.rom",  0x0000, 0x4000,  CRC(18b4bcca) SHA1(2476aa6c8d55e117d840202a97fe2a65e252ad7f) )
  1353: 
  1354: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE ) /* background tiles */
  1355: 	ROM_LOAD( "up01_b2.rom",  0x0000, 0x8000,  CRC(f269c0eb) SHA1(a947c6e4d82e0aafa616d25395ef63c33d9beb06) )
  1356: 
  1357: 	ROM_REGION( 0x18000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1358: 	ROM_LOAD( "up01_p2.rom",  0x00000, 0x8000, CRC(c63a871f) SHA1(0ab8ebebd750fdcad283eed427179f2124b300ae) )
  1359: 	ROM_LOAD( "up01_s2.rom",  0x08000, 0x8000, CRC(760568d8) SHA1(9dc447c446791c79322e21e3caef6ceae347e2fb) )
  1360: 	ROM_LOAD( "up01_t2.rom",  0x10000, 0x8000, CRC(57b35c73) SHA1(6d15b94b50c3734f7d60bd9bd1c5e6c76591d829) )
  1361: ROM_END
  1362: 
  1363: /***********************************************************************/
  1364: 
  1365: ROM_START( fitegolf )
  1366: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  1367: 	ROM_LOAD( "gu2",    0x0000, 0x4000, CRC(19be7ad6) SHA1(6f0faf606e44a3f8cc027699cc816aa3414a1b98) )
  1368: 	ROM_LOAD( "gu1",    0x4000, 0x8000, CRC(bc32568f) SHA1(35fec3dbdd773ec7f427ecdd81066fb8f1b74e05) )
  1369: 
  1370: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  1371: 	ROM_LOAD( "gu6",    0x0000, 0x4000, CRC(2b9978c5) SHA1(5490e9f796697318650fc5f70c0e64d6785ad7fc) )
  1372: 	ROM_LOAD( "gu5",    0x4000, 0x8000, CRC(ea3d138c) SHA1(af0a0bfe2d266179946948cf42fe697505798a4f) )
  1373: 
  1374: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1375: 	ROM_LOAD( "gu3",    0x0000, 0x4000, CRC(811b87d7) SHA1(fb387f42085d6e0e5a88729ca0e50656411ce037) )
  1376: 	ROM_LOAD( "gu4",    0x4000, 0x8000, CRC(2d998e2b) SHA1(a471cfbb4dabc90fcc29c562620b9965eaff6861) )
  1377: 
  1378: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1379: 	ROM_LOAD( "82s137.2c",  0x00000, 0x00400, CRC(6e4c7836) SHA1(3ab3c498939fac992e2bf1c33983ee821a9b6a18) )
  1380: 	ROM_LOAD( "82s137.1b",  0x00400, 0x00400, CRC(29e7986f) SHA1(85ba8d3443458c27728f633745857a1315dd183f) )
  1381: 	ROM_LOAD( "82s137.1c",  0x00800, 0x00400, CRC(27ba9ff9) SHA1(f021d10460f40de4447560df5ac47fa53bb57ff9) )
  1382: 
  1383: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1384: 	ROM_LOAD( "gu8",   0x0000, 0x4000, CRC(f1628dcf) SHA1(efea343d3a9dd45ef74947c297e166e34afbb680) )
  1385: 
  1386: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  1387: 	ROM_LOAD( "gu7",  0x0000, 0x8000, CRC(4655f94e) SHA1(08526206d8e929bb01d61fff8de2ee99fd287c17) )
  1388: 
  1389: 	ROM_REGION( 0x18000, REGION_GFX3, ROMREGION_DISPOSE ) /* sprites */
  1390: 	ROM_LOAD( "gu9",   0x00000, 0x8000, CRC(d4957ec5) SHA1(8ead7866ba5ac66ead6b707aa868bcae30c486e1) )
  1391: 	ROM_LOAD( "gu10",  0x08000, 0x8000, CRC(b3acdac2) SHA1(7377480d5e1b5ab2c49f5fee2927623ce8240e19) )
  1392: 	ROM_LOAD( "gu11",  0x10000, 0x8000, CRC(b99cf73b) SHA1(23989fc3914e77d364807a9eb96a4ddf75ad7cf1) )
  1393: ROM_END
  1394: 
  1395: ROM_START( fitegol2 )
  1396: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  1397: 	ROM_LOAD( "np45.128", 0x0000, 0x4000, CRC(16e8e763) SHA1(0b5296f2a91a7f3176b7461ca4958865ce998241) )
  1398: 	ROM_LOAD( "mn45.256", 0x4000, 0x8000, CRC(a4fa09d5) SHA1(ae7f0cb47de06006ae71252c4201a93a01a26887) )
  1399: 
  1400: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  1401: 	ROM_LOAD( "gu6",    0x0000, 0x4000, CRC(2b9978c5) SHA1(5490e9f796697318650fc5f70c0e64d6785ad7fc) )	// NP8.256
  1402: 	ROM_LOAD( "gu5",    0x4000, 0x8000, CRC(ea3d138c) SHA1(af0a0bfe2d266179946948cf42fe697505798a4f) )	// MN8.256
  1403: 
  1404: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1405: 	ROM_LOAD( "gu3",    0x0000, 0x4000, CRC(811b87d7) SHA1(fb387f42085d6e0e5a88729ca0e50656411ce037) )	// FG67.256
  1406: 	ROM_LOAD( "gu4",    0x4000, 0x8000, CRC(2d998e2b) SHA1(a471cfbb4dabc90fcc29c562620b9965eaff6861) )	// K67.256
  1407: 
  1408: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1409: 	ROM_LOAD( "82s137.2c",  0x00000, 0x00400, CRC(6e4c7836) SHA1(3ab3c498939fac992e2bf1c33983ee821a9b6a18) )
  1410: 	ROM_LOAD( "82s137.1b",  0x00400, 0x00400, CRC(29e7986f) SHA1(85ba8d3443458c27728f633745857a1315dd183f) )
  1411: 	ROM_LOAD( "82s137.1c",  0x00800, 0x00400, CRC(27ba9ff9) SHA1(f021d10460f40de4447560df5ac47fa53bb57ff9) )
  1412: 
  1413: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1414: 	ROM_LOAD( "gu8",   0x0000, 0x4000, CRC(f1628dcf) SHA1(efea343d3a9dd45ef74947c297e166e34afbb680) )		// D2.128
  1415: 
  1416: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  1417: 	ROM_LOAD( "gu7",  0x0000, 0x8000, CRC(4655f94e) SHA1(08526206d8e929bb01d61fff8de2ee99fd287c17) )		// BC2.256
  1418: 
  1419: 	ROM_REGION( 0x18000, REGION_GFX3, ROMREGION_DISPOSE ) /* sprites */
  1420: 	ROM_LOAD( "gu9",   0x00000, 0x8000, CRC(d4957ec5) SHA1(8ead7866ba5ac66ead6b707aa868bcae30c486e1) )	// P2.256
  1421: 	ROM_LOAD( "gu10",  0x08000, 0x8000, CRC(b3acdac2) SHA1(7377480d5e1b5ab2c49f5fee2927623ce8240e19) )	// R2.256
  1422: 	ROM_LOAD( "gu11",  0x10000, 0x8000, CRC(b99cf73b) SHA1(23989fc3914e77d364807a9eb96a4ddf75ad7cf1) )	// S2.256
  1423: ROM_END
  1424: 
  1425: ROM_START( countryc )
  1426: 
  1427: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuA code */
  1428: 	ROM_LOAD( "cc2.2e",  0x0000, 0x04000,  CRC(43d205e0) SHA1(d32f597bf2b70e326e68583cb95e0beeea34d5d0) )
  1429: 	ROM_LOAD( "cc3.2g",  0x4000, 0x04000,  CRC(7290770f) SHA1(41184047e3e21f6ff4f724d59f4c6f34b19bcfc1) )
  1430: 	ROM_LOAD( "cc4.2h",  0x8000, 0x04000,  CRC(61990582) SHA1(b12e6da3b8d7690bf6848a624b42dcb93f69ead7) )
  1431: 
  1432: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuB code */
  1433: 	ROM_LOAD( "cc5.4e",  0x00000, 0x4000, CRC(07666af8) SHA1(4b4c51bd1bc5ee49bb516e6851b2e6b5a7780576) )
  1434: 	ROM_LOAD( "cc6.4g",  0x04000, 0x4000, CRC(ab18fd9f) SHA1(30a30998191cb81a6bfcd672e54f8a155639ccd7) )
  1435: 	ROM_LOAD( "cc7.4h",  0x08000, 0x4000, CRC(58a1ec0c) SHA1(877935463121a992851e9b76074e1a4d033a0b2e) )
  1436: 
  1437: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1438: 	ROM_LOAD( "cc1.1f",  0x00000, 0x10000, CRC(863f1624) SHA1(11c0aeefaddf16cc9e1c259e97b90fe418d70c89) )
  1439: 
  1440: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1441: 	ROM_LOAD( "cc1pr.5f",  0x000, 0x00400, CRC(7da9ce33) SHA1(42b272473986819e96633684b6dd9630ca2c37d6) )
  1442: 	ROM_LOAD( "cc2pr.5g",  0x400, 0x00400, CRC(982e4f46) SHA1(c4703a35201bc4c6b43f629a9a6a4c66354c6305) )
  1443: 	ROM_LOAD( "cc3pr.5h",  0x800, 0x00400, CRC(47f2b83d) SHA1(6335be47f09ad33d7e05fda26a2f3fb9048dbbc2) )
  1444: 
  1445: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1446: 	ROM_LOAD( "cc11.1e",  0x0000, 0x4000, CRC(ce927ac7) SHA1(a0dd281912aa9ae7e408c2132fae30bffbc83750) )
  1447: 
  1448: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  1449: 	ROM_LOAD( "cc13.2d",  0x0000, 0x4000, CRC(ef86c388) SHA1(19e443f6a4901a3c9db868964c08b0f58be1983d) )
  1450: 	ROM_LOAD( "cc12.2c",  0x4000, 0x4000, CRC(d7d55a36) SHA1(1956097c2633f603cc1557f6e686b3c06b199dd8) )
  1451: 
  1452: 	ROM_REGION( 0x18000, REGION_GFX3, ROMREGION_DISPOSE ) /* 32x32 sprites */
  1453: 	ROM_LOAD( "cc10.7h",  0x00000, 0x8000, CRC(90091667) SHA1(d0d3813a0c3ac7e9e9ab824292dccb27c2087ea7) )
  1454: 	ROM_LOAD( "cc9.7g",   0x08000, 0x8000, CRC(56249142) SHA1(10b703f15977ba21757aee3d212790372b35cc66) )
  1455: 	ROM_LOAD( "cc8.7e",   0x10000, 0x8000, CRC(55943065) SHA1(ea545c6e8666c915994836d2f2cfc02db35e37c1) )
  1456: 
  1457: ROM_END
  1458: 
  1459: /***********************************************************************/
  1460: 
  1461: ROM_START( ikari )
  1462: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* CPU A */
  1463: 	ROM_LOAD( "1.rom",  0x0000, 0x10000, CRC(52a8b2dd) SHA1(a896387d68ed9a55c313bdb81acdf8d68b7a1264) )
  1464: 
  1465: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* CPU B */
  1466: 	ROM_LOAD( "2.rom",  0x0000, 0x10000, CRC(45364d55) SHA1(323b998f782a4681ceb18016c5fb0fa1d6361aac) )
  1467: 
  1468: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* Sound CPU */
  1469: 	ROM_LOAD( "3.rom",  0x0000, 0x10000, CRC(56a26699) SHA1(e9ccb27f1e711e4648fdfe3c7ff956038d3e101c) )
  1470: 
  1471: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1472: 	ROM_LOAD( "7122er.prm",  0x000, 0x400, CRC(b9bf2c2c) SHA1(8eb62152dcb04f463baf6ec2a66148eb947403ef) )
  1473: 	ROM_LOAD( "7122eg.prm",  0x400, 0x400, CRC(0703a770) SHA1(62861ef4987003d4965ef5018ccdf7157981d939) )
  1474: 	ROM_LOAD( "7122eb.prm",  0x800, 0x400, CRC(0a11cdde) SHA1(faae17398341317e7afbd06b903b8e9e65967bf1) )
  1475: 
  1476: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1477: 	ROM_LOAD( "7.rom",    0x00000, 0x4000, CRC(a7eb4917) SHA1(6c07323cc243df4c5c30bc0daedbff3887309f65) )
  1478: 
  1479: 	ROM_REGION( 0x20000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  1480: 	ROM_LOAD( "17.rom", 0x00000, 0x8000, CRC(e0dba976) SHA1(5a8f14f7a199b5fb1862debda0bceee42cddac59) )
  1481: 	ROM_LOAD( "18.rom", 0x08000, 0x8000, CRC(24947d5f) SHA1(ffd18074ced8171c9da56c839e8289afc29af2c9) )
  1482: 	ROM_LOAD( "19.rom", 0x10000, 0x8000, CRC(9ee59e91) SHA1(fe51d13ab73cb596a233669e304b2be66f9becae) )
  1483: 	ROM_LOAD( "20.rom", 0x18000, 0x8000, CRC(5da7ec1a) SHA1(4b212c1dfe4c18eced90ee3a783e7edf8d23c906) )
  1484: 
  1485: 	ROM_REGION( 0x18000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1486: 	ROM_LOAD( "8.rom",  0x00000, 0x8000, CRC(9827c14a) SHA1(b54dcee95c6f6e46c187a117b4e7aaf1c0ece6c6) )
  1487: 	ROM_LOAD( "9.rom",  0x08000, 0x8000, CRC(545c790c) SHA1(7738738f4a1343b04efd029ecaefac74010451f0) )
  1488: 	ROM_LOAD( "10.rom", 0x10000, 0x8000, CRC(ec9ba07e) SHA1(6b492b2cd7b8cca948ce39c3450f1cc153f41d90) )
  1489: 
  1490: 	ROM_REGION( 0x30000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  1491: 	ROM_LOAD( "11.rom", 0x00000, 0x8000, CRC(5c75ea8f) SHA1(4e8ee56a2dbeb9ac2dd74bc584dba29433d91ae0) )
  1492: 	ROM_LOAD( "14.rom", 0x08000, 0x8000, CRC(3293fde4) SHA1(3e2f0fa00c22f1c0c1427d8d3de57dd9ec7682a9) )
  1493: 	ROM_LOAD( "12.rom", 0x10000, 0x8000, CRC(95138498) SHA1(8ac3d2cd793312434b9ffb8c47c30473f713e0e8) )
  1494: 	ROM_LOAD( "15.rom", 0x18000, 0x8000, CRC(65a61c99) SHA1(767694c919180de208b6211b593db68fc5a66ff1) )
  1495: 	ROM_LOAD( "13.rom", 0x20000, 0x8000, CRC(315383d7) SHA1(1c1c5931e3447c4dcbd54fc8ae383b03cb5fbf5b) )
  1496: 	ROM_LOAD( "16.rom", 0x28000, 0x8000, CRC(e9b03e07) SHA1(124e5328a965ea2af28c4d74934a82394a2ffd72) )
  1497: ROM_END
  1498: 
  1499: ROM_START( ikarijp )
  1500: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  1501: 	ROM_LOAD( "up03_l4.rom",  0x0000, 0x4000, CRC(cde006be) SHA1(a42e23659cf0ea5194f8a7a9a1679ebcaed75ead) )
  1502: 	ROM_LOAD( "up03_k4.rom",  0x4000, 0x8000, CRC(26948850) SHA1(bfeba5f7019f6eaacf2a5464756d9cb283c5f5a2) )
  1503: 
  1504: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  1505: 	ROM_LOAD( "ik3",  0x0000, 0x4000, CRC(9bb385f8) SHA1(70cc30bece54c28205017e755dc32a1c088f9f80) )
  1506: 	ROM_LOAD( "ik4",  0x4000, 0x8000, CRC(3a144bca) SHA1(c1b09bffb8d89e607332304b1d8845794f25273f) )
  1507: 
  1508: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1509: 	ROM_LOAD( "ik5",  0x0000, 0x4000, CRC(863448fa) SHA1(19cad05dc9c4495f36e0d8627927ea6d0a971824) )
  1510: 	ROM_LOAD( "ik6",  0x4000, 0x8000, CRC(9b16aa57) SHA1(69866ce41c587721702c92ac2e9ba3f6645004cf) )
  1511: 
  1512: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1513: 	ROM_LOAD( "7122er.prm",  0x000, 0x400, CRC(b9bf2c2c) SHA1(8eb62152dcb04f463baf6ec2a66148eb947403ef) )
  1514: 	ROM_LOAD( "7122eg.prm",  0x400, 0x400, CRC(0703a770) SHA1(62861ef4987003d4965ef5018ccdf7157981d939) )
  1515: 	ROM_LOAD( "7122eb.prm",  0x800, 0x400, CRC(0a11cdde) SHA1(faae17398341317e7afbd06b903b8e9e65967bf1) )
  1516: 
  1517: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1518: 	ROM_LOAD( "ik7",    0x00000, 0x4000, CRC(9e88f536) SHA1(80e9aadeb626e60318a2139fd1b3875f6256c492) )	/* characters */
  1519: 
  1520: 	ROM_REGION( 0x20000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  1521: 	ROM_LOAD( "17.rom", 0x00000, 0x8000, CRC(e0dba976) SHA1(5a8f14f7a199b5fb1862debda0bceee42cddac59) )
  1522: 	ROM_LOAD( "18.rom", 0x08000, 0x8000, CRC(24947d5f) SHA1(ffd18074ced8171c9da56c839e8289afc29af2c9) )
  1523: 	ROM_LOAD( "ik19", 0x10000, 0x8000, CRC(566242ec) SHA1(ca25587460491597d462d2526d59afbc9b92fb75) )
  1524: 	ROM_LOAD( "20.rom", 0x18000, 0x8000, CRC(5da7ec1a) SHA1(4b212c1dfe4c18eced90ee3a783e7edf8d23c906) )
  1525: 
  1526: 	ROM_REGION( 0x18000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1527: 	ROM_LOAD( "ik8",  0x00000, 0x8000, CRC(75d796d0) SHA1(395c1d22b935c92c50a326edc8b6cd9aab235f7c) )
  1528: 	ROM_LOAD( "ik9",  0x08000, 0x8000, CRC(2c34903b) SHA1(1949fc0cef4b30665ad288fa8e506a05741face0) )
  1529: 	ROM_LOAD( "ik10", 0x10000, 0x8000, CRC(da9ccc94) SHA1(be3c9d44a887ac823039153b832dfae18fe69965) )
  1530: 
  1531: 	ROM_REGION( 0x30000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  1532: 	ROM_LOAD( "11.rom", 0x00000, 0x8000, CRC(5c75ea8f) SHA1(4e8ee56a2dbeb9ac2dd74bc584dba29433d91ae0) )
  1533: 	ROM_LOAD( "14.rom", 0x08000, 0x8000, CRC(3293fde4) SHA1(3e2f0fa00c22f1c0c1427d8d3de57dd9ec7682a9) )
  1534: 	ROM_LOAD( "12.rom", 0x10000, 0x8000, CRC(95138498) SHA1(8ac3d2cd793312434b9ffb8c47c30473f713e0e8) )
  1535: 	ROM_LOAD( "15.rom", 0x18000, 0x8000, CRC(65a61c99) SHA1(767694c919180de208b6211b593db68fc5a66ff1) )
  1536: 	ROM_LOAD( "13.rom", 0x20000, 0x8000, CRC(315383d7) SHA1(1c1c5931e3447c4dcbd54fc8ae383b03cb5fbf5b) )
  1537: 	ROM_LOAD( "16.rom", 0x28000, 0x8000, CRC(e9b03e07) SHA1(124e5328a965ea2af28c4d74934a82394a2ffd72) )
  1538: ROM_END
  1539: 
  1540: ROM_START( ikarijpb )
  1541: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* CPU A */
  1542: 	ROM_LOAD( "ik1",	  0x00000, 0x4000, CRC(2ef87dce) SHA1(4b52567fee81018f7a4b33bac79ea521c7d19d52) )
  1543: 	ROM_LOAD( "up03_k4.rom",  0x04000, 0x8000, CRC(26948850) SHA1(bfeba5f7019f6eaacf2a5464756d9cb283c5f5a2) )
  1544: 
  1545: 	ROM_REGION( 0x10000, REGION_CPU2, 0 ) /* CPU B code */
  1546: 	ROM_LOAD( "ik3",    0x0000, 0x4000, CRC(9bb385f8) SHA1(70cc30bece54c28205017e755dc32a1c088f9f80) )
  1547: 	ROM_LOAD( "ik4",    0x4000, 0x8000, CRC(3a144bca) SHA1(c1b09bffb8d89e607332304b1d8845794f25273f) )
  1548: 
  1549: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1550: 	ROM_LOAD( "ik5",    0x0000, 0x4000, CRC(863448fa) SHA1(19cad05dc9c4495f36e0d8627927ea6d0a971824) )
  1551: 	ROM_LOAD( "ik6",    0x4000, 0x8000, CRC(9b16aa57) SHA1(69866ce41c587721702c92ac2e9ba3f6645004cf) )
  1552: 
  1553: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1554: 	ROM_LOAD( "7122er.prm", 0x000, 0x400, CRC(b9bf2c2c) SHA1(8eb62152dcb04f463baf6ec2a66148eb947403ef) )
  1555: 	ROM_LOAD( "7122eg.prm", 0x400, 0x400, CRC(0703a770) SHA1(62861ef4987003d4965ef5018ccdf7157981d939) )
  1556: 	ROM_LOAD( "7122eb.prm", 0x800, 0x400, CRC(0a11cdde) SHA1(faae17398341317e7afbd06b903b8e9e65967bf1) )
  1557: 
  1558: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1559: 	ROM_LOAD( "ik7", 0x0000, 0x4000, CRC(9e88f536) SHA1(80e9aadeb626e60318a2139fd1b3875f6256c492) )
  1560: 
  1561: 	ROM_REGION( 0x20000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  1562: 	ROM_LOAD( "17.rom", 0x00000, 0x8000, CRC(e0dba976) SHA1(5a8f14f7a199b5fb1862debda0bceee42cddac59) )
  1563: 	ROM_LOAD( "18.rom", 0x08000, 0x8000, CRC(24947d5f) SHA1(ffd18074ced8171c9da56c839e8289afc29af2c9) )
  1564: 	ROM_LOAD( "ik19",   0x10000, 0x8000, CRC(566242ec) SHA1(ca25587460491597d462d2526d59afbc9b92fb75) )
  1565: 	ROM_LOAD( "20.rom", 0x18000, 0x8000, CRC(5da7ec1a) SHA1(4b212c1dfe4c18eced90ee3a783e7edf8d23c906) )
  1566: 
  1567: 	ROM_REGION( 0x18000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1568: 	ROM_LOAD( "ik8",    0x00000, 0x8000, CRC(75d796d0) SHA1(395c1d22b935c92c50a326edc8b6cd9aab235f7c) )
  1569: 	ROM_LOAD( "ik9",    0x08000, 0x8000, CRC(2c34903b) SHA1(1949fc0cef4b30665ad288fa8e506a05741face0) )
  1570: 	ROM_LOAD( "ik10",   0x10000, 0x8000, CRC(da9ccc94) SHA1(be3c9d44a887ac823039153b832dfae18fe69965) )
  1571: 
  1572: 	ROM_REGION( 0x30000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  1573: 	ROM_LOAD( "11.rom", 0x00000, 0x8000, CRC(5c75ea8f) SHA1(4e8ee56a2dbeb9ac2dd74bc584dba29433d91ae0) )
  1574: 	ROM_LOAD( "14.rom", 0x08000, 0x8000, CRC(3293fde4) SHA1(3e2f0fa00c22f1c0c1427d8d3de57dd9ec7682a9) )
  1575: 	ROM_LOAD( "12.rom", 0x10000, 0x8000, CRC(95138498) SHA1(8ac3d2cd793312434b9ffb8c47c30473f713e0e8) )
  1576: 	ROM_LOAD( "15.rom", 0x18000, 0x8000, CRC(65a61c99) SHA1(767694c919180de208b6211b593db68fc5a66ff1) )
  1577: 	ROM_LOAD( "13.rom", 0x20000, 0x8000, CRC(315383d7) SHA1(1c1c5931e3447c4dcbd54fc8ae383b03cb5fbf5b) )
  1578: 	ROM_LOAD( "16.rom", 0x28000, 0x8000, CRC(e9b03e07) SHA1(124e5328a965ea2af28c4d74934a82394a2ffd72) )
  1579: ROM_END
  1580: 
  1581: /***********************************************************************/
  1582: 
  1583: ROM_START( victroad )
  1584: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* CPU A code */
  1585: 	ROM_LOAD( "p1",  0x0000, 0x10000,  CRC(e334acef) SHA1(f6d8da554276abbe5579c92eea46591a92623f6e) )
  1586: 
  1587: 	ROM_REGION(  0x10000 , REGION_CPU2, 0 )	/* CPU B code */
  1588: 	ROM_LOAD( "p2",  0x00000, 0x10000, CRC(907fac83) SHA1(691d95f95ef7a308c7f5e7defb20971b54423745) )
  1589: 
  1590: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* sound code */
  1591: 	ROM_LOAD( "p3",  0x00000, 0x10000, CRC(bac745f6) SHA1(c118d94aff16cbf1b85615ff5a93292f6e98c149) )
  1592: 
  1593: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1594: 	ROM_LOAD( "mb7122e.1k", 0x000, 0x400, CRC(491ab831) SHA1(2801d68d8a7fddaca5c48f09d421fc48ff53d244) )
  1595: 	ROM_LOAD( "mb7122e.2l", 0x400, 0x400, CRC(8feca424) SHA1(c3d666f4b4b914199b24ded02f9a1b643bf90d26) )
  1596: 	ROM_LOAD( "mb7122e.1l", 0x800, 0x400, CRC(220076ca) SHA1(a353c770c0ffb1105fb93c97977597ad2fda8ac8) )
  1597: 
  1598: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1599: 	ROM_LOAD( "p7",  0x0000, 0x4000,  CRC(2b6ed95b) SHA1(dddf3aa21776778153572a20d29d47928a7116d8) )
  1600: 
  1601: 	ROM_REGION( 0x20000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  1602: 	ROM_LOAD( "p17",  0x00000, 0x8000, CRC(19d4518c) SHA1(133ac6e3d75af6cfc9aa9d1d467f16696c7f3794) )
  1603: 	ROM_LOAD( "p18",  0x08000, 0x8000, CRC(d818be43) SHA1(274827b13e8572f68302b7e0b5964d3e32544303) )
  1604: 	ROM_LOAD( "p19",  0x10000, 0x8000, CRC(d64e0f89) SHA1(41204d5b0bc9d2f2599c3e881f10b73bddae3c5c) )
  1605: 	ROM_LOAD( "p20",  0x18000, 0x8000, CRC(edba0f31) SHA1(b3fc886d3cf7a34b470dd72cc0268a193f9a64d7) )
  1606: 
  1607: 	ROM_REGION( 0x18000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1608: 	ROM_LOAD( "p8",  0x00000, 0x8000, CRC(df7f252a) SHA1(435aade99144c9be51f65d76583256aa089cce78) )
  1609: 	ROM_LOAD( "p9",  0x08000, 0x8000, CRC(9897bc05) SHA1(ec181dc64dd78ff2fab193509743376ab192b99e) )
  1610: 	ROM_LOAD( "p10", 0x10000, 0x8000, CRC(ecd3c0ea) SHA1(f398b6a64706fcaa727ff1c150e05888091cb77c) )
  1611: 
  1612: 	ROM_REGION( 0x40000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  1613: 	ROM_LOAD( "p11", 0x00000, 0x8000, CRC(668b25a4) SHA1(235423e3b442271581dde0195fdff2a37596a9bc) )
  1614: 	ROM_LOAD( "p14", 0x08000, 0x8000, CRC(a7031d4a) SHA1(9ea184990372909de7d8fe0891bb3e0441b13f90) )
  1615: 	ROM_LOAD( "p12", 0x10000, 0x8000, CRC(f44e95fa) SHA1(6633bd1e9e947cae5ba696f6fd393bf0cd7969b0) )
  1616: 	ROM_LOAD( "p15", 0x18000, 0x8000, CRC(120d2450) SHA1(8699db76f598e7719fa5f9a3dcc07d24c53e5da4) )
  1617: 	ROM_LOAD( "p13", 0x20000, 0x8000, CRC(980ca3d8) SHA1(bda6f19edf43c61c0c8d2235bb60def76c801b87) )
  1618: 	ROM_LOAD( "p16", 0x28000, 0x8000, CRC(9f820e8a) SHA1(2be0128d6861241f6a9c5a7032368dbc6d57b44e) )
  1619: 
  1620: 	ROM_REGION( 0x20000, REGION_SOUND1, 0 )
  1621: 	ROM_LOAD( "p4",  0x00000, 0x10000, CRC(e10fb8cc) SHA1(591aa1f947216795252dc4d9ec2600ef63dada7d) )
  1622: 	ROM_LOAD( "p5",  0x10000, 0x10000, CRC(93e5f110) SHA1(065a78805e50ce6a48cb7930f264bada236feb13) )
  1623: ROM_END
  1624: 
  1625: ROM_START( dogosoke ) /* Victory Road Japan */
  1626: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* CPU A code */
  1627: 	ROM_LOAD( "up03_p4.rom",  0x0000, 0x10000,  CRC(37867ad2) SHA1(4444e428eb7126451f34351b1a2bc193484ca641) )
  1628: 
  1629: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* CPU B code */
  1630: 	ROM_LOAD( "p2",  0x00000, 0x10000, CRC(907fac83) SHA1(691d95f95ef7a308c7f5e7defb20971b54423745) )
  1631: 
  1632: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* sound code */
  1633: 	ROM_LOAD( "up03_k7.rom",  0x00000, 0x10000, CRC(173fa571) SHA1(fb9c783e5377fa86f70afee6804c8ee9061b27fd) )
  1634: 
  1635: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1636: 	ROM_LOAD( "up03_k1.rom",  0x000, 0x400, CRC(10a2ce2b) SHA1(8de93250b81fbabb012c96454ef3a888b2783ab5) )
  1637: 	ROM_LOAD( "up03_l2.rom",  0x400, 0x400, CRC(99dc9792) SHA1(dcdcea2bad524776e17eaeb70dd4882283f1b125) )
  1638: 	ROM_LOAD( "up03_l1.rom",  0x800, 0x400, CRC(e7213160) SHA1(bc762a346e1639c8a9636fe85c18d68a08c1b586) )
  1639: 
  1640: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1641: 	ROM_LOAD( "up02_b3.rom",  0x0000, 0x4000,  CRC(51a4ec83) SHA1(8cb743c68a51b71ef3d78127b2cf6ab0877b13f6) )
  1642: 
  1643: 	ROM_REGION( 0x20000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  1644: 	ROM_LOAD( "p17",  0x00000, 0x8000, CRC(19d4518c) SHA1(133ac6e3d75af6cfc9aa9d1d467f16696c7f3794) )
  1645: 	ROM_LOAD( "p18",  0x08000, 0x8000, CRC(d818be43) SHA1(274827b13e8572f68302b7e0b5964d3e32544303) )
  1646: 	ROM_LOAD( "p19",  0x10000, 0x8000, CRC(d64e0f89) SHA1(41204d5b0bc9d2f2599c3e881f10b73bddae3c5c) )
  1647: 	ROM_LOAD( "p20",  0x18000, 0x8000, CRC(edba0f31) SHA1(b3fc886d3cf7a34b470dd72cc0268a193f9a64d7) )
  1648: 
  1649: 	ROM_REGION( 0x18000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1650: 	ROM_LOAD( "up02_d3.rom",  0x00000, 0x8000, CRC(d43044f8) SHA1(4d5bc3730ea1bb1978ae246745416b71979cb100) )
  1651: 	ROM_LOAD( "up02_e3.rom",  0x08000, 0x8000, CRC(365ed2d8) SHA1(e0f600c936483e3d0d03709ae709321d072145bd) )
  1652: 	ROM_LOAD( "up02_g3.rom",  0x10000, 0x8000, CRC(92579bf3) SHA1(eb2084bf5c62cbbf08dc25997702f8e8eb3dcc5d) )
  1653: 
  1654: 	ROM_REGION( 0x30000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  1655: 	ROM_LOAD( "p11", 0x00000, 0x8000, CRC(668b25a4) SHA1(235423e3b442271581dde0195fdff2a37596a9bc) )
  1656: 	ROM_LOAD( "p14", 0x08000, 0x8000, CRC(a7031d4a) SHA1(9ea184990372909de7d8fe0891bb3e0441b13f90) )
  1657: 	ROM_LOAD( "p12", 0x10000, 0x8000, CRC(f44e95fa) SHA1(6633bd1e9e947cae5ba696f6fd393bf0cd7969b0) )
  1658: 	ROM_LOAD( "p15", 0x18000, 0x8000, CRC(120d2450) SHA1(8699db76f598e7719fa5f9a3dcc07d24c53e5da4) )
  1659: 	ROM_LOAD( "p13", 0x20000, 0x8000, CRC(980ca3d8) SHA1(bda6f19edf43c61c0c8d2235bb60def76c801b87) )
  1660: 	ROM_LOAD( "p16", 0x28000, 0x8000, CRC(9f820e8a) SHA1(2be0128d6861241f6a9c5a7032368dbc6d57b44e) )
  1661: 
  1662: 	ROM_REGION( 0x20000, REGION_SOUND1, 0 )
  1663: 	ROM_LOAD( "up03_f5.rom", 0x00000, 0x10000, CRC(5b43fe9f) SHA1(28f803f633b83b17f9b10516d38c862f90d55ff3) )
  1664: 	ROM_LOAD( "up03_g5.rom", 0x10000, 0x10000, CRC(aae30cd6) SHA1(9d0d2c0f947387a0924bf0ed73de9305c1625054) )
  1665: ROM_END
  1666: 
  1667: /***********************************************************************/
  1668: 
  1669: ROM_START( gwar )
  1670: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
  1671: 	ROM_LOAD( "7g",  0x00000, 0x10000, CRC(5bcfa7dc) SHA1(1af2c36df287c9c84be8e7fc173b66f3dde5375e) )
  1672: 
  1673: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
  1674: 	ROM_LOAD( "g02",  0x00000, 0x10000, CRC(86d931bf) SHA1(8bf7c7a7c01561568973d01956e5398bbc9c3463) )
  1675: 
  1676: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
  1677: 	ROM_LOAD( "g03",  0x00000, 0x10000, CRC(eb544ab9) SHA1(433af63feb4c4ef0e3bd383f2f9bc19e436fb103) )
  1678: 
  1679: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1680: 	ROM_LOAD( "guprom.3", 0x000, 0x400, CRC(090236a3) SHA1(40d066e34291492c6baf8c120657e3d547274b59) ) /* red */
  1681: 	ROM_LOAD( "guprom.2", 0x400, 0x400, CRC(9147de69) SHA1(e4b3b546e429c195e82f97322e2a295882e38a58) ) /* green */
  1682: 	ROM_LOAD( "guprom.1", 0x800, 0x400, CRC(7f9c839e) SHA1(2fa60fa335f76891d961c9bd0066fa7f82f76779) ) /* blue */
  1683: 
  1684: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE )
  1685: 	ROM_LOAD( "g05",  0x0000, 0x08000, CRC(80f73e2e) SHA1(820824fb10f7dfec6247b46dde8ff7124bde3734) )
  1686: 
  1687: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE )
  1688: 	ROM_LOAD( "g06",  0x00000, 0x10000, CRC(f1dcdaef) SHA1(d9b65e7f4025787037628528d3bef699be2eb874) )
  1689: 	ROM_LOAD( "g07",  0x10000, 0x10000, CRC(326e4e5e) SHA1(6935429925d748bb43072429db0d3b08ffdbc95d) )
  1690: 	ROM_LOAD( "g08",  0x20000, 0x10000, CRC(0aa70967) SHA1(a6cbadbb960280b5e79660c0bbd43089ced39a44) )
  1691: 	ROM_LOAD( "g09",  0x30000, 0x10000, CRC(b7686336) SHA1(d654d282862ff00488be38fb9c1302c8bb6f7e7c) )
  1692: 
  1693: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE )
  1694: 	ROM_LOAD( "g10",  0x00000, 0x10000, CRC(58600f7d) SHA1(3dcd25d1ed07e6f74f3316ebe41768eb155f4c45) )
  1695: 	ROM_LOAD( "g11",  0x10000, 0x10000, CRC(a3f9b463) SHA1(ee83d18cf08972c792b05c277b1ca25d732e294d) )
  1696: 	ROM_LOAD( "g12",  0x20000, 0x10000, CRC(092501be) SHA1(85d9a8922dde6824805a4b8e6c52b2a9ad092df9) )
  1697: 	ROM_LOAD( "g13",  0x30000, 0x10000, CRC(25801ea6) SHA1(1aa61716d6be399a1eee2ee5079f13da0f1bd4e8) )
  1698: 
  1699: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE )
  1700: 	ROM_LOAD( "g20",  0x00000, 0x10000, CRC(2b46edff) SHA1(db97e042621dcbedfeed71937ead6d715899d4f7) )
  1701: 	ROM_LOAD( "g21",  0x10000, 0x10000, CRC(be19888d) SHA1(bc7b1b6236d41685faacc2008d51ae2da9a82909) )
  1702: 	ROM_LOAD( "g18",  0x20000, 0x10000, CRC(2d653f0c) SHA1(99eb7883822b10f61b6e922c0d0519aacac83732) )
  1703: 	ROM_LOAD( "g19",  0x30000, 0x10000, CRC(ebbf3ba2) SHA1(bc3631c43058faf1ec6b21ed8017b744afee6f5d) )
  1704: 	ROM_LOAD( "g16",  0x40000, 0x10000, CRC(aeb3707f) SHA1(58d1a71cf83ab0f5f0dd67d441edbc8ece8c2ba5) )
  1705: 	ROM_LOAD( "g17",  0x50000, 0x10000, CRC(0808f95f) SHA1(f67763cceb287a02e3b946ade52105a72161e540) )
  1706: 	ROM_LOAD( "g14",  0x60000, 0x10000, CRC(8dfc7b87) SHA1(e3d75020aa1b90f12633f6515a0386f87441b225) )
  1707: 	ROM_LOAD( "g15",  0x70000, 0x10000, CRC(06822aac) SHA1(630d438cbebe0b5af571948d0d3f4996f52aae1d) )
  1708: 
  1709: 	ROM_REGION( 0x10000, REGION_SOUND1, 0 )
  1710: 	ROM_LOAD( "g04",  0x00000, 0x10000, CRC(2255f8dd) SHA1(fac31b617762d0fa39cf82a658be250b91ab73ce) )
  1711: ROM_END
  1712: 
  1713: ROM_START( gwara )
  1714: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
  1715: 	ROM_LOAD( "gv3",  0x00000, 0x10000, CRC(24936d83) SHA1(33842322ead66e426946c6cfaa04e56afea90d78) )
  1716: 
  1717: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
  1718: 	ROM_LOAD( "gv4",  0x00000, 0x10000, CRC(26335a55) SHA1(de3e7d9e204a969745367aa37326d7b3e28c7424) )
  1719: 
  1720: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
  1721: 	ROM_LOAD( "gv2",  0x00000, 0x10000, CRC(896682dd) SHA1(dc2125c2378a01291197b2798a5eef6459cf5b99) )
  1722: 
  1723: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1724: 	ROM_LOAD( "guprom.3", 0x000, 0x400, CRC(090236a3) SHA1(40d066e34291492c6baf8c120657e3d547274b59) ) /* red */
  1725: 	ROM_LOAD( "guprom.2", 0x400, 0x400, CRC(9147de69) SHA1(e4b3b546e429c195e82f97322e2a295882e38a58) ) /* green */
  1726: 	ROM_LOAD( "guprom.1", 0x800, 0x400, CRC(7f9c839e) SHA1(2fa60fa335f76891d961c9bd0066fa7f82f76779) ) /* blue */
  1727: 
  1728: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE )
  1729: 	ROM_LOAD( "g05",  0x0000, 0x08000, CRC(80f73e2e) SHA1(820824fb10f7dfec6247b46dde8ff7124bde3734) )
  1730: 
  1731: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE )
  1732: 	ROM_LOAD( "g06",  0x00000, 0x10000, CRC(f1dcdaef) SHA1(d9b65e7f4025787037628528d3bef699be2eb874) )
  1733: 	ROM_LOAD( "g07",  0x10000, 0x10000, CRC(326e4e5e) SHA1(6935429925d748bb43072429db0d3b08ffdbc95d) )
  1734: 	ROM_LOAD( "g08",  0x20000, 0x10000, CRC(0aa70967) SHA1(a6cbadbb960280b5e79660c0bbd43089ced39a44) )
  1735: 	ROM_LOAD( "g09",  0x30000, 0x10000, CRC(b7686336) SHA1(d654d282862ff00488be38fb9c1302c8bb6f7e7c) )
  1736: 
  1737: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE )
  1738: 	ROM_LOAD( "g10",  0x00000, 0x10000, CRC(58600f7d) SHA1(3dcd25d1ed07e6f74f3316ebe41768eb155f4c45) )
  1739: 	ROM_LOAD( "g11",  0x10000, 0x10000, CRC(a3f9b463) SHA1(ee83d18cf08972c792b05c277b1ca25d732e294d) )
  1740: 	ROM_LOAD( "g12",  0x20000, 0x10000, CRC(092501be) SHA1(85d9a8922dde6824805a4b8e6c52b2a9ad092df9) )
  1741: 	ROM_LOAD( "g13",  0x30000, 0x10000, CRC(25801ea6) SHA1(1aa61716d6be399a1eee2ee5079f13da0f1bd4e8) )
  1742: 
  1743: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE )
  1744: 	ROM_LOAD( "g20",  0x00000, 0x10000, CRC(2b46edff) SHA1(db97e042621dcbedfeed71937ead6d715899d4f7) )
  1745: 	ROM_LOAD( "g21",  0x10000, 0x10000, CRC(be19888d) SHA1(bc7b1b6236d41685faacc2008d51ae2da9a82909) )
  1746: 	ROM_LOAD( "g18",  0x20000, 0x10000, CRC(2d653f0c) SHA1(99eb7883822b10f61b6e922c0d0519aacac83732) )
  1747: 	ROM_LOAD( "g19",  0x30000, 0x10000, CRC(ebbf3ba2) SHA1(bc3631c43058faf1ec6b21ed8017b744afee6f5d) )
  1748: 	ROM_LOAD( "g16",  0x40000, 0x10000, CRC(aeb3707f) SHA1(58d1a71cf83ab0f5f0dd67d441edbc8ece8c2ba5) )
  1749: 	ROM_LOAD( "g17",  0x50000, 0x10000, CRC(0808f95f) SHA1(f67763cceb287a02e3b946ade52105a72161e540) )
  1750: 	ROM_LOAD( "g14",  0x60000, 0x10000, CRC(8dfc7b87) SHA1(e3d75020aa1b90f12633f6515a0386f87441b225) )
  1751: 	ROM_LOAD( "g15",  0x70000, 0x10000, CRC(06822aac) SHA1(630d438cbebe0b5af571948d0d3f4996f52aae1d) )
  1752: 
  1753: 	ROM_REGION( 0x10000, REGION_SOUND1, 0 )
  1754: 	ROM_LOAD( "g04",  0x00000, 0x10000, CRC(2255f8dd) SHA1(fac31b617762d0fa39cf82a658be250b91ab73ce) )
  1755: ROM_END
  1756: 
  1757: ROM_START( gwarj )
  1758: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
  1759: 	ROM_LOAD( "7y3047",  0x00000, 0x10000, CRC(7f8a880c) SHA1(1eb1c3eb45aa933118e5bd116eb3f81f39063ae3) )
  1760: 
  1761: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
  1762: 	ROM_LOAD( "g02",  0x00000, 0x10000, CRC(86d931bf) SHA1(8bf7c7a7c01561568973d01956e5398bbc9c3463) )
  1763: 
  1764: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
  1765: 	ROM_LOAD( "g03",  0x00000, 0x10000, CRC(eb544ab9) SHA1(433af63feb4c4ef0e3bd383f2f9bc19e436fb103) )
  1766: 
  1767: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1768: 	ROM_LOAD( "guprom.3", 0x000, 0x400, CRC(090236a3) SHA1(40d066e34291492c6baf8c120657e3d547274b59) ) /* red */
  1769: 	ROM_LOAD( "guprom.2", 0x400, 0x400, CRC(9147de69) SHA1(e4b3b546e429c195e82f97322e2a295882e38a58) ) /* green */
  1770: 	ROM_LOAD( "guprom.1", 0x800, 0x400, CRC(7f9c839e) SHA1(2fa60fa335f76891d961c9bd0066fa7f82f76779) ) /* blue */
  1771: 
  1772: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE )
  1773: 	ROM_LOAD( "792001",  0x0000, 0x08000, CRC(99d7ddf3) SHA1(4e4bc400d184e1fb9d0af3a33cc6f6d099bb3bee) )
  1774: 
  1775: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE )
  1776: 	ROM_LOAD( "g06",  0x00000, 0x10000, CRC(f1dcdaef) SHA1(d9b65e7f4025787037628528d3bef699be2eb874) )
  1777: 	ROM_LOAD( "g07",  0x10000, 0x10000, CRC(326e4e5e) SHA1(6935429925d748bb43072429db0d3b08ffdbc95d) )
  1778: 	ROM_LOAD( "g08",  0x20000, 0x10000, CRC(0aa70967) SHA1(a6cbadbb960280b5e79660c0bbd43089ced39a44) )
  1779: 	ROM_LOAD( "g09",  0x30000, 0x10000, CRC(b7686336) SHA1(d654d282862ff00488be38fb9c1302c8bb6f7e7c) )
  1780: 
  1781: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE )
  1782: 	ROM_LOAD( "g10",  0x00000, 0x10000, CRC(58600f7d) SHA1(3dcd25d1ed07e6f74f3316ebe41768eb155f4c45) )
  1783: 	ROM_LOAD( "g11",  0x10000, 0x10000, CRC(a3f9b463) SHA1(ee83d18cf08972c792b05c277b1ca25d732e294d) )
  1784: 	ROM_LOAD( "g12",  0x20000, 0x10000, CRC(092501be) SHA1(85d9a8922dde6824805a4b8e6c52b2a9ad092df9) )
  1785: 	ROM_LOAD( "g13",  0x30000, 0x10000, CRC(25801ea6) SHA1(1aa61716d6be399a1eee2ee5079f13da0f1bd4e8) )
  1786: 
  1787: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE )
  1788: 	ROM_LOAD( "g20",  0x00000, 0x10000, CRC(2b46edff) SHA1(db97e042621dcbedfeed71937ead6d715899d4f7) )
  1789: 	ROM_LOAD( "g21",  0x10000, 0x10000, CRC(be19888d) SHA1(bc7b1b6236d41685faacc2008d51ae2da9a82909) )
  1790: 	ROM_LOAD( "g18",  0x20000, 0x10000, CRC(2d653f0c) SHA1(99eb7883822b10f61b6e922c0d0519aacac83732) )
  1791: 	ROM_LOAD( "g19",  0x30000, 0x10000, CRC(ebbf3ba2) SHA1(bc3631c43058faf1ec6b21ed8017b744afee6f5d) )
  1792: 	ROM_LOAD( "g16",  0x40000, 0x10000, CRC(aeb3707f) SHA1(58d1a71cf83ab0f5f0dd67d441edbc8ece8c2ba5) )
  1793: 	ROM_LOAD( "g17",  0x50000, 0x10000, CRC(0808f95f) SHA1(f67763cceb287a02e3b946ade52105a72161e540) )
  1794: 	ROM_LOAD( "g14",  0x60000, 0x10000, CRC(8dfc7b87) SHA1(e3d75020aa1b90f12633f6515a0386f87441b225) )
  1795: 	ROM_LOAD( "g15",  0x70000, 0x10000, CRC(06822aac) SHA1(630d438cbebe0b5af571948d0d3f4996f52aae1d) )
  1796: 
  1797: 	ROM_REGION( 0x10000, REGION_SOUND1, 0 )
  1798: 	ROM_LOAD( "g04",  0x00000, 0x10000, CRC(2255f8dd) SHA1(fac31b617762d0fa39cf82a658be250b91ab73ce) )
  1799: ROM_END
  1800: 
  1801: ROM_START( gwarb )
  1802: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  1803: 	ROM_LOAD( "g01",  0x00000, 0x10000, CRC(ce1d3c80) SHA1(605ada3529d0b26425e6c573c31117249bb7a7db) )
  1804: 
  1805: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  1806: 	ROM_LOAD( "g02",  0x00000, 0x10000, CRC(86d931bf) SHA1(8bf7c7a7c01561568973d01956e5398bbc9c3463) )
  1807: 
  1808: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1809: 	ROM_LOAD( "g03",  0x00000, 0x10000, CRC(eb544ab9) SHA1(433af63feb4c4ef0e3bd383f2f9bc19e436fb103) )
  1810: 
  1811: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  1812: 	ROM_LOAD( "guprom.3", 0x000, 0x400, CRC(090236a3) SHA1(40d066e34291492c6baf8c120657e3d547274b59) ) /* red */ // up03_k1.rom
  1813: 	ROM_LOAD( "guprom.2", 0x400, 0x400, CRC(9147de69) SHA1(e4b3b546e429c195e82f97322e2a295882e38a58) ) /* green */ // up03_l1.rom
  1814: 	ROM_LOAD( "guprom.1", 0x800, 0x400, CRC(7f9c839e) SHA1(2fa60fa335f76891d961c9bd0066fa7f82f76779) ) /* blue */ // up03_k2.rom
  1815: 
  1816: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1817: 	ROM_LOAD( "g05",  0x0000, 0x08000, CRC(80f73e2e) SHA1(820824fb10f7dfec6247b46dde8ff7124bde3734) )
  1818: 
  1819: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE ) /* background tiles */
  1820: 	ROM_LOAD( "g06",  0x00000, 0x10000, CRC(f1dcdaef) SHA1(d9b65e7f4025787037628528d3bef699be2eb874) )
  1821: 	ROM_LOAD( "g07",  0x10000, 0x10000, CRC(326e4e5e) SHA1(6935429925d748bb43072429db0d3b08ffdbc95d) )
  1822: 	ROM_LOAD( "g08",  0x20000, 0x10000, CRC(0aa70967) SHA1(a6cbadbb960280b5e79660c0bbd43089ced39a44) )
  1823: 	ROM_LOAD( "g09",  0x30000, 0x10000, CRC(b7686336) SHA1(d654d282862ff00488be38fb9c1302c8bb6f7e7c) )
  1824: 
  1825: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1826: 	ROM_LOAD( "g10",  0x00000, 0x10000, CRC(58600f7d) SHA1(3dcd25d1ed07e6f74f3316ebe41768eb155f4c45) )
  1827: 	ROM_LOAD( "g11",  0x10000, 0x10000, CRC(a3f9b463) SHA1(ee83d18cf08972c792b05c277b1ca25d732e294d) )
  1828: 	ROM_LOAD( "g12",  0x20000, 0x10000, CRC(092501be) SHA1(85d9a8922dde6824805a4b8e6c52b2a9ad092df9) )
  1829: 	ROM_LOAD( "g13",  0x30000, 0x10000, CRC(25801ea6) SHA1(1aa61716d6be399a1eee2ee5079f13da0f1bd4e8) )
  1830: 
  1831: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  1832: 	ROM_LOAD( "g20",  0x00000, 0x10000, CRC(2b46edff) SHA1(db97e042621dcbedfeed71937ead6d715899d4f7) )
  1833: 	ROM_LOAD( "g21",  0x10000, 0x10000, CRC(be19888d) SHA1(bc7b1b6236d41685faacc2008d51ae2da9a82909) )
  1834: 	ROM_LOAD( "g18",  0x20000, 0x10000, CRC(2d653f0c) SHA1(99eb7883822b10f61b6e922c0d0519aacac83732) )
  1835: 	ROM_LOAD( "g19",  0x30000, 0x10000, CRC(ebbf3ba2) SHA1(bc3631c43058faf1ec6b21ed8017b744afee6f5d) )
  1836: 	ROM_LOAD( "g16",  0x40000, 0x10000, CRC(aeb3707f) SHA1(58d1a71cf83ab0f5f0dd67d441edbc8ece8c2ba5) )
  1837: 	ROM_LOAD( "g17",  0x50000, 0x10000, CRC(0808f95f) SHA1(f67763cceb287a02e3b946ade52105a72161e540) )
  1838: 	ROM_LOAD( "g14",  0x60000, 0x10000, CRC(8dfc7b87) SHA1(e3d75020aa1b90f12633f6515a0386f87441b225) )
  1839: 	ROM_LOAD( "g15",  0x70000, 0x10000, CRC(06822aac) SHA1(630d438cbebe0b5af571948d0d3f4996f52aae1d) )
  1840: 
  1841: 	ROM_REGION( 0x10000, REGION_SOUND1, 0 )
  1842: 	ROM_LOAD( "g04",  0x00000, 0x10000, CRC(2255f8dd) SHA1(fac31b617762d0fa39cf82a658be250b91ab73ce) )
  1843: ROM_END
  1844: 
  1845: /***********************************************************************/
  1846: 
  1847: ROM_START( bermudat )
  1848: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  1849: 	ROM_LOAD( "bt_p1.rom",  0x0000, 0x10000,  CRC(43dec5e9) SHA1(2b29016d4af2a0a6be87f440f235a6a76f8a52a0) )
  1850: 
  1851: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  1852: 	ROM_LOAD( "bt_p2.rom",  0x00000, 0x10000, CRC(0e193265) SHA1(765ad63d1f752920d3d7829747e8f2808670ee84) )
  1853: 
  1854: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1855: 	ROM_LOAD( "bt_p3.rom",  0x00000, 0x10000, CRC(53a82e50) SHA1(ce1e72f0ddc5e19c2d8a6a545ce205c7c39da2dd) )    /* YM3526 */
  1856: 
  1857: 	ROM_REGION( 0x1400, REGION_PROMS, 0 )
  1858: 	ROM_LOAD( "btj_01r.prm", 0x0000, 0x0400, CRC(f4b54d06) SHA1(620ea513dbf3219844cdb36ea5d7e2a1b13e3198) ) /* red */
  1859: 	ROM_LOAD( "btj_02g.prm", 0x0400, 0x0400, CRC(baac139e) SHA1(c951c9a2d8bb1af178de63c6e2cb716dcb2ac57c) ) /* green */
  1860: 	ROM_LOAD( "btj_03b.prm", 0x0800, 0x0400, CRC(2edf2e0b) SHA1(b430ec934399909e6e1f27c7bf47bbacf01f266f) ) /* blue */
  1861: 	ROM_LOAD( "btj_h.prm",   0x0c00, 0x0400, CRC(c20b197b) SHA1(504cb28d652029fe87a5411d6239e78d93c83e91) ) /* ? */
  1862: 	ROM_LOAD( "btj_v.prm",   0x1000, 0x0400, CRC(5d0c617f) SHA1(845e52173c33500227cabe1e21b34919d2856215) ) /* ? */
  1863: 
  1864: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1865: 	ROM_LOAD( "bt_p10.rom", 0x0000, 0x8000,  CRC(d3650211) SHA1(cc7cfe05c5903caf33f8f02c416f68e6d2f6baa7) )
  1866: 
  1867: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  1868: 	ROM_LOAD( "bt_p22.rom", 0x00000, 0x10000, CRC(8daf7df4) SHA1(c6b5157821f3751bc70411ba0e1ea43d223ad0f6) )
  1869: 	ROM_LOAD( "bt_p21.rom", 0x10000, 0x10000, CRC(b7689599) SHA1(ffa35b480efbc55948e5d0202e7a7ab6446db905) )
  1870: 	ROM_LOAD( "bt_p20.rom", 0x20000, 0x10000, CRC(ab6217b7) SHA1(fb4b0fcd9ff1f04cf772a46b6727d3de531beb0e) )
  1871: 	ROM_LOAD( "bt_p19.rom", 0x30000, 0x10000, CRC(8ed759a0) SHA1(cd039ed9cb4127729bd29c6232dcbb77b85a4159) )
  1872: 
  1873: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1874: 	ROM_LOAD( "bt_p6.rom",  0x00000, 0x8000, CRC(8ffdf969) SHA1(68672dc74156ebbf59316dfeae25b155d699d0eb) )
  1875: 	ROM_LOAD( "bt_p7.rom",  0x10000, 0x8000, CRC(268d10df) SHA1(6a297bbd7b4248306d8756a80f4403c45d833eb3) )
  1876: 	ROM_LOAD( "bt_p8.rom",  0x20000, 0x8000, CRC(3e39e9dd) SHA1(394c85841113a1b2bdd744445e3e4e3acc7099c6) )
  1877: 	ROM_LOAD( "bt_p9.rom",  0x30000, 0x8000, CRC(bf56da61) SHA1(855687b6a0a4cef3b8294ca359abe14b11ad5749) )
  1878: 
  1879: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  1880: 	ROM_LOAD( "bt_p11.rom", 0x00000, 0x10000, CRC(aae7410e) SHA1(19dcd13fc53c05bac05d2242965129ab1e3a4a88) )
  1881: 	ROM_LOAD( "bt_p12.rom", 0x10000, 0x10000, CRC(18914f70) SHA1(2c4e7db8b6e70dffb27d10032f750932c7379a66) )
  1882: 	ROM_LOAD( "bt_p13.rom", 0x20000, 0x10000, CRC(cd79ce81) SHA1(00f205f8a97f839e2592bdfb624fe6b902ce5a93) )
  1883: 	ROM_LOAD( "bt_p14.rom", 0x30000, 0x10000, CRC(edc57117) SHA1(899a524973f407c3be1de9dac50f3d373bccb2e5) )
  1884: 	ROM_LOAD( "bt_p15.rom", 0x40000, 0x10000, CRC(448bf9f4) SHA1(0f880ba3e97a57c937afdce29a1461bc310196eb) )
  1885: 	ROM_LOAD( "bt_p16.rom", 0x50000, 0x10000, CRC(119999eb) SHA1(0030121239c3ef07c093a7e2146c4027e1b544ac) )
  1886: 	ROM_LOAD( "bt_p17.rom", 0x60000, 0x10000, CRC(b5462139) SHA1(9af190cf5fabcc017d707be43bd141dc6db12827) )
  1887: 	ROM_LOAD( "bt_p18.rom", 0x70000, 0x10000, CRC(cb416227) SHA1(aba0b5a0c93713c676a59e8d3c36d780a4e01894) )
  1888: 
  1889: 	ROM_REGION( 0x20000, REGION_SOUND1, 0 )
  1890: 	ROM_LOAD( "bt_p4.rom",  0x00000, 0x10000, CRC(4bc83229) SHA1(b58d08ebed0b02279385a7ac2f385e62443e3de6) )
  1891: 	ROM_LOAD( "bt_p5.rom",  0x10000, 0x10000, CRC(817bd62c) SHA1(d3ee2ff01a4da8b928728b2fd4948fabd2b04420) )
  1892: ROM_END
  1893: 
  1894: ROM_START( bermudao )
  1895: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  1896: 	ROM_LOAD( "btj_p01.bin", 0x0000, 0x10000,  CRC(eda75f36) SHA1(d6fcb46dc45007a77bf6a8ca7aa53aefedcecf92) )
  1897: 
  1898: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  1899: 	ROM_LOAD( "bt_p2.rom",   0x00000, 0x10000, CRC(0e193265) SHA1(765ad63d1f752920d3d7829747e8f2808670ee84) )
  1900: 
  1901: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1902: 	ROM_LOAD( "btj_p03.bin", 0x00000, 0x10000, CRC(fea8a096) SHA1(593e34a20ab6f5bae9d74415af5a834646d2444e) )    /* YM3526 */
  1903: 
  1904: 	ROM_REGION( 0x1400, REGION_PROMS, 0 )
  1905: 	ROM_LOAD( "btj_01r.prm", 0x0000, 0x0400, CRC(f4b54d06) SHA1(620ea513dbf3219844cdb36ea5d7e2a1b13e3198) ) /* red */
  1906: 	ROM_LOAD( "btj_02g.prm", 0x0400, 0x0400, CRC(baac139e) SHA1(c951c9a2d8bb1af178de63c6e2cb716dcb2ac57c) ) /* green */
  1907: 	ROM_LOAD( "btj_03b.prm", 0x0800, 0x0400, CRC(2edf2e0b) SHA1(b430ec934399909e6e1f27c7bf47bbacf01f266f) ) /* blue */
  1908: 	ROM_LOAD( "btj_h.prm",   0x0c00, 0x0400, CRC(c20b197b) SHA1(504cb28d652029fe87a5411d6239e78d93c83e91) ) /* ? */
  1909: 	ROM_LOAD( "btj_v.prm",   0x1000, 0x0400, CRC(5d0c617f) SHA1(845e52173c33500227cabe1e21b34919d2856215) ) /* ? */
  1910: 
  1911: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1912: 	ROM_LOAD( "bt_p10.rom",  0x0000, 0x8000,  CRC(d3650211) SHA1(cc7cfe05c5903caf33f8f02c416f68e6d2f6baa7) )
  1913: 
  1914: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  1915: 	ROM_LOAD( "bt_p22.rom",  0x00000, 0x10000, CRC(8daf7df4) SHA1(c6b5157821f3751bc70411ba0e1ea43d223ad0f6) )
  1916: 	ROM_LOAD( "bt_p21.rom",  0x10000, 0x10000, CRC(b7689599) SHA1(ffa35b480efbc55948e5d0202e7a7ab6446db905) )
  1917: 	ROM_LOAD( "bt_p20.rom",  0x20000, 0x10000, CRC(ab6217b7) SHA1(fb4b0fcd9ff1f04cf772a46b6727d3de531beb0e) )
  1918: 	ROM_LOAD( "bt_p19.rom",  0x30000, 0x10000, CRC(8ed759a0) SHA1(cd039ed9cb4127729bd29c6232dcbb77b85a4159) )
  1919: 
  1920: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1921: 	ROM_LOAD( "bt_p6.rom",   0x00000, 0x8000, CRC(8ffdf969) SHA1(68672dc74156ebbf59316dfeae25b155d699d0eb) )
  1922: 	ROM_LOAD( "bt_p7.rom",   0x10000, 0x8000, CRC(268d10df) SHA1(6a297bbd7b4248306d8756a80f4403c45d833eb3) )
  1923: 	ROM_LOAD( "bt_p8.rom",   0x20000, 0x8000, CRC(3e39e9dd) SHA1(394c85841113a1b2bdd744445e3e4e3acc7099c6) )
  1924: 	ROM_LOAD( "bt_p9.rom",   0x30000, 0x8000, CRC(bf56da61) SHA1(855687b6a0a4cef3b8294ca359abe14b11ad5749) )
  1925: 
  1926: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  1927: 	ROM_LOAD( "bt_p11.rom",  0x00000, 0x10000, CRC(aae7410e) SHA1(19dcd13fc53c05bac05d2242965129ab1e3a4a88) )
  1928: 	ROM_LOAD( "bt_p12.rom",  0x10000, 0x10000, CRC(18914f70) SHA1(2c4e7db8b6e70dffb27d10032f750932c7379a66) )
  1929: 	ROM_LOAD( "bt_p13.rom",  0x20000, 0x10000, CRC(cd79ce81) SHA1(00f205f8a97f839e2592bdfb624fe6b902ce5a93) )
  1930: 	ROM_LOAD( "bt_p14.rom",  0x30000, 0x10000, CRC(edc57117) SHA1(899a524973f407c3be1de9dac50f3d373bccb2e5) )
  1931: 	ROM_LOAD( "bt_p15.rom",  0x40000, 0x10000, CRC(448bf9f4) SHA1(0f880ba3e97a57c937afdce29a1461bc310196eb) )
  1932: 	ROM_LOAD( "bt_p16.rom",  0x50000, 0x10000, CRC(119999eb) SHA1(0030121239c3ef07c093a7e2146c4027e1b544ac) )
  1933: 	ROM_LOAD( "bt_p17.rom",  0x60000, 0x10000, CRC(b5462139) SHA1(9af190cf5fabcc017d707be43bd141dc6db12827) )
  1934: 	ROM_LOAD( "bt_p18.rom",  0x70000, 0x10000, CRC(cb416227) SHA1(aba0b5a0c93713c676a59e8d3c36d780a4e01894) )
  1935: 
  1936: 	ROM_REGION( 0x20000, REGION_SOUND1, 0 )
  1937: 	ROM_LOAD( "btj_p04.bin", 0x00000, 0x10000, CRC(b2e01129) SHA1(b47ffbcbd9a70f74dfd6906d4f9386db24a7294f) )
  1938: 	ROM_LOAD( "btj_p05.bin", 0x10000, 0x10000, CRC(924c24f7) SHA1(7a2dafbdaa748121fc6279677f6bffd9e10b1a54) )
  1939: ROM_END
  1940: 
  1941: ROM_START( worldwar )
  1942: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  1943: 	ROM_LOAD( "ww4.bin",  0x0000, 0x10000,  CRC(bc29d09f) SHA1(9bd5a47565934590347b7152457869331ae94375) )
  1944: 
  1945: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  1946: 	ROM_LOAD( "ww5.bin",  0x00000, 0x10000, CRC(8dc15909) SHA1(dc0f0e969c36469cc91ecfb1a98cfdb1020972eb) )
  1947: 
  1948: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1949: 	ROM_LOAD( "ww3.bin",  0x00000, 0x10000, CRC(8b74c951) SHA1(f4560380f16bcd396d08f48541c65f7be5b290d0) )
  1950: 
  1951: 	ROM_REGION( 0x1400, REGION_PROMS, 0 )
  1952: 	ROM_LOAD( "ww_r.bin",    0x0000, 0x0400, CRC(b88e95f0) SHA1(621c4bf716134d758dae2b3bc519f0a890a11fdb) ) /* red */
  1953: 	ROM_LOAD( "ww_g.bin",    0x0400, 0x0400, CRC(5e1616b2) SHA1(f2df8f06e717f16c689a941a3a1762dfeb377c83) ) /* green */
  1954: 	ROM_LOAD( "ww_b.bin",    0x0800, 0x0400, CRC(e9770796) SHA1(2d3001650e781ba7c92a1b3ad0cb9d8c59166e5e) ) /* blue */
  1955: 	ROM_LOAD( "btj_h.prm",   0x0c00, 0x0400, CRC(c20b197b) SHA1(504cb28d652029fe87a5411d6239e78d93c83e91) ) /* ? */
  1956: 	ROM_LOAD( "btj_v.prm",   0x1000, 0x0400, CRC(5d0c617f) SHA1(845e52173c33500227cabe1e21b34919d2856215) ) /* ? */
  1957: 
  1958: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  1959: 	ROM_LOAD( "ww6.bin", 0x0000, 0x8000,  CRC(d57570ab) SHA1(98997de12225d177be4916c7f2e6a7a2df24b8f2) )
  1960: 
  1961: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  1962: 	ROM_LOAD( "ww11.bin", 0x00000, 0x10000, CRC(603ddcb5) SHA1(766d477672f7936a2b12d3aef435b59aaa77886d) )
  1963: 	ROM_LOAD( "ww12.bin", 0x10000, 0x10000, CRC(388093ff) SHA1(b449031c8225b10d7e27e3a2a0636cfd8cb4e03d) )
  1964: 	ROM_LOAD( "ww13.bin", 0x20000, 0x10000, CRC(83a7ef62) SHA1(692be1db8b0b0ff518ffe6e000fa8eb0ca7d8b06) )
  1965: 	ROM_LOAD( "ww14.bin", 0x30000, 0x10000, CRC(04c784be) SHA1(1a485eeb65dee295c791006d58e4e7305bdcf490) )
  1966: 
  1967: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  1968: 	ROM_LOAD( "ww7.bin",  0x30000, 0x08000, CRC(53c4b24e) SHA1(5f72848f585dcee857715d6ca0020237dd23abc3) )
  1969: 	ROM_LOAD( "ww8.bin",  0x20000, 0x08000, CRC(0ec15086) SHA1(6f5fb4a0f96b3ab745f402c04c2cdc2bacaf4844) )
  1970: 	ROM_LOAD( "ww9.bin",  0x10000, 0x08000, CRC(d9d35911) SHA1(74c23f2967be76ced82522a67291de233528b099) )
  1971: 	ROM_LOAD( "ww10.bin", 0x00000, 0x08000, CRC(f68a2d51) SHA1(bf3bfcb7fcb77f4605472775025dc69e979155c8) )
  1972: 
  1973: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  1974: 	ROM_LOAD( "ww15.bin", 0x40000, 0x10000, CRC(d55ce063) SHA1(c0845db7e928e735746822ab94e5f148f38e73cc) )
  1975: 	ROM_LOAD( "ww16.bin", 0x50000, 0x10000, CRC(a2d19ce5) SHA1(ec1e22c8aa1d24b24fa97015c43e651aebb5a3bb) )
  1976: 	ROM_LOAD( "ww17.bin", 0x60000, 0x10000, CRC(a9a6b128) SHA1(bd09fcf91211739a304771f633f04235d32b057d) )
  1977: 	ROM_LOAD( "ww18.bin", 0x70000, 0x10000, CRC(c712d24c) SHA1(59858d446491e63f8bd0fd1f8aa20262fa0522ef) )
  1978: 	ROM_LOAD( "ww19.bin", 0x20000, 0x10000, CRC(c39ac1a7) SHA1(9f8048250306ee23c6c66c751b64f19168123ff3) )
  1979: 	ROM_LOAD( "ww20.bin", 0x30000, 0x10000, CRC(8504170f) SHA1(e9970d006dbc63640234bb4baa76a10d84f22bcd) )
  1980: 	ROM_LOAD( "ww21.bin", 0x00000, 0x10000, CRC(be974fbe) SHA1(bcfafb85ad858fc0a3dceb2d5fe319d812df50fc) )
  1981: 	ROM_LOAD( "ww22.bin", 0x10000, 0x10000, CRC(9914972a) SHA1(57a27173bc525b18f42699eab9300d4c8652a7c6) )
  1982: 
  1983: 	ROM_REGION( 0x20000, REGION_SOUND1, 0 )	/* ADPCM samples */
  1984: 	ROM_LOAD( "bt_p4.rom",  0x00000, 0x10000, CRC(4bc83229) SHA1(b58d08ebed0b02279385a7ac2f385e62443e3de6) )
  1985: 	ROM_LOAD( "bt_p5.rom",  0x10000, 0x10000, CRC(817bd62c) SHA1(d3ee2ff01a4da8b928728b2fd4948fabd2b04420) )
  1986: ROM_END
  1987: 
  1988: ROM_START( bermudaa )
  1989: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  1990: 	ROM_LOAD( "4",  0x0000, 0x10000,  CRC(4de39d01) SHA1(4312660c6658079c2d148c07d24f741804f3e45c) )
  1991: 
  1992: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  1993: 	ROM_LOAD( "5",  0x00000, 0x10000, CRC(76158e94) SHA1(221e59b3fd87c6193755753d6ac6a96807e23120) )
  1994: 
  1995: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  1996: 	ROM_LOAD( "3",  0x00000, 0x10000, CRC(c79134a8) SHA1(247459d31022f1491978ba7fcc62dd71983c9057) )
  1997: 
  1998: 	ROM_REGION( 0x1400, REGION_PROMS, 0 )
  1999: 	ROM_LOAD( "mb7122e.1k",  0x0000, 0x0400, CRC(1e8fc4c3) SHA1(21b26e6a046c10bab57d2fa986082b7e45a6c4de) ) /* red */
  2000: 	ROM_LOAD( "mb7122e.2l",  0x0400, 0x0400, CRC(23ce9707) SHA1(c83ef6c3324770c756f1daf01c22214e5dde161e) ) /* green */
  2001: 	ROM_LOAD( "mb7122e.1l",  0x0800, 0x0400, CRC(26caf985) SHA1(113629bf2e2309dea23a39bc9206e228639d16f3) ) /* blue */
  2002: 	ROM_LOAD( "btj_h.prm",   0x0c00, 0x0400, CRC(c20b197b) SHA1(504cb28d652029fe87a5411d6239e78d93c83e91) ) /* ? */
  2003: 	ROM_LOAD( "btj_v.prm",   0x1000, 0x0400, CRC(5d0c617f) SHA1(845e52173c33500227cabe1e21b34919d2856215) ) /* ? */
  2004: 
  2005: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  2006: 	ROM_LOAD( "6", 0x0000, 0x8000,  CRC(a0e6710c) SHA1(28010eaed046681295661b6fa3e76090ba86592b) )
  2007: 
  2008: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  2009: 	ROM_LOAD( "ww11.bin", 0x00000, 0x10000, CRC(603ddcb5) SHA1(766d477672f7936a2b12d3aef435b59aaa77886d) )
  2010: 	ROM_LOAD( "ww12.bin", 0x10000, 0x10000, CRC(388093ff) SHA1(b449031c8225b10d7e27e3a2a0636cfd8cb4e03d) )
  2011: 	ROM_LOAD( "ww13.bin", 0x20000, 0x10000, CRC(83a7ef62) SHA1(692be1db8b0b0ff518ffe6e000fa8eb0ca7d8b06) )
  2012: 	ROM_LOAD( "ww14.bin", 0x30000, 0x10000, CRC(04c784be) SHA1(1a485eeb65dee295c791006d58e4e7305bdcf490) )
  2013: 
  2014: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  2015: 	ROM_LOAD( "ww7.bin",  0x30000, 0x08000, CRC(53c4b24e) SHA1(5f72848f585dcee857715d6ca0020237dd23abc3) )
  2016: 	ROM_LOAD( "ww8.bin",  0x20000, 0x08000, CRC(0ec15086) SHA1(6f5fb4a0f96b3ab745f402c04c2cdc2bacaf4844) )
  2017: 	ROM_LOAD( "ww9.bin",  0x10000, 0x08000, CRC(d9d35911) SHA1(74c23f2967be76ced82522a67291de233528b099) )
  2018: 	ROM_LOAD( "ww10.bin", 0x00000, 0x08000, CRC(f68a2d51) SHA1(bf3bfcb7fcb77f4605472775025dc69e979155c8) )
  2019: 
  2020: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  2021: 	ROM_LOAD( "ww15.bin", 0x40000, 0x10000, CRC(d55ce063) SHA1(c0845db7e928e735746822ab94e5f148f38e73cc) )
  2022: 	ROM_LOAD( "ww16.bin", 0x50000, 0x10000, CRC(a2d19ce5) SHA1(ec1e22c8aa1d24b24fa97015c43e651aebb5a3bb) )
  2023: 	ROM_LOAD( "ww17.bin", 0x60000, 0x10000, CRC(a9a6b128) SHA1(bd09fcf91211739a304771f633f04235d32b057d) )
  2024: 	ROM_LOAD( "ww18.bin", 0x70000, 0x10000, CRC(c712d24c) SHA1(59858d446491e63f8bd0fd1f8aa20262fa0522ef) )
  2025: 	ROM_LOAD( "ww19.bin", 0x20000, 0x10000, CRC(c39ac1a7) SHA1(9f8048250306ee23c6c66c751b64f19168123ff3) )
  2026: 	ROM_LOAD( "ww20.bin", 0x30000, 0x10000, CRC(8504170f) SHA1(e9970d006dbc63640234bb4baa76a10d84f22bcd) )
  2027: 	ROM_LOAD( "ww21.bin", 0x00000, 0x10000, CRC(be974fbe) SHA1(bcfafb85ad858fc0a3dceb2d5fe319d812df50fc) )
  2028: 	ROM_LOAD( "ww22.bin", 0x10000, 0x10000, CRC(9914972a) SHA1(57a27173bc525b18f42699eab9300d4c8652a7c6) )
  2029: 
  2030: 	ROM_REGION( 0x20000, REGION_SOUND1, 0 )	/* ADPCM samples */
  2031: 	ROM_LOAD( "bt_p4.rom",  0x00000, 0x10000, CRC(4bc83229) SHA1(b58d08ebed0b02279385a7ac2f385e62443e3de6) )
  2032: 	ROM_LOAD( "bt_p5.rom",  0x10000, 0x10000, CRC(817bd62c) SHA1(d3ee2ff01a4da8b928728b2fd4948fabd2b04420) )
  2033: ROM_END
  2034: 
  2035: /***********************************************************************/
  2036: 
  2037: ROM_START( psychos )
  2038: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  2039: 	ROM_LOAD( "p7",  0x00000, 0x10000, CRC(562809f4) SHA1(71d2a0fbfbe953e2bc4169d3c0a4f259911f04c3) )
  2040: 
  2041: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  2042: 	ROM_LOAD( "up03_m8.rom",  0x00000, 0x10000, CRC(5f426ddb) SHA1(d4b2215122b23066ba2b231992f0f27057259ded) )
  2043: 
  2044: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  2045: 	ROM_LOAD( "p5",  0x0000, 0x10000,  CRC(64503283) SHA1(e380164ac4268eda1d9ca2404b3dddc5fd3f9dcc) )
  2046: 
  2047: 	ROM_REGION( 0x1400, REGION_PROMS, 0 )
  2048: 	ROM_LOAD( "up03_k1.rom",  0x00000, 0x00400, CRC(27b8ca8c) SHA1(a2dbc22ca10c2c2c874bf766fe64981f9be75aba) ) /* red */
  2049: 	ROM_LOAD( "up03_l1.rom",  0x00400, 0x00400, CRC(40e78c9e) SHA1(779c84e5a40365d36088a018d9d1a3524f53844a) ) /* green */
  2050: 	ROM_LOAD( "up03_k2.rom",  0x00800, 0x00400, CRC(d845d5ac) SHA1(e1e0954c44264456a02aebe5e3b0bba6031b837b) ) /* blue */
  2051: 	ROM_LOAD( "mb7122e.8j",   0x0c00, 0x400, CRC(c20b197b) SHA1(504cb28d652029fe87a5411d6239e78d93c83e91) ) /* ? */
  2052: 	ROM_LOAD( "mb7122e.8k",   0x1000, 0x400, CRC(5d0c617f) SHA1(845e52173c33500227cabe1e21b34919d2856215) ) /* ? */
  2053: 
  2054: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  2055: 	ROM_LOAD( "up02_a3.rom",  0x0000, 0x8000,  CRC(11a71919) SHA1(ffb8c54ad5162ea5040508ccb9244b7cd087c047) )
  2056: 
  2057: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  2058: 	ROM_LOAD( "up01_f1.rom",  0x00000, 0x10000, CRC(167e5765) SHA1(5deb66255278e1891c344e0e9665c6f0fda59391) )
  2059: 	ROM_LOAD( "up01_d1.rom",  0x10000, 0x10000, CRC(8b0fe8d0) SHA1(30b24878e0e333a635dae475b6527b03b9e0302c) )
  2060: 	ROM_LOAD( "up01_c1.rom",  0x20000, 0x10000, CRC(f4361c50) SHA1(59d0915c4c4d07e26d205ffee95d7628f8eefb6d) )
  2061: 	ROM_LOAD( "up01_a1.rom",  0x30000, 0x10000, CRC(e4b0b95e) SHA1(8e35138f9d1fc6c1d787cf09ec17a900710db375) )
  2062: 
  2063: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  2064: 	ROM_LOAD( "up02_f3.rom",  0x00000, 0x8000, CRC(f96f82db) SHA1(8062721431762dfcf7cc499a1f050e4cbe0fc793) )
  2065: 	ROM_LOAD( "up02_e3.rom",  0x10000, 0x8000, CRC(2b007733) SHA1(7b808a134a9aa70aef1cf2a503b7ea786fd05275) )
  2066: 	ROM_LOAD( "up02_c3.rom",  0x20000, 0x8000, CRC(efa830e1) SHA1(0a41a764a751a6566b9bb58086a417cfb7925d50) )
  2067: 	ROM_LOAD( "up02_b3.rom",  0x30000, 0x8000, CRC(24559ee1) SHA1(ca2166558a8dffba9042349db2f85f9111bd8d93) )
  2068: 
  2069: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  2070: 	ROM_LOAD( "up01_f10.rom",  0x00000, 0x10000, CRC(2bac250e) SHA1(aaf424fb9663e14c19d4063a402fb3c4c5c5b059) )
  2071: 	ROM_LOAD( "up01_h10.rom",  0x10000, 0x10000, CRC(5e1ba353) SHA1(1219cd11d5837c6680f6cbbf91cfece6564cacaa) )
  2072: 	ROM_LOAD( "up01_j10.rom",  0x20000, 0x10000, CRC(9ff91a97) SHA1(064047800f3d7cb6eaf35988e0db0dc4dfa7e10f) )
  2073: 	ROM_LOAD( "up01_l10.rom",  0x30000, 0x10000, CRC(ae1965ef) SHA1(7da6f14fa46f0443da8502f61e9f7d4aa603a19b) )
  2074: 	ROM_LOAD( "up01_m10.rom",  0x40000, 0x10000, CRC(df283b67) SHA1(92650d3517efdef1358f5c9b9ee30d48a3bcc45a) )
  2075: 	ROM_LOAD( "up01_n10.rom",  0x50000, 0x10000, CRC(914f051f) SHA1(743aa05ce1b4a9a49e9515e6c56c721bebd2bd2c) )
  2076: 	ROM_LOAD( "up01_r10.rom",  0x60000, 0x10000, CRC(c4488472) SHA1(98540ca924cc20e82859b7bb88e521ff3f9f3b37) )
  2077: 	ROM_LOAD( "up01_s10.rom",  0x70000, 0x10000, CRC(8ec7fe18) SHA1(65697058fe557066921072df691f3aa19f54968c) )
  2078: 
  2079: 	ROM_REGION( 0x40000, REGION_SOUND1, 0 )
  2080: 	ROM_LOAD( "p1",  0x00000, 0x10000, CRC(58f1683f) SHA1(8b713b2806d1a56794c990ed221ce016bb881082) )
  2081: 	ROM_LOAD( "p2",  0x10000, 0x10000, CRC(da3abda1) SHA1(aeafe8f41c0ea2f93791abce01a53d8e417d1216) )
  2082: 	ROM_LOAD( "p3",  0x20000, 0x10000, CRC(f3683ae8) SHA1(a2e77995f835eaa211ea7d384382cf6a5a121490) )
  2083: 	ROM_LOAD( "p4",  0x30000, 0x10000, CRC(437d775a) SHA1(355c227b22ae34f47e2bb27d4b5440ccaedf2eea) )
  2084: ROM_END
  2085: 
  2086: ROM_START( psychosj )
  2087: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  2088: 	ROM_LOAD( "up03_m4.rom",  0x0000, 0x10000,  CRC(05dfb409) SHA1(e6c378c86689c7ab9190908c8e4aa2d4563c3774) )
  2089: 
  2090: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  2091: 	ROM_LOAD( "up03_m8.rom",  0x00000, 0x10000, CRC(5f426ddb) SHA1(d4b2215122b23066ba2b231992f0f27057259ded) )
  2092: 
  2093: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  2094: 	ROM_LOAD( "up03_j6.rom",  0x00000, 0x10000, CRC(bbd0a8e3) SHA1(ea8ca9de8f6042cf14ebfc83bc956751358f9521) )
  2095: 
  2096: 	ROM_REGION( 0x1400, REGION_PROMS, 0 )
  2097: 	ROM_LOAD( "up03_k1.rom",  0x00000, 0x00400, CRC(27b8ca8c) SHA1(a2dbc22ca10c2c2c874bf766fe64981f9be75aba) ) /* red */
  2098: 	ROM_LOAD( "up03_l1.rom",  0x00400, 0x00400, CRC(40e78c9e) SHA1(779c84e5a40365d36088a018d9d1a3524f53844a) ) /* green */
  2099: 	ROM_LOAD( "up03_k2.rom",  0x00800, 0x00400, CRC(d845d5ac) SHA1(e1e0954c44264456a02aebe5e3b0bba6031b837b) ) /* blue */
  2100: 	ROM_LOAD( "mb7122e.8j",   0x0c00, 0x400, CRC(c20b197b) SHA1(504cb28d652029fe87a5411d6239e78d93c83e91) ) /* ? */
  2101: 	ROM_LOAD( "mb7122e.8k",   0x1000, 0x400, CRC(5d0c617f) SHA1(845e52173c33500227cabe1e21b34919d2856215) ) /* ? */
  2102: 
  2103: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  2104: 	ROM_LOAD( "up02_a3.rom",  0x0000, 0x8000,  CRC(11a71919) SHA1(ffb8c54ad5162ea5040508ccb9244b7cd087c047) )
  2105: 
  2106: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  2107: 	ROM_LOAD( "up01_f1.rom",  0x00000, 0x10000, CRC(167e5765) SHA1(5deb66255278e1891c344e0e9665c6f0fda59391) )
  2108: 	ROM_LOAD( "up01_d1.rom",  0x10000, 0x10000, CRC(8b0fe8d0) SHA1(30b24878e0e333a635dae475b6527b03b9e0302c) )
  2109: 	ROM_LOAD( "up01_c1.rom",  0x20000, 0x10000, CRC(f4361c50) SHA1(59d0915c4c4d07e26d205ffee95d7628f8eefb6d) )
  2110: 	ROM_LOAD( "up01_a1.rom",  0x30000, 0x10000, CRC(e4b0b95e) SHA1(8e35138f9d1fc6c1d787cf09ec17a900710db375) )
  2111: 
  2112: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  2113: 	ROM_LOAD( "up02_f3.rom",  0x00000, 0x8000, CRC(f96f82db) SHA1(8062721431762dfcf7cc499a1f050e4cbe0fc793) )
  2114: 	ROM_LOAD( "up02_e3.rom",  0x10000, 0x8000, CRC(2b007733) SHA1(7b808a134a9aa70aef1cf2a503b7ea786fd05275) )
  2115: 	ROM_LOAD( "up02_c3.rom",  0x20000, 0x8000, CRC(efa830e1) SHA1(0a41a764a751a6566b9bb58086a417cfb7925d50) )
  2116: 	ROM_LOAD( "up02_b3.rom",  0x30000, 0x8000, CRC(24559ee1) SHA1(ca2166558a8dffba9042349db2f85f9111bd8d93) )
  2117: 
  2118: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  2119: 	ROM_LOAD( "up01_f10.rom",  0x00000, 0x10000, CRC(2bac250e) SHA1(aaf424fb9663e14c19d4063a402fb3c4c5c5b059) )
  2120: 	ROM_LOAD( "up01_h10.rom",  0x10000, 0x10000, CRC(5e1ba353) SHA1(1219cd11d5837c6680f6cbbf91cfece6564cacaa) )
  2121: 	ROM_LOAD( "up01_j10.rom",  0x20000, 0x10000, CRC(9ff91a97) SHA1(064047800f3d7cb6eaf35988e0db0dc4dfa7e10f) )
  2122: 	ROM_LOAD( "up01_l10.rom",  0x30000, 0x10000, CRC(ae1965ef) SHA1(7da6f14fa46f0443da8502f61e9f7d4aa603a19b) )
  2123: 	ROM_LOAD( "up01_m10.rom",  0x40000, 0x10000, CRC(df283b67) SHA1(92650d3517efdef1358f5c9b9ee30d48a3bcc45a) )
  2124: 	ROM_LOAD( "up01_n10.rom",  0x50000, 0x10000, CRC(914f051f) SHA1(743aa05ce1b4a9a49e9515e6c56c721bebd2bd2c) )
  2125: 	ROM_LOAD( "up01_r10.rom",  0x60000, 0x10000, CRC(c4488472) SHA1(98540ca924cc20e82859b7bb88e521ff3f9f3b37) )
  2126: 	ROM_LOAD( "up01_s10.rom",  0x70000, 0x10000, CRC(8ec7fe18) SHA1(65697058fe557066921072df691f3aa19f54968c) )
  2127: 
  2128: 	ROM_REGION( 0x40000, REGION_SOUND1, 0 )
  2129: 	ROM_LOAD( "up03_b5.rom",  0x00000, 0x10000, CRC(0f8e8276) SHA1(8894ccccaf67ae3cfea926725c114f8e5607e4b2) )
  2130: 	ROM_LOAD( "up03_c5.rom",  0x10000, 0x10000, CRC(34e41dfb) SHA1(cdc4cb47a31c4f6eee8bc804389ee62af5173c15) )
  2131: 	ROM_LOAD( "up03_d5.rom",  0x20000, 0x10000, CRC(aa583c5e) SHA1(8433517d789c6b30938bfef366b44a0412dd5e7e) )
  2132: 	ROM_LOAD( "up03_f5.rom",  0x30000, 0x10000, CRC(7e8bce7a) SHA1(dd482045332719c76e598110d7285997b337352a) )
  2133: ROM_END
  2134: 
  2135: /***********************************************************************/
  2136: 
  2137: ROM_START( chopper )
  2138: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  2139: 	ROM_LOAD( "kk_01.rom",  0x0000, 0x10000,  CRC(8fa2f839) SHA1(13cfdbeb433aa3e1dc7e7927c00690e02ed08274) )
  2140: 
  2141: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  2142: 	ROM_LOAD( "kk_04.rom",  0x00000, 0x10000, CRC(004f7d9a) SHA1(4d1c830f69dbf2f1523f9ad7da9b3275fd6b5dfb) )
  2143: 
  2144: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  2145: 	ROM_LOAD( "kk_03.rom",  0x00000, 0x10000, CRC(dbaafb87) SHA1(e7d7f68250bda217230560481ba51da335fc05d7) )   /* YM3526 */
  2146: 
  2147: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  2148: 	ROM_LOAD( "up03_k1.rom",  0x0000, 0x0400, CRC(7f07a45c) SHA1(f751d01d9c25609195b19643395290dab8b8bc5c) ) /* red */
  2149: 	ROM_LOAD( "up03_l1.rom",  0x0400, 0x0400, CRC(15359fc3) SHA1(4ced674fb18b80ebe5fd6459e0fb9542461dbc74) ) /* green */
  2150: 	ROM_LOAD( "up03_k2.rom",  0x0800, 0x0400, CRC(79b50f7d) SHA1(41579e498046570a6a74309310b5341fcde9c7de) ) /* blue */
  2151: 
  2152: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  2153: 	ROM_LOAD( "kk_05.rom",  0x0000, 0x8000, CRC(defc0987) SHA1(ea8eca852aadce90857eb8e65d78631409faac01) )
  2154: 
  2155: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  2156: 	ROM_LOAD( "kk_10.rom",  0x00000, 0x10000, CRC(5cf4d22b) SHA1(b66864740898478becb188d7dd34d61187926e4d) )
  2157: 	ROM_LOAD( "kk_11.rom",  0x10000, 0x10000, CRC(9af4cad0) SHA1(dd8c1a76e6a90661c5442c0a096cb9ffe496d12a) )
  2158: 	ROM_LOAD( "kk_12.rom",  0x20000, 0x10000, CRC(02fec778) SHA1(477a3e22f913cc7783d6cbfce86f98fea9eaf3ec) )
  2159: 	ROM_LOAD( "kk_13.rom",  0x30000, 0x10000, CRC(2756817d) SHA1(acde21454ddf843425deff3357c9e3a7e7a2baec) )
  2160: 
  2161: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  2162: 	ROM_LOAD( "kk_09.rom",  0x00000, 0x08000, CRC(653c4342) SHA1(aacb3a7772dcea4c88f0010b3654f4159cfb6a8b) )
  2163: 	ROM_LOAD( "kk_08.rom",  0x10000, 0x08000, CRC(2da45894) SHA1(09f1ac544a119c9d3a9eeb0606f35585d35c2d1d) )
  2164: 	ROM_LOAD( "kk_07.rom",  0x20000, 0x08000, CRC(a0ebebdf) SHA1(83d8a9ba7b7ffd42e50afb017e4d0d40fe3e2739) )
  2165: 	ROM_LOAD( "kk_06.rom",  0x30000, 0x08000, CRC(284fad9e) SHA1(7bb572d7d5983a514e8381954ac89a720b86e9ba) )
  2166: 
  2167: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  2168: 	ROM_LOAD( "kk_18.rom",  0x00000, 0x10000, CRC(6abbff36) SHA1(8dde3163e454876a4b666b25c81c09b0740143b5) )
  2169: 	ROM_LOAD( "kk_19.rom",  0x10000, 0x10000, CRC(5283b4d3) SHA1(980f74d3f468203cf9c1a5f3bc256139975035f3) )
  2170: 	ROM_LOAD( "kk_20.rom",  0x20000, 0x10000, CRC(6403ddf2) SHA1(54a044d9a1ba89fec3bea0e771f75fcc532e7aad) )
  2171: 	ROM_LOAD( "kk_21.rom",  0x30000, 0x10000, CRC(9f411940) SHA1(73b0bd360a76ab183f8c7b41f78e930e49e2600c) )
  2172: 	ROM_LOAD( "kk_14.rom",  0x40000, 0x10000, CRC(9bad9e25) SHA1(0eb1e23dc7084172dd19927a1b084101d10b5137) )
  2173: 	ROM_LOAD( "kk_15.rom",  0x50000, 0x10000, CRC(89faf590) SHA1(876fc6dac48fef396670522470c41fc9d9b6a0b2) )
  2174: 	ROM_LOAD( "kk_16.rom",  0x60000, 0x10000, CRC(efb1fb6c) SHA1(12edd64e29472f3c6822f957b23547c64dab65d2) )
  2175: 	ROM_LOAD( "kk_17.rom",  0x70000, 0x10000, CRC(6b7fb0a5) SHA1(805ee6f439d9e921e1ece27438ba9c00b870e305) )
  2176: 
  2177: 	ROM_REGION( 0x10000, REGION_SOUND1, 0 )
  2178: 	ROM_LOAD( "kk_02.rom",  0x00000, 0x10000, CRC(06169ae0) SHA1(2690ce7cb28cf5c6d37886ce5fbe444067c08403) )
  2179: ROM_END
  2180: 
  2181: ROM_START( choppera )
  2182: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  2183: 	ROM_LOAD( "1a.rom",  0x0000, 0x10000,  CRC(dc325860) SHA1(89391897e6f31d9c1d3b7f27618f63fe8018d42a) )
  2184: 
  2185: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  2186: 	ROM_LOAD( "4a.rom",  0x00000, 0x10000, CRC(56d10ba3) SHA1(345a80239fd425c7fe1dfec9385c99a307511e00) )
  2187: 
  2188: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  2189: 	ROM_LOAD( "kk_03.rom",  0x00000, 0x10000, CRC(dbaafb87) SHA1(e7d7f68250bda217230560481ba51da335fc05d7) )   /* YM3526 */
  2190: 
  2191: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  2192: 	ROM_LOAD( "up03_k1.rom",  0x0000, 0x0400, CRC(7f07a45c) SHA1(f751d01d9c25609195b19643395290dab8b8bc5c) ) /* red */
  2193: 	ROM_LOAD( "up03_l1.rom",  0x0400, 0x0400, CRC(15359fc3) SHA1(4ced674fb18b80ebe5fd6459e0fb9542461dbc74) ) /* green */
  2194: 	ROM_LOAD( "up03_k2.rom",  0x0800, 0x0400, CRC(79b50f7d) SHA1(41579e498046570a6a74309310b5341fcde9c7de) ) /* blue */
  2195: 
  2196: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  2197: 	ROM_LOAD( "kk_05.rom",  0x0000, 0x8000, CRC(defc0987) SHA1(ea8eca852aadce90857eb8e65d78631409faac01) )
  2198: 
  2199: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  2200: 	ROM_LOAD( "kk_10.rom",  0x00000, 0x10000, CRC(5cf4d22b) SHA1(b66864740898478becb188d7dd34d61187926e4d) )
  2201: 	ROM_LOAD( "11a.rom",  	0x10000, 0x10000, CRC(881ac259) SHA1(6cce41878c9d9712996d4987a9a578f1301b8feb) )
  2202: 	ROM_LOAD( "12a.rom",  	0x20000, 0x10000, CRC(de96b331) SHA1(725cfe739f7ed0f37eb620d9566bfda1369f4d50) )
  2203: 	ROM_LOAD( "kk_13.rom",  0x30000, 0x10000, CRC(2756817d) SHA1(acde21454ddf843425deff3357c9e3a7e7a2baec) )
  2204: 
  2205: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  2206: 	ROM_LOAD( "9a.rom",  0x00000, 0x08000, CRC(106c2dcc) SHA1(919497757664c92e9955db50f5096ac81cec33c3) )
  2207: 	ROM_LOAD( "8a.rom",  0x10000, 0x08000, CRC(d4f88f62) SHA1(ac89ffa83e0e207acce39711b93d94affc61c1cc) )
  2208: 	ROM_LOAD( "7a.rom",  0x20000, 0x08000, CRC(28ae39f9) SHA1(7d51489b824b76710f6d4434a77f5f2833fcc532) )
  2209: 	ROM_LOAD( "6a.rom",  0x30000, 0x08000, CRC(16774a36) SHA1(d1207513f790a30eef8802e63cfeeb10321d6ff7) )
  2210: 
  2211: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  2212: 	ROM_LOAD( "kk_18.rom",  0x00000, 0x10000, CRC(6abbff36) SHA1(8dde3163e454876a4b666b25c81c09b0740143b5) )
  2213: 	ROM_LOAD( "kk_19.rom",  0x10000, 0x10000, CRC(5283b4d3) SHA1(980f74d3f468203cf9c1a5f3bc256139975035f3) )
  2214: 	ROM_LOAD( "kk_20.rom",  0x20000, 0x10000, CRC(6403ddf2) SHA1(54a044d9a1ba89fec3bea0e771f75fcc532e7aad) )
  2215: 	ROM_LOAD( "kk_21.rom",  0x30000, 0x10000, CRC(9f411940) SHA1(73b0bd360a76ab183f8c7b41f78e930e49e2600c) )
  2216: 	ROM_LOAD( "kk_14.rom",  0x40000, 0x10000, CRC(9bad9e25) SHA1(0eb1e23dc7084172dd19927a1b084101d10b5137) )
  2217: 	ROM_LOAD( "kk_15.rom",  0x50000, 0x10000, CRC(89faf590) SHA1(876fc6dac48fef396670522470c41fc9d9b6a0b2) )
  2218: 	ROM_LOAD( "kk_16.rom",  0x60000, 0x10000, CRC(efb1fb6c) SHA1(12edd64e29472f3c6822f957b23547c64dab65d2) )
  2219: 	ROM_LOAD( "kk_17.rom",  0x70000, 0x10000, CRC(6b7fb0a5) SHA1(805ee6f439d9e921e1ece27438ba9c00b870e305) )
  2220: 
  2221: 	ROM_REGION( 0x10000, REGION_SOUND1, 0 )
  2222: 	ROM_LOAD( "kk_02.rom",  0x00000, 0x10000, CRC(06169ae0) SHA1(2690ce7cb28cf5c6d37886ce5fbe444067c08403) )
  2223: ROM_END
  2224: 
  2225: ROM_START( chopperb )
  2226: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  2227: 	ROM_LOAD( "chpri-1.bin",  0x0000, 0x10000,  CRC(a4e6e978) SHA1(dafc2a3da3725344023a09f5bdaedd0e8e1dbbe2) )
  2228: 
  2229: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  2230: 	ROM_LOAD( "chpri-4.bin",  0x00000, 0x10000, CRC(56d10ba3) SHA1(345a80239fd425c7fe1dfec9385c99a307511e00) )
  2231: 
  2232: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  2233: 	ROM_LOAD( "kk_03.rom",  0x00000, 0x10000, CRC(dbaafb87) SHA1(e7d7f68250bda217230560481ba51da335fc05d7) )   /* YM3526 */
  2234: 
  2235: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  2236: 	ROM_LOAD( "up03_k1.rom",  0x0000, 0x0400, CRC(7f07a45c) SHA1(f751d01d9c25609195b19643395290dab8b8bc5c) ) /* red */
  2237: 	ROM_LOAD( "up03_l1.rom",  0x0400, 0x0400, CRC(15359fc3) SHA1(4ced674fb18b80ebe5fd6459e0fb9542461dbc74) ) /* green */
  2238: 	ROM_LOAD( "up03_k2.rom",  0x0800, 0x0400, CRC(79b50f7d) SHA1(41579e498046570a6a74309310b5341fcde9c7de) ) /* blue */
  2239: 
  2240: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  2241: 	ROM_LOAD( "kk_05.rom",  0x0000, 0x8000, CRC(defc0987) SHA1(ea8eca852aadce90857eb8e65d78631409faac01) )
  2242: 
  2243: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  2244: 	ROM_LOAD( "kk_10.rom",    0x00000, 0x10000, CRC(5cf4d22b) SHA1(b66864740898478becb188d7dd34d61187926e4d) )
  2245: 	ROM_LOAD( "chpri-11.bin", 0x10000, 0x10000, CRC(881ac259) SHA1(6cce41878c9d9712996d4987a9a578f1301b8feb) )
  2246: 	ROM_LOAD( "chpri-12.bin", 0x20000, 0x10000, CRC(de96b331) SHA1(725cfe739f7ed0f37eb620d9566bfda1369f4d50) )
  2247: 	ROM_LOAD( "kk_13.rom",    0x30000, 0x10000, CRC(2756817d) SHA1(acde21454ddf843425deff3357c9e3a7e7a2baec) )
  2248: 
  2249: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  2250: 	ROM_LOAD( "chpri-9.bin",  0x00000, 0x08000, CRC(106c2dcc) SHA1(919497757664c92e9955db50f5096ac81cec33c3) )
  2251: 	ROM_LOAD( "chpri-8.bin",  0x10000, 0x08000, CRC(d4f88f62) SHA1(ac89ffa83e0e207acce39711b93d94affc61c1cc) )
  2252: 	ROM_LOAD( "chpri-7.bin",  0x20000, 0x08000, CRC(28ae39f9) SHA1(7d51489b824b76710f6d4434a77f5f2833fcc532) )
  2253: 	ROM_LOAD( "chpri-6.bin",  0x30000, 0x08000, CRC(16774a36) SHA1(d1207513f790a30eef8802e63cfeeb10321d6ff7) )
  2254: 
  2255: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  2256: 	ROM_LOAD( "kk_18.rom",  0x00000, 0x10000, CRC(6abbff36) SHA1(8dde3163e454876a4b666b25c81c09b0740143b5) )
  2257: 	ROM_LOAD( "kk_19.rom",  0x10000, 0x10000, CRC(5283b4d3) SHA1(980f74d3f468203cf9c1a5f3bc256139975035f3) )
  2258: 	ROM_LOAD( "kk_20.rom",  0x20000, 0x10000, CRC(6403ddf2) SHA1(54a044d9a1ba89fec3bea0e771f75fcc532e7aad) )
  2259: 	ROM_LOAD( "kk_21.rom",  0x30000, 0x10000, CRC(9f411940) SHA1(73b0bd360a76ab183f8c7b41f78e930e49e2600c) )
  2260: 	ROM_LOAD( "kk_14.rom",  0x40000, 0x10000, CRC(9bad9e25) SHA1(0eb1e23dc7084172dd19927a1b084101d10b5137) )
  2261: 	ROM_LOAD( "kk_15.rom",  0x50000, 0x10000, CRC(89faf590) SHA1(876fc6dac48fef396670522470c41fc9d9b6a0b2) )
  2262: 	ROM_LOAD( "kk_16.rom",  0x60000, 0x10000, CRC(efb1fb6c) SHA1(12edd64e29472f3c6822f957b23547c64dab65d2) )
  2263: 	ROM_LOAD( "kk_17.rom",  0x70000, 0x10000, CRC(6b7fb0a5) SHA1(805ee6f439d9e921e1ece27438ba9c00b870e305) )
  2264: 
  2265: 	ROM_REGION( 0x10000, REGION_SOUND1, 0 )
  2266: 	ROM_LOAD( "kk_02.rom",  0x00000, 0x10000, CRC(06169ae0) SHA1(2690ce7cb28cf5c6d37886ce5fbe444067c08403) )
  2267: ROM_END
  2268: 
  2269: ROM_START( legofair ) /* ChopperI (Japan) */
  2270: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  2271: 	ROM_LOAD( "up03_m4.rom",  0x0000, 0x10000,  CRC(79a485c0) SHA1(bbf51e7321656b6a04223909d4958ceb4892193a) )
  2272: 
  2273: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  2274: 	ROM_LOAD( "up03_m8.rom",  0x00000, 0x10000, CRC(96d3a4d9) SHA1(e23a06e6117eca14b24de2d6fd48f5aa2a26d3bb) )
  2275: 
  2276: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  2277: 	ROM_LOAD( "kk_03.rom",  0x00000, 0x10000, CRC(dbaafb87) SHA1(e7d7f68250bda217230560481ba51da335fc05d7) )
  2278: 
  2279: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  2280: 	ROM_LOAD( "up03_k1.rom",  0x0000, 0x0400, CRC(7f07a45c) SHA1(f751d01d9c25609195b19643395290dab8b8bc5c) ) /* red */
  2281: 	ROM_LOAD( "up03_l1.rom",  0x0400, 0x0400, CRC(15359fc3) SHA1(4ced674fb18b80ebe5fd6459e0fb9542461dbc74) ) /* green */
  2282: 	ROM_LOAD( "up03_k2.rom",  0x0800, 0x0400, CRC(79b50f7d) SHA1(41579e498046570a6a74309310b5341fcde9c7de) ) /* blue */
  2283: 
  2284: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  2285: 	ROM_LOAD( "kk_05.rom",  0x0000, 0x8000, CRC(defc0987) SHA1(ea8eca852aadce90857eb8e65d78631409faac01) )
  2286: 
  2287: 	ROM_REGION( 0x40000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  2288: 	ROM_LOAD( "kk_10.rom",  0x00000, 0x10000, CRC(5cf4d22b) SHA1(b66864740898478becb188d7dd34d61187926e4d) )
  2289: 	ROM_LOAD( "kk_11.rom",  0x10000, 0x10000, CRC(9af4cad0) SHA1(dd8c1a76e6a90661c5442c0a096cb9ffe496d12a) )
  2290: 	ROM_LOAD( "kk_12.rom",  0x20000, 0x10000, CRC(02fec778) SHA1(477a3e22f913cc7783d6cbfce86f98fea9eaf3ec) )
  2291: 	ROM_LOAD( "kk_13.rom",  0x30000, 0x10000, CRC(2756817d) SHA1(acde21454ddf843425deff3357c9e3a7e7a2baec) )
  2292: 
  2293: 	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  2294: 	ROM_LOAD( "kk_09.rom",  0x00000, 0x08000, CRC(653c4342) SHA1(aacb3a7772dcea4c88f0010b3654f4159cfb6a8b) )
  2295: 	ROM_LOAD( "kk_08.rom",  0x10000, 0x08000, CRC(2da45894) SHA1(09f1ac544a119c9d3a9eeb0606f35585d35c2d1d) )
  2296: 	ROM_LOAD( "kk_07.rom",  0x20000, 0x08000, CRC(a0ebebdf) SHA1(83d8a9ba7b7ffd42e50afb017e4d0d40fe3e2739) )
  2297: 	ROM_LOAD( "kk_06.rom",  0x30000, 0x08000, CRC(284fad9e) SHA1(7bb572d7d5983a514e8381954ac89a720b86e9ba) )
  2298: 
  2299: 	ROM_REGION( 0x80000, REGION_GFX4, ROMREGION_DISPOSE ) /* 32x32 sprites */
  2300: 	ROM_LOAD( "kk_18.rom",  0x00000, 0x10000, CRC(6abbff36) SHA1(8dde3163e454876a4b666b25c81c09b0740143b5) )
  2301: 	ROM_LOAD( "kk_19.rom",  0x10000, 0x10000, CRC(5283b4d3) SHA1(980f74d3f468203cf9c1a5f3bc256139975035f3) )
  2302: 	ROM_LOAD( "kk_20.rom",  0x20000, 0x10000, CRC(6403ddf2) SHA1(54a044d9a1ba89fec3bea0e771f75fcc532e7aad) )
  2303: 	ROM_LOAD( "kk_21.rom",  0x30000, 0x10000, CRC(9f411940) SHA1(73b0bd360a76ab183f8c7b41f78e930e49e2600c) )
  2304: 	ROM_LOAD( "kk_14.rom",  0x40000, 0x10000, CRC(9bad9e25) SHA1(0eb1e23dc7084172dd19927a1b084101d10b5137) )
  2305: 	ROM_LOAD( "kk_15.rom",  0x50000, 0x10000, CRC(89faf590) SHA1(876fc6dac48fef396670522470c41fc9d9b6a0b2) )
  2306: 	ROM_LOAD( "kk_16.rom",  0x60000, 0x10000, CRC(efb1fb6c) SHA1(12edd64e29472f3c6822f957b23547c64dab65d2) )
  2307: 	ROM_LOAD( "kk_17.rom",  0x70000, 0x10000, CRC(6b7fb0a5) SHA1(805ee6f439d9e921e1ece27438ba9c00b870e305) )
  2308: 
  2309: 	ROM_REGION( 0x10000, REGION_SOUND1, 0 )
  2310: 	ROM_LOAD( "kk_02.rom",  0x00000, 0x10000, CRC(06169ae0) SHA1(2690ce7cb28cf5c6d37886ce5fbe444067c08403) )
  2311: ROM_END
  2312: 
  2313: /***********************************************************************/
  2314: 
  2315: ROM_START( ftsoccer )
  2316: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )     /* 64k for cpuA code */
  2317: 	ROM_LOAD( "ft-003.bin",  0x00000, 0x10000, CRC(649d4448) SHA1(876a4cf3ce3211ee19390deb17a661ec52b419d2) )
  2318: 
  2319: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )     /* 64k for cpuB code */
  2320: 	ROM_LOAD( "ft-001.bin",  0x00000, 0x10000, CRC(2f68e38b) SHA1(0cbf2de24a5a5ae2134eb6f1e1404691554192bc) )
  2321: 
  2322: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )     /* 64k for sound code */
  2323: 	ROM_LOAD( "ft-002.bin",  0x00000, 0x10000, CRC(9ee54ea1) SHA1(4e3bbacaa0e247eb8c4043f394e763817a4f9a28) )
  2324: 
  2325: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  2326: 	ROM_LOAD( "prom2.bin", 0x000, 0x400, CRC(bf4ac706) SHA1(b5015563d88dbd93ba2838f01b189812958f142b) ) /* red */
  2327: 	ROM_LOAD( "prom1.bin", 0x400, 0x400, CRC(1bac8010) SHA1(16854b1b6f3d1be48a247796d65aeb90547099b6) ) /* green */
  2328: 	ROM_LOAD( "prom3.bin", 0x800, 0x400, CRC(dbeddb14) SHA1(6053b587a3c8272aefe728a7198a15aa7fb9b2fa) ) /* blue */
  2329: 
  2330: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  2331: 	ROM_LOAD( "ft-013.bin",  0x0000, 0x08000, CRC(0de7b7ad) SHA1(4fa54b2acf83f03d09d16fc054ad6623cafe0f4a) )
  2332: 
  2333: 	ROM_REGION( 0x50000, REGION_GFX2, ROMREGION_DISPOSE ) /* background tiles */
  2334: 	ROM_LOAD( "ft-014.bin",  0x00000, 0x10000, CRC(38c38b40) SHA1(c4580add0946720441f5ef751d0d4a944cd92ad5) )
  2335: 	ROM_LOAD( "ft-015.bin",  0x10000, 0x10000, CRC(a614834f) SHA1(d73930e4bd780915e1b0d7f3fe7cbeaad19c233f) )
  2336: 
  2337: //	ROM_REGION( 0x40000, REGION_GFX3, ROMREGION_DISPOSE ) /* 16x16 sprites */
  2338: 
  2339: 	ROM_REGION( 0x80000, REGION_GFX3, ROMREGION_DISPOSE ) /* 32x32 sprites */
  2340: 	ROM_LOAD( "ft-005.bin",  0x10000, 0x10000, CRC(def2f1d8) SHA1(b72e4dec3306d8afe461ac812b2de67ee85f9dd9) )
  2341: 	ROM_LOAD( "ft-006.bin",  0x00000, 0x10000, CRC(588d14b3) SHA1(c0489b061503677a38e4c5800ea8be17aabf4039) )
  2342: 
  2343: 	ROM_LOAD( "ft-007.bin",  0x30000, 0x10000, CRC(d584964b) SHA1(7c806fc40dcce700ed0c268abbd2704938b65ff2) )
  2344: 	ROM_LOAD( "ft-008.bin",  0x20000, 0x10000, CRC(11156a7d) SHA1(f298a54fa4c118bf8e7c7cccb6c95a4b97daf4d4) )
  2345: 
  2346: 	ROM_LOAD( "ft-009.bin",  0x50000, 0x10000, CRC(d8112aa6) SHA1(575dd6dff2f00901603768f2c121eb0ea5afa444) )
  2347: 	ROM_LOAD( "ft-010.bin",  0x40000, 0x10000, CRC(e42864d8) SHA1(fe18f58e5507676780fe181e2fb0e0e9d72e276e) )
  2348: 
  2349: 	ROM_LOAD( "ft-011.bin",  0x70000, 0x10000, CRC(022f3e96) SHA1(57aa423b8f62015566bc3021300ac7e9682ed500) )
  2350: 	ROM_LOAD( "ft-012.bin",  0x60000, 0x10000, CRC(b2442c30) SHA1(ba9331810659726389494ddc7c94c5a02ba80747) )
  2351: 
  2352: 	ROM_REGION( 0x10000, REGION_SOUND1, 0 )
  2353: 	ROM_LOAD( "ft-004.bin",  0x00000, 0x10000, CRC(435c3716) SHA1(42053741f60594e7ae8516b3ba600f5badb3620f) )
  2354: ROM_END
  2355: 
  2356: /***********************************************************************/
  2357: 
  2358: ROM_START( tdfever ) /* USA set */
  2359: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  2360: 	ROM_LOAD( "td2-ver3.6c",  0x0000, 0x10000,  CRC(92138fe4) SHA1(17a2bc12f516cdbea3cc5e283b0a8a2d101dfa47) )
  2361: 
  2362: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  2363: 	ROM_LOAD( "td1-ver3.2c",  0x00000, 0x10000, CRC(798711f5) SHA1(a67d6b71c08df00592cf1a18806ed1c2ee757066) )
  2364: 
  2365: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  2366: 	ROM_LOAD( "td3-ver3.3j",  0x00000, 0x10000, CRC(5d13e0b1) SHA1(a8d8d7cbc4f5be1c0bf10bceff54104d421758c2) )
  2367: 
  2368: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  2369: 	ROM_LOAD( "up03_e8.rom",  0x000, 0x00400, CRC(67bdf8a0) SHA1(7a0dc9bf56d607516638d38761aa99211d536d9f) )
  2370: 	ROM_LOAD( "up03_d8.rom",  0x400, 0x00400, CRC(9c4a9198) SHA1(2d9be23c6a622eba5d3fb0d9912bad03658e563b) )
  2371: 	ROM_LOAD( "up03_e9.rom",  0x800, 0x00400, CRC(c93c18e8) SHA1(9d4ca20c44bd35aabccab5f94cb45057361ccd99) )
  2372: 
  2373: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  2374: 	ROM_LOAD( "td14ver3.4n",  0x0000, 0x8000,  CRC(e841bf1a) SHA1(ba93163b00e973eb5da9ddc64becce2bbe9ede05) )
  2375: 
  2376: 	ROM_REGION( 0x50000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  2377: 	ROM_LOAD( "up01_d8.rom",  0x00000, 0x10000, CRC(ad6e0927) SHA1(dd1c346fbf908af7b3e314f416937f48ade6af4c) )
  2378: 	ROM_LOAD( "up01_e8.rom",  0x10000, 0x10000, CRC(181db036) SHA1(2c5ed172950fce1467517490a8ab3b7ac6594121) )
  2379: 	ROM_LOAD( "up01_f8.rom",  0x20000, 0x10000, CRC(c5decca3) SHA1(12aff8adc0ad2bf903122ad065d182692d32fb7a) )
  2380: 	ROM_LOAD( "td18ver2.8gh", 0x30000, 0x10000, CRC(3924da37) SHA1(6100eb438fb090f74639739ddcc2844f5daa7180) )
  2381: 	ROM_LOAD( "up01_j8.rom",  0x40000, 0x10000, CRC(bc17ea7f) SHA1(5c3fe43c7fc204d33b5b2a71f22da00e2ba7fbdf) )
  2382: 
  2383: 	ROM_REGION( 0x80000, REGION_GFX3, ROMREGION_DISPOSE ) /* 32x32 sprites */
  2384: 	ROM_LOAD( "up01_k2.rom",  0x00000, 0x10000, CRC(72a5590d) SHA1(d8bd664702af9c66a2bda756d8417d1b69b0cab8) )
  2385: 	ROM_LOAD( "up01_j2.rom",  0x10000, 0x10000, CRC(9b6d4053) SHA1(3d91358b08ed648f48369147441d77a7528d3356) )
  2386: 	ROM_LOAD( "up01_n2.rom",  0x20000, 0x10000, CRC(a8979657) SHA1(ec2f61a24b04437a9abd0a306923ae2aeee3eba9) )
  2387: 	ROM_LOAD( "up01_l2.rom",  0x30000, 0x10000, CRC(28f49182) SHA1(3ee06d7d1bac8719d2b05613a7ffc1bc82ddcdae) )
  2388: 	ROM_LOAD( "up01_r2.rom",  0x40000, 0x10000, CRC(a0d53fbd) SHA1(a49f29b3f07ec833651aa0e37b0e87f3f72e0e3a) )
  2389: 	ROM_LOAD( "up01_p2.rom",  0x50000, 0x10000, CRC(c8c71c7b) SHA1(7988e9e86c2dfebb0f1b5a8c42c97993a530e780) )
  2390: 	ROM_LOAD( "up01_t2.rom",  0x60000, 0x10000, CRC(88e2e819) SHA1(6d5529792dbd2ba63a1bc470e9d3ea63b876cfd8) )
  2391: 	ROM_LOAD( "up01_s2.rom",  0x70000, 0x10000, CRC(f6f83d63) SHA1(15780a2c1fc7c8456fe073c372f2f4828125e800) )
  2392: 
  2393: 	ROM_REGION( 0x20000, REGION_SOUND1, 0 )
  2394: 	ROM_LOAD( "up02_p6.rom",  0x00000, 0x10000, CRC(04794557) SHA1(94f476e88b089ad98a133e7356fd271601119fdf) )
  2395: 	ROM_LOAD( "up02_n6.rom",  0x10000, 0x10000, CRC(155e472e) SHA1(722b4625e6ab796e129daf903386b5b6b1a945cd) )
  2396: ROM_END
  2397: 
  2398: ROM_START( tdfeverj )
  2399: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for cpuA code */
  2400: 	ROM_LOAD( "up02_c6.rom",  0x0000, 0x10000,  CRC(88d88ec4) SHA1(774de920290b5c787b0f3d0076883dda106364be) )
  2401: 
  2402: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for cpuB code */
  2403: 	ROM_LOAD( "up02_c2.rom",  0x00000, 0x10000, CRC(191e6442) SHA1(6a4d0d7efea734443eef538e99562ce4e2949a84) )
  2404: 
  2405: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for sound code */
  2406: 	ROM_LOAD( "up02_j3.rom",  0x00000, 0x10000, CRC(4e4d71c7) SHA1(93744c7d4822ab1750a50ab895a83f77dfcb4bb3) )
  2407: 
  2408: 	ROM_REGION( 0x0c00, REGION_PROMS, 0 )
  2409: 	ROM_LOAD( "up03_e8.rom",  0x000, 0x00400, CRC(67bdf8a0) SHA1(7a0dc9bf56d607516638d38761aa99211d536d9f) ) /* red */
  2410: 	ROM_LOAD( "up03_d8.rom",  0x400, 0x00400, CRC(9c4a9198) SHA1(2d9be23c6a622eba5d3fb0d9912bad03658e563b) ) /* green */
  2411: 	ROM_LOAD( "up03_e9.rom",  0x800, 0x00400, CRC(c93c18e8) SHA1(9d4ca20c44bd35aabccab5f94cb45057361ccd99) ) /* blue */
  2412: 
  2413: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE ) /* characters */
  2414: 	ROM_LOAD( "up01_n4.rom",  0x0000, 0x8000,  CRC(af9bced5) SHA1(ec8b9c0649d33e4b0ed4f7d84530016581370278) )
  2415: 
  2416: 	ROM_REGION( 0x50000, REGION_GFX2, ROMREGION_DISPOSE ) /* tiles */
  2417: 	ROM_LOAD( "up01_d8.rom",  0x00000, 0x10000, CRC(ad6e0927) SHA1(dd1c346fbf908af7b3e314f416937f48ade6af4c) )
  2418: 	ROM_LOAD( "up01_e8.rom",  0x10000, 0x10000, CRC(181db036) SHA1(2c5ed172950fce1467517490a8ab3b7ac6594121) )
  2419: 	ROM_LOAD( "up01_f8.rom",  0x20000, 0x10000, CRC(c5decca3) SHA1(12aff8adc0ad2bf903122ad065d182692d32fb7a) )
  2420: 	ROM_LOAD( "up01_g8.rom",  0x30000, 0x10000, CRC(4512cdfb) SHA1(f9e57804801962e85fdd3412e6e3774e75160535) )
  2421: 	ROM_LOAD( "up01_j8.rom",  0x40000, 0x10000, CRC(bc17ea7f) SHA1(5c3fe43c7fc204d33b5b2a71f22da00e2ba7fbdf) )
  2422: 
  2423: 	ROM_REGION( 0x80000, REGION_GFX3, ROMREGION_DISPOSE ) /* 32x32 sprites */
  2424: 	ROM_LOAD( "up01_k2.rom",  0x00000, 0x10000, CRC(72a5590d) SHA1(d8bd664702af9c66a2bda756d8417d1b69b0cab8) )
  2425: 	ROM_LOAD( "up01_j2.rom",  0x10000, 0x10000, CRC(9b6d4053) SHA1(3d91358b08ed648f48369147441d77a7528d3356) )
  2426: 	ROM_LOAD( "up01_n2.rom",  0x20000, 0x10000, CRC(a8979657) SHA1(ec2f61a24b04437a9abd0a306923ae2aeee3eba9) )
  2427: 	ROM_LOAD( "up01_l2.rom",  0x30000, 0x10000, CRC(28f49182) SHA1(3ee06d7d1bac8719d2b05613a7ffc1bc82ddcdae) )
  2428: 	ROM_LOAD( "up01_t2.rom",  0x40000, 0x10000, CRC(88e2e819) SHA1(6d5529792dbd2ba63a1bc470e9d3ea63b876cfd8) )
  2429: 	ROM_LOAD( "up01_s2.rom",  0x50000, 0x10000, CRC(f6f83d63) SHA1(15780a2c1fc7c8456fe073c372f2f4828125e800) )
  2430: 	ROM_LOAD( "up01_r2.rom",  0x60000, 0x10000, CRC(a0d53fbd) SHA1(a49f29b3f07ec833651aa0e37b0e87f3f72e0e3a) )
  2431: 	ROM_LOAD( "up01_p2.rom",  0x70000, 0x10000, CRC(c8c71c7b) SHA1(7988e9e86c2dfebb0f1b5a8c42c97993a530e780) )
  2432: 
  2433: 	ROM_REGION( 0x20000, REGION_SOUND1, 0 )
  2434: 	ROM_LOAD( "up02_p6.rom",  0x00000, 0x10000, CRC(04794557) SHA1(94f476e88b089ad98a133e7356fd271601119fdf) )
  2435: 	ROM_LOAD( "up02_n6.rom",  0x10000, 0x10000, CRC(155e472e) SHA1(722b4625e6ab796e129daf903386b5b6b1a945cd) )
  2436: ROM_END
  2437: 
  2438: /***********************************************************************/
  2439: 
  2440: #define SNK_JOY1_PORT \ 
  2441: 	PORT_START \
  2442: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 ) \
  2443: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 ) \
  2444: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 ) \
  2445: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 ) \
  2446: 	PORT_ANALOGX( 0xf0, 0x00, IPT_DIAL, 25, 10, 0, 0, KEYCODE_Z, KEYCODE_X, 0, 0 ) \
  2447: 
  2448: #define SNK_JOY2_PORT \ 
  2449: 	PORT_START \
  2450: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 ) \
  2451: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 ) \
  2452: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 ) \
  2453: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 ) \
  2454: 	PORT_ANALOGX( 0xf0, 0x00, IPT_DIAL | IPF_PLAYER2, 25, 10, 0, 0, KEYCODE_N, KEYCODE_M, 0, 0 )
  2455: 
  2456: #define SNK_JOY1_NODIAL_PORT \ 
  2457: 	PORT_START \
  2458: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 ) \
  2459: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 ) \
  2460: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 ) \
  2461: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 ) \
  2462: 	PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2463: 
  2464: #define SNK_JOY2_NODIAL_PORT \ 
  2465: 	PORT_START \
  2466: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 ) \
  2467: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 ) \
  2468: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 ) \
  2469: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 ) \
  2470: 	PORT_BIT( 0xf0, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2471: 
  2472: #define SNK_BUTTON_PORT \ 
  2473: 	PORT_START \
  2474: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 ) \
  2475: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 ) \
  2476: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2477: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 ) \
  2478: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 ) \
  2479: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2480: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2481: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2482: 
  2483: #define SNK_COINAGE \ 
  2484: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) ) \
  2485: 	PORT_DIPSETTING(    0x00, DEF_STR( 4C_1C ) ) \
  2486: 	PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) ) \
  2487: 	PORT_DIPSETTING(    0x20, DEF_STR( 2C_1C ) ) \
  2488: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) ) \
  2489: 	PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) ) \
  2490: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) ) \
  2491: 	PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) ) \
  2492: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_4C ) ) \
  2493: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_6C ) )
  2494: 
  2495: INPUT_PORTS_START( ikari )
  2496: 	PORT_START
  2497: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* sound CPU status */
  2498: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2499: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2500: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2501: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  2502: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  2503: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  2504: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  2505: 
  2506: 	SNK_JOY1_PORT
  2507: 
  2508: 	SNK_JOY2_PORT
  2509: 
  2510: 	SNK_BUTTON_PORT
  2511: 
  2512: 	PORT_START /* DSW 1 */
  2513: 	PORT_DIPNAME( 0x01, 0x01, "Allow killing each other" )
  2514: 	PORT_DIPSETTING(    0x01, DEF_STR( No ) )
  2515: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  2516: 	PORT_DIPNAME( 0x02, 0x02, "P1 & P2 Fire Buttons" )
  2517: 	PORT_DIPSETTING(    0x02, "Separate" )
  2518: 	PORT_DIPSETTING(    0x00, "Common" )
  2519: 	PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" )
  2520: 	PORT_DIPSETTING(    0x04, "1st & every 2nd" )
  2521: 	PORT_DIPSETTING(    0x00, "1st & 2nd only" )
  2522: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
  2523: 	PORT_DIPSETTING(    0x08, "3" )
  2524: 	PORT_DIPSETTING(    0x00, "5" )
  2525: 	SNK_COINAGE
  2526: 
  2527: 	PORT_START /* DSW 2 */
  2528: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
  2529: 	PORT_DIPSETTING(    0x03, "Easy" )
  2530: 	PORT_DIPSETTING(    0x02, "Normal" )
  2531: 	PORT_DIPSETTING(    0x01, "Hard" )
  2532: 	PORT_DIPSETTING(    0x00, "Hardest" )
  2533: 	PORT_DIPNAME( 0x0c, 0x08, "Game Mode" )
  2534: 	PORT_DIPSETTING(    0x0c, "Demo Sounds Off" )
  2535: 	PORT_DIPSETTING(    0x08, "Demo Sounds On" )
  2536: 	PORT_DIPSETTING(    0x04, "Freeze" )
  2537: 	PORT_BITX( 0,       0x00, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Infinite Lives", IP_KEY_NONE, IP_JOY_NONE )
  2538: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
  2539: 	PORT_DIPSETTING(    0x30, "50k 100k" )
  2540: 	PORT_DIPSETTING(    0x20, "60k 120k" )
  2541: 	PORT_DIPSETTING(    0x10, "100k 200k" )
  2542: 	PORT_DIPSETTING(    0x00, "None" )
  2543: 	PORT_DIPNAME( 0x40 ,0x40, DEF_STR( Unused ) )
  2544: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2545: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2546: 	PORT_DIPNAME( 0x80, 0x00, "Allow Continue" )
  2547: 	PORT_DIPSETTING(    0x80, DEF_STR( No ) )
  2548: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  2549: INPUT_PORTS_END
  2550: 
  2551: INPUT_PORTS_START( ikarijp )
  2552: 	PORT_START
  2553: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
  2554: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
  2555: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2556: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
  2557: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 )
  2558: 	PORT_BIT( 0x20, IP_ACTIVE_LOW,IPT_UNKNOWN ) /* sound CPU status */
  2559: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2560: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* tilt? */
  2561: 
  2562: 	SNK_JOY1_PORT
  2563: 
  2564: 	SNK_JOY2_PORT
  2565: 
  2566: 	SNK_BUTTON_PORT
  2567: 
  2568: 	PORT_START /* DSW 1 */
  2569: 	PORT_DIPNAME( 0x01, 0x01, "Allow killing each other" )
  2570: 	PORT_DIPSETTING(    0x01, DEF_STR( No ) )
  2571: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  2572: 	PORT_DIPNAME( 0x02, 0x02, "P1 & P2 Fire Buttons" )
  2573: 	PORT_DIPSETTING(    0x02, "Separate" )
  2574: 	PORT_DIPSETTING(    0x00, "Common" )
  2575: 	PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" )
  2576: 	PORT_DIPSETTING(    0x04, "1st & every 2nd" )
  2577: 	PORT_DIPSETTING(    0x00, "1st & 2nd only" )
  2578: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
  2579: 	PORT_DIPSETTING(    0x08, "3" )
  2580: 	PORT_DIPSETTING(    0x00, "5" )
  2581: 	SNK_COINAGE
  2582: 
  2583: 	PORT_START /* DSW 2 */
  2584: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
  2585: 	PORT_DIPSETTING(    0x03, "Easy" )
  2586: 	PORT_DIPSETTING(    0x02, "Normal" )
  2587: 	PORT_DIPSETTING(    0x01, "Hard" )
  2588: 	PORT_DIPSETTING(    0x00, "Hardest" )
  2589: 	PORT_DIPNAME( 0x0c, 0x08, "Game Mode" )
  2590: 	PORT_DIPSETTING(    0x0c, "Demo Sounds Off" )
  2591: 	PORT_DIPSETTING(    0x08, "Demo Sounds On" )
  2592: 	PORT_DIPSETTING(    0x04, "Freeze" )
  2593: 	PORT_BITX( 0,       0x00, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Infinite Lives", IP_KEY_NONE, IP_JOY_NONE )
  2594: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
  2595: 	PORT_DIPSETTING(    0x30, "50k 100k" )
  2596: 	PORT_DIPSETTING(    0x20, "60k 120k" )
  2597: 	PORT_DIPSETTING(    0x10, "100k 200k" )
  2598: 	PORT_DIPSETTING(    0x00, "None" )
  2599: 	PORT_DIPNAME( 0x40 ,0x40, DEF_STR( Unused ) )
  2600: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2601: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2602: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
  2603: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2604: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2605: INPUT_PORTS_END
  2606: 
  2607: 
  2608: INPUT_PORTS_START( victroad )
  2609: 	PORT_START
  2610: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) 	/* sound related ??? */
  2611: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2612: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2613: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2614: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  2615: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  2616: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  2617: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  2618: 
  2619: 	SNK_JOY1_PORT
  2620: 
  2621: 	SNK_JOY2_PORT
  2622: 
  2623: 	SNK_BUTTON_PORT
  2624: 
  2625: 	PORT_START /* DSW 1 */
  2626: 	PORT_BITX( 0x01,    0x01, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Kill friend & walk everywhere" ,0 ,0 )
  2627: 	PORT_DIPSETTING(    0x01, DEF_STR( No ) )
  2628: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  2629: 	PORT_DIPNAME( 0x02, 0x02, "P1 & P2 Fire Buttons" )
  2630: 	PORT_DIPSETTING(    0x02, "Separate" )
  2631: 	PORT_DIPSETTING(    0x00, "Common" )
  2632: 	PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" )
  2633: 	PORT_DIPSETTING(    0x04, "1st & every 2nd" )
  2634: 	PORT_DIPSETTING(    0x00, "1st & 2nd only" )
  2635: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
  2636: 	PORT_DIPSETTING(    0x08, "3" )
  2637: 	PORT_DIPSETTING(    0x00, "5" )
  2638: 	SNK_COINAGE
  2639: 
  2640: 	PORT_START /* DSW 2 */
  2641: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
  2642: 	PORT_DIPSETTING(    0x03, "Easy" )
  2643: 	PORT_DIPSETTING(    0x02, "Normal" )
  2644: 	PORT_DIPSETTING(    0x01, "Hard" )
  2645: 	PORT_DIPSETTING(    0x00, "Hardest" )
  2646: 	PORT_DIPNAME( 0x0c, 0x08, "Game Mode" )
  2647: 	PORT_DIPSETTING(    0x0c, "Demo Sounds Off" )
  2648: 	PORT_DIPSETTING(    0x08, "Demo Sounds On" )
  2649: 	PORT_DIPSETTING(    0x00, "Freeze" )
  2650: 	PORT_BITX( 0,       0x04, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Infinite Lives", IP_KEY_NONE, IP_JOY_NONE )
  2651: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
  2652: 	PORT_DIPSETTING(    0x30, "50k 100k" )
  2653: 	PORT_DIPSETTING(    0x20, "60k 120k" )
  2654: 	PORT_DIPSETTING(    0x10, "100k 200k" )
  2655: 	PORT_DIPSETTING(    0x00, "None" )
  2656: 	PORT_DIPNAME( 0x40 ,0x00, "Allow Continue" )
  2657: 	PORT_DIPSETTING(    0x40, DEF_STR( No ) )
  2658: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  2659: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
  2660: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2661: 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  2662: INPUT_PORTS_END
  2663: 
  2664: 
  2665: INPUT_PORTS_START( gwar )
  2666: 	PORT_START
  2667: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) 	/* sound related ??? */
  2668: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2669: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )	/* causes reset */
  2670: 	PORT_BITX(0x08, IP_ACTIVE_LOW, IPT_SERVICE, DEF_STR( Service_Mode ), KEYCODE_F2, IP_JOY_NONE )
  2671: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  2672: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  2673: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  2674: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  2675: 
  2676: 	SNK_JOY1_PORT
  2677: 
  2678: 	SNK_JOY2_PORT
  2679: 
  2680: 	SNK_BUTTON_PORT
  2681: 
  2682: 	PORT_START /* DSW 1 */
  2683: 	PORT_DIPNAME( 0x01, 0x01, "Allow Continue" )
  2684: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
  2685: 	PORT_DIPSETTING(    0x01, DEF_STR( Yes ) )
  2686: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
  2687: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2688: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2689: 	PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" )
  2690: 	PORT_DIPSETTING(    0x04, "1st & 2nd only" )
  2691: 	PORT_DIPSETTING(    0x00, "1st & every 2nd" )
  2692: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
  2693: 	PORT_DIPSETTING(    0x08, "3" )
  2694: 	PORT_DIPSETTING(    0x00, "5" )
  2695: 	SNK_COINAGE
  2696: 
  2697: 	PORT_START /* DSW 2 */
  2698: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
  2699: 	PORT_DIPSETTING(    0x03, "Easy" )
  2700: 	PORT_DIPSETTING(    0x02, "Normal" )
  2701: 	PORT_DIPSETTING(    0x01, "Hard" )
  2702: 	PORT_DIPSETTING(    0x00, "Hardest" )
  2703: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Demo_Sounds ) )
  2704: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2705: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2706: 	PORT_DIPNAME( 0x08, 0x08, "Freeze" )
  2707: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2708: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2709: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
  2710: 	PORT_DIPSETTING(    0x30, "30k 60k" )
  2711: 	PORT_DIPSETTING(    0x20, "40k 80k" )
  2712: 	PORT_DIPSETTING(    0x10, "50k 100k" )
  2713: 	PORT_DIPSETTING(    0x00, "None" )
  2714: 	PORT_DIPNAME( 0x40 ,0x40, DEF_STR( Unknown ) )
  2715: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2716: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2717: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
  2718: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2719: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2720: INPUT_PORTS_END
  2721: 
  2722: INPUT_PORTS_START( athena )
  2723: 	PORT_START
  2724: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* sound CPU status */
  2725: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2726: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2727: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2728: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  2729: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  2730: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  2731: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  2732: 
  2733: 	PORT_START
  2734: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
  2735: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY )
  2736: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
  2737: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
  2738: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
  2739: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 )
  2740: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2741: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2742: 
  2743: 	PORT_START
  2744: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_COCKTAIL )
  2745: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_COCKTAIL )
  2746: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_COCKTAIL )
  2747: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_COCKTAIL )
  2748: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
  2749: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
  2750: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2751: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2752: 
  2753: 	PORT_START	/* DSW1 */
  2754: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
  2755: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2756: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2757: 	PORT_DIPNAME( 0x02, 0x00, DEF_STR( Cabinet ) )
  2758: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  2759: 	PORT_DIPSETTING(    0x02, DEF_STR( Cocktail ) )
  2760: 	PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" )
  2761: 	PORT_DIPSETTING(    0x04, "1st & every 2nd" )
  2762: 	PORT_DIPSETTING(    0x00, "1st & 2nd only" )
  2763: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
  2764: 	PORT_DIPSETTING(    0x08, "3" )
  2765: 	PORT_DIPSETTING(    0x00, "5" )
  2766: 	SNK_COINAGE
  2767: 
  2768: 	PORT_START /* DSW2 */
  2769: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
  2770: 	PORT_DIPSETTING(    0x03, "Easy" )
  2771: 	PORT_DIPSETTING(    0x02, "Normal" )
  2772: 	PORT_DIPSETTING(    0x01, "Hard" )
  2773: 	PORT_DIPSETTING(    0x00, "Hardest" )
  2774: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Demo_Sounds ) )
  2775: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2776: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2777: 	PORT_DIPNAME( 0x08, 0x08, "Freeze" )
  2778: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2779: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2780: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
  2781: 	PORT_DIPSETTING(    0x30, "50k 100k" )
  2782: 	PORT_DIPSETTING(    0x20, "80k 160k" )
  2783: 	PORT_DIPSETTING(    0x10, "100k 200k" )
  2784: 	PORT_DIPSETTING(    0x00, "None" )
  2785: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
  2786: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2787: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2788: 	PORT_DIPNAME( 0x80, 0x80, "Energy" )
  2789: 	PORT_DIPSETTING(    0x80, "12" )
  2790: 	PORT_DIPSETTING(    0x00, "14" )
  2791: INPUT_PORTS_END
  2792: 
  2793: INPUT_PORTS_START( tnk3 )
  2794: 	PORT_START
  2795: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN2 )
  2796: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2797: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 )
  2798: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
  2799: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_START2 )
  2800: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* sound CPU status */
  2801: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2802: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2803: 
  2804: 	PORT_START
  2805: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
  2806: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY )
  2807: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
  2808: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
  2809: 	PORT_ANALOGX( 0xf0, 0x00, IPT_DIAL, 25, 10, 0, 0, KEYCODE_Z, KEYCODE_X, 0, 0 )
  2810: 
  2811: 	PORT_START
  2812: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_COCKTAIL )
  2813: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_COCKTAIL )
  2814: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_COCKTAIL )
  2815: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_COCKTAIL )
  2816: 	PORT_ANALOGX( 0xf0, 0x00, IPT_DIAL | IPF_PLAYER2, 25, 10, 0, 0, KEYCODE_N, KEYCODE_M, 0, 0 )
  2817: 
  2818: 	PORT_START
  2819: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
  2820: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
  2821: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2822: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
  2823: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
  2824: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2825: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2826: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2827: 
  2828: 	PORT_START	/* DSW1 */
  2829: 	PORT_BITX( 0x01,    0x01, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Walk everywhere", IP_KEY_NONE, IP_JOY_NONE )
  2830: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2831: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2832: 	PORT_DIPNAME( 0x02, 0x00, DEF_STR( Cabinet ) )
  2833: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  2834: 	PORT_DIPSETTING(    0x02, DEF_STR( Cocktail ) )
  2835: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Lives ) )
  2836: 	PORT_DIPSETTING(    0x04, "3" )
  2837: 	PORT_DIPSETTING(    0x00, "5" )
  2838: 	PORT_DIPNAME( 0x38, 0x38, DEF_STR( Coinage ) )
  2839: 	/* 0x08 and 0x10: 1 Coin/1 Credit */
  2840: 	PORT_DIPSETTING(    0x20, DEF_STR( 3C_1C ) )
  2841: 	PORT_DIPSETTING(    0x18, DEF_STR( 2C_1C ) )
  2842: 	PORT_DIPSETTING(    0x38, DEF_STR( 1C_1C ) )
  2843: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_2C ) )
  2844: 	PORT_DIPSETTING(    0x28, DEF_STR( 1C_3C ) )
  2845: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
  2846: 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Bonus_Life ) )
  2847: 	PORT_DIPSETTING(    0xc0, "20k 60k" )
  2848: 	PORT_DIPSETTING(    0x80, "40k 90k" )
  2849: 	PORT_DIPSETTING(    0x40, "50k 120k" )
  2850: 	PORT_DIPSETTING(    0x00, "None" )
  2851: 
  2852: 	PORT_START	/* DSW2 */
  2853: 	PORT_DIPNAME( 0x01, 0x01, "Bonus Occurrence" )
  2854: 	PORT_DIPSETTING(    0x01, "1st & every 2nd" )
  2855: 	PORT_DIPSETTING(    0x00, "1st & 2nd only" )
  2856: 	PORT_DIPNAME( 0x06, 0x06, DEF_STR( Difficulty ) )
  2857: 	PORT_DIPSETTING(    0x06, "Easy?" )
  2858: 	PORT_DIPSETTING(    0x04, "Normal?" )
  2859: 	PORT_DIPSETTING(    0x02, "Hard?" )
  2860: 	PORT_DIPSETTING(    0x00, "Hardest?" )
  2861: 	PORT_DIPNAME( 0x18, 0x10, "Game Mode" )
  2862: 	PORT_DIPSETTING(    0x18, "Demo Sounds Off" )
  2863: 	PORT_DIPSETTING(    0x10, "Demo Sounds On" )
  2864: 	PORT_DIPSETTING(    0x00, "Freeze" )
  2865: 	PORT_BITX( 0,       0x08, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Infinite Lives", IP_KEY_NONE, IP_JOY_NONE )
  2866: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) )
  2867: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2868: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2869: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
  2870: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2871: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2872: 	PORT_DIPNAME( 0x80, 0x00, "Allow Continue" )
  2873: 	PORT_DIPSETTING(    0x80, DEF_STR( No ) )
  2874: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  2875: INPUT_PORTS_END
  2876: 
  2877: INPUT_PORTS_START( bermudat )
  2878: 	PORT_START
  2879: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* sound CPU status */
  2880: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2881: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* tile? */
  2882: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2883: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  2884: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  2885: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  2886: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  2887: 
  2888: 	SNK_JOY1_PORT
  2889: 
  2890: 	SNK_JOY2_PORT
  2891: 
  2892: 	SNK_BUTTON_PORT
  2893: 
  2894: 	PORT_START  /* DSW 1 */
  2895: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )
  2896: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2897: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2898: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
  2899: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2900: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2901: 	PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" )
  2902: 	PORT_DIPSETTING(    0x04, "1st & every 2nd" )
  2903: 	PORT_DIPSETTING(    0x00, "1st & 2nd only" )
  2904: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
  2905: 	PORT_DIPSETTING(    0x08, "3" )
  2906: 	PORT_DIPSETTING(    0x00, "5" )
  2907: 	SNK_COINAGE
  2908: 
  2909: 	PORT_START  /* DSW 2 */
  2910: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
  2911: 	PORT_DIPSETTING(    0x03, "Easy" )
  2912: 	PORT_DIPSETTING(    0x02, "Normal" )
  2913: 	PORT_DIPSETTING(    0x01, "Hard" )
  2914: 	PORT_DIPSETTING(    0x00, "Hardest" )
  2915: 	PORT_DIPNAME( 0x0c, 0x08, "Game Mode" )
  2916: 	PORT_DIPSETTING(    0x0c, "Demo Sounds Off" )
  2917: 	PORT_DIPSETTING(    0x08, "Demo Sounds On" )
  2918: 	PORT_DIPSETTING(    0x00, "Freeze" )
  2919: 	PORT_BITX( 0,       0x04, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Infinite Lives", IP_KEY_NONE, IP_JOY_NONE )
  2920: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
  2921: 	PORT_DIPSETTING(    0x30, "50k 100k" )
  2922: 	PORT_DIPSETTING(    0x20, "60k 120k" )
  2923: 	PORT_DIPSETTING(    0x10, "100k 200k" )
  2924: 	PORT_DIPSETTING(    0x00, "None" )
  2925: 	PORT_DIPNAME( 0xc0, 0xc0, "Game Style" )
  2926: 	PORT_DIPSETTING(    0xc0, "Normal without continue" )
  2927: 	PORT_DIPSETTING(    0x80, "Normal with continue" )
  2928: 	PORT_DIPSETTING(    0x40, "Time attack 3 minutes" )
  2929: 	PORT_DIPSETTING(    0x00, "Time attack 5 minutes" )
  2930: INPUT_PORTS_END
  2931: 
  2932: INPUT_PORTS_START( bermudaa )
  2933: 	PORT_START
  2934: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* sound CPU status */
  2935: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2936: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* tile? */
  2937: 	PORT_BITX(0x08, IP_ACTIVE_LOW, IPT_SERVICE, DEF_STR( Service_Mode ), KEYCODE_F2, IP_JOY_NONE )
  2938: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  2939: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  2940: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  2941: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  2942: 
  2943: 	SNK_JOY1_PORT
  2944: 
  2945: 	SNK_JOY2_PORT
  2946: 
  2947: 	SNK_BUTTON_PORT
  2948: 
  2949: 	PORT_START  /* DSW 1 */
  2950: 	PORT_DIPNAME( 0x01, 0x00, "Allow Continue" )
  2951: 	PORT_DIPSETTING(    0x01, DEF_STR( No ) )
  2952: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  2953: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
  2954: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2955: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2956: 	PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" )
  2957: 	PORT_DIPSETTING(    0x04, "1st & every 2nd" )
  2958: 	PORT_DIPSETTING(    0x00, "1st & 2nd only" )
  2959: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
  2960: 	PORT_DIPSETTING(    0x08, "3" )
  2961: 	PORT_DIPSETTING(    0x00, "5" )
  2962: 	SNK_COINAGE
  2963: 
  2964: 	PORT_START  /* DSW 2 */
  2965: 	PORT_DIPNAME( 0x01, 0x00, "Allow Continue" )
  2966: 	PORT_DIPSETTING(    0x01, DEF_STR( No ) )
  2967: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  2968: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
  2969: 	PORT_DIPSETTING(    0x03, "Easy" )
  2970: 	PORT_DIPSETTING(    0x02, "Normal" )
  2971: 	PORT_DIPSETTING(    0x01, "Hard" )
  2972: 	PORT_DIPSETTING(    0x00, "Hardest" )
  2973: 	PORT_DIPNAME( 0x0c, 0x08, "Game Mode" )
  2974: 	PORT_DIPSETTING(    0x0c, "Demo Sounds Off" )
  2975: 	PORT_DIPSETTING(    0x08, "Demo Sounds On" )
  2976: 	PORT_DIPSETTING(    0x00, "Freeze" )
  2977: 	PORT_BITX( 0,       0x04, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Infinite Lives", IP_KEY_NONE, IP_JOY_NONE )
  2978: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
  2979: 	PORT_DIPSETTING(    0x30, "25k 50k" )
  2980: 	PORT_DIPSETTING(    0x20, "35k 70k" )
  2981: 	PORT_DIPSETTING(    0x10, "50K 100k" )
  2982: 	PORT_DIPSETTING(    0x00, "None" )
  2983: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
  2984: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2985: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2986: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  2987: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2988: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2989: INPUT_PORTS_END
  2990: 
  2991: /* Same as Bermudaa, but has different Bonus Life */
  2992: INPUT_PORTS_START( worldwar )
  2993: 	PORT_START
  2994: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* sound CPU status */
  2995: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  2996: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* tile? */
  2997: 	PORT_BITX(0x08, IP_ACTIVE_LOW, IPT_SERVICE, DEF_STR( Service_Mode ), KEYCODE_F2, IP_JOY_NONE )
  2998: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  2999: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  3000: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  3001: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  3002: 
  3003: 	SNK_JOY1_PORT
  3004: 
  3005: 	SNK_JOY2_PORT
  3006: 
  3007: 	SNK_BUTTON_PORT
  3008: 
  3009: 	PORT_START  /* DSW 1 */
  3010: 	PORT_DIPNAME( 0x01, 0x00, "Allow Continue" )
  3011: 	PORT_DIPSETTING(    0x01, DEF_STR( No ) )
  3012: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  3013: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
  3014: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3015: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3016: 	PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" )
  3017: 	PORT_DIPSETTING(    0x04, "1st & every 2nd" )
  3018: 	PORT_DIPSETTING(    0x00, "1st & 2nd only" )
  3019: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
  3020: 	PORT_DIPSETTING(    0x08, "3" )
  3021: 	PORT_DIPSETTING(    0x00, "5" )
  3022: 	SNK_COINAGE
  3023: 
  3024: 	PORT_START  /* DSW 2 */
  3025: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
  3026: 	PORT_DIPSETTING(    0x03, "Easy" )
  3027: 	PORT_DIPSETTING(    0x02, "Normal" )
  3028: 	PORT_DIPSETTING(    0x01, "Hard" )
  3029: 	PORT_DIPSETTING(    0x00, "Hardest" )
  3030: 	PORT_DIPNAME( 0x0c, 0x08, "Game Mode" )
  3031: 	PORT_DIPSETTING(    0x0c, "Demo Sounds Off" )
  3032: 	PORT_DIPSETTING(    0x08, "Demo Sounds On" )
  3033: 	PORT_DIPSETTING(    0x00, "Freeze" )
  3034: 	PORT_BITX( 0,       0x04, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Infinite Lives", IP_KEY_NONE, IP_JOY_NONE )
  3035: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
  3036: 	PORT_DIPSETTING(    0x30, "50k 100k" )
  3037: 	PORT_DIPSETTING(    0x20, "80k 160k" )
  3038: 	PORT_DIPSETTING(    0x10, "100k 200k" )
  3039: 	PORT_DIPSETTING(    0x00, "None" )
  3040: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unused ) )
  3041: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3042: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3043: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  3044: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3045: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3046: INPUT_PORTS_END
  3047: 
  3048: INPUT_PORTS_START( psychos )
  3049: 	PORT_START
  3050: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* sound related */
  3051: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3052: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* reset */
  3053: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3054: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  3055: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  3056: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  3057: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  3058: 
  3059: 	PORT_START
  3060: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  3061: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  3062: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  3063: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  3064: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
  3065: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY )
  3066: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
  3067: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
  3068: 
  3069: 	SNK_BUTTON_PORT
  3070: 
  3071: 	PORT_START  /* DSW 1 */
  3072: 	PORT_SERVICE( 0x01, IP_ACTIVE_LOW )
  3073: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
  3074: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3075: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3076: 	PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" )
  3077: 	PORT_DIPSETTING(    0x00, "1st & every 2nd" )
  3078: 	PORT_DIPSETTING(    0x04, "1st & 2nd only" )
  3079: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
  3080: 	PORT_DIPSETTING(    0x08, "3" )
  3081: 	PORT_DIPSETTING(    0x00, "5" )
  3082: 	SNK_COINAGE
  3083: 
  3084: 	PORT_START  /* DSW 2 */
  3085: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
  3086: 	PORT_DIPSETTING(    0x02, "Easy" )
  3087: 	PORT_DIPSETTING(    0x03, "Normal" )
  3088: 	PORT_DIPSETTING(    0x01, "Hard" )
  3089: 	PORT_DIPSETTING(    0x00, "Hardest" )
  3090: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) )
  3091: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3092: 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
  3093: 	PORT_DIPNAME( 0x08, 0x08, "Freeze" )
  3094: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3095: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3096: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
  3097: 	PORT_DIPSETTING(    0x30, "50K 100K" )
  3098: 	PORT_DIPSETTING(    0x20, "60K 120K" )
  3099: 	PORT_DIPSETTING(    0x10, "100K 200K" )
  3100: 	PORT_DIPSETTING(    0x00, "None" )
  3101: 	PORT_DIPNAME( 0x40, 0x00, "Allow Continue" )
  3102: 	PORT_DIPSETTING(    0x40, DEF_STR( No ) )
  3103: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  3104: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unused ) )
  3105: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3106: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3107: INPUT_PORTS_END
  3108: 
  3109: INPUT_PORTS_START( legofair )
  3110: 	PORT_START
  3111: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* sound CPU status */
  3112: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3113: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT )  /* Reset */
  3114: 	PORT_BITX(0x08, 0x08, IPT_SERVICE, DEF_STR( Service_Mode), KEYCODE_F2, IP_JOY_NONE )
  3115: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  3116: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  3117: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  3118: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  3119: 
  3120: 	PORT_START
  3121: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_COCKTAIL )
  3122: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_COCKTAIL )
  3123: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_COCKTAIL )
  3124: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_COCKTAIL )
  3125: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
  3126: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY )
  3127: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
  3128: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
  3129: 
  3130: 	PORT_START
  3131: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
  3132: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
  3133: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3134: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
  3135: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
  3136: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3137: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3138: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3139: 
  3140: 	PORT_START  /* DSW 1 */
  3141: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
  3142: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  3143: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3144: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Cabinet ) )
  3145: 	PORT_DIPSETTING(    0x02, DEF_STR( Upright ) )
  3146: 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  3147: 	PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" )
  3148: 	PORT_DIPSETTING(    0x00, "1st & every 2nd" )
  3149: 	PORT_DIPSETTING(    0x04, "1st & 2nd only" )
  3150: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
  3151: 	PORT_DIPSETTING(    0x08, "3" )
  3152: 	PORT_DIPSETTING(    0x00, "5" )
  3153: 	SNK_COINAGE
  3154: 
  3155: 	PORT_START  /* DSW 2 */
  3156: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
  3157: 	PORT_DIPSETTING(    0x02, "Easy" )
  3158: 	PORT_DIPSETTING(    0x03, "Normal" )
  3159: 	PORT_DIPSETTING(    0x01, "Hard" )
  3160: 	PORT_DIPSETTING(    0x00, "Hardest" )
  3161: 	PORT_DIPNAME( 0x0c, 0x0c, "Game Mode" )
  3162: 	PORT_DIPSETTING(    0x08, "Demo Sounds Off" )
  3163: 	PORT_DIPSETTING(    0x0c, "Demo Sounds On" )
  3164: 	PORT_DIPSETTING(    0x00, "Freeze" )
  3165: 	PORT_BITX( 0,       0x04, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Infinite Lives", IP_KEY_NONE, IP_JOY_NONE )
  3166: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
  3167: 	PORT_DIPSETTING(    0x30, "50k 100k" )
  3168: 	PORT_DIPSETTING(    0x20, "75k 150k" )
  3169: 	PORT_DIPSETTING(    0x10, "100k 200k" )
  3170: 	PORT_DIPSETTING(    0x00, "None" )
  3171: 	PORT_DIPNAME( 0x40, 0x40, "Allow Continue" )
  3172: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
  3173: 	PORT_DIPSETTING(    0x40, DEF_STR( Yes ) )
  3174: 	PORT_BITX( 0x80,    0x80, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Invulnerability" , IP_KEY_NONE ,IP_JOY_NONE )
  3175: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3176: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3177: INPUT_PORTS_END
  3178: 
  3179: INPUT_PORTS_START( choppera )
  3180: 	PORT_START
  3181: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* sound CPU status */
  3182: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  3183: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_TILT )  /* Reset */
  3184: 	PORT_BITX(0x08, 0x08, IPT_SERVICE, DEF_STR( Service_Mode ), KEYCODE_F2, IP_JOY_NONE )
  3185: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  3186: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  3187: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  3188: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  3189: 
  3190: 	SNK_JOY1_NODIAL_PORT
  3191: 
  3192: 	SNK_JOY2_NODIAL_PORT
  3193: 
  3194: 	SNK_BUTTON_PORT
  3195: 
  3196: 	PORT_START  /* DSW 1 */
  3197: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Flip_Screen ) )
  3198: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  3199: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3200: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Cabinet ) )
  3201: 	PORT_DIPSETTING(    0x02, DEF_STR( Upright ) )
  3202: 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
  3203: 	PORT_DIPNAME( 0x04, 0x04, "Bonus Occurrence" )
  3204: 	PORT_DIPSETTING(    0x00, "1st & every 2nd" )
  3205: 	PORT_DIPSETTING(    0x04, "1st & 2nd only" )
  3206: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Lives ) )
  3207: 	PORT_DIPSETTING(    0x08, "3" )
  3208: 	PORT_DIPSETTING(    0x00, "5" )
  3209: 	SNK_COINAGE
  3210: 
  3211: 	PORT_START  /* DSW 2 */
  3212: 	PORT_DIPNAME( 0x03, 0x02, DEF_STR( Difficulty ) )
  3213: 	PORT_DIPSETTING(    0x02, "Easy" )
  3214: 	PORT_DIPSETTING(    0x03, "Normal" )
  3215: 	PORT_DIPSETTING(    0x01, "Hard" )
  3216: 	PORT_DIPSETTING(    0x00, "Hardest" )
  3217: 	PORT_DIPNAME( 0x0c, 0x0c, "Game Mode" )
  3218: 	PORT_DIPSETTING(    0x08, "Demo Sounds Off" )
  3219: 	PORT_DIPSETTING(    0x0c, "Demo Sounds On" )
  3220: 	PORT_DIPSETTING(    0x00, "Freeze" )
  3221: 	PORT_BITX( 0,       0x04, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Infinite Lives", IP_KEY_NONE, IP_JOY_NONE )
  3222: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Bonus_Life ) )
  3223: 	PORT_DIPSETTING(    0x30, "50k 100k" )
  3224: 	PORT_DIPSETTING(    0x20, "75k 150k" )
  3225: 	PORT_DIPSETTING(    0x10, "100k 200k" )
  3226: 	PORT_DIPSETTING(    0x00, "None" )
  3227: 	PORT_DIPNAME( 0x40, 0x40, "Allow Continue" )
  3228: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
  3229: 	PORT_DIPSETTING(    0x40, DEF_STR( Yes ) )
  3230: 	PORT_BITX( 0x80,    0x80, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Invulnerability" , IP_KEY_NONE ,IP_JOY_NONE )
  3231: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3232: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3233: INPUT_PORTS_END
  3234: 
  3235: INPUT_PORTS_START( fitegolf )
  3236: 	PORT_START
  3237: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* sound related? */
  3238: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  3239: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3240: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3241: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  3242: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  3243: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  3244: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  3245: 
  3246: 	PORT_START
  3247: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
  3248: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY )
  3249: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
  3250: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
  3251: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
  3252: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 )
  3253: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3254: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3255: 
  3256: 	PORT_START
  3257: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_PLAYER2 )
  3258: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_PLAYER2 )
  3259: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_PLAYER2 )
  3260: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_PLAYER2 )
  3261: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  3262: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  3263: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3264: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3265: 
  3266: 	PORT_START	/* DSW1 */
  3267: 	PORT_DIPNAME( 0x01, 0x01, "Language" ) /* Version */
  3268: 	PORT_DIPSETTING(    0x01, "English" )  /* Over Sea */
  3269: 	PORT_DIPSETTING(    0x00, "Japanese" ) /* Domestic */
  3270: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
  3271: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3272: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3273: 
  3274: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )
  3275: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
  3276: 	PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) )
  3277: 
  3278: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) )
  3279: 	PORT_DIPSETTING(    0x00, DEF_STR( 4C_1C ) )
  3280: 	PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) )
  3281: 	PORT_DIPSETTING(    0x20, DEF_STR( 2C_1C ) )
  3282: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) )
  3283: 	PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) )
  3284: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
  3285: 	PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) )
  3286: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_4C ) )
  3287: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_6C ) )
  3288: 
  3289: 	PORT_START /* DSW2 */
  3290: 	PORT_DIPNAME( 0x01, 0x01, "Shot Time" )
  3291: 	PORT_DIPSETTING(    0x00, "Short (10 sec)" )
  3292: 	PORT_DIPSETTING(    0x01, "Long (12 sec)" )
  3293: 	PORT_DIPNAME( 0x02, 0x02, "Bonus Holes" )
  3294: 	PORT_DIPSETTING(    0x02, "5 (Par 1,Birdie 2,Eagle 3)" )
  3295: 	PORT_DIPSETTING(    0x00, "3 (Par 0,Birdie 1,Eagle 2)" )
  3296: 	PORT_DIPNAME( 0x0c, 0x0c, "Game Mode" )
  3297: 	PORT_BITX( 0,       0x08, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Endless Game", IP_KEY_NONE, IP_JOY_NONE )
  3298: 	PORT_DIPSETTING(    0x0c, "Demo Sound On" )
  3299: 	PORT_DIPSETTING(    0x00, "Freeze" )
  3300: 	PORT_DIPSETTING(    0x04, "Demo Sound Off" )
  3301: 
  3302: 	PORT_DIPNAME( 0x30, 0x30, "Play Holes" )
  3303: 	PORT_DIPSETTING(    0x30, "2" )
  3304: 	PORT_DIPSETTING(    0x20, "3" )
  3305: 	PORT_DIPSETTING(    0x10, "4" )
  3306: 	PORT_DIPSETTING(    0x00, "5" )
  3307: 	PORT_DIPNAME( 0x40, 0x40, "Allow Continue" )
  3308: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3309: 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  3310: 	PORT_DIPNAME( 0x80, 0x80, "Test Mode" )
  3311: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3312: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3313: INPUT_PORTS_END
  3314: 
  3315: INPUT_PORTS_START( countryc )
  3316: 	PORT_START
  3317: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* sound related? */
  3318: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE1 )
  3319: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3320: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3321: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
  3322: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
  3323: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START2 )
  3324: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START1 )
  3325: 
  3326: 	PORT_START
  3327: 	PORT_ANALOG( 0x7f, 0x40, IPT_TRACKBALL_X , 50, 30, 0, 0x7f)
  3328: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
  3329: 
  3330: 	PORT_START
  3331: 	PORT_ANALOG( 0x7f, 0x40, IPT_TRACKBALL_Y , 50, 30, 0, 0x7f)
  3332: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON2 )
  3333: 
  3334: 	PORT_START	/* DSW1 */
  3335: 	PORT_DIPNAME( 0x01, 0x01, "Language" ) /* NOT showed in Test Mode/Manual */
  3336: 	PORT_DIPSETTING(    0x01, "English" )
  3337: 	PORT_DIPSETTING(    0x00, "Japanese" )
  3338: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
  3339: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3340: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3341: 
  3342: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Cabinet ) )  /* Trackball */
  3343: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )  /* 1 System */
  3344: 	PORT_DIPSETTING(    0x04, DEF_STR( Cocktail ) ) /* 2 Systems */
  3345: 
  3346: 	PORT_DIPNAME( 0x30, 0x30, DEF_STR( Coin_A ) )
  3347: 	PORT_DIPSETTING(    0x00, DEF_STR( 4C_1C ) )
  3348: 	PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) )
  3349: 	PORT_DIPSETTING(    0x20, DEF_STR( 2C_1C ) )
  3350: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) )
  3351: 	PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) )
  3352: 
  3353: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) )
  3354: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
  3355: 	PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) )
  3356: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_4C ) )
  3357: 
  3358: 	PORT_START /* DSW2 */
  3359: 	PORT_DIPNAME( 0x01, 0x01, "Shot Time" )
  3360: 	PORT_DIPSETTING(    0x00, "Short (10 sec)" )
  3361: 	PORT_DIPSETTING(    0x01, "Long (12 sec)" )
  3362: 	PORT_DIPNAME( 0x02, 0x02, "Bonus Holes" )
  3363: 	PORT_DIPSETTING(    0x02, "5 (Par 1,Birdie 2,Eagle 3)" )
  3364: 	PORT_DIPSETTING(    0x00, "3 (Par 0,Birdie 1,Eagle 2)" )
  3365: 	PORT_DIPNAME( 0x0c, 0x0c, "Game Mode" )
  3366: 	PORT_BITX( 0,       0x08, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Endless Game", IP_KEY_NONE, IP_JOY_NONE )
  3367: 	PORT_DIPSETTING(    0x0c, "Demo Sound On" )
  3368: 	PORT_DIPSETTING(    0x00, "Freeze" )
  3369: 	PORT_DIPSETTING(    0x04, "Demo Sound Off" )
  3370: 	PORT_DIPNAME( 0x30, 0x30, "Play Holes" )
  3371: 	PORT_DIPSETTING(    0x30, "2" )
  3372: 	PORT_DIPSETTING(    0x20, "3" )
  3373: 	PORT_DIPSETTING(    0x10, "4" )
  3374: 	PORT_DIPSETTING(    0x00, "5" )
  3375: 	PORT_DIPNAME( 0x40, 0x40, "Allow Continue" )
  3376: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3377: 	PORT_DIPSETTING(    0x40, DEF_STR( On ) )
  3378: 	PORT_DIPNAME( 0x80, 0x80, "Test Mode" )
  3379: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3380: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3381: INPUT_PORTS_END
  3382: 
  3383: INPUT_PORTS_START( ftsoccer )
  3384: 	PORT_START
  3385: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3386: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3387: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1 )
  3388: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* sound CPU status */
  3389: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )
  3390: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
  3391: 	PORT_BITX(0x40, IP_ACTIVE_LOW, IPT_START1, "Start Game A", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  3392: 	PORT_BITX(0x80, IP_ACTIVE_LOW, IPT_START2, "Start Game B", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  3393: 
  3394: 	PORT_START
  3395: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
  3396: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
  3397: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3398: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3399: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
  3400: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER1 )
  3401: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER1 )
  3402: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER1 )
  3403: 
  3404: 	PORT_START
  3405: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  3406: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  3407: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3408: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3409: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  3410: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  3411: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  3412: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  3413: 	PORT_START
  3414: 
  3415: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER3 )
  3416: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER3 )
  3417: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3418: 	PORT_BITX(0x08, IP_ACTIVE_LOW, IPT_SERVICE2, "Start Game E", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  3419: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER3 )
  3420: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER3 )
  3421: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER3 )
  3422: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER3 )
  3423: 
  3424: 	PORT_START
  3425: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER4 )
  3426: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER4 )
  3427: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3428: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3429: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER4 )
  3430: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER4 )
  3431: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER4 )
  3432: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER4 )
  3433: 
  3434: 	PORT_START	/* Only used in the "test mode" in this version */
  3435: 	PORT_ANALOGX( 0x7f, 0x00, IPT_DIAL | IPF_PLAYER1, 25, 10, 0, 0, KEYCODE_Z, KEYCODE_X, 0, 0 )
  3436: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
  3437: 
  3438: 	PORT_START	/* Only used in the "test mode" in this version */
  3439: 	PORT_ANALOGX( 0x7f, 0x00, IPT_DIAL | IPF_PLAYER2, 25, 10, 0, 0, KEYCODE_N, KEYCODE_M, 0, 0 )
  3440: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
  3441: 
  3442: 	PORT_START	/* Only used in the "test mode" in this version */
  3443: 	PORT_ANALOGX( 0x7f, 0x00, IPT_DIAL | IPF_PLAYER3, 25, 10, 0, 0, 0, 0, 0, 0 )
  3444: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
  3445: 
  3446: 	PORT_START	/* Only used in the "test mode" in this version */
  3447: 	PORT_ANALOGX( 0x7f, 0x00, IPT_DIAL | IPF_PLAYER4, 25, 10, 0, 0, 0, 0, 0, 0 )
  3448: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
  3449: 
  3450: 	PORT_START
  3451: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Cabinet ) )
  3452: 	PORT_DIPSETTING(    0x03, "Upright (With VS)" )
  3453: 	PORT_DIPSETTING(    0x02, "Upright (Without VS)" )
  3454: 	PORT_DIPSETTING(    0x00, "Cocktail (2 Players)" )
  3455: 	PORT_DIPSETTING(    0x01, "Cocktail (4 Players)" )
  3456: 	PORT_DIPNAME( 0x0c, 0x04, "Version" )
  3457: 	PORT_DIPSETTING(    0x04, "Europe" )
  3458: 	PORT_DIPSETTING(    0x00, "USA" )
  3459: 	PORT_DIPSETTING(    0x08, "Japan" )
  3460: /* 	PORT_DIPSETTING(    0x0c, "Europe" ) */
  3461: 	SNK_COINAGE
  3462: 
  3463: 	PORT_START
  3464: 	PORT_DIPNAME( 0x01, 0x01, "Allow Continue" )
  3465: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
  3466: 	PORT_DIPSETTING(    0x01, DEF_STR( Yes ) )
  3467: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Flip_Screen ) )
  3468: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3469: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3470: 	PORT_DIPNAME( 0x0c, 0x0c, "Game Mode" )
  3471: 	PORT_DIPSETTING(    0x08, "Demo Sound Off" )
  3472: 	PORT_DIPSETTING(    0x0c, "Demo Sound On" )
  3473: 	PORT_DIPSETTING(    0x00, "Freeze" )
  3474: 	PORT_BITX( 0,       0x04, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Win Match Against CPU", IP_KEY_NONE, IP_JOY_NONE )
  3475: 	PORT_DIPNAME( 0x70, 0x70, "Game Time" )	/* See notes */
  3476: 	PORT_DIPSETTING(    0x10, "1:00" )
  3477: 	PORT_DIPSETTING(    0x60, "1:10" )
  3478: 	PORT_DIPSETTING(    0x50, "1:20" )
  3479: 	PORT_DIPSETTING(    0x40, "1:30" )
  3480: 	PORT_DIPSETTING(    0x30, "1:40" )
  3481: 	PORT_DIPSETTING(    0x20, "1:50" )
  3482: 	PORT_DIPSETTING(    0x70, "2:00" )
  3483: 	PORT_DIPSETTING(    0x00, "2:10" )
  3484: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  3485: 
  3486: 	PORT_START
  3487: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3488: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3489: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3490: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3491: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3492: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3493: 	PORT_BITX(0x40, IP_ACTIVE_LOW, IPT_START3, "Start Game C", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  3494: 	PORT_BITX(0x80, IP_ACTIVE_LOW, IPT_START4, "Start Game D", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
  3495: INPUT_PORTS_END
  3496: 
  3497: INPUT_PORTS_START( tdfever )
  3498: 	PORT_START
  3499: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_SERVICE1 )
  3500: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3501: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN1 )
  3502: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )  /* sound CPU status */
  3503: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )
  3504: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN2 )
  3505: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_START1 )
  3506: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )
  3507: 
  3508: 	PORT_START
  3509: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
  3510: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
  3511: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
  3512: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
  3513: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
  3514: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY )
  3515: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY )
  3516: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY )
  3517: 
  3518: 	PORT_START
  3519: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
  3520: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
  3521: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
  3522: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
  3523: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
  3524: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER2 )
  3525: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER2 )
  3526: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER2 )
  3527: 	PORT_START
  3528: 
  3529: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER3 )
  3530: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER3 )
  3531: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3532: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3533: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER3 )
  3534: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER3 )
  3535: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER3 )
  3536: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER3 )
  3537: 
  3538: 	PORT_START
  3539: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER4 )
  3540: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER4 )
  3541: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3542: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNKNOWN )
  3543: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER4 )
  3544: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_8WAY | IPF_PLAYER4 )
  3545: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_8WAY | IPF_PLAYER4 )
  3546: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_8WAY | IPF_PLAYER4 )
  3547: 
  3548: 	PORT_START
  3549: 	PORT_ANALOGX( 0x7f, 0x00, IPT_DIAL, 25, 10, 0, 0, KEYCODE_Z, KEYCODE_X, 0, 0 )
  3550: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
  3551: 
  3552: 	PORT_START
  3553: 	PORT_ANALOGX( 0x7f, 0x00, IPT_DIAL | IPF_PLAYER2, 25, 10, 0, 0, KEYCODE_N, KEYCODE_M, 0, 0 )
  3554: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
  3555: 
  3556: 	PORT_START
  3557: 	PORT_ANALOGX( 0x7f, 0x00, IPT_DIAL | IPF_PLAYER3, 25, 10, 0, 0, 0, 0, 0, 0 )
  3558: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
  3559: 
  3560: 	PORT_START
  3561: 	PORT_ANALOGX( 0x7f, 0x00, IPT_DIAL | IPF_PLAYER4, 25, 10, 0, 0, 0, 0, 0, 0 )
  3562: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
  3563: 
  3564: 	PORT_START
  3565: 	PORT_DIPNAME( 0x01, 0x00, "Allow Continue" )
  3566: 	PORT_DIPSETTING(    0x01, DEF_STR( No ) )
  3567: 	PORT_DIPSETTING(    0x00, DEF_STR( Yes ) )
  3568: 	PORT_DIPNAME( 0x02, 0x02, "Max Players" )
  3569: 	PORT_DIPSETTING(    0x02, "2" )
  3570: 	PORT_DIPSETTING(    0x00, "4" )
  3571: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
  3572: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3573: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3574: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
  3575: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3576: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3577: 	PORT_DIPNAME( 0x30, 0x00, DEF_STR( Coin_A ) )
  3578: 	PORT_DIPSETTING(    0x00, "1 Coin/1 Credit 4/5" )
  3579: 	PORT_DIPSETTING(    0x10, "1 Coin/1 Credit 3/4" )
  3580: 	PORT_DIPSETTING(    0x20, "1 Coin/1 Credit 2/3" )
  3581: 	PORT_DIPSETTING(    0x30, DEF_STR( 1C_2C ) )
  3582: 	PORT_DIPNAME( 0xc0, 0x00, DEF_STR( Coin_B ) )
  3583: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
  3584: 	PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) )
  3585: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_4C ) )
  3586: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_6C ) )
  3587: 
  3588: 	PORT_START
  3589: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
  3590: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  3591: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3592: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
  3593: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3594: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3595: 	PORT_DIPNAME( 0x0c, 0x08, "Game Mode" )
  3596: 	PORT_DIPSETTING(    0x0c, "Demo Sound Off" )
  3597: 	PORT_DIPSETTING(    0x08, "Demo Sound On" )
  3598: 	PORT_DIPSETTING(    0x00, "Freeze" )
  3599: 	PORT_BITX( 0,       0x04, IPT_DIPSWITCH_SETTING | IPF_CHEAT, "Never Finish?", IP_KEY_NONE, IP_JOY_NONE )
  3600: 	PORT_DIPNAME( 0x70, 0x70, "Play Time" )
  3601: 	PORT_DIPSETTING(    0x70, "1:00" )
  3602: 	PORT_DIPSETTING(    0x60, "1:10" )
  3603: 	PORT_DIPSETTING(    0x50, "1:20" )
  3604: 	PORT_DIPSETTING(    0x40, "1:30" )
  3605: 	PORT_DIPSETTING(    0x30, "1:40" )
  3606: 	PORT_DIPSETTING(    0x20, "1:50" )
  3607: 	PORT_DIPSETTING(    0x10, "2:00" )
  3608: 	PORT_DIPSETTING(    0x00, "2:10" )
  3609: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )
  3610: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3611: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3612: INPUT_PORTS_END
  3613: 
  3614: /***********************************************************************/
  3615: 
  3616: /* input port configuration */
  3617: 
  3618: const SNK_INPUT_PORT_TYPE athena_io[SNK_MAX_INPUT_PORTS] = {
  3619: 	/* c000 */ SNK_INP0,
  3620: 	/* c100 */ SNK_INP1,	SNK_UNUSED,
  3621: 	/* c200 */ SNK_INP2,	SNK_UNUSED,
  3622: 	/* c300 */ SNK_UNUSED,	SNK_UNUSED,
  3623: 	/* c400 */ SNK_UNUSED,	SNK_UNUSED,
  3624: 	/* c500 */ SNK_INP3,	SNK_UNUSED,
  3625: 	/* c600 */ SNK_INP4,
  3626: 	/* c080 */ SNK_UNUSED
  3627: };
  3628: 
  3629: const SNK_INPUT_PORT_TYPE ikari_io[SNK_MAX_INPUT_PORTS] = {
  3630: 	/* c000 */ SNK_INP0,
  3631: 	/* c100 */ SNK_ROT12_PLAYER1,	SNK_UNUSED,
  3632: 	/* c200 */ SNK_ROT12_PLAYER2,	SNK_UNUSED,
  3633: 	/* c300 */ SNK_INP3,	SNK_UNUSED,
  3634: 	/* c400 */ SNK_UNUSED,	SNK_UNUSED,
  3635: 	/* c500 */ SNK_INP4,	SNK_UNUSED,
  3636: 	/* c600 */ SNK_INP5,
  3637: 	/* c080 */ SNK_UNUSED
  3638: };
  3639: 
  3640: const SNK_INPUT_PORT_TYPE ikarijpb_io[SNK_MAX_INPUT_PORTS] = {
  3641: 	/* c000 */ SNK_INP0,
  3642: 	/* c100 */ SNK_ROT8_PLAYER1,	SNK_UNUSED,
  3643: 	/* c200 */ SNK_ROT8_PLAYER2,	SNK_UNUSED,
  3644: 	/* c300 */ SNK_INP3,		SNK_UNUSED,
  3645: 	/* c400 */ SNK_UNUSED,		SNK_UNUSED,
  3646: 	/* c500 */ SNK_INP4,		SNK_UNUSED,
  3647: 	/* c600 */ SNK_INP5,
  3648: 	/* c080 */ SNK_UNUSED
  3649: };
  3650: 
  3651: const SNK_INPUT_PORT_TYPE choppera_io[SNK_MAX_INPUT_PORTS] = {
  3652: 	/* c000 */ SNK_INP0,
  3653: 	/* c100 */ SNK_INP1,	SNK_UNUSED,
  3654: 	/* c200 */ SNK_INP2,	SNK_UNUSED,
  3655: 	/* c300 */ SNK_INP3,	SNK_UNUSED,
  3656: 	/* c400 */ SNK_UNUSED,	SNK_UNUSED,
  3657: 	/* c500 */ SNK_INP4,	SNK_UNUSED,
  3658: 	/* c600 */ SNK_INP5,
  3659: 	/* c080 */ SNK_UNUSED
  3660: };
  3661: 
  3662: const SNK_INPUT_PORT_TYPE ftsoccer_io[SNK_MAX_INPUT_PORTS] = {
  3663: 	/* c000 */ SNK_INP0,
  3664: 	/* c100 */ SNK_INP1, SNK_INP2, SNK_INP3, SNK_INP4, /* joy1..joy4 */
  3665: 	/* c300 */ SNK_INP5, SNK_INP6, SNK_INP7, SNK_INP8, /* aim1..aim4 */
  3666: 	/* c500 */ SNK_UNUSED,
  3667: 	/* c580 */ SNK_INP9,	/* DSW1 */
  3668: 	/* c600 */ SNK_INP10,	/* DSW2 */
  3669: 	/* c080 */ SNK_INP11	/* Start games type C & D */
  3670: };
  3671: 
  3672: const SNK_INPUT_PORT_TYPE tdfever_io[SNK_MAX_INPUT_PORTS] = {
  3673: 	/* c000 */ SNK_INP0,
  3674: 	/* c100 */ SNK_INP1, SNK_INP2, SNK_INP3, SNK_INP4, /* joy1..joy4 */
  3675: 	/* c300 */ SNK_INP5, SNK_INP6, SNK_INP7, SNK_INP8, /* aim1..aim4 */
  3676: 	/* c500 */ SNK_UNUSED,
  3677: 	/* c580 */ SNK_INP9,	/* DSW1 */
  3678: 	/* c600 */ SNK_INP10,	/* DSW2 */
  3679: 	/* c080 */ SNK_UNUSED
  3680: };
  3681: 
  3682: static DRIVER_INIT( ikari ){
  3683: 	unsigned char *RAM = memory_region(REGION_CPU1);
  3684: 	/*  Hack ROM test */
  3685: 	RAM[0x11a6] = 0x00;
  3686: 	RAM[0x11a7] = 0x00;
  3687: 	RAM[0x11a8] = 0x00;
  3688: 
  3689: 	/* Hack Incorrect port value */
  3690: 	RAM[0x1003] = 0xc3;
  3691: 	RAM[0x1004] = 0x02;
  3692: 	RAM[0x1005] = 0x10;
  3693: 
  3694: 	snk_sound_busy_bit = 0x01;
  3695: 	snk_io = ikari_io;
  3696: 	hard_flags = 1;
  3697: 	snk_bg_tilemap_baseaddr = 0xd800;
  3698: 	snk_gamegroup = 1;
  3699: }
  3700: 
  3701: static DRIVER_INIT( ikarijp ){
  3702: 	unsigned char *RAM = memory_region(REGION_CPU1);
  3703: 	RAM[0x190b] = 0xc9; /* faster test */
  3704: 
  3705: 	snk_sound_busy_bit = 0x20;
  3706: 	snk_io = ikari_io;
  3707: 	hard_flags = 1;
  3708: 	snk_bg_tilemap_baseaddr = 0xd000;
  3709: 	snk_gamegroup = 1;
  3710: }
  3711: 
  3712: static DRIVER_INIT( ikarijpb ){
  3713: 	unsigned char *RAM = memory_region(REGION_CPU1);
  3714: 	RAM[0x190b] = 0xc9; /* faster test */
  3715: 
  3716: 	snk_sound_busy_bit = 0x20;
  3717: 	snk_io = ikarijpb_io;
  3718: 	hard_flags = 1;
  3719: 	snk_bg_tilemap_baseaddr = 0xd000;
  3720: 	snk_gamegroup = 1;
  3721: }
  3722: 
  3723: static DRIVER_INIT( victroad ){
  3724: 	unsigned char *RAM = memory_region(REGION_CPU1);
  3725: 	/* Hack ROM test */
  3726: 	RAM[0x17bd] = 0x00;
  3727: 	RAM[0x17be] = 0x00;
  3728: 	RAM[0x17bf] = 0x00;
  3729: 
  3730: 	/* Hack Incorrect port value */
  3731: 	RAM[0x161a] = 0xc3;
  3732: 	RAM[0x161b] = 0x19;
  3733: 	RAM[0x161c] = 0x16;
  3734: 
  3735: 	snk_sound_busy_bit = 0x01;
  3736: 	snk_io = ikari_io;
  3737: 	hard_flags = 1;
  3738: 	snk_bg_tilemap_baseaddr = 0xd800;
  3739: 	snk_gamegroup = 1;
  3740: }
  3741: 
  3742: static DRIVER_INIT( dogosoke ){
  3743: 	unsigned char *RAM = memory_region(REGION_CPU1);
  3744: 	/* Hack ROM test */
  3745: 	RAM[0x179f] = 0x00;
  3746: 	RAM[0x17a0] = 0x00;
  3747: 	RAM[0x17a1] = 0x00;
  3748: 
  3749: 	/* Hack Incorrect port value */
  3750: 	RAM[0x15fc] = 0xc3;
  3751: 	RAM[0x15fd] = 0xfb;
  3752: 	RAM[0x15fe] = 0x15;
  3753: 
  3754: 	snk_sound_busy_bit = 0x01;
  3755: 	snk_io = ikari_io;
  3756: 	hard_flags = 1;
  3757: 	snk_bg_tilemap_baseaddr = 0xd800;
  3758: 	snk_gamegroup = 1;
  3759: }
  3760: 
  3761: static DRIVER_INIT( gwar ){
  3762: 	snk_sound_busy_bit = 0x01;
  3763: 	snk_io = ikari_io;
  3764: 	hard_flags = 0;
  3765: 	snk_bg_tilemap_baseaddr = 0xd800;
  3766: 	snk_gamegroup = 2;
  3767: }
  3768: 
  3769: static DRIVER_INIT( gwara ){
  3770: 	snk_sound_busy_bit = 0x01;
  3771: 	snk_io = ikari_io;
  3772: 	hard_flags = 0;
  3773: 	snk_bg_tilemap_baseaddr = 0xd800;
  3774: 	snk_gamegroup = 4;
  3775: }
  3776: 
  3777: static DRIVER_INIT( chopper ){
  3778: 	snk_sound_busy_bit = 0x01;
  3779: 	snk_io = athena_io;
  3780: 	hard_flags = 0;
  3781: 	snk_bg_tilemap_baseaddr = 0xd800;
  3782: 	snk_gamegroup = 0;
  3783: }
  3784: 
  3785: static DRIVER_INIT( choppera ){
  3786: 	snk_sound_busy_bit = 0x01;
  3787: 	snk_io = choppera_io;
  3788: 	hard_flags = 0;
  3789: 	snk_bg_tilemap_baseaddr = 0xd800;
  3790: 	snk_gamegroup = 2;
  3791: }
  3792: 
  3793: static DRIVER_INIT( bermudat ){
  3794: 	unsigned char *RAM = memory_region(REGION_CPU1);
  3795: 
  3796: 	// Patch "Turbo Error"
  3797: 	RAM[0x127e] = 0xc9;
  3798: 	RAM[0x118d] = 0x00;
  3799: 	RAM[0x118e] = 0x00;
  3800: 
  3801: 	snk_sound_busy_bit = 0x01;
  3802: 	snk_io = ikari_io;
  3803: 	hard_flags = 0;
  3804: 	snk_bg_tilemap_baseaddr = 0xd800;
  3805: 	snk_gamegroup = 0;
  3806: }
  3807: 
  3808: static DRIVER_INIT( worldwar ){
  3809: 	snk_sound_busy_bit = 0x01;
  3810: 	snk_io = ikari_io;
  3811: 	hard_flags = 0;
  3812: 	snk_bg_tilemap_baseaddr = 0xd800;
  3813: 	snk_gamegroup = 0;
  3814: }
  3815: 
  3816: static DRIVER_INIT( tdfever ){
  3817: 	snk_sound_busy_bit = 0x08;
  3818: 	snk_io = tdfever_io;
  3819: 	hard_flags = 0;
  3820: 	snk_bg_tilemap_baseaddr = 0xd800;
  3821: 	snk_gamegroup = (!strcmp(Machine->gamedrv->name,"tdfeverj")) ? 5 : 3;
  3822: 	snk_irq_delay = 1000;
  3823: }
  3824: 
  3825: static DRIVER_INIT( ftsoccer ){
  3826: 	snk_sound_busy_bit = 0x08;
  3827: 	snk_io = tdfever_io;
  3828: 	hard_flags = 0;
  3829: 	snk_bg_tilemap_baseaddr = 0xd800;
  3830: 	snk_gamegroup = 7;
  3831: }
  3832: 
  3833: static DRIVER_INIT( tnk3 ){
  3834: 	snk_sound_busy_bit = 0x20;
  3835: 	snk_io = ikari_io;
  3836: 	hard_flags = 0;
  3837: 	snk_bg_tilemap_baseaddr = 0xd800;
  3838: 	snk_gamegroup = 1;
  3839: }
  3840: 
  3841: static DRIVER_INIT( athena ){
  3842: 	snk_sound_busy_bit = 0x01;
  3843: 	snk_io = athena_io;
  3844: 	hard_flags = 0;
  3845: 	snk_bg_tilemap_baseaddr = 0xd800;
  3846: 	snk_gamegroup = 1;
  3847: }
  3848: 
  3849: static DRIVER_INIT( fitegolf ){
  3850: 	snk_sound_busy_bit = 0x01;
  3851: 	snk_io = athena_io;
  3852: 	hard_flags = 0;
  3853: 	snk_bg_tilemap_baseaddr = 0xd800;
  3854: 	snk_gamegroup = 1;
  3855: }
  3856: 
  3857: static DRIVER_INIT( psychos ){
  3858: 	snk_sound_busy_bit = 0x01;
  3859: 	snk_io = athena_io;
  3860: 	hard_flags = 0;
  3861: 	snk_bg_tilemap_baseaddr = 0xd800;
  3862: 	snk_gamegroup = 0;
  3863: }
  3864: 
  3865: /*          rom       parent    machine   inp       init */
  3866: GAMEX( 1985, tnk3,     0,        tnk3,     tnk3,     tnk3,     ROT270, "SNK", "T.N.K. III (US)", GAME_NO_COCKTAIL )
  3867: GAMEX( 1985, tnk3j,    tnk3,     tnk3,     tnk3,     tnk3,     ROT270, "SNK", "T.A.N.K. (Japan)", GAME_NO_COCKTAIL )
  3868: GAMEX( 1986, athena,   0,        athena,   athena,   athena,   ROT0,   "SNK", "Athena", GAME_NO_COCKTAIL )
  3869: GAMEX( 1988, fitegolf, 0,        athena,   fitegolf, fitegolf, ROT0,   "SNK", "Fighting Golf (World?)", GAME_NO_COCKTAIL )
  3870: GAMEX( 1988, fitegol2, fitegolf, athena,   fitegolf, fitegolf, ROT0,   "SNK", "Fighting Golf (US)", GAME_NO_COCKTAIL )
  3871: GAMEX( 1988, countryc, fitegolf, athena,   countryc, fitegolf, ROT0,   "SNK", "Country Club", GAME_NO_COCKTAIL )
  3872: GAMEX( 1986, ikari,    0,        ikari,    ikari,    ikari,    ROT270, "SNK", "Ikari Warriors (US)", GAME_NO_COCKTAIL )
  3873: GAMEX( 1986, ikarijp,  ikari,    ikari,    ikarijp,  ikarijp,  ROT270, "SNK", "Ikari (Japan)", GAME_NO_COCKTAIL )
  3874: GAMEX( 1986, ikarijpb, ikari,    ikari,    ikarijp,  ikarijpb, ROT270, "bootleg", "Ikari (Japan bootleg)", GAME_NO_COCKTAIL )
  3875: GAMEX( 1986, victroad, 0,        victroad, victroad, victroad, ROT270, "SNK", "Victory Road", GAME_NO_COCKTAIL )
  3876: GAMEX( 1986, dogosoke, victroad, victroad, victroad, dogosoke, ROT270, "SNK", "Dogou Souken", GAME_NO_COCKTAIL )
  3877: GAMEX( 1987, gwar,     0,        gwar,     gwar,     gwar,     ROT270, "SNK", "Guerrilla War (US)", GAME_NO_COCKTAIL )
  3878: GAMEX( 1987, gwarj,    gwar,     gwar,     gwar,     gwar,     ROT270, "SNK", "Guevara (Japan)", GAME_NO_COCKTAIL )
  3879: GAMEX( 1987, gwara,    gwar,     gwar,     gwar,     gwara,    ROT270, "SNK", "Guerrilla War (Version 1)", GAME_NO_COCKTAIL )
  3880: GAMEX( 1987, gwarb,    gwar,     gwar,     gwar,     gwar,     ROT270, "bootleg", "Guerrilla War (bootleg)", GAME_NO_COCKTAIL )
  3881: GAMEX( 1987, bermudat, 0,        bermudat, bermudat, bermudat, ROT270, "SNK", "Bermuda Triangle (Japan)", GAME_NO_COCKTAIL )
  3882: GAMEX( 1987, bermudao, bermudat, bermudat, bermudat, bermudat, ROT270, "SNK", "Bermuda Triangle (Japan old version)", GAME_NO_COCKTAIL )
  3883: GAMEX( 1987, bermudaa, bermudat, bermudat, bermudaa, worldwar, ROT270, "SNK", "Bermuda Triangle (US older version)", GAME_NO_COCKTAIL )
  3884: GAMEX( 1987, worldwar, bermudat, bermudat, worldwar, worldwar, ROT270, "SNK", "World Wars (World)", GAME_NO_COCKTAIL )
  3885: GAMEX( 1987, psychos,  0,        psychos,  psychos,  psychos,  ROT0,   "SNK", "Psycho Soldier (US)", GAME_NO_COCKTAIL )
  3886: GAMEX( 1987, psychosj, psychos,  psychos,  psychos,  psychos,  ROT0,   "SNK", "Psycho Soldier (Japan)", GAME_NO_COCKTAIL )
  3887: GAMEX( 1988, chopper,  0,        chopper1, legofair, chopper,  ROT270, "SNK", "Chopper I (US set 1)", GAME_NO_COCKTAIL )
  3888: GAMEX( 1988, choppera, chopper,  chopper1, choppera, choppera, ROT270, "SNK", "Chopper I (US set 2)", GAME_NO_COCKTAIL )
  3889: GAMEX( 1988, chopperb, chopper,  chopper1, legofair, chopper,  ROT270, "SNK", "Chopper I (US set 3)", GAME_NO_COCKTAIL )
  3890: GAMEX( 1988, legofair, chopper,  chopper1, legofair, chopper,  ROT270, "SNK", "Koukuu Kihei Monogatari - The Legend of Air Cavalry (Japan)", GAME_NO_COCKTAIL )
  3891: GAMEX( 1987, tdfever,  0,        tdfever,  tdfever,  tdfever,  ROT270, "SNK", "TouchDown Fever", GAME_NO_COCKTAIL )
  3892: GAMEX( 1987, tdfeverj, tdfever,  tdfever,  tdfever,  tdfever,  ROT270, "SNK", "TouchDown Fever (Japan)", GAME_NO_COCKTAIL )
  3893: GAMEX( 1988, ftsoccer, 0,        ftsoccer, ftsoccer, ftsoccer, ROT0,   "SNK", "Fighting Soccer", GAME_NO_COCKTAIL )
  3894: 




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