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

: : : VM Driver Source

Source Listing


     1: /******************************************************************************
     2: 
     3: 	Game Driver for Nichibutsu Mahjong series.
     4: 
     5: 	Mahjong Uranai Densetsu
     6: 	(c)1992 Nihon Bussan Co.,Ltd. / (c)1992 Yubis Co.,Ltd.
     7: 
     8: 	Mahjong Koi no Magic Potion
     9: 	(c)1992 Nihon Bussan Co.,Ltd.
    10: 
    11: 	Mahjong Pachinko Monogatari
    12: 	(c)1992 Nihon Bussan Co.,Ltd.
    13: 
    14: 	Medal Mahjong Janjan Baribari
    15: 	(c)1992 Nihon Bussan Co.,Ltd. / (c)1992 Yubis Co.,Ltd. / (c)1992 AV JAPAN Co.,Ltd.
    16: 
    17: 	Mahjong Bakuhatsu Junjouden
    18: 	(c)1991 Nihon Bussan Co.,Ltd.
    19: 
    20: 	Ultra Maru-hi Mahjong
    21: 	(c)1993 Apple
    22: 
    23: 	Mahjong Gal 10-renpatsu
    24: 	(c)1993 FUJIC Co.,Ltd.
    25: 
    26: 	Mahjong Ren-ai Club
    27: 	(c)1993 FUJIC Co.,Ltd.
    28: 
    29: 	Mahjong La Man
    30: 	(c)1993 Nihon Bussan Co.,Ltd. / (c)1993 AV JAPAN Co.,Ltd.
    31: 
    32: 	Mahjong Keibaou
    33: 	(c)1993 Nihon Bussan Co.,Ltd.
    34: 
    35: 	Medal Mahjong Pachi-Slot Tengoku (Medal Type)
    36: 	(c)1993 Nihon Bussan Co.,Ltd. / (c)1993 MIKI SYOUJI Co.,Ltd. / (c)1993 AV JAPAN Co.,Ltd.
    37: 
    38: 	Mahjong Sailor Wars
    39: 	(c)1993 Nihon Bussan Co.,Ltd.
    40: 
    41: 	Mahjong Sailor Wars-R (Medal type)
    42: 	(c)1993 Nihon Bussan Co.,Ltd.
    43: 
    44: 	Bishoujo Janshi Pretty Sailor 18-kin
    45: 	(c)1994 SPHINX Co.,Ltd.
    46: 
    47: 	Bishoujo Janshi Pretty Sailor 2
    48: 	(c)1994 SPHINX Co.,Ltd.
    49: 
    50: 	Disco Mahjong Otachidai no Okite
    51: 	(c)1995 SPHINX Co.,Ltd.
    52: 
    53: 	Nekketsu Grand-Prix Gal
    54: 	(c)1991 Nihon Bussan Co.,Ltd.
    55: 
    56: 	Mahjong Gottsu ee-kanji
    57: 	(c)1991 Nihon Bussan Co.,Ltd.
    58: 
    59: 	Mahjong Circuit no Mehyou
    60: 	(c)1992 Nihon Bussan Co.,Ltd. / (c)1992 Kawakusu Co.,Ltd.
    61: 
    62: 	Medal Mahjong Circuit no Mehyou (Medal type)
    63: 	(c)1992 Nihon Bussan Co.,Ltd. / (c)1992 Kawakusu Co.,Ltd.
    64: 
    65: 	Mahjong Koi Uranai
    66: 	(c)1992 Nihon Bussan Co.,Ltd.
    67: 
    68: 	Mahjong Scout Man
    69: 	(c)1994 SPHINX Co.,Ltd. / (c)1994 AV JAPAN Co.,Ltd.
    70: 
    71: 	Imekura Mahjong
    72: 	(c)1994 SPHINX Co.,Ltd. / (c)1994 AV JAPAN Co.,Ltd.
    73: 
    74: 	Mahjong Erotica Golf
    75: 	(c)1994 FUJIC Co.,Ltd. / (c)1994 AV JAPAN Co.,Ltd.
    76: 
    77: 	Driver by Takahiro Nogi <nogi@kt.rim.or.jp> 2000/03/13 -
    78: 	Special thanks to Tatsuyuki Satoh
    79: 
    80: ******************************************************************************/
    81: /******************************************************************************
    82: Memo:
    83: 
    84: - Screen position sometimes be strange while frame skip != 0.
    85: 
    86: - In attract mode of otatidai, scroll position is strange after white fade.
    87:   (problems in nb19010 busy flag emulation or main cpu clock?).
    88: 
    89: - Some games display "GFXROM BANK OVER!!" or "GFXROM ADDRESS OVER!!"
    90:   in Debug build.
    91: 
    92: - Screen flip is not perfect.
    93: 
    94: ******************************************************************************/
    95: 
    96: #include "driver.h" 
    97: #include "cpu/z80/z80.h" 
    98: #include "machine/z80fmly.h" 
    99: #include "vidhrdw/generic.h" 
   100: 
   101: 
   102: #define	SIGNED_DAC	0		// 0:unsigned DAC, 1:signed DAC 
   103: 
   104: 
   105: VIDEO_UPDATE( sailorws );
   106: VIDEO_START( sailorws );
   107: VIDEO_START( mjkoiura );
   108: VIDEO_UPDATE( mscoutm );
   109: VIDEO_START( mscoutm );
   110: 
   111: READ_HANDLER( sailorws_palette_r );
   112: WRITE_HANDLER( sailorws_palette_w );
   113: READ_HANDLER( mscoutm_palette_r );
   114: WRITE_HANDLER( mscoutm_palette_w );
   115: 
   116: WRITE_HANDLER( sailorws_gfxflag_0_w );
   117: WRITE_HANDLER( sailorws_scrollx_0_w );
   118: WRITE_HANDLER( sailorws_scrolly_0_w );
   119: WRITE_HANDLER( sailorws_radr_0_w );
   120: WRITE_HANDLER( sailorws_sizex_0_w );
   121: WRITE_HANDLER( sailorws_sizey_0_w );
   122: WRITE_HANDLER( sailorws_drawx_0_w );
   123: WRITE_HANDLER( sailorws_drawy_0_w );
   124: 
   125: WRITE_HANDLER( sailorws_gfxflag_1_w );
   126: WRITE_HANDLER( sailorws_scrollx_1_w );
   127: WRITE_HANDLER( sailorws_scrolly_1_w );
   128: WRITE_HANDLER( sailorws_radr_1_w );
   129: WRITE_HANDLER( sailorws_sizex_1_w );
   130: WRITE_HANDLER( sailorws_sizey_1_w );
   131: WRITE_HANDLER( sailorws_drawx_1_w );
   132: WRITE_HANDLER( sailorws_drawy_1_w );
   133: 
   134: void sailorws_gfxflag2_w(int data);
   135: void sailorws_paltblnum_w(int data);
   136: WRITE_HANDLER( sailorws_paltbl_0_w );
   137: WRITE_HANDLER( sailorws_paltbl_1_w );
   138: READ_HANDLER( sailorws_gfxbusy_0_r );
   139: READ_HANDLER( sailorws_gfxbusy_1_r );
   140: READ_HANDLER( sailorws_gfxrom_0_r );
   141: READ_HANDLER( sailorws_gfxrom_1_r );
   142: 
   143: 
   144: static int sailorws_inputport;
   145: static int sailorws_dipswbitsel;
   146: static int sailorws_outcoin_flag;
   147: static int mscoutm_inputport;
   148: 
   149: 
   150: static unsigned char *sailorws_nvram;
   151: static size_t sailorws_nvram_size;
   152: 
   153: 
   154: static NVRAM_HANDLER( sailorws )
   155: {
   156: 	if (read_or_write)
   157: 		mame_fwrite(file, sailorws_nvram, sailorws_nvram_size);
   158: 	else
   159: 	{
   160: 		if (file)
   161: 			mame_fread(file, sailorws_nvram, sailorws_nvram_size);
   162: 		else
   163: 			memset(sailorws_nvram, 0, sailorws_nvram_size);
   164: 	}
   165: }
   166: 
   167: static void sailorws_soundbank_w(int data)
   168: {
   169: 	unsigned char *SNDROM = memory_region(REGION_CPU2);
   170: 
   171: 	cpu_setbank(1, &SNDROM[0x08000 + (0x8000 * (data & 0x03))]);
   172: }
   173: 
   174: static int sailorws_sound_r(int offset)
   175: {
   176: 	return soundlatch_r(0);
   177: }
   178: 
   179: static WRITE_HANDLER( sailorws_sound_w )
   180: {
   181: 	soundlatch_w(0, data);
   182: }
   183: 
   184: static void sailorws_soundclr_w(int offset, int data)
   185: {
   186: 	soundlatch_clear_w(0, 0);
   187: }
   188: 
   189: static void sailorws_outcoin_flag_w(int data)
   190: {
   191: 	// bit0: coin in counter
   192: 	// bit1: coin out counter
   193: 	// bit2: hopper
   194: 	// bit3: coin lockout
   195: 
   196: 	if (data & 0x04) sailorws_outcoin_flag ^= 1;
   197: 	else sailorws_outcoin_flag = 1;
   198: }
   199: 
   200: static WRITE_HANDLER( sailorws_inputportsel_w )
   201: {
   202: 	sailorws_inputport = (data ^ 0xff);
   203: }
   204: 
   205: static int sailorws_dipsw_r(void)
   206: {
   207: 	return ((((readinputport(0) & 0xff) | ((readinputport(1) & 0xff) << 8)) >> sailorws_dipswbitsel) & 0x01);
   208: }
   209: 
   210: static void sailorws_dipswbitsel_w(int data)
   211: {
   212: 	switch (data & 0xc0)
   213: 	{
   214: 		case	0x00:
   215: 			sailorws_dipswbitsel = 0;
   216: 			break;
   217: 		case	0x40:
   218: 			break;
   219: 		case	0x80:
   220: 			break;
   221: 		case	0xc0:
   222: 			sailorws_dipswbitsel = ((sailorws_dipswbitsel + 1) & 0x0f);
   223: 			break;
   224: 		default:
   225: 			break;
   226: 	}
   227: }
   228: 
   229: static void mscoutm_inputportsel_w(int data)
   230: {
   231: 	mscoutm_inputport = (data ^ 0xff);
   232: }
   233: 
   234: static READ_HANDLER( mscoutm_dipsw_0_r )
   235: {
   236: 	// DIPSW A
   237: 	return (((readinputport(0) & 0x01) << 7) | ((readinputport(0) & 0x02) << 5) |
   238: 	        ((readinputport(0) & 0x04) << 3) | ((readinputport(0) & 0x08) << 1) |
   239: 	        ((readinputport(0) & 0x10) >> 1) | ((readinputport(0) & 0x20) >> 3) |
   240: 	        ((readinputport(0) & 0x40) >> 5) | ((readinputport(0) & 0x80) >> 7));
   241: }
   242: 
   243: static READ_HANDLER( mscoutm_dipsw_1_r )
   244: {
   245: 	// DIPSW B
   246: 	return (((readinputport(1) & 0x01) << 7) | ((readinputport(1) & 0x02) << 5) |
   247: 	        ((readinputport(1) & 0x04) << 3) | ((readinputport(1) & 0x08) << 1) |
   248: 	        ((readinputport(1) & 0x10) >> 1) | ((readinputport(1) & 0x20) >> 3) |
   249: 	        ((readinputport(1) & 0x40) >> 5) | ((readinputport(1) & 0x80) >> 7));
   250: }
   251: 
   252: 
   253: /* TMPZ84C011 PIO emulation */
   254: 
   255: static unsigned char pio_dir[5*2], pio_latch[5*2];
   256: 
   257: static int tmpz84c011_pio_r(int offset)
   258: {
   259: 	int portdata;
   260: 
   261: 	if ((!strcmp(Machine->gamedrv->name, "mscoutm")) ||
   262: 	    (!strcmp(Machine->gamedrv->name, "imekura")) ||
   263: 	    (!strcmp(Machine->gamedrv->name, "mjegolf")))
   264: 	{
   265: 		switch (offset)
   266: 		{
   267: 			case	0:			/* PA_0 */
   268: 				// COIN IN, ETC...
   269: 				portdata = readinputport(2);
   270: 				break;
   271: 			case	1:			/* PB_0 */
   272: 				// PLAYER1 KEY, DIPSW A/B
   273: 				switch (mscoutm_inputport)
   274: 				{
   275: 					case	0x01:
   276: 						portdata = readinputport(3);
   277: 						break;
   278: 					case	0x02:
   279: 						portdata = readinputport(4);
   280: 						break;
   281: 					case	0x04:
   282: 						portdata = readinputport(5);
   283: 						break;
   284: 					case	0x08:
   285: 						portdata = readinputport(6);
   286: 						break;
   287: 					case	0x10:
   288: 						portdata = readinputport(7);
   289: 						break;
   290: 					default:
   291: 						portdata = 0xff;
   292: 						break;
   293: 				}
   294: 				break;
   295: 			case	2:			/* PC_0 */
   296: 				// PLAYER2 KEY
   297: 				portdata = 0xff;
   298: 				break;
   299: 			case	3:			/* PD_0 */
   300: 				portdata = 0xff;
   301: 				break;
   302: 			case	4:			/* PE_0 */
   303: 				portdata = 0xff;
   304: 				break;
   305: 
   306: 			case	5:			/* PA_1 */
   307: 				portdata = 0xff;
   308: 				break;
   309: 			case	6:			/* PB_1 */
   310: 				portdata = 0xff;
   311: 				break;
   312: 			case	7:			/* PC_1 */
   313: 				portdata = 0xff;
   314: 				break;
   315: 			case	8:			/* PD_1 */
   316: 				portdata = sailorws_sound_r(0);
   317: 				break;
   318: 			case	9:			/* PE_1 */
   319: 				portdata = 0xff;
   320: 				break;
   321: 
   322: 			default:
   323: 				logerror("PC %04X: TMPZ84C011_PIO Unknown Port Read %02X\n", activecpu_get_pc(), offset);
   324: 				portdata = 0xff;
   325: 				break;
   326: 		}
   327: 	}
   328: 	else
   329: 	{
   330: 		switch (offset)
   331: 		{
   332: 			case	0:			/* PA_0 */
   333: 				// COIN IN, ETC...
   334: 				portdata = ((readinputport(2) & 0xfe) | sailorws_outcoin_flag);
   335: 				break;
   336: 			case	1:			/* PB_0 */
   337: 				// PLAYER1 KEY, DIPSW A/B
   338: 				switch (sailorws_inputport)
   339: 				{
   340: 					case	0x01:
   341: 						portdata = readinputport(3);
   342: 						break;
   343: 					case	0x02:
   344: 						portdata = readinputport(4);
   345: 						break;
   346: 					case	0x04:
   347: 						portdata = readinputport(5);
   348: 						break;
   349: 					case	0x08:
   350: 						portdata = readinputport(6);
   351: 						break;
   352: 					case	0x10:
   353: 						portdata = ((readinputport(7) & 0x7f) | (sailorws_dipsw_r() << 7));
   354: 						break;
   355: 					default:
   356: 						portdata = 0xff;
   357: 						break;
   358: 				}
   359: 				break;
   360: 			case	2:			/* PC_0 */
   361: 				// PLAYER2 KEY
   362: 				portdata = 0xff;
   363: 				break;
   364: 			case	3:			/* PD_0 */
   365: 				portdata = 0xff;
   366: 				break;
   367: 			case	4:			/* PE_0 */
   368: 				portdata = 0xff;
   369: 				break;
   370: 
   371: 			case	5:			/* PA_1 */
   372: 				portdata = 0xff;
   373: 				break;
   374: 			case	6:			/* PB_1 */
   375: 				portdata = 0xff;
   376: 				break;
   377: 			case	7:			/* PC_1 */
   378: 				portdata = 0xff;
   379: 				break;
   380: 			case	8:			/* PD_1 */
   381: 				portdata = sailorws_sound_r(0);
   382: 				break;
   383: 			case	9:			/* PE_1 */
   384: 				portdata = 0xff;
   385: 				break;
   386: 
   387: 			default:
   388: 				logerror("PC %04X: TMPZ84C011_PIO Unknown Port Read %02X\n", activecpu_get_pc(), offset);
   389: 				portdata = 0xff;
   390: 				break;
   391: 		}
   392: 	}
   393: 
   394: 	return portdata;
   395: }
   396: 
   397: static void tmpz84c011_pio_w(int offset, int data)
   398: {
   399: 	if ((!strcmp(Machine->gamedrv->name, "imekura")) ||
   400: 	    (!strcmp(Machine->gamedrv->name, "mscoutm")) ||
   401: 	    (!strcmp(Machine->gamedrv->name, "mjegolf")))
   402: 	{
   403: 		switch (offset)
   404: 		{
   405: 			case	0:			/* PA_0 */
   406: 				mscoutm_inputportsel_w(data);	// NB22090
   407: 				break;
   408: 			case	1:			/* PB_0 */
   409: 				break;
   410: 			case	2:			/* PC_0 */
   411: 				break;
   412: 			case	3:			/* PD_0 */
   413: 				sailorws_paltblnum_w(data);
   414: 				break;
   415: 			case	4:			/* PE_0 */
   416: 				sailorws_gfxflag2_w(data);	// NB22090
   417: 				break;
   418: 
   419: 			case	5:			/* PA_1 */
   420: 				sailorws_soundbank_w(data);
   421: 				break;
   422: 			case	6:			/* PB_1 */
   423: #if SIGNED_DAC 
   424: 				DAC_1_signed_data_w(0, data);
   425: #else 
   426: 				DAC_1_data_w(0, data);
   427: #endif 
   428: 				break;
   429: 			case	7:			/* PC_1 */
   430: #if SIGNED_DAC 
   431: 				DAC_0_signed_data_w(0, data);
   432: #else 
   433: 				DAC_0_data_w(0, data);
   434: #endif 
   435: 				break;
   436: 			case	8:			/* PD_1 */
   437: 				break;
   438: 			case	9:			/* PE_1 */
   439: 				if (!(data & 0x01)) sailorws_soundclr_w(0, 0);
   440: 				break;
   441: 
   442: 			default:
   443: 				logerror("PC %04X: TMPZ84C011_PIO Unknown Port Write %02X, %02X\n", activecpu_get_pc(), offset, data);
   444: 				break;
   445: 		}
   446: 	}
   447: 	else
   448: 	{
   449: 		switch (offset)
   450: 		{
   451: 			case	0:			/* PA_0 */
   452: 				break;
   453: 			case	1:			/* PB_0 */
   454: 				break;
   455: 			case	2:			/* PC_0 */
   456: 				sailorws_dipswbitsel_w(data);
   457: 				break;
   458: 			case	3:			/* PD_0 */
   459: 				sailorws_paltblnum_w(data);
   460: 				break;
   461: 			case	4:			/* PE_0 */
   462: 				sailorws_outcoin_flag_w(data);
   463: 				break;
   464: 
   465: 			case	5:			/* PA_1 */
   466: 				sailorws_soundbank_w(data);
   467: 				break;
   468: 			case	6:			/* PB_1 */
   469: #if SIGNED_DAC 
   470: 				DAC_1_signed_data_w(0, data);
   471: #else 
   472: 				DAC_1_data_w(0, data);
   473: #endif 
   474: 				break;
   475: 			case	7:			/* PC_1 */
   476: #if SIGNED_DAC 
   477: 				DAC_0_signed_data_w(0, data);
   478: #else 
   479: 				DAC_0_data_w(0, data);
   480: #endif 
   481: 				break;
   482: 			case	8:			/* PD_1 */
   483: 				break;
   484: 			case	9:			/* PE_1 */
   485: 				if (!(data & 0x01)) sailorws_soundclr_w(0, 0);
   486: 				break;
   487: 
   488: 			default:
   489: 				logerror("PC %04X: TMPZ84C011_PIO Unknown Port Write %02X, %02X\n", activecpu_get_pc(), offset, data);
   490: 				break;
   491: 		}
   492: 	}
   493: }
   494: 
   495: 
   496: /* CPU interface */
   497: 
   498: /* device 0 */
   499: static READ_HANDLER( tmpz84c011_0_pa_r ) { return (tmpz84c011_pio_r(0) & ~pio_dir[0]) | (pio_latch[0] & pio_dir[0]); }
   500: static READ_HANDLER( tmpz84c011_0_pb_r ) { return (tmpz84c011_pio_r(1) & ~pio_dir[1]) | (pio_latch[1] & pio_dir[1]); }
   501: static READ_HANDLER( tmpz84c011_0_pc_r ) { return (tmpz84c011_pio_r(2) & ~pio_dir[2]) | (pio_latch[2] & pio_dir[2]); }
   502: static READ_HANDLER( tmpz84c011_0_pd_r ) { return (tmpz84c011_pio_r(3) & ~pio_dir[3]) | (pio_latch[3] & pio_dir[3]); }
   503: static READ_HANDLER( tmpz84c011_0_pe_r ) { return (tmpz84c011_pio_r(4) & ~pio_dir[4]) | (pio_latch[4] & pio_dir[4]); }
   504: 
   505: static WRITE_HANDLER( tmpz84c011_0_pa_w ) { pio_latch[0] = data; tmpz84c011_pio_w(0, data); }
   506: static WRITE_HANDLER( tmpz84c011_0_pb_w ) { pio_latch[1] = data; tmpz84c011_pio_w(1, data); }
   507: static WRITE_HANDLER( tmpz84c011_0_pc_w ) { pio_latch[2] = data; tmpz84c011_pio_w(2, data); }
   508: static WRITE_HANDLER( tmpz84c011_0_pd_w ) { pio_latch[3] = data; tmpz84c011_pio_w(3, data); }
   509: static WRITE_HANDLER( tmpz84c011_0_pe_w ) { pio_latch[4] = data; tmpz84c011_pio_w(4, data); }
   510: 
   511: static READ_HANDLER( tmpz84c011_0_dir_pa_r ) { return pio_dir[0]; }
   512: static READ_HANDLER( tmpz84c011_0_dir_pb_r ) { return pio_dir[1]; }
   513: static READ_HANDLER( tmpz84c011_0_dir_pc_r ) { return pio_dir[2]; }
   514: static READ_HANDLER( tmpz84c011_0_dir_pd_r ) { return pio_dir[3]; }
   515: static READ_HANDLER( tmpz84c011_0_dir_pe_r ) { return pio_dir[4]; }
   516: 
   517: static WRITE_HANDLER( tmpz84c011_0_dir_pa_w ) { pio_dir[0] = data; }
   518: static WRITE_HANDLER( tmpz84c011_0_dir_pb_w ) { pio_dir[1] = data; }
   519: static WRITE_HANDLER( tmpz84c011_0_dir_pc_w ) { pio_dir[2] = data; }
   520: static WRITE_HANDLER( tmpz84c011_0_dir_pd_w ) { pio_dir[3] = data; }
   521: static WRITE_HANDLER( tmpz84c011_0_dir_pe_w ) { pio_dir[4] = data; }
   522: 
   523: /* device 1 */
   524: static READ_HANDLER( tmpz84c011_1_pa_r ) { return (tmpz84c011_pio_r(5) & ~pio_dir[5]) | (pio_latch[5] & pio_dir[5]); }
   525: static READ_HANDLER( tmpz84c011_1_pb_r ) { return (tmpz84c011_pio_r(6) & ~pio_dir[6]) | (pio_latch[6] & pio_dir[6]); }
   526: static READ_HANDLER( tmpz84c011_1_pc_r ) { return (tmpz84c011_pio_r(7) & ~pio_dir[7]) | (pio_latch[7] & pio_dir[7]); }
   527: static READ_HANDLER( tmpz84c011_1_pd_r ) { return (tmpz84c011_pio_r(8) & ~pio_dir[8]) | (pio_latch[8] & pio_dir[8]); }
   528: static READ_HANDLER( tmpz84c011_1_pe_r ) { return (tmpz84c011_pio_r(9) & ~pio_dir[9]) | (pio_latch[9] & pio_dir[9]); }
   529: 
   530: static WRITE_HANDLER( tmpz84c011_1_pa_w ) { pio_latch[5] = data; tmpz84c011_pio_w(5, data); }
   531: static WRITE_HANDLER( tmpz84c011_1_pb_w ) { pio_latch[6] = data; tmpz84c011_pio_w(6, data); }
   532: static WRITE_HANDLER( tmpz84c011_1_pc_w ) { pio_latch[7] = data; tmpz84c011_pio_w(7, data); }
   533: static WRITE_HANDLER( tmpz84c011_1_pd_w ) { pio_latch[8] = data; tmpz84c011_pio_w(8, data); }
   534: static WRITE_HANDLER( tmpz84c011_1_pe_w ) { pio_latch[9] = data; tmpz84c011_pio_w(9, data); }
   535: 
   536: static READ_HANDLER( tmpz84c011_1_dir_pa_r ) { return pio_dir[5]; }
   537: static READ_HANDLER( tmpz84c011_1_dir_pb_r ) { return pio_dir[6]; }
   538: static READ_HANDLER( tmpz84c011_1_dir_pc_r ) { return pio_dir[7]; }
   539: static READ_HANDLER( tmpz84c011_1_dir_pd_r ) { return pio_dir[8]; }
   540: static READ_HANDLER( tmpz84c011_1_dir_pe_r ) { return pio_dir[9]; }
   541: 
   542: static WRITE_HANDLER( tmpz84c011_1_dir_pa_w ) { pio_dir[5] = data; }
   543: static WRITE_HANDLER( tmpz84c011_1_dir_pb_w ) { pio_dir[6] = data; }
   544: static WRITE_HANDLER( tmpz84c011_1_dir_pc_w ) { pio_dir[7] = data; }
   545: static WRITE_HANDLER( tmpz84c011_1_dir_pd_w ) { pio_dir[8] = data; }
   546: static WRITE_HANDLER( tmpz84c011_1_dir_pe_w ) { pio_dir[9] = data; }
   547: 
   548: 
   549: static void ctc0_interrupt(int state)
   550: {
   551: 	cpu_set_irq_line_and_vector(0, 0, HOLD_LINE, Z80_VECTOR(0, state));
   552: }
   553: 
   554: static void ctc1_interrupt(int state)
   555: {
   556: 	cpu_set_irq_line_and_vector(1, 0, HOLD_LINE, Z80_VECTOR(0, state));
   557: }
   558: 
   559: /* CTC of main cpu, ch0 trigger is vblank */
   560: static INTERRUPT_GEN( ctc0_trg1 )
   561: {
   562: 	z80ctc_0_trg1_w(0, 1);
   563: 	z80ctc_0_trg1_w(0, 0);
   564: }
   565: 
   566: static z80ctc_interface ctc_intf =
   567: {
   568: 	2,			/* 2 chip */
   569: 	{ 0, 1 },		/* clock */
   570: 	{ 0, 0 },		/* timer disables */
   571: 	{ ctc0_interrupt, ctc1_interrupt },	/* interrupt handler */
   572: 	{ 0, z80ctc_1_trg3_w },	/* ZC/TO0 callback ctc1.zc0 -> ctc1.trg3 */
   573: 	{ 0, 0 },		/* ZC/TO1 callback */
   574: 	{ 0, 0 },		/* ZC/TO2 callback */
   575: };
   576: 
   577: static void tmpz84c011_init(void)
   578: {
   579: 	int i;
   580: 
   581: 	// initialize TMPZ84C011 PIO
   582: 	for (i = 0; i < (5 * 2); i++)
   583: 	{
   584: 		pio_dir[i] = pio_latch[i] = 0;
   585: 		tmpz84c011_pio_w(i, 0);
   586: 	}
   587: 
   588: 	// initialize the CTC
   589: 	ctc_intf.baseclock[0] = Machine->drv->cpu[0].cpu_clock;
   590: 	ctc_intf.baseclock[1] = Machine->drv->cpu[1].cpu_clock;
   591: 	z80ctc_init(&ctc_intf);
   592: }
   593: 
   594: static MACHINE_INIT( sailorws )
   595: {
   596: 	//
   597: }
   598: 
   599: static void initialize_driver(void)
   600: {
   601: 	unsigned char *ROM = memory_region(REGION_CPU2);
   602: 
   603: 	// sound program patch
   604: 	ROM[0x0213] = 0x00;			// DI -> NOP
   605: 
   606: 	// initialize TMPZ84C011 PIO and CTC
   607: 	tmpz84c011_init();
   608: 
   609: 	// initialize sound rom bank
   610: 	sailorws_soundbank_w(0);
   611: }
   612: 
   613: 
   614: static DRIVER_INIT( mjuraden ) { initialize_driver(); }
   615: static DRIVER_INIT( koinomp ) { initialize_driver(); }
   616: static DRIVER_INIT( patimono ) { initialize_driver(); }
   617: static DRIVER_INIT( mmehyou ) { initialize_driver(); }
   618: static DRIVER_INIT( gal10ren ) { initialize_driver(); }
   619: static DRIVER_INIT( mjlaman ) { initialize_driver(); }
   620: static DRIVER_INIT( mkeibaou ) { initialize_driver(); }
   621: static DRIVER_INIT( pachiten ) { initialize_driver(); }
   622: static DRIVER_INIT( mjanbari ) { initialize_driver(); }
   623: static DRIVER_INIT( ultramhm ) { initialize_driver(); }
   624: static DRIVER_INIT( sailorws ) { initialize_driver(); }
   625: static DRIVER_INIT( sailorwr ) { initialize_driver(); }
   626: static DRIVER_INIT( psailor1 ) { initialize_driver(); }
   627: static DRIVER_INIT( psailor2 ) { initialize_driver(); }
   628: static DRIVER_INIT( otatidai ) { initialize_driver(); }
   629: static DRIVER_INIT( renaiclb ) { initialize_driver(); }
   630: static DRIVER_INIT( ngpgal ) { initialize_driver(); }
   631: static DRIVER_INIT( mjgottsu ) { initialize_driver(); }
   632: static DRIVER_INIT( bakuhatu ) { initialize_driver(); }
   633: static DRIVER_INIT( cmehyou ) { initialize_driver(); }
   634: static DRIVER_INIT( mjkoiura ) { initialize_driver(); }
   635: static DRIVER_INIT( mscoutm ) { initialize_driver(); }
   636: static DRIVER_INIT( imekura ) { initialize_driver(); }
   637: static DRIVER_INIT( mjegolf ) { initialize_driver(); }
   638: 
   639: 
   640: static MEMORY_READ_START( readmem_sailorws )
   641: 	{ 0x0000, 0xefff, MRA_ROM },
   642: 	{ 0xf000, 0xf1ff, sailorws_palette_r },
   643: 	{ 0xf800, 0xffff, MRA_RAM },
   644: MEMORY_END
   645: 
   646: static MEMORY_WRITE_START( writemem_sailorws )
   647: 	{ 0x0000, 0xefff, MWA_ROM },
   648: 	{ 0xf000, 0xf1ff, sailorws_palette_w },
   649: 	{ 0xf800, 0xffff, MWA_RAM, &sailorws_nvram, &sailorws_nvram_size },
   650: MEMORY_END
   651: 
   652: static MEMORY_READ_START( readmem_mjuraden )
   653: 	{ 0x0000, 0xefff, MRA_ROM },
   654: 	{ 0xf200, 0xf3ff, sailorws_palette_r },
   655: 	{ 0xf800, 0xffff, MRA_RAM },
   656: MEMORY_END
   657: 
   658: static MEMORY_WRITE_START( writemem_mjuraden )
   659: 	{ 0x0000, 0xefff, MWA_ROM },
   660: 	{ 0xf200, 0xf3ff, sailorws_palette_w },
   661: 	{ 0xf800, 0xffff, MWA_RAM },
   662: MEMORY_END
   663: 
   664: static MEMORY_READ_START( readmem_koinomp )
   665: 	{ 0x0000, 0xdfff, MRA_ROM },
   666: 	{ 0xe000, 0xe1ff, sailorws_palette_r },
   667: 	{ 0xe800, 0xefff, MRA_RAM },
   668: MEMORY_END
   669: 
   670: static MEMORY_WRITE_START( writemem_koinomp )
   671: 	{ 0x0000, 0xdfff, MWA_ROM },
   672: 	{ 0xe000, 0xe1ff, sailorws_palette_w },
   673: 	{ 0xe800, 0xefff, MWA_RAM, &sailorws_nvram, &sailorws_nvram_size },
   674: MEMORY_END
   675: 
   676: static MEMORY_READ_START( readmem_ngpgal )
   677: 	{ 0x0000, 0xcfff, MRA_ROM },
   678: 	{ 0xd000, 0xd1ff, sailorws_palette_r },
   679: 	{ 0xd800, 0xdfff, MRA_RAM },
   680: MEMORY_END
   681: 
   682: static MEMORY_WRITE_START( writemem_ngpgal )
   683: 	{ 0x0000, 0xcfff, MWA_ROM },
   684: 	{ 0xd000, 0xd1ff, sailorws_palette_w },
   685: 	{ 0xd800, 0xdfff, MWA_RAM },
   686: MEMORY_END
   687: 
   688: static MEMORY_READ_START( readmem_mscoutm )
   689: 	{ 0x0000, 0xdfff, MRA_ROM },
   690: 	{ 0xe000, 0xe5ff, MRA_RAM },
   691: 	{ 0xe600, 0xebff, mscoutm_palette_r },
   692: 	{ 0xec00, 0xf1ff, MRA_RAM },
   693: 	{ 0xf200, 0xffff, MRA_RAM },
   694: MEMORY_END
   695: 
   696: static MEMORY_WRITE_START( writemem_mscoutm )
   697: 	{ 0x0000, 0xdfff, MWA_ROM },
   698: 	{ 0xe000, 0xe5ff, MWA_RAM },
   699: 	{ 0xe600, 0xebff, mscoutm_palette_w },
   700: 	{ 0xec00, 0xf1ff, MWA_RAM },
   701: 	{ 0xf200, 0xffff, MWA_RAM },
   702: MEMORY_END
   703: 
   704: static MEMORY_READ_START( readmem_mjegolf )
   705: 	{ 0x0000, 0xdfff, MRA_ROM },
   706: 	{ 0xe000, 0xe5ff, mscoutm_palette_r },
   707: 	{ 0xe600, 0xebff, MRA_RAM },
   708: 	{ 0xec00, 0xf1ff, MRA_RAM },
   709: 	{ 0xf200, 0xffff, MRA_RAM },
   710: MEMORY_END
   711: 
   712: static MEMORY_WRITE_START( writemem_mjegolf )
   713: 	{ 0x0000, 0xdfff, MWA_ROM },
   714: 	{ 0xe000, 0xe5ff, mscoutm_palette_w },
   715: 	{ 0xe600, 0xebff, MWA_RAM },
   716: 	{ 0xec00, 0xf1ff, MWA_RAM },
   717: 	{ 0xf200, 0xffff, MWA_RAM },
   718: MEMORY_END
   719: 
   720: static MEMORY_READ_START( sound_readmem )
   721: 	{ 0x0000, 0x77ff, MRA_ROM },
   722: 	{ 0x7800, 0x7fff, MRA_RAM },
   723: 	{ 0x8000, 0xffff, MRA_BANK1 },
   724: MEMORY_END
   725: 
   726: static MEMORY_WRITE_START( sound_writemem )
   727: 	{ 0x0000, 0x77ff, MWA_ROM },
   728: 	{ 0x7800, 0x7fff, MWA_RAM },
   729: MEMORY_END
   730: 
   731: 
   732: static PORT_READ_START( readport_mjuraden )
   733: 	{ 0x10, 0x13, z80ctc_0_r },
   734: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
   735: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
   736: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
   737: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
   738: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
   739: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
   740: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
   741: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
   742: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
   743: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
   744: 
   745: 	{ 0x80, 0x80, sailorws_gfxbusy_0_r },
   746: 	{ 0x81, 0x81, sailorws_gfxrom_0_r },
   747: PORT_END
   748: 
   749: static PORT_WRITE_START( writeport_mjuraden )
   750: 	{ 0x10, 0x13, z80ctc_0_w },
   751: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
   752: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
   753: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
   754: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
   755: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
   756: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
   757: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
   758: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
   759: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
   760: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
   761: 
   762: 	{ 0x90, 0x9f, sailorws_paltbl_0_w },
   763: 
   764: 	{ 0x80, 0x80, sailorws_gfxflag_0_w },
   765: 	{ 0x81, 0x82, sailorws_scrollx_0_w },
   766: 	{ 0x83, 0x84, sailorws_scrolly_0_w },
   767: 	{ 0x85, 0x87, sailorws_radr_0_w },
   768: 	{ 0x88, 0x88, sailorws_sizex_0_w },
   769: 	{ 0x89, 0x89, sailorws_sizey_0_w },
   770: 	{ 0x8a, 0x8b, sailorws_drawx_0_w },
   771: 	{ 0x8c, 0x8d, sailorws_drawy_0_w },
   772: 	{ 0x8f, 0x8f, IOWP_NOP },
   773: 
   774: 	{ 0xb0, 0xb0, sailorws_sound_w },
   775: 	{ 0xb2, 0xb2, IOWP_NOP },
   776: 	{ 0xb4, 0xb4, IOWP_NOP },
   777: 	{ 0xb6, 0xb6, sailorws_inputportsel_w },
   778: PORT_END
   779: 
   780: 
   781: static PORT_READ_START( readport_koinomp )
   782: 	{ 0x10, 0x13, z80ctc_0_r },
   783: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
   784: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
   785: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
   786: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
   787: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
   788: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
   789: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
   790: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
   791: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
   792: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
   793: 
   794: 	{ 0x80, 0x80, sailorws_gfxbusy_0_r },
   795: 	{ 0x81, 0x81, sailorws_gfxrom_0_r },
   796: 	{ 0xa0, 0xa0, sailorws_gfxbusy_1_r },
   797: 	{ 0xa1, 0xa1, sailorws_gfxrom_1_r },
   798: PORT_END
   799: 
   800: static PORT_WRITE_START( writeport_koinomp )
   801: 	{ 0x10, 0x13, z80ctc_0_w },
   802: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
   803: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
   804: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
   805: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
   806: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
   807: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
   808: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
   809: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
   810: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
   811: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
   812: 
   813: 	{ 0x90, 0x9f, sailorws_paltbl_0_w },
   814: 	{ 0xb0, 0xbf, sailorws_paltbl_1_w },
   815: 
   816: 	{ 0x80, 0x80, sailorws_gfxflag_0_w },
   817: 	{ 0x81, 0x82, sailorws_scrollx_0_w },
   818: 	{ 0x83, 0x84, sailorws_scrolly_0_w },
   819: 	{ 0x85, 0x87, sailorws_radr_0_w },
   820: 	{ 0x88, 0x88, sailorws_sizex_0_w },
   821: 	{ 0x89, 0x89, sailorws_sizey_0_w },
   822: 	{ 0x8a, 0x8b, sailorws_drawx_0_w },
   823: 	{ 0x8c, 0x8d, sailorws_drawy_0_w },
   824: 	{ 0x8f, 0x8f, IOWP_NOP },
   825: 
   826: 	{ 0xa0, 0xa0, sailorws_gfxflag_1_w },
   827: 	{ 0xa1, 0xa2, sailorws_scrollx_1_w },
   828: 	{ 0xa3, 0xa4, sailorws_scrolly_1_w },
   829: 	{ 0xa5, 0xa7, sailorws_radr_1_w },
   830: 	{ 0xa8, 0xa8, sailorws_sizex_1_w },
   831: 	{ 0xa9, 0xa9, sailorws_sizey_1_w },
   832: 	{ 0xaa, 0xab, sailorws_drawx_1_w },
   833: 	{ 0xac, 0xad, sailorws_drawy_1_w },
   834: 	{ 0xaf, 0xaf, IOWP_NOP },
   835: 
   836: 	{ 0xc0, 0xc0, sailorws_sound_w },
   837: 	{ 0xc2, 0xc2, IOWP_NOP },
   838: 	{ 0xc4, 0xc4, IOWP_NOP },
   839: 	{ 0xc6, 0xc6, sailorws_inputportsel_w },
   840: 	{ 0xcf, 0xcf, IOWP_NOP },
   841: PORT_END
   842: 
   843: 
   844: static PORT_READ_START( readport_patimono )
   845: 	{ 0x10, 0x13, z80ctc_0_r },
   846: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
   847: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
   848: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
   849: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
   850: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
   851: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
   852: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
   853: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
   854: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
   855: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
   856: 
   857: 	{ 0xc0, 0xc0, sailorws_gfxbusy_0_r },
   858: 	{ 0xc1, 0xc1, sailorws_gfxrom_0_r },
   859: 	{ 0x80, 0x80, sailorws_gfxbusy_1_r },
   860: 	{ 0x81, 0x81, sailorws_gfxrom_1_r },
   861: PORT_END
   862: 
   863: static PORT_WRITE_START( writeport_patimono )
   864: 	{ 0x10, 0x13, z80ctc_0_w },
   865: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
   866: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
   867: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
   868: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
   869: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
   870: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
   871: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
   872: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
   873: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
   874: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
   875: 
   876: 	{ 0x90, 0x9f, sailorws_paltbl_0_w },
   877: 	{ 0xd0, 0xdf, sailorws_paltbl_1_w },
   878: 
   879: 	{ 0xc0, 0xc0, sailorws_gfxflag_0_w },
   880: 	{ 0xc1, 0xc2, sailorws_scrollx_0_w },
   881: 	{ 0xc3, 0xc4, sailorws_scrolly_0_w },
   882: 	{ 0xc5, 0xc7, sailorws_radr_0_w },
   883: 	{ 0xc8, 0xc8, sailorws_sizex_0_w },
   884: 	{ 0xc9, 0xc9, sailorws_sizey_0_w },
   885: 	{ 0xca, 0xcb, sailorws_drawx_0_w },
   886: 	{ 0xcc, 0xcd, sailorws_drawy_0_w },
   887: 	{ 0xcf, 0xcf, IOWP_NOP },
   888: 
   889: 	{ 0x80, 0x80, sailorws_gfxflag_1_w },
   890: 	{ 0x81, 0x82, sailorws_scrollx_1_w },
   891: 	{ 0x83, 0x84, sailorws_scrolly_1_w },
   892: 	{ 0x85, 0x87, sailorws_radr_1_w },
   893: 	{ 0x88, 0x88, sailorws_sizex_1_w },
   894: 	{ 0x89, 0x89, sailorws_sizey_1_w },
   895: 	{ 0x8a, 0x8b, sailorws_drawx_1_w },
   896: 	{ 0x8c, 0x8d, sailorws_drawy_1_w },
   897: 	{ 0x8f, 0x8f, IOWP_NOP },
   898: 
   899: 	{ 0xa0, 0xa0, sailorws_sound_w },
   900: 	{ 0xa4, 0xa8, IOWP_NOP },
   901: 	{ 0xb0, 0xb8, sailorws_inputportsel_w },
   902: PORT_END
   903: 
   904: 
   905: static PORT_READ_START( readport_mmehyou )
   906: 	{ 0x10, 0x13, z80ctc_0_r },
   907: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
   908: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
   909: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
   910: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
   911: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
   912: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
   913: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
   914: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
   915: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
   916: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
   917: 
   918: 	{ 0x80, 0x80, sailorws_gfxbusy_0_r },
   919: 	{ 0x81, 0x81, sailorws_gfxrom_0_r },
   920: PORT_END
   921: 
   922: static PORT_WRITE_START( writeport_mmehyou )
   923: 	{ 0x10, 0x13, z80ctc_0_w },
   924: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
   925: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
   926: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
   927: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
   928: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
   929: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
   930: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
   931: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
   932: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
   933: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
   934: 
   935: 	{ 0x90, 0x9f, sailorws_paltbl_0_w },
   936: 
   937: 	{ 0x80, 0x80, sailorws_gfxflag_0_w },
   938: 	{ 0x81, 0x82, sailorws_scrollx_0_w },
   939: 	{ 0x83, 0x84, sailorws_scrolly_0_w },
   940: 	{ 0x85, 0x87, sailorws_radr_0_w },
   941: 	{ 0x88, 0x88, sailorws_sizex_0_w },
   942: 	{ 0x89, 0x89, sailorws_sizey_0_w },
   943: 	{ 0x8a, 0x8b, sailorws_drawx_0_w },
   944: 	{ 0x8c, 0x8d, sailorws_drawy_0_w },
   945: 	{ 0x8f, 0x8f, IOWP_NOP },
   946: 
   947: 	{ 0xa0, 0xa0, sailorws_sound_w },
   948: 	{ 0xa4, 0xa4, IOWP_NOP },
   949: 	{ 0xa8, 0xa8, IOWP_NOP },
   950: 	{ 0xb0, 0xb0, sailorws_inputportsel_w },
   951: PORT_END
   952: 
   953: 
   954: static PORT_READ_START( readport_gal10ren )
   955: 	{ 0x10, 0x13, z80ctc_0_r },
   956: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
   957: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
   958: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
   959: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
   960: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
   961: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
   962: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
   963: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
   964: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
   965: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
   966: 
   967: 	{ 0x60, 0x60, sailorws_gfxbusy_0_r },
   968: 	{ 0x61, 0x61, sailorws_gfxrom_0_r },
   969: 	{ 0xa0, 0xa0, sailorws_gfxbusy_1_r },
   970: 	{ 0xa1, 0xa1, sailorws_gfxrom_1_r },
   971: PORT_END
   972: 
   973: static PORT_WRITE_START( writeport_gal10ren )
   974: 	{ 0x10, 0x13, z80ctc_0_w },
   975: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
   976: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
   977: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
   978: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
   979: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
   980: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
   981: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
   982: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
   983: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
   984: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
   985: 
   986: 	{ 0x70, 0x7f, sailorws_paltbl_0_w },
   987: 	{ 0xb0, 0xbf, sailorws_paltbl_1_w },
   988: 
   989: 	{ 0x60, 0x60, sailorws_gfxflag_0_w },
   990: 	{ 0x61, 0x62, sailorws_scrollx_0_w },
   991: 	{ 0x63, 0x64, sailorws_scrolly_0_w },
   992: 	{ 0x65, 0x67, sailorws_radr_0_w },
   993: 	{ 0x68, 0x68, sailorws_sizex_0_w },
   994: 	{ 0x69, 0x69, sailorws_sizey_0_w },
   995: 	{ 0x6a, 0x6b, sailorws_drawx_0_w },
   996: 	{ 0x6c, 0x6d, sailorws_drawy_0_w },
   997: 	{ 0x6f, 0x6f, IOWP_NOP },
   998: 
   999: 	{ 0xa0, 0xa0, sailorws_gfxflag_1_w },
  1000: 	{ 0xa1, 0xa2, sailorws_scrollx_1_w },
  1001: 	{ 0xa3, 0xa4, sailorws_scrolly_1_w },
  1002: 	{ 0xa5, 0xa7, sailorws_radr_1_w },
  1003: 	{ 0xa8, 0xa8, sailorws_sizex_1_w },
  1004: 	{ 0xa9, 0xa9, sailorws_sizey_1_w },
  1005: 	{ 0xaa, 0xab, sailorws_drawx_1_w },
  1006: 	{ 0xac, 0xad, sailorws_drawy_1_w },
  1007: 	{ 0xaf, 0xaf, IOWP_NOP },
  1008: 
  1009: 	{ 0xc0, 0xc0, sailorws_sound_w },
  1010: 	{ 0xc8, 0xc8, IOWP_NOP },
  1011: 	{ 0xd0, 0xd0, IOWP_NOP },
  1012: 	{ 0xd8, 0xd8, sailorws_inputportsel_w },
  1013: PORT_END
  1014: 
  1015: 
  1016: static PORT_READ_START( readport_renaiclb )
  1017: 	{ 0x10, 0x13, z80ctc_0_r },
  1018: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1019: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1020: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1021: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1022: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1023: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1024: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1025: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1026: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1027: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1028: 
  1029: 	{ 0x60, 0x60, sailorws_gfxbusy_1_r },
  1030: 	{ 0x61, 0x61, sailorws_gfxrom_1_r },
  1031: 	{ 0xe0, 0xe0, sailorws_gfxbusy_0_r },
  1032: 	{ 0xe1, 0xe1, sailorws_gfxrom_0_r },
  1033: PORT_END
  1034: 
  1035: static PORT_WRITE_START( writeport_renaiclb )
  1036: 	{ 0x10, 0x13, z80ctc_0_w },
  1037: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1038: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1039: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1040: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1041: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1042: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1043: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1044: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1045: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1046: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1047: 
  1048: 	{ 0x70, 0x7f, sailorws_paltbl_1_w },
  1049: 	{ 0xf0, 0xff, sailorws_paltbl_0_w },
  1050: 
  1051: 	{ 0x60, 0x60, sailorws_gfxflag_1_w },
  1052: 	{ 0x61, 0x62, sailorws_scrollx_1_w },
  1053: 	{ 0x63, 0x64, sailorws_scrolly_1_w },
  1054: 	{ 0x65, 0x67, sailorws_radr_1_w },
  1055: 	{ 0x68, 0x68, sailorws_sizex_1_w },
  1056: 	{ 0x69, 0x69, sailorws_sizey_1_w },
  1057: 	{ 0x6a, 0x6b, sailorws_drawx_1_w },
  1058: 	{ 0x6c, 0x6d, sailorws_drawy_1_w },
  1059: 	{ 0x6f, 0x6f, IOWP_NOP },
  1060: 
  1061: 	{ 0xe0, 0xe0, sailorws_gfxflag_0_w },
  1062: 	{ 0xe1, 0xe2, sailorws_scrollx_0_w },
  1063: 	{ 0xe3, 0xe4, sailorws_scrolly_0_w },
  1064: 	{ 0xe5, 0xe7, sailorws_radr_0_w },
  1065: 	{ 0xe8, 0xe8, sailorws_sizex_0_w },
  1066: 	{ 0xe9, 0xe9, sailorws_sizey_0_w },
  1067: 	{ 0xea, 0xeb, sailorws_drawx_0_w },
  1068: 	{ 0xec, 0xed, sailorws_drawy_0_w },
  1069: 	{ 0xef, 0xef, IOWP_NOP },
  1070: 
  1071: 	{ 0x20, 0x20, sailorws_sound_w },
  1072: 	{ 0x24, 0x24, IOWP_NOP },
  1073: 	{ 0x28, 0x28, IOWP_NOP },
  1074: 	{ 0x2c, 0x2c, sailorws_inputportsel_w },
  1075: PORT_END
  1076: 
  1077: 
  1078: static PORT_READ_START( readport_mjlaman )
  1079: 	{ 0x10, 0x13, z80ctc_0_r },
  1080: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1081: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1082: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1083: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1084: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1085: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1086: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1087: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1088: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1089: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1090: 
  1091: 	{ 0x80, 0x80, sailorws_gfxbusy_0_r },
  1092: 	{ 0x81, 0x81, sailorws_gfxrom_0_r },
  1093: 	{ 0xe0, 0xe0, sailorws_gfxbusy_1_r },
  1094: 	{ 0xe1, 0xe1, sailorws_gfxrom_1_r },
  1095: PORT_END
  1096: 
  1097: static PORT_WRITE_START( writeport_mjlaman )
  1098: 	{ 0x10, 0x13, z80ctc_0_w },
  1099: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1100: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1101: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1102: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1103: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1104: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1105: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1106: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1107: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1108: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1109: 
  1110: 	{ 0x90, 0x9f, sailorws_paltbl_0_w },
  1111: 	{ 0xf0, 0xff, sailorws_paltbl_1_w },
  1112: 
  1113: 	{ 0x80, 0x80, sailorws_gfxflag_0_w },
  1114: 	{ 0x81, 0x82, sailorws_scrollx_0_w },
  1115: 	{ 0x83, 0x84, sailorws_scrolly_0_w },
  1116: 	{ 0x85, 0x87, sailorws_radr_0_w },
  1117: 	{ 0x88, 0x88, sailorws_sizex_0_w },
  1118: 	{ 0x89, 0x89, sailorws_sizey_0_w },
  1119: 	{ 0x8a, 0x8b, sailorws_drawx_0_w },
  1120: 	{ 0x8c, 0x8d, sailorws_drawy_0_w },
  1121: 	{ 0x8f, 0x8f, IOWP_NOP },
  1122: 
  1123: 	{ 0xe0, 0xe0, sailorws_gfxflag_1_w },
  1124: 	{ 0xe1, 0xe2, sailorws_scrollx_1_w },
  1125: 	{ 0xe3, 0xe4, sailorws_scrolly_1_w },
  1126: 	{ 0xe5, 0xe7, sailorws_radr_1_w },
  1127: 	{ 0xe8, 0xe8, sailorws_sizex_1_w },
  1128: 	{ 0xe9, 0xe9, sailorws_sizey_1_w },
  1129: 	{ 0xea, 0xeb, sailorws_drawx_1_w },
  1130: 	{ 0xec, 0xed, sailorws_drawy_1_w },
  1131: 	{ 0xef, 0xef, IOWP_NOP },
  1132: 
  1133: 	{ 0x20, 0x20, sailorws_sound_w },
  1134: 	{ 0x22, 0x22, IOWP_NOP },
  1135: 	{ 0x24, 0x24, IOWP_NOP },
  1136: 	{ 0x26, 0x26, sailorws_inputportsel_w },
  1137: PORT_END
  1138: 
  1139: 
  1140: static PORT_READ_START( readport_mkeibaou )
  1141: 	{ 0x10, 0x13, z80ctc_0_r },
  1142: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1143: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1144: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1145: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1146: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1147: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1148: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1149: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1150: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1151: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1152: 
  1153: 	{ 0x80, 0x80, sailorws_gfxbusy_0_r },
  1154: 	{ 0x81, 0x81, sailorws_gfxrom_0_r },
  1155: 	{ 0xa0, 0xa0, sailorws_gfxbusy_1_r },
  1156: 	{ 0xa1, 0xa1, sailorws_gfxrom_1_r },
  1157: PORT_END
  1158: 
  1159: static PORT_WRITE_START( writeport_mkeibaou )
  1160: 	{ 0x10, 0x13, z80ctc_0_w },
  1161: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1162: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1163: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1164: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1165: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1166: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1167: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1168: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1169: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1170: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1171: 
  1172: 	{ 0x90, 0x9f, sailorws_paltbl_0_w },
  1173: 	{ 0xb0, 0xbf, sailorws_paltbl_1_w },
  1174: 
  1175: 	{ 0x80, 0x80, sailorws_gfxflag_0_w },
  1176: 	{ 0x81, 0x82, sailorws_scrollx_0_w },
  1177: 	{ 0x83, 0x84, sailorws_scrolly_0_w },
  1178: 	{ 0x85, 0x87, sailorws_radr_0_w },
  1179: 	{ 0x88, 0x88, sailorws_sizex_0_w },
  1180: 	{ 0x89, 0x89, sailorws_sizey_0_w },
  1181: 	{ 0x8a, 0x8b, sailorws_drawx_0_w },
  1182: 	{ 0x8c, 0x8d, sailorws_drawy_0_w },
  1183: 	{ 0x8f, 0x8f, IOWP_NOP },
  1184: 
  1185: 	{ 0xa0, 0xa0, sailorws_gfxflag_1_w },
  1186: 	{ 0xa1, 0xa2, sailorws_scrollx_1_w },
  1187: 	{ 0xa3, 0xa4, sailorws_scrolly_1_w },
  1188: 	{ 0xa5, 0xa7, sailorws_radr_1_w },
  1189: 	{ 0xa8, 0xa8, sailorws_sizex_1_w },
  1190: 	{ 0xa9, 0xa9, sailorws_sizey_1_w },
  1191: 	{ 0xaa, 0xab, sailorws_drawx_1_w },
  1192: 	{ 0xac, 0xad, sailorws_drawy_1_w },
  1193: 	{ 0xaf, 0xaf, IOWP_NOP },
  1194: 
  1195: 	{ 0xd8, 0xd8, sailorws_sound_w },
  1196: 	{ 0xda, 0xda, IOWP_NOP },
  1197: 	{ 0xdc, 0xdc, IOWP_NOP },
  1198: 	{ 0xde, 0xde, sailorws_inputportsel_w },
  1199: PORT_END
  1200: 
  1201: 
  1202: static PORT_READ_START( readport_pachiten )
  1203: 	{ 0x10, 0x13, z80ctc_0_r },
  1204: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1205: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1206: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1207: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1208: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1209: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1210: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1211: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1212: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1213: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1214: 
  1215: 	{ 0x60, 0x60, sailorws_gfxbusy_0_r },
  1216: 	{ 0x61, 0x61, sailorws_gfxrom_0_r },
  1217: 	{ 0xa0, 0xa0, sailorws_gfxbusy_1_r },
  1218: 	{ 0xa1, 0xa1, sailorws_gfxrom_1_r },
  1219: PORT_END
  1220: 
  1221: static PORT_WRITE_START( writeport_pachiten )
  1222: 	{ 0x10, 0x13, z80ctc_0_w },
  1223: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1224: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1225: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1226: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1227: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1228: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1229: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1230: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1231: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1232: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1233: 
  1234: 	{ 0x70, 0x7f, sailorws_paltbl_0_w },
  1235: 	{ 0xb0, 0xbf, sailorws_paltbl_1_w },
  1236: 
  1237: 	{ 0x60, 0x60, sailorws_gfxflag_0_w },
  1238: 	{ 0x61, 0x62, sailorws_scrollx_0_w },
  1239: 	{ 0x63, 0x64, sailorws_scrolly_0_w },
  1240: 	{ 0x65, 0x67, sailorws_radr_0_w },
  1241: 	{ 0x68, 0x68, sailorws_sizex_0_w },
  1242: 	{ 0x69, 0x69, sailorws_sizey_0_w },
  1243: 	{ 0x6a, 0x6b, sailorws_drawx_0_w },
  1244: 	{ 0x6c, 0x6d, sailorws_drawy_0_w },
  1245: 	{ 0x6f, 0x6f, IOWP_NOP },
  1246: 
  1247: 	{ 0xa0, 0xa0, sailorws_gfxflag_1_w },
  1248: 	{ 0xa1, 0xa2, sailorws_scrollx_1_w },
  1249: 	{ 0xa3, 0xa4, sailorws_scrolly_1_w },
  1250: 	{ 0xa5, 0xa7, sailorws_radr_1_w },
  1251: 	{ 0xa8, 0xa8, sailorws_sizex_1_w },
  1252: 	{ 0xa9, 0xa9, sailorws_sizey_1_w },
  1253: 	{ 0xaa, 0xab, sailorws_drawx_1_w },
  1254: 	{ 0xac, 0xad, sailorws_drawy_1_w },
  1255: 	{ 0xaf, 0xaf, IOWP_NOP },
  1256: 
  1257: 	{ 0xe0, 0xe0, sailorws_sound_w },
  1258: 	{ 0xe2, 0xe2, IOWP_NOP },
  1259: 	{ 0xe4, 0xe4, IOWP_NOP },
  1260: 	{ 0xe6, 0xe6, sailorws_inputportsel_w },
  1261: PORT_END
  1262: 
  1263: 
  1264: static PORT_READ_START( readport_sailorws )
  1265: 	{ 0x10, 0x13, z80ctc_0_r },
  1266: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1267: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1268: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1269: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1270: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1271: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1272: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1273: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1274: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1275: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1276: 
  1277: 	{ 0x60, 0x60, sailorws_gfxbusy_0_r },
  1278: 	{ 0x61, 0x61, sailorws_gfxrom_0_r },
  1279: 	{ 0x80, 0x80, sailorws_gfxbusy_1_r },
  1280: 	{ 0x81, 0x81, sailorws_gfxrom_1_r },
  1281: PORT_END
  1282: 
  1283: static PORT_WRITE_START( writeport_sailorws )
  1284: 	{ 0x10, 0x13, z80ctc_0_w },
  1285: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1286: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1287: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1288: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1289: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1290: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1291: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1292: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1293: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1294: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1295: 
  1296: 	{ 0x70, 0x7f, sailorws_paltbl_0_w },
  1297: 	{ 0x90, 0x9f, sailorws_paltbl_1_w },
  1298: 
  1299: 	{ 0x60, 0x60, sailorws_gfxflag_0_w },
  1300: 	{ 0x61, 0x62, sailorws_scrollx_0_w },
  1301: 	{ 0x63, 0x64, sailorws_scrolly_0_w },
  1302: 	{ 0x65, 0x67, sailorws_radr_0_w },
  1303: 	{ 0x68, 0x68, sailorws_sizex_0_w },
  1304: 	{ 0x69, 0x69, sailorws_sizey_0_w },
  1305: 	{ 0x6a, 0x6b, sailorws_drawx_0_w },
  1306: 	{ 0x6c, 0x6d, sailorws_drawy_0_w },
  1307: 	{ 0x6f, 0x6f, IOWP_NOP },
  1308: 
  1309: 	{ 0x80, 0x80, sailorws_gfxflag_1_w },
  1310: 	{ 0x81, 0x82, sailorws_scrollx_1_w },
  1311: 	{ 0x83, 0x84, sailorws_scrolly_1_w },
  1312: 	{ 0x85, 0x87, sailorws_radr_1_w },
  1313: 	{ 0x88, 0x88, sailorws_sizex_1_w },
  1314: 	{ 0x89, 0x89, sailorws_sizey_1_w },
  1315: 	{ 0x8a, 0x8b, sailorws_drawx_1_w },
  1316: 	{ 0x8c, 0x8d, sailorws_drawy_1_w },
  1317: 	{ 0x8f, 0x8f, IOWP_NOP },
  1318: 
  1319: 	{ 0xf0, 0xf0, sailorws_sound_w },
  1320: 	{ 0xf2, 0xf2, IOWP_NOP },
  1321: 	{ 0xf4, 0xf4, IOWP_NOP },
  1322: 	{ 0xf6, 0xf6, sailorws_inputportsel_w },
  1323: PORT_END
  1324: 
  1325: 
  1326: static PORT_READ_START( readport_sailorwr )
  1327: 	{ 0x10, 0x13, z80ctc_0_r },
  1328: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1329: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1330: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1331: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1332: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1333: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1334: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1335: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1336: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1337: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1338: 
  1339: 	{ 0x60, 0x60, sailorws_gfxbusy_0_r },
  1340: 	{ 0x61, 0x61, sailorws_gfxrom_0_r },
  1341: 	{ 0x80, 0x80, sailorws_gfxbusy_1_r },
  1342: 	{ 0x81, 0x81, sailorws_gfxrom_1_r },
  1343: PORT_END
  1344: 
  1345: static PORT_WRITE_START( writeport_sailorwr )
  1346: 	{ 0x10, 0x13, z80ctc_0_w },
  1347: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1348: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1349: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1350: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1351: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1352: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1353: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1354: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1355: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1356: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1357: 
  1358: 	{ 0x70, 0x7f, sailorws_paltbl_0_w },
  1359: 	{ 0x90, 0x9f, sailorws_paltbl_1_w },
  1360: 
  1361: 	{ 0x60, 0x60, sailorws_gfxflag_0_w },
  1362: 	{ 0x61, 0x62, sailorws_scrollx_0_w },
  1363: 	{ 0x63, 0x64, sailorws_scrolly_0_w },
  1364: 	{ 0x65, 0x67, sailorws_radr_0_w },
  1365: 	{ 0x68, 0x68, sailorws_sizex_0_w },
  1366: 	{ 0x69, 0x69, sailorws_sizey_0_w },
  1367: 	{ 0x6a, 0x6b, sailorws_drawx_0_w },
  1368: 	{ 0x6c, 0x6d, sailorws_drawy_0_w },
  1369: 	{ 0x6f, 0x6f, IOWP_NOP },
  1370: 
  1371: 	{ 0x80, 0x80, sailorws_gfxflag_1_w },
  1372: 	{ 0x81, 0x82, sailorws_scrollx_1_w },
  1373: 	{ 0x83, 0x84, sailorws_scrolly_1_w },
  1374: 	{ 0x85, 0x87, sailorws_radr_1_w },
  1375: 	{ 0x88, 0x88, sailorws_sizex_1_w },
  1376: 	{ 0x89, 0x89, sailorws_sizey_1_w },
  1377: 	{ 0x8a, 0x8b, sailorws_drawx_1_w },
  1378: 	{ 0x8c, 0x8d, sailorws_drawy_1_w },
  1379: 	{ 0x8f, 0x8f, IOWP_NOP },
  1380: 
  1381: 	{ 0xf8, 0xf8, sailorws_sound_w },
  1382: 	{ 0xfa, 0xfa, IOWP_NOP },
  1383: 	{ 0xfc, 0xfc, IOWP_NOP },
  1384: 	{ 0xfe, 0xfe, sailorws_inputportsel_w },
  1385: PORT_END
  1386: 
  1387: 
  1388: static PORT_READ_START( readport_psailor1 )
  1389: 	{ 0x10, 0x13, z80ctc_0_r },
  1390: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1391: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1392: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1393: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1394: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1395: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1396: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1397: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1398: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1399: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1400: 
  1401: 	{ 0x60, 0x60, sailorws_gfxbusy_0_r },
  1402: 	{ 0x61, 0x61, sailorws_gfxrom_0_r },
  1403: 	{ 0xc0, 0xc0, sailorws_gfxbusy_1_r },
  1404: 	{ 0xc1, 0xc1, sailorws_gfxrom_1_r },
  1405: PORT_END
  1406: 
  1407: static PORT_WRITE_START( writeport_psailor1 )
  1408: 	{ 0x10, 0x13, z80ctc_0_w },
  1409: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1410: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1411: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1412: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1413: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1414: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1415: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1416: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1417: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1418: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1419: 
  1420: 	{ 0x70, 0x7f, sailorws_paltbl_0_w },
  1421: 	{ 0xd0, 0xdf, sailorws_paltbl_1_w },
  1422: 
  1423: 	{ 0x60, 0x60, sailorws_gfxflag_0_w },
  1424: 	{ 0x61, 0x62, sailorws_scrollx_0_w },
  1425: 	{ 0x63, 0x64, sailorws_scrolly_0_w },
  1426: 	{ 0x65, 0x67, sailorws_radr_0_w },
  1427: 	{ 0x68, 0x68, sailorws_sizex_0_w },
  1428: 	{ 0x69, 0x69, sailorws_sizey_0_w },
  1429: 	{ 0x6a, 0x6b, sailorws_drawx_0_w },
  1430: 	{ 0x6c, 0x6d, sailorws_drawy_0_w },
  1431: 	{ 0x6f, 0x6f, IOWP_NOP },
  1432: 
  1433: 	{ 0xc0, 0xc0, sailorws_gfxflag_1_w },
  1434: 	{ 0xc1, 0xc2, sailorws_scrollx_1_w },
  1435: 	{ 0xc3, 0xc4, sailorws_scrolly_1_w },
  1436: 	{ 0xc5, 0xc7, sailorws_radr_1_w },
  1437: 	{ 0xc8, 0xc8, sailorws_sizex_1_w },
  1438: 	{ 0xc9, 0xc9, sailorws_sizey_1_w },
  1439: 	{ 0xca, 0xcb, sailorws_drawx_1_w },
  1440: 	{ 0xcc, 0xcd, sailorws_drawy_1_w },
  1441: 	{ 0xcf, 0xcf, IOWP_NOP },
  1442: 
  1443: 	{ 0xf0, 0xf0, sailorws_sound_w },
  1444: 	{ 0xf2, 0xf2, IOWP_NOP },
  1445: 	{ 0xf4, 0xf4, IOWP_NOP },
  1446: 	{ 0xf6, 0xf6, sailorws_inputportsel_w },
  1447: PORT_END
  1448: 
  1449: 
  1450: static PORT_READ_START( readport_psailor2 )
  1451: 	{ 0x10, 0x13, z80ctc_0_r },
  1452: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1453: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1454: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1455: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1456: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1457: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1458: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1459: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1460: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1461: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1462: 
  1463: 	{ 0x60, 0x60, sailorws_gfxbusy_0_r },
  1464: 	{ 0x61, 0x61, sailorws_gfxrom_0_r },
  1465: 	{ 0xa0, 0xa0, sailorws_gfxbusy_1_r },
  1466: 	{ 0xa1, 0xa1, sailorws_gfxrom_1_r },
  1467: PORT_END
  1468: 
  1469: static PORT_WRITE_START( writeport_psailor2 )
  1470: 	{ 0x10, 0x13, z80ctc_0_w },
  1471: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1472: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1473: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1474: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1475: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1476: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1477: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1478: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1479: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1480: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1481: 
  1482: 	{ 0x70, 0x7f, sailorws_paltbl_0_w },
  1483: 	{ 0xb0, 0xbf, sailorws_paltbl_1_w },
  1484: 
  1485: 	{ 0x60, 0x60, sailorws_gfxflag_0_w },
  1486: 	{ 0x61, 0x62, sailorws_scrollx_0_w },
  1487: 	{ 0x63, 0x64, sailorws_scrolly_0_w },
  1488: 	{ 0x65, 0x67, sailorws_radr_0_w },
  1489: 	{ 0x68, 0x68, sailorws_sizex_0_w },
  1490: 	{ 0x69, 0x69, sailorws_sizey_0_w },
  1491: 	{ 0x6a, 0x6b, sailorws_drawx_0_w },
  1492: 	{ 0x6c, 0x6d, sailorws_drawy_0_w },
  1493: 	{ 0x6f, 0x6f, IOWP_NOP },
  1494: 
  1495: 	{ 0xa0, 0xa0, sailorws_gfxflag_1_w },
  1496: 	{ 0xa1, 0xa2, sailorws_scrollx_1_w },
  1497: 	{ 0xa3, 0xa4, sailorws_scrolly_1_w },
  1498: 	{ 0xa5, 0xa7, sailorws_radr_1_w },
  1499: 	{ 0xa8, 0xa8, sailorws_sizex_1_w },
  1500: 	{ 0xa9, 0xa9, sailorws_sizey_1_w },
  1501: 	{ 0xaa, 0xab, sailorws_drawx_1_w },
  1502: 	{ 0xac, 0xad, sailorws_drawy_1_w },
  1503: 	{ 0xaf, 0xaf, IOWP_NOP },
  1504: 
  1505: 	{ 0xe0, 0xe0, sailorws_sound_w },
  1506: 	{ 0xe2, 0xe2, IOWP_NOP },
  1507: 	{ 0xe4, 0xe4, IOWP_NOP },
  1508: 	{ 0xf6, 0xf6, sailorws_inputportsel_w },
  1509: PORT_END
  1510: 
  1511: 
  1512: static PORT_READ_START( readport_otatidai )
  1513: 	{ 0x10, 0x13, z80ctc_0_r },
  1514: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1515: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1516: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1517: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1518: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1519: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1520: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1521: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1522: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1523: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1524: 
  1525: 	{ 0x60, 0x60, sailorws_gfxbusy_0_r },
  1526: 	{ 0x61, 0x61, sailorws_gfxrom_0_r },
  1527: 	{ 0x80, 0x80, sailorws_gfxbusy_1_r },
  1528: 	{ 0x81, 0x81, sailorws_gfxrom_1_r },
  1529: PORT_END
  1530: 
  1531: static PORT_WRITE_START( writeport_otatidai )
  1532: 	{ 0x10, 0x13, z80ctc_0_w },
  1533: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1534: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1535: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1536: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1537: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1538: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1539: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1540: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1541: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1542: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1543: 
  1544: 	{ 0x70, 0x7f, sailorws_paltbl_0_w },
  1545: 	{ 0x90, 0x9f, sailorws_paltbl_1_w },
  1546: 
  1547: 	{ 0x60, 0x60, sailorws_gfxflag_0_w },
  1548: 	{ 0x61, 0x62, sailorws_scrollx_0_w },
  1549: 	{ 0x63, 0x64, sailorws_scrolly_0_w },
  1550: 	{ 0x65, 0x67, sailorws_radr_0_w },
  1551: 	{ 0x68, 0x68, sailorws_sizex_0_w },
  1552: 	{ 0x69, 0x69, sailorws_sizey_0_w },
  1553: 	{ 0x6a, 0x6b, sailorws_drawx_0_w },
  1554: 	{ 0x6c, 0x6d, sailorws_drawy_0_w },
  1555: 	{ 0x6f, 0x6f, IOWP_NOP },
  1556: 
  1557: 	{ 0x80, 0x80, sailorws_gfxflag_1_w },
  1558: 	{ 0x81, 0x82, sailorws_scrollx_1_w },
  1559: 	{ 0x83, 0x84, sailorws_scrolly_1_w },
  1560: 	{ 0x85, 0x87, sailorws_radr_1_w },
  1561: 	{ 0x88, 0x88, sailorws_sizex_1_w },
  1562: 	{ 0x89, 0x89, sailorws_sizey_1_w },
  1563: 	{ 0x8a, 0x8b, sailorws_drawx_1_w },
  1564: 	{ 0x8c, 0x8d, sailorws_drawy_1_w },
  1565: 	{ 0x8f, 0x8f, IOWP_NOP },
  1566: 
  1567: 	{ 0xa0, 0xa0, sailorws_sound_w },
  1568: 	{ 0xa8, 0xa8, IOWP_NOP },
  1569: 	{ 0xb0, 0xb0, IOWP_NOP },
  1570: 	{ 0xb8, 0xb8, sailorws_inputportsel_w },
  1571: PORT_END
  1572: 
  1573: 
  1574: static PORT_READ_START( readport_ngpgal )
  1575: 	{ 0x10, 0x13, z80ctc_0_r },
  1576: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1577: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1578: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1579: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1580: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1581: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1582: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1583: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1584: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1585: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1586: 
  1587: 	{ 0xc0, 0xc0, sailorws_gfxbusy_0_r },
  1588: 	{ 0xc1, 0xc1, sailorws_gfxrom_0_r },
  1589: PORT_END
  1590: 
  1591: static PORT_WRITE_START( writeport_ngpgal )
  1592: 	{ 0x10, 0x13, z80ctc_0_w },
  1593: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1594: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1595: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1596: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1597: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1598: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1599: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1600: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1601: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1602: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1603: 
  1604: 	{ 0xd0, 0xdf, sailorws_paltbl_0_w },
  1605: 
  1606: 	{ 0xc0, 0xc0, sailorws_gfxflag_0_w },
  1607: 	{ 0xc1, 0xc2, sailorws_scrollx_0_w },
  1608: 	{ 0xc3, 0xc4, sailorws_scrolly_0_w },
  1609: 	{ 0xc5, 0xc7, sailorws_radr_0_w },
  1610: 	{ 0xc8, 0xc8, sailorws_sizex_0_w },
  1611: 	{ 0xc9, 0xc9, sailorws_sizey_0_w },
  1612: 	{ 0xca, 0xcb, sailorws_drawx_0_w },
  1613: 	{ 0xcc, 0xcd, sailorws_drawy_0_w },
  1614: 	{ 0xcf, 0xcf, IOWP_NOP },
  1615: 
  1616: 	{ 0xa0, 0xa0, sailorws_sound_w },
  1617: 	{ 0xa4, 0xa4, IOWP_NOP },
  1618: 	{ 0xa8, 0xa8, IOWP_NOP },
  1619: 	{ 0xb0, 0xb0, sailorws_inputportsel_w },
  1620: PORT_END
  1621: 
  1622: 
  1623: static PORT_READ_START( readport_mjgottsu )
  1624: 	{ 0x10, 0x13, z80ctc_0_r },
  1625: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1626: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1627: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1628: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1629: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1630: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1631: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1632: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1633: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1634: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1635: 
  1636: 	{ 0x80, 0x80, sailorws_gfxbusy_0_r },
  1637: 	{ 0x81, 0x81, sailorws_gfxrom_0_r },
  1638: PORT_END
  1639: 
  1640: static PORT_WRITE_START( writeport_mjgottsu )
  1641: 	{ 0x10, 0x13, z80ctc_0_w },
  1642: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1643: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1644: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1645: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1646: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1647: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1648: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1649: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1650: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1651: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1652: 
  1653: 	{ 0x90, 0x9f, sailorws_paltbl_0_w },
  1654: 
  1655: 	{ 0x80, 0x80, sailorws_gfxflag_0_w },
  1656: 	{ 0x81, 0x82, sailorws_scrollx_0_w },
  1657: 	{ 0x83, 0x84, sailorws_scrolly_0_w },
  1658: 	{ 0x85, 0x87, sailorws_radr_0_w },
  1659: 	{ 0x88, 0x88, sailorws_sizex_0_w },
  1660: 	{ 0x89, 0x89, sailorws_sizey_0_w },
  1661: 	{ 0x8a, 0x8b, sailorws_drawx_0_w },
  1662: 	{ 0x8c, 0x8d, sailorws_drawy_0_w },
  1663: 	{ 0x8f, 0x8f, IOWP_NOP },
  1664: 
  1665: 	{ 0xa0, 0xa0, sailorws_sound_w },
  1666: 	{ 0xa4, 0xa4, IOWP_NOP },
  1667: 	{ 0xa8, 0xa8, IOWP_NOP },
  1668: 	{ 0xb0, 0xb0, sailorws_inputportsel_w },
  1669: PORT_END
  1670: 
  1671: 
  1672: static PORT_READ_START( readport_cmehyou )
  1673: 	{ 0x10, 0x13, z80ctc_0_r },
  1674: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1675: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1676: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1677: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1678: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1679: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1680: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1681: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1682: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1683: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1684: 
  1685: 	{ 0xc0, 0xc0, sailorws_gfxbusy_0_r },
  1686: 	{ 0xc1, 0xc1, sailorws_gfxrom_0_r },
  1687: PORT_END
  1688: 
  1689: static PORT_WRITE_START( writeport_cmehyou )
  1690: 	{ 0x10, 0x13, z80ctc_0_w },
  1691: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1692: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1693: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1694: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1695: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1696: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1697: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1698: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1699: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1700: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1701: 
  1702: 	{ 0xd0, 0xdf, sailorws_paltbl_0_w },
  1703: 
  1704: 	{ 0xc0, 0xc0, sailorws_gfxflag_0_w },
  1705: 	{ 0xc1, 0xc2, sailorws_scrollx_0_w },
  1706: 	{ 0xc3, 0xc4, sailorws_scrolly_0_w },
  1707: 	{ 0xc5, 0xc7, sailorws_radr_0_w },
  1708: 	{ 0xc8, 0xc8, sailorws_sizex_0_w },
  1709: 	{ 0xc9, 0xc9, sailorws_sizey_0_w },
  1710: 	{ 0xca, 0xcb, sailorws_drawx_0_w },
  1711: 	{ 0xcc, 0xcd, sailorws_drawy_0_w },
  1712: 	{ 0xcf, 0xcf, IOWP_NOP },
  1713: 
  1714: 	{ 0xa0, 0xa0, sailorws_sound_w },
  1715: 	{ 0xa8, 0xa8, IOWP_NOP },
  1716: 	{ 0xb0, 0xb0, sailorws_inputportsel_w },
  1717: 	{ 0xb4, 0xb4, IOWP_NOP },
  1718: PORT_END
  1719: 
  1720: 
  1721: static PORT_READ_START( readport_mjkoiura )
  1722: 	{ 0x10, 0x13, z80ctc_0_r },
  1723: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1724: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1725: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1726: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1727: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1728: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1729: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1730: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1731: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1732: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1733: 
  1734: 	{ 0x80, 0x80, sailorws_gfxbusy_0_r },
  1735: 	{ 0x81, 0x81, sailorws_gfxrom_0_r },
  1736: PORT_END
  1737: 
  1738: static PORT_WRITE_START( writeport_mjkoiura )
  1739: 	{ 0x10, 0x13, z80ctc_0_w },
  1740: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1741: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1742: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1743: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1744: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1745: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1746: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1747: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1748: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1749: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1750: 
  1751: 	{ 0x90, 0x9f, sailorws_paltbl_0_w },
  1752: 
  1753: 	{ 0x80, 0x80, sailorws_gfxflag_0_w },
  1754: 	{ 0x81, 0x82, sailorws_scrollx_0_w },
  1755: 	{ 0x83, 0x84, sailorws_scrolly_0_w },
  1756: 	{ 0x85, 0x87, sailorws_radr_0_w },
  1757: 	{ 0x88, 0x88, sailorws_sizex_0_w },
  1758: 	{ 0x89, 0x89, sailorws_sizey_0_w },
  1759: 	{ 0x8a, 0x8b, sailorws_drawx_0_w },
  1760: 	{ 0x8c, 0x8d, sailorws_drawy_0_w },
  1761: 	{ 0x8f, 0x8f, IOWP_NOP },
  1762: 
  1763: 	{ 0xa0, 0xa0, sailorws_sound_w },
  1764: 	{ 0xa4, 0xa4, IOWP_NOP },
  1765: 	{ 0xa8, 0xa8, IOWP_NOP },
  1766: 	{ 0xb0, 0xb0, sailorws_inputportsel_w },
  1767: PORT_END
  1768: 
  1769: 
  1770: static PORT_READ_START( readport_mscoutm )
  1771: 	{ 0x10, 0x13, z80ctc_0_r },
  1772: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1773: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1774: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1775: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1776: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1777: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1778: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1779: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1780: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1781: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1782: 
  1783: 	{ 0x80, 0x80, mscoutm_dipsw_1_r },
  1784: 	{ 0x82, 0x82, mscoutm_dipsw_0_r },
  1785: 	{ 0xc0, 0xc0, sailorws_gfxbusy_0_r },
  1786: 	{ 0xc1, 0xc1, sailorws_gfxrom_0_r },
  1787: 	{ 0xe0, 0xe0, sailorws_gfxbusy_1_r },
  1788: 	{ 0xe1, 0xe1, sailorws_gfxrom_1_r },
  1789: PORT_END
  1790: 
  1791: static PORT_WRITE_START( writeport_mscoutm )
  1792: 	{ 0x10, 0x13, z80ctc_0_w },
  1793: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1794: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1795: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1796: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1797: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1798: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1799: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1800: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1801: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1802: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1803: 
  1804: 	{ 0xd0, 0xdf, sailorws_paltbl_0_w },
  1805: 	{ 0xf0, 0xff, sailorws_paltbl_1_w },
  1806: 
  1807: 	{ 0xa0, 0xa6, IOWP_NOP },			// nb22090 param ?
  1808: 
  1809: 	{ 0xc0, 0xc0, sailorws_gfxflag_0_w },
  1810: 	{ 0xc1, 0xc2, sailorws_scrollx_0_w },
  1811: 	{ 0xc3, 0xc4, sailorws_scrolly_0_w },
  1812: 	{ 0xc5, 0xc7, sailorws_radr_0_w },
  1813: 	{ 0xc8, 0xc8, sailorws_sizex_0_w },
  1814: 	{ 0xc9, 0xc9, sailorws_sizey_0_w },
  1815: 	{ 0xca, 0xcb, sailorws_drawx_0_w },
  1816: 	{ 0xcc, 0xcd, sailorws_drawy_0_w },
  1817: 	{ 0xcf, 0xcf, IOWP_NOP },
  1818: 
  1819: 	{ 0xe0, 0xe0, sailorws_gfxflag_1_w },
  1820: 	{ 0xe1, 0xe2, sailorws_scrollx_1_w },
  1821: 	{ 0xe3, 0xe4, sailorws_scrolly_1_w },
  1822: 	{ 0xe5, 0xe7, sailorws_radr_1_w },
  1823: 	{ 0xe8, 0xe8, sailorws_sizex_1_w },
  1824: 	{ 0xe9, 0xe9, sailorws_sizey_1_w },
  1825: 	{ 0xea, 0xeb, sailorws_drawx_1_w },
  1826: 	{ 0xec, 0xed, sailorws_drawy_1_w },
  1827: 	{ 0xef, 0xef, IOWP_NOP },
  1828: 
  1829: 	{ 0x84, 0x84, sailorws_sound_w },
  1830: PORT_END
  1831: 
  1832: 
  1833: static PORT_READ_START( readport_imekura )
  1834: 	{ 0x10, 0x13, z80ctc_0_r },
  1835: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1836: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1837: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1838: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1839: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1840: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1841: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1842: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1843: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1844: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1845: 
  1846: 	{ 0x80, 0x80, mscoutm_dipsw_1_r },
  1847: 	{ 0x82, 0x82, mscoutm_dipsw_0_r },
  1848: 	{ 0xc0, 0xc0, sailorws_gfxbusy_0_r },
  1849: 	{ 0xc1, 0xc1, sailorws_gfxrom_0_r },
  1850: 	{ 0xe0, 0xe0, sailorws_gfxbusy_1_r },
  1851: 	{ 0xe1, 0xe1, sailorws_gfxrom_1_r },
  1852: PORT_END
  1853: 
  1854: static PORT_WRITE_START( writeport_imekura )
  1855: 	{ 0x10, 0x13, z80ctc_0_w },
  1856: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1857: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1858: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1859: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1860: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1861: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1862: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1863: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1864: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1865: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1866: 
  1867: 	{ 0xd0, 0xdf, sailorws_paltbl_0_w },
  1868: 	{ 0xf0, 0xff, sailorws_paltbl_1_w },
  1869: 
  1870: 	{ 0xb0, 0xb6, IOWP_NOP },			// nb22090 param ?
  1871: 
  1872: 	{ 0xc0, 0xc0, sailorws_gfxflag_0_w },
  1873: 	{ 0xc1, 0xc2, sailorws_scrollx_0_w },
  1874: 	{ 0xc3, 0xc4, sailorws_scrolly_0_w },
  1875: 	{ 0xc5, 0xc7, sailorws_radr_0_w },
  1876: 	{ 0xc8, 0xc8, sailorws_sizex_0_w },
  1877: 	{ 0xc9, 0xc9, sailorws_sizey_0_w },
  1878: 	{ 0xca, 0xcb, sailorws_drawx_0_w },
  1879: 	{ 0xcc, 0xcd, sailorws_drawy_0_w },
  1880: 	{ 0xcf, 0xcf, IOWP_NOP },
  1881: 
  1882: 	{ 0xe0, 0xe0, sailorws_gfxflag_1_w },
  1883: 	{ 0xe1, 0xe2, sailorws_scrollx_1_w },
  1884: 	{ 0xe3, 0xe4, sailorws_scrolly_1_w },
  1885: 	{ 0xe5, 0xe7, sailorws_radr_1_w },
  1886: 	{ 0xe8, 0xe8, sailorws_sizex_1_w },
  1887: 	{ 0xe9, 0xe9, sailorws_sizey_1_w },
  1888: 	{ 0xea, 0xeb, sailorws_drawx_1_w },
  1889: 	{ 0xec, 0xed, sailorws_drawy_1_w },
  1890: 	{ 0xef, 0xef, IOWP_NOP },
  1891: 
  1892: 	{ 0x84, 0x84, sailorws_sound_w },
  1893: PORT_END
  1894: 
  1895: 
  1896: static PORT_READ_START( readport_mjegolf )
  1897: 	{ 0x10, 0x13, z80ctc_0_r },
  1898: 	{ 0x50, 0x50, tmpz84c011_0_pa_r },
  1899: 	{ 0x51, 0x51, tmpz84c011_0_pb_r },
  1900: 	{ 0x52, 0x52, tmpz84c011_0_pc_r },
  1901: 	{ 0x30, 0x30, tmpz84c011_0_pd_r },
  1902: 	{ 0x40, 0x40, tmpz84c011_0_pe_r },
  1903: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_r },
  1904: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_r },
  1905: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_r },
  1906: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_r },
  1907: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_r },
  1908: 
  1909: 	{ 0xe0, 0xe0, mscoutm_dipsw_1_r },
  1910: 	{ 0xe2, 0xe2, mscoutm_dipsw_0_r },
  1911: 	{ 0xa0, 0xa0, sailorws_gfxbusy_0_r },
  1912: 	{ 0xa1, 0xa1, sailorws_gfxrom_0_r },
  1913: 	{ 0xc0, 0xc0, sailorws_gfxbusy_1_r },
  1914: 	{ 0xc1, 0xc1, sailorws_gfxrom_1_r },
  1915: PORT_END
  1916: 
  1917: static PORT_WRITE_START( writeport_mjegolf )
  1918: 	{ 0x10, 0x13, z80ctc_0_w },
  1919: 	{ 0x50, 0x50, tmpz84c011_0_pa_w },
  1920: 	{ 0x51, 0x51, tmpz84c011_0_pb_w },
  1921: 	{ 0x52, 0x52, tmpz84c011_0_pc_w },
  1922: 	{ 0x30, 0x30, tmpz84c011_0_pd_w },
  1923: 	{ 0x40, 0x40, tmpz84c011_0_pe_w },
  1924: 	{ 0x54, 0x54, tmpz84c011_0_dir_pa_w },
  1925: 	{ 0x55, 0x55, tmpz84c011_0_dir_pb_w },
  1926: 	{ 0x56, 0x56, tmpz84c011_0_dir_pc_w },
  1927: 	{ 0x34, 0x34, tmpz84c011_0_dir_pd_w },
  1928: 	{ 0x44, 0x44, tmpz84c011_0_dir_pe_w },
  1929: 
  1930: 	{ 0xb0, 0xbf, sailorws_paltbl_0_w },
  1931: 	{ 0xd0, 0xdf, sailorws_paltbl_1_w },
  1932: 
  1933: 	{ 0x80, 0x86, IOWP_NOP },			// nb22090 param ?
  1934: 
  1935: 	{ 0xa0, 0xa0, sailorws_gfxflag_0_w },
  1936: 	{ 0xa1, 0xa2, sailorws_scrollx_0_w },
  1937: 	{ 0xa3, 0xa4, sailorws_scrolly_0_w },
  1938: 	{ 0xa5, 0xa7, sailorws_radr_0_w },
  1939: 	{ 0xa8, 0xa8, sailorws_sizex_0_w },
  1940: 	{ 0xa9, 0xa9, sailorws_sizey_0_w },
  1941: 	{ 0xaa, 0xab, sailorws_drawx_0_w },
  1942: 	{ 0xac, 0xad, sailorws_drawy_0_w },
  1943: 	{ 0xaf, 0xaf, IOWP_NOP },
  1944: 
  1945: 	{ 0xc0, 0xc0, sailorws_gfxflag_1_w },
  1946: 	{ 0xc1, 0xc2, sailorws_scrollx_1_w },
  1947: 	{ 0xc3, 0xc4, sailorws_scrolly_1_w },
  1948: 	{ 0xc5, 0xc7, sailorws_radr_1_w },
  1949: 	{ 0xc8, 0xc8, sailorws_sizex_1_w },
  1950: 	{ 0xc9, 0xc9, sailorws_sizey_1_w },
  1951: 	{ 0xca, 0xcb, sailorws_drawx_1_w },
  1952: 	{ 0xcc, 0xcd, sailorws_drawy_1_w },
  1953: 	{ 0xcf, 0xcf, IOWP_NOP },
  1954: 
  1955: 	{ 0xe4, 0xe4, sailorws_sound_w },
  1956: PORT_END
  1957: 
  1958: 
  1959: static PORT_READ_START( sound_readport )
  1960: 	{ 0x10, 0x13, z80ctc_1_r },
  1961: 	{ 0x50, 0x50, tmpz84c011_1_pa_r },
  1962: 	{ 0x51, 0x51, tmpz84c011_1_pb_r },
  1963: 	{ 0x52, 0x52, tmpz84c011_1_pc_r },
  1964: 	{ 0x30, 0x30, tmpz84c011_1_pd_r },
  1965: 	{ 0x40, 0x40, tmpz84c011_1_pe_r },
  1966: 	{ 0x54, 0x54, tmpz84c011_1_dir_pa_r },
  1967: 	{ 0x55, 0x55, tmpz84c011_1_dir_pb_r },
  1968: 	{ 0x56, 0x56, tmpz84c011_1_dir_pc_r },
  1969: 	{ 0x34, 0x34, tmpz84c011_1_dir_pd_r },
  1970: 	{ 0x44, 0x44, tmpz84c011_1_dir_pe_r },
  1971: PORT_END
  1972: 
  1973: static PORT_WRITE_START( sound_writeport )
  1974: 	{ 0x10, 0x13, z80ctc_1_w },
  1975: 	{ 0x50, 0x50, tmpz84c011_1_pa_w },
  1976: 	{ 0x51, 0x51, tmpz84c011_1_pb_w },
  1977: 	{ 0x52, 0x52, tmpz84c011_1_pc_w },
  1978: 	{ 0x30, 0x30, tmpz84c011_1_pd_w },
  1979: 	{ 0x40, 0x40, tmpz84c011_1_pe_w },
  1980: 	{ 0x54, 0x54, tmpz84c011_1_dir_pa_w },
  1981: 	{ 0x55, 0x55, tmpz84c011_1_dir_pb_w },
  1982: 	{ 0x56, 0x56, tmpz84c011_1_dir_pc_w },
  1983: 	{ 0x34, 0x34, tmpz84c011_1_dir_pd_w },
  1984: 	{ 0x44, 0x44, tmpz84c011_1_dir_pe_w },
  1985: 
  1986: 	{ 0x80, 0x80, YM3812_control_port_0_w },
  1987: 	{ 0x81, 0x81, YM3812_write_port_0_w },
  1988: PORT_END
  1989: 
  1990: 
  1991: #define MJCTRL_SAILORWS_PORT1 \ 
  1992: 	PORT_START	/* (3) PORT 1-0 */ \
  1993: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) \
  1994: 	PORT_BITX(0x02, IP_ACTIVE_LOW, 0, "P1 Kan", KEYCODE_LCONTROL, IP_JOY_NONE ) \
  1995: 	PORT_BITX(0x04, IP_ACTIVE_LOW, 0, "P1 M", KEYCODE_M, IP_JOY_NONE ) \
  1996: 	PORT_BITX(0x08, IP_ACTIVE_LOW, 0, "P1 I", KEYCODE_I, IP_JOY_NONE ) \
  1997: 	PORT_BITX(0x10, IP_ACTIVE_LOW, 0, "P1 E", KEYCODE_E, IP_JOY_NONE ) \
  1998: 	PORT_BITX(0x20, IP_ACTIVE_LOW, 0, "P1 A", KEYCODE_A, IP_JOY_NONE ) \
  1999: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2000: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2001: 
  2002: #define MJCTRL_SAILORWS_PORT2 \ 
  2003: 	PORT_START	/* (4) PORT 1-1 */ \
  2004: 	PORT_BITX(0x01, IP_ACTIVE_LOW, 0, "P1 Bet", KEYCODE_2, IP_JOY_NONE ) \
  2005: 	PORT_BITX(0x02, IP_ACTIVE_LOW, 0, "P1 Reach", KEYCODE_LSHIFT, IP_JOY_NONE ) \
  2006: 	PORT_BITX(0x04, IP_ACTIVE_LOW, 0, "P1 N", KEYCODE_N, IP_JOY_NONE ) \
  2007: 	PORT_BITX(0x08, IP_ACTIVE_LOW, 0, "P1 J", KEYCODE_J, IP_JOY_NONE ) \
  2008: 	PORT_BITX(0x10, IP_ACTIVE_LOW, 0, "P1 F", KEYCODE_F, IP_JOY_NONE ) \
  2009: 	PORT_BITX(0x20, IP_ACTIVE_LOW, 0, "P1 B", KEYCODE_B, IP_JOY_NONE ) \
  2010: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2011: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2012: 
  2013: #define MJCTRL_SAILORWS_PORT3 \ 
  2014: 	PORT_START	/* (5) PORT 1-2 */ \
  2015: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2016: 	PORT_BITX(0x02, IP_ACTIVE_LOW, 0, "P1 Ron", KEYCODE_Z, IP_JOY_NONE ) \
  2017: 	PORT_BITX(0x04, IP_ACTIVE_LOW, 0, "P1 Chi", KEYCODE_SPACE, IP_JOY_NONE ) \
  2018: 	PORT_BITX(0x08, IP_ACTIVE_LOW, 0, "P1 K", KEYCODE_K, IP_JOY_NONE ) \
  2019: 	PORT_BITX(0x10, IP_ACTIVE_LOW, 0, "P1 G", KEYCODE_G, IP_JOY_NONE ) \
  2020: 	PORT_BITX(0x20, IP_ACTIVE_LOW, 0, "P1 C", KEYCODE_C, IP_JOY_NONE ) \
  2021: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2022: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2023: 
  2024: #define MJCTRL_SAILORWS_PORT4 \ 
  2025: 	PORT_START	/* (6) PORT 1-3 */ \
  2026: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2027: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2028: 	PORT_BITX(0x04, IP_ACTIVE_LOW, 0, "P1 Pon", KEYCODE_LALT, IP_JOY_NONE ) \
  2029: 	PORT_BITX(0x08, IP_ACTIVE_LOW, 0, "P1 L", KEYCODE_L, IP_JOY_NONE ) \
  2030: 	PORT_BITX(0x10, IP_ACTIVE_LOW, 0, "P1 H", KEYCODE_H, IP_JOY_NONE ) \
  2031: 	PORT_BITX(0x20, IP_ACTIVE_LOW, 0, "P1 D", KEYCODE_D, IP_JOY_NONE ) \
  2032: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2033: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2034: 
  2035: #define MJCTRL_SAILORWS_PORT5 \ 
  2036: 	PORT_START	/* (7) PORT 1-4 */ \
  2037: 	PORT_BITX(0x01, IP_ACTIVE_LOW, 0, "P1 Small", KEYCODE_BACKSPACE, IP_JOY_NONE ) \
  2038: 	PORT_BITX(0x02, IP_ACTIVE_LOW, 0, "P1 Big", KEYCODE_ENTER, IP_JOY_NONE ) \
  2039: 	PORT_BITX(0x04, IP_ACTIVE_LOW, 0, "P1 Flip", KEYCODE_X, IP_JOY_NONE ) \
  2040: 	PORT_BITX(0x08, IP_ACTIVE_LOW, 0, "P1 Double Up", KEYCODE_RSHIFT, IP_JOY_NONE ) \
  2041: 	PORT_BITX(0x10, IP_ACTIVE_LOW, 0, "P1 Take Score", KEYCODE_RCONTROL, IP_JOY_NONE ) \
  2042: 	PORT_BITX(0x20, IP_ACTIVE_LOW, 0, "P1 Last Chance", KEYCODE_RALT, IP_JOY_NONE ) \
  2043: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2044: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2045: 
  2046: #define MJCTRL_MSCOUTM_PORT1 \ 
  2047: 	PORT_START	/* (3) PORT 1-0 */ \
  2048: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_START1 ) \
  2049: 	PORT_BITX(0x02, IP_ACTIVE_LOW, 0, "P1 Kan", KEYCODE_LCONTROL, IP_JOY_NONE ) \
  2050: 	PORT_BITX(0x04, IP_ACTIVE_LOW, 0, "P1 M", KEYCODE_M, IP_JOY_NONE ) \
  2051: 	PORT_BITX(0x08, IP_ACTIVE_LOW, 0, "P1 I", KEYCODE_I, IP_JOY_NONE ) \
  2052: 	PORT_BITX(0x10, IP_ACTIVE_LOW, 0, "P1 E", KEYCODE_E, IP_JOY_NONE ) \
  2053: 	PORT_BITX(0x20, IP_ACTIVE_LOW, 0, "P1 A", KEYCODE_A, IP_JOY_NONE ) \
  2054: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2055: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2056: 
  2057: #define MJCTRL_MSCOUTM_PORT2 \ 
  2058: 	PORT_START	/* (4) PORT 1-1 */ \
  2059: 	PORT_BITX(0x01, IP_ACTIVE_LOW, 0, "P1 Bet", KEYCODE_2, IP_JOY_NONE ) \
  2060: 	PORT_BITX(0x02, IP_ACTIVE_LOW, 0, "P1 Reach", KEYCODE_LSHIFT, IP_JOY_NONE ) \
  2061: 	PORT_BITX(0x04, IP_ACTIVE_LOW, 0, "P1 N", KEYCODE_N, IP_JOY_NONE ) \
  2062: 	PORT_BITX(0x08, IP_ACTIVE_LOW, 0, "P1 J", KEYCODE_J, IP_JOY_NONE ) \
  2063: 	PORT_BITX(0x10, IP_ACTIVE_LOW, 0, "P1 F", KEYCODE_F, IP_JOY_NONE ) \
  2064: 	PORT_BITX(0x20, IP_ACTIVE_LOW, 0, "P1 B", KEYCODE_B, IP_JOY_NONE ) \
  2065: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2066: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2067: 
  2068: #define MJCTRL_MSCOUTM_PORT3 \ 
  2069: 	PORT_START	/* (5) PORT 1-2 */ \
  2070: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2071: 	PORT_BITX(0x02, IP_ACTIVE_LOW, 0, "P1 Ron", KEYCODE_Z, IP_JOY_NONE ) \
  2072: 	PORT_BITX(0x04, IP_ACTIVE_LOW, 0, "P1 Chi", KEYCODE_SPACE, IP_JOY_NONE ) \
  2073: 	PORT_BITX(0x08, IP_ACTIVE_LOW, 0, "P1 K", KEYCODE_K, IP_JOY_NONE ) \
  2074: 	PORT_BITX(0x10, IP_ACTIVE_LOW, 0, "P1 G", KEYCODE_G, IP_JOY_NONE ) \
  2075: 	PORT_BITX(0x20, IP_ACTIVE_LOW, 0, "P1 C", KEYCODE_C, IP_JOY_NONE ) \
  2076: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2077: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2078: 
  2079: #define MJCTRL_MSCOUTM_PORT4 \ 
  2080: 	PORT_START	/* (6) PORT 1-3 */ \
  2081: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2082: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2083: 	PORT_BITX(0x04, IP_ACTIVE_LOW, 0, "P1 Pon", KEYCODE_LALT, IP_JOY_NONE ) \
  2084: 	PORT_BITX(0x08, IP_ACTIVE_LOW, 0, "P1 L", KEYCODE_L, IP_JOY_NONE ) \
  2085: 	PORT_BITX(0x10, IP_ACTIVE_LOW, 0, "P1 H", KEYCODE_H, IP_JOY_NONE ) \
  2086: 	PORT_BITX(0x20, IP_ACTIVE_LOW, 0, "P1 D", KEYCODE_D, IP_JOY_NONE ) \
  2087: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) \
  2088: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  2089: 
  2090: #define MJCTRL_MSCOUTM_PORT5 \ 
  2091: 	PORT_START	/* (7) PORT 1-4 */ \
  2092: 	PORT_BITX(0x01, IP_ACTIVE_LOW, 0, "P1 Small", KEYCODE_BACKSPACE, IP_JOY_NONE ) \
  2093: 	PORT_BITX(0x02, IP_ACTIVE_LOW, 0, "P1 Big", KEYCODE_ENTER, IP_JOY_NONE ) \
  2094: 	PORT_BITX(0x04, IP_ACTIVE_LOW, 0, "P1 Flip", KEYCODE_X, IP_JOY_NONE ) \
  2095: 	PORT_BITX(0x08, IP_ACTIVE_LOW, 0, "P1 Double Up", KEYCODE_RSHIFT, IP_JOY_NONE ) \
  2096: 	PORT_BITX(0x10, IP_ACTIVE_LOW, 0, "P1 Take Score", KEYCODE_RCONTROL, IP_JOY_NONE ) \
  2097: 	PORT_BITX(0x20, IP_ACTIVE_LOW, 0, "P1 Last Chance", KEYCODE_RALT, IP_JOY_NONE ) \
  2098: 	PORT_SERVICE( 0x40, IP_ACTIVE_LOW ) \
  2099: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_COIN1 )
  2100: 
  2101: 
  2102: INPUT_PORTS_START( mjuraden )
  2103: 
  2104: 	// I don't have manual for this game.
  2105: 
  2106: 	PORT_START	/* (0) DIPSW-A */
  2107: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
  2108: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2109: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2110: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
  2111: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2112: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2113: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
  2114: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2115: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2116: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
  2117: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2118: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2119: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Flip_Screen ) )
  2120: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2121: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  2122: 	PORT_DIPNAME( 0x20, 0x20, "Character Display Test" )
  2123: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2124: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2125: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
  2126: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2127: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2128: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  2129: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2130: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2131: 
  2132: 	PORT_START	/* (1) DIPSW-B */
  2133: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  2134: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2135: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2136: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  2137: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2138: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2139: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  2140: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2141: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2142: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  2143: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2144: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2145: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  2146: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2147: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2148: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  2149: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2150: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2151: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  2152: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2153: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2154: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  2155: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2156: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2157: 
  2158: 	PORT_START	/* (2) PORT 0 */
  2159: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2160: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2161: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2162: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2163: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2164: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2165: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2166: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2167: 
  2168: 	MJCTRL_SAILORWS_PORT1
  2169: 	MJCTRL_SAILORWS_PORT2
  2170: 	MJCTRL_SAILORWS_PORT3
  2171: 	MJCTRL_SAILORWS_PORT4
  2172: 	MJCTRL_SAILORWS_PORT5
  2173: INPUT_PORTS_END
  2174: 
  2175: INPUT_PORTS_START( koinomp )
  2176: 
  2177: 	// I don't have manual for this game.
  2178: 
  2179: 	PORT_START	/* (0) DIPSW-A */
  2180: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
  2181: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2182: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2183: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
  2184: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2185: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2186: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
  2187: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2188: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2189: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
  2190: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2191: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2192: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
  2193: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2194: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2195: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Flip_Screen ) )
  2196: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2197: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  2198: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  2199: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2200: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2201: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  2202: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2203: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2204: 
  2205: 	PORT_START	/* (1) DIPSW-B */
  2206: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  2207: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2208: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2209: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  2210: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2211: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2212: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  2213: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2214: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2215: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  2216: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2217: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2218: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  2219: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2220: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2221: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  2222: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2223: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2224: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  2225: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2226: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2227: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  2228: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2229: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2230: 
  2231: 	PORT_START	/* (2) PORT 0 */
  2232: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2233: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2234: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2235: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2236: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2237: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2238: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2239: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2240: 
  2241: 	MJCTRL_SAILORWS_PORT1
  2242: 	MJCTRL_SAILORWS_PORT2
  2243: 	MJCTRL_SAILORWS_PORT3
  2244: 	MJCTRL_SAILORWS_PORT4
  2245: 	MJCTRL_SAILORWS_PORT5
  2246: INPUT_PORTS_END
  2247: 
  2248: INPUT_PORTS_START( patimono )
  2249: 
  2250: 	// I don't have manual for this game.
  2251: 
  2252: 	PORT_START	/* (0) DIPSW-A */
  2253: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
  2254: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2255: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2256: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
  2257: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2258: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2259: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
  2260: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2261: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2262: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
  2263: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2264: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2265: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
  2266: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2267: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2268: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Flip_Screen ) )
  2269: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2270: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  2271: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  2272: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2273: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2274: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  2275: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2276: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2277: 
  2278: 	PORT_START	/* (1) DIPSW-B */
  2279: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  2280: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2281: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2282: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  2283: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2284: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2285: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  2286: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2287: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2288: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  2289: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2290: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2291: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  2292: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2293: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2294: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  2295: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2296: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2297: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  2298: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2299: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2300: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  2301: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2302: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2303: 
  2304: 	PORT_START	/* (2) PORT 0 */
  2305: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2306: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2307: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2308: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2309: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2310: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2311: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2312: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2313: 
  2314: 	MJCTRL_SAILORWS_PORT1
  2315: 	MJCTRL_SAILORWS_PORT2
  2316: 	MJCTRL_SAILORWS_PORT3
  2317: 	MJCTRL_SAILORWS_PORT4
  2318: 	MJCTRL_SAILORWS_PORT5
  2319: INPUT_PORTS_END
  2320: 
  2321: INPUT_PORTS_START( mjanbari )
  2322: 
  2323: 	// I don't have manual for this game.
  2324: 
  2325: 	PORT_START	/* (0) DIPSW-A */
  2326: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
  2327: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2328: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2329: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
  2330: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2331: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2332: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
  2333: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2334: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2335: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
  2336: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2337: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2338: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
  2339: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2340: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2341: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 1-6" )
  2342: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2343: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2344: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  2345: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2346: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2347: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  2348: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2349: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2350: 
  2351: 	PORT_START	/* (1) DIPSW-B */
  2352: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) )
  2353: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2354: 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
  2355: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  2356: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2357: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2358: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  2359: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2360: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2361: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  2362: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2363: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2364: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  2365: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2366: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2367: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  2368: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2369: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2370: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  2371: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2372: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2373: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  2374: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2375: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2376: 
  2377: 	PORT_START	/* (2) PORT 0 */
  2378: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2379: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2380: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2381: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2382: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2383: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2384: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2385: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2386: 
  2387: 	MJCTRL_SAILORWS_PORT1
  2388: 	MJCTRL_SAILORWS_PORT2
  2389: 	MJCTRL_SAILORWS_PORT3
  2390: 	MJCTRL_SAILORWS_PORT4
  2391: 	MJCTRL_SAILORWS_PORT5
  2392: INPUT_PORTS_END
  2393: 
  2394: INPUT_PORTS_START( mmehyou )
  2395: 
  2396: 	// I don't have manual for this game.
  2397: 
  2398: 	PORT_START	/* (0) DIPSW-A */
  2399: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
  2400: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2401: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2402: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
  2403: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2404: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2405: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
  2406: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2407: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2408: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
  2409: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2410: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2411: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
  2412: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2413: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2414: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 1-6" )
  2415: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2416: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2417: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
  2418: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2419: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2420: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
  2421: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2422: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2423: 
  2424: 	PORT_START	/* (1) DIPSW-B */
  2425: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) )
  2426: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2427: 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
  2428: 	PORT_DIPNAME( 0x02, 0x02, "Graphic ROM Test" )
  2429: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2430: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2431: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  2432: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2433: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2434: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  2435: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2436: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2437: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  2438: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2439: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2440: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  2441: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2442: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2443: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  2444: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2445: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2446: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  2447: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2448: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2449: 
  2450: 	PORT_START	/* (2) PORT 0 */
  2451: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2452: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2453: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2454: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2455: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2456: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2457: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2458: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2459: 
  2460: 	MJCTRL_SAILORWS_PORT1
  2461: 	MJCTRL_SAILORWS_PORT2
  2462: 	MJCTRL_SAILORWS_PORT3
  2463: 	MJCTRL_SAILORWS_PORT4
  2464: 	MJCTRL_SAILORWS_PORT5
  2465: INPUT_PORTS_END
  2466: 
  2467: INPUT_PORTS_START( ultramhm )
  2468: 
  2469: 	// I don't have manual for this game.
  2470: 
  2471: 	PORT_START	/* (0) DIPSW-A */
  2472: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
  2473: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2474: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2475: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
  2476: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2477: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2478: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
  2479: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2480: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2481: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Coinage ) )
  2482: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_1C ) )
  2483: 	PORT_DIPSETTING(    0x08, DEF_STR( 1C_2C ) )
  2484: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Flip_Screen ) )
  2485: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2486: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  2487: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 1-6" )
  2488: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2489: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2490: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
  2491: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2492: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2493: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
  2494: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2495: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2496: 
  2497: 	PORT_START	/* (1) DIPSW-B */
  2498: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  2499: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2500: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2501: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  2502: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2503: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2504: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  2505: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2506: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2507: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  2508: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2509: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2510: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  2511: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2512: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2513: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  2514: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2515: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2516: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  2517: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2518: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2519: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  2520: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2521: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2522: 
  2523: 	PORT_START	/* (2) PORT 0 */
  2524: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2525: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2526: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2527: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2528: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2529: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2530: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2531: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2532: 
  2533: 	MJCTRL_SAILORWS_PORT1
  2534: 	MJCTRL_SAILORWS_PORT2
  2535: 	MJCTRL_SAILORWS_PORT3
  2536: 	MJCTRL_SAILORWS_PORT4
  2537: 	MJCTRL_SAILORWS_PORT5
  2538: INPUT_PORTS_END
  2539: 
  2540: INPUT_PORTS_START( gal10ren )
  2541: 
  2542: 	// I don't have manual for this game.
  2543: 
  2544: 	PORT_START	/* (0) DIPSW-A */
  2545: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
  2546: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2547: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2548: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
  2549: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2550: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2551: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
  2552: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2553: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2554: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
  2555: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2556: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2557: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
  2558: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2559: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2560: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
  2561: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2562: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2563: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
  2564: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2565: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2566: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Flip_Screen ) )
  2567: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2568: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2569: 
  2570: 	PORT_START	/* (1) DIPSW-B */
  2571: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  2572: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2573: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2574: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  2575: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2576: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2577: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  2578: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2579: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2580: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  2581: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2582: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2583: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  2584: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2585: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2586: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  2587: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2588: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2589: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  2590: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2591: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2592: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  2593: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2594: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2595: 
  2596: 	PORT_START	/* (2) PORT 0 */
  2597: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2598: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2599: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2600: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2601: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2602: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2603: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2604: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2605: 
  2606: 	MJCTRL_SAILORWS_PORT1
  2607: 	MJCTRL_SAILORWS_PORT2
  2608: 	MJCTRL_SAILORWS_PORT3
  2609: 	MJCTRL_SAILORWS_PORT4
  2610: 	MJCTRL_SAILORWS_PORT5
  2611: INPUT_PORTS_END
  2612: 
  2613: INPUT_PORTS_START( renaiclb )
  2614: 
  2615: 	// I don't have manual for this game.
  2616: 
  2617: 	PORT_START	/* (0) DIPSW-A */
  2618: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 1-1" )
  2619: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2620: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2621: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 1-2" )
  2622: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2623: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2624: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 1-3" )
  2625: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2626: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2627: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 1-4" )
  2628: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2629: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2630: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 1-5" )
  2631: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2632: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2633: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
  2634: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2635: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2636: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
  2637: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2638: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2639: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Flip_Screen ) )
  2640: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2641: 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  2642: 
  2643: 	PORT_START	/* (1) DIPSW-B */
  2644: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  2645: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2646: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2647: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  2648: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2649: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2650: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  2651: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2652: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2653: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  2654: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2655: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2656: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  2657: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2658: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2659: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  2660: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2661: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2662: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  2663: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2664: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2665: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  2666: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2667: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2668: 
  2669: 	PORT_START	/* (2) PORT 0 */
  2670: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2671: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2672: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2673: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2674: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2675: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2676: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2677: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2678: 
  2679: 	MJCTRL_SAILORWS_PORT1
  2680: 	MJCTRL_SAILORWS_PORT2
  2681: 	MJCTRL_SAILORWS_PORT3
  2682: 	MJCTRL_SAILORWS_PORT4
  2683: 	MJCTRL_SAILORWS_PORT5
  2684: INPUT_PORTS_END
  2685: 
  2686: INPUT_PORTS_START( mjlaman )
  2687: 	PORT_START	/* (0) DIPSW-A */
  2688: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
  2689: 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
  2690: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
  2691: 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
  2692: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_3C ) )
  2693: 	PORT_DIPNAME( 0x04, 0x00, "Demo Sounds & Game Sounds" )
  2694: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2695: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2696: 	PORT_DIPNAME( 0x08, 0x00, "Voices" )
  2697: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2698: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2699: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Flip_Screen ) )
  2700: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2701: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2702: 	PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Difficulty ) )
  2703: 	PORT_DIPSETTING(    0xe0, "1 (Easy)" )
  2704: 	PORT_DIPSETTING(    0xc0, "2" )
  2705: 	PORT_DIPSETTING(    0xa0, "3" )
  2706: 	PORT_DIPSETTING(    0x80, "4" )
  2707: 	PORT_DIPSETTING(    0x60, "5" )
  2708: 	PORT_DIPSETTING(    0x40, "6" )
  2709: 	PORT_DIPSETTING(    0x20, "7" )
  2710: 	PORT_DIPSETTING(    0x00, "8 (Hard)" )
  2711: 
  2712: 	PORT_START	/* (1) DIPSW-B */
  2713: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  2714: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2715: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2716: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  2717: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2718: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2719: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  2720: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2721: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2722: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  2723: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2724: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2725: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  2726: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2727: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2728: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  2729: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2730: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2731: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  2732: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2733: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2734: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  2735: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2736: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2737: 
  2738: 	PORT_START	/* (2) PORT 0 */
  2739: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2740: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2741: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2742: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2743: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2744: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2745: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2746: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2747: 
  2748: 	MJCTRL_SAILORWS_PORT1
  2749: 	MJCTRL_SAILORWS_PORT2
  2750: 	MJCTRL_SAILORWS_PORT3
  2751: 	MJCTRL_SAILORWS_PORT4
  2752: 	MJCTRL_SAILORWS_PORT5
  2753: INPUT_PORTS_END
  2754: 
  2755: INPUT_PORTS_START( mkeibaou )
  2756: 	PORT_START	/* (0) DIPSW-A */
  2757: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
  2758: 	PORT_DIPSETTING(    0x03, "1" )
  2759: 	PORT_DIPSETTING(    0x02, "2" )
  2760: 	PORT_DIPSETTING(    0x01, "3" )
  2761: 	PORT_DIPSETTING(    0x00, "4" )
  2762: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Coinage ) )
  2763: 	PORT_DIPSETTING(    0x04, DEF_STR( 1C_1C ) )
  2764: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
  2765: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
  2766: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2767: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
  2768: 	PORT_DIPNAME( 0x10, 0x10, "Game Sounds" )
  2769: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2770: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  2771: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Flip_Screen ) )
  2772: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2773: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  2774: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  2775: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2776: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2777: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  2778: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2779: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2780: 
  2781: 	PORT_START	/* (1) DIPSW-B */
  2782: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  2783: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2784: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2785: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  2786: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2787: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2788: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  2789: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2790: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2791: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  2792: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2793: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2794: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  2795: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2796: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2797: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  2798: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2799: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2800: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  2801: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2802: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2803: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  2804: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2805: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2806: 
  2807: 	PORT_START	/* (2) PORT 0 */
  2808: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2809: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2810: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2811: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2812: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2813: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2814: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2815: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2816: 
  2817: 	MJCTRL_SAILORWS_PORT1
  2818: 	MJCTRL_SAILORWS_PORT2
  2819: 	MJCTRL_SAILORWS_PORT3
  2820: 	MJCTRL_SAILORWS_PORT4
  2821: 	MJCTRL_SAILORWS_PORT5
  2822: INPUT_PORTS_END
  2823: 
  2824: INPUT_PORTS_START( pachiten )
  2825: 	PORT_START	/* (0) DIPSW-A */
  2826: 	PORT_DIPNAME( 0x07, 0x07, "Game Out" )
  2827: 	PORT_DIPSETTING(    0x07, "90% (Easy)" )
  2828: 	PORT_DIPSETTING(    0x06, "85%" )
  2829: 	PORT_DIPSETTING(    0x05, "80%" )
  2830: 	PORT_DIPSETTING(    0x04, "75%" )
  2831: 	PORT_DIPSETTING(    0x03, "70%" )
  2832: 	PORT_DIPSETTING(    0x02, "65%" )
  2833: 	PORT_DIPSETTING(    0x01, "60%" )
  2834: 	PORT_DIPSETTING(    0x00, "55% (Hard)" )
  2835: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Coinage ) )
  2836: 	PORT_DIPSETTING(    0x08, DEF_STR( 1C_1C ) )
  2837: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
  2838: 	PORT_DIPNAME( 0x10, 0x00, "Last Chance" )
  2839: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2840: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2841: 	PORT_DIPNAME( 0x20, 0x20, "Last chance needs 1credit" )
  2842: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2843: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2844: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  2845: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2846: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2847: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  2848: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2849: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2850: 
  2851: 	PORT_START	/* (1) DIPSW-B */
  2852: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) )
  2853: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2854: 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
  2855: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  2856: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2857: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2858: 	PORT_DIPNAME( 0x04, 0x04, "Bet1 Only" )
  2859: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2860: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2861: 	PORT_DIPNAME( 0x18, 0x18, "Bet Min" )
  2862: 	PORT_DIPSETTING(    0x18, "1" )
  2863: 	PORT_DIPSETTING(    0x10, "2" )
  2864: 	PORT_DIPSETTING(    0x08, "3" )
  2865: 	PORT_DIPSETTING(    0x00, "5" )
  2866: 	PORT_DIPNAME( 0x60, 0x00, "Bet Max" )
  2867: 	PORT_DIPSETTING(    0x60, "8" )
  2868: 	PORT_DIPSETTING(    0x40, "10" )
  2869: 	PORT_DIPSETTING(    0x20, "12" )
  2870: 	PORT_DIPSETTING(    0x00, "20" )
  2871: 	PORT_DIPNAME( 0x80, 0x80, "Score Pool" )
  2872: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2873: 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  2874: 
  2875: 	PORT_START	/* (2) PORT 0 */
  2876: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2877: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2878: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2879: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2880: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2881: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2882: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2883: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2884: 
  2885: 	MJCTRL_SAILORWS_PORT1
  2886: 	MJCTRL_SAILORWS_PORT2
  2887: 	MJCTRL_SAILORWS_PORT3
  2888: 	MJCTRL_SAILORWS_PORT4
  2889: 	MJCTRL_SAILORWS_PORT5
  2890: INPUT_PORTS_END
  2891: 
  2892: INPUT_PORTS_START( sailorws )
  2893: 	PORT_START	/* (0) DIPSW-A */
  2894: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
  2895: 	PORT_DIPSETTING(    0x03, "1" )
  2896: 	PORT_DIPSETTING(    0x02, "2" )
  2897: 	PORT_DIPSETTING(    0x01, "3" )
  2898: 	PORT_DIPSETTING(    0x00, "4" )
  2899: 	PORT_DIPNAME( 0x04, 0x04, "Infinite Bra" )
  2900: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2901: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2902: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
  2903: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2904: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
  2905: 	PORT_DIPNAME( 0x10, 0x10, "Game Sounds" )
  2906: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2907: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  2908: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Flip_Screen ) )
  2909: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2910: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  2911: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  2912: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2913: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2914: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  2915: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2916: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2917: 
  2918: 	PORT_START	/* (1) DIPSW-B */
  2919: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  2920: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  2921: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2922: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  2923: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2924: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2925: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  2926: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2927: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2928: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  2929: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  2930: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2931: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  2932: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2933: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2934: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  2935: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2936: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2937: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  2938: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2939: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2940: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  2941: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2942: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2943: 
  2944: 	PORT_START	/* (2) PORT 0 */
  2945: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  2946: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  2947: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  2948: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  2949: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  2950: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  2951: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  2952: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  2953: 
  2954: 	MJCTRL_SAILORWS_PORT1
  2955: 	MJCTRL_SAILORWS_PORT2
  2956: 	MJCTRL_SAILORWS_PORT3
  2957: 	MJCTRL_SAILORWS_PORT4
  2958: 	MJCTRL_SAILORWS_PORT5
  2959: INPUT_PORTS_END
  2960: 
  2961: INPUT_PORTS_START( sailorwr )
  2962: 	PORT_START	/* (0) DIPSW-A */
  2963: 	PORT_DIPNAME( 0x07, 0x07, "Game Out" )
  2964: 	PORT_DIPSETTING(    0x07, "90% (Easy)" )
  2965: 	PORT_DIPSETTING(    0x06, "85%" )
  2966: 	PORT_DIPSETTING(    0x05, "80%" )
  2967: 	PORT_DIPSETTING(    0x04, "75%" )
  2968: 	PORT_DIPSETTING(    0x03, "70%" )
  2969: 	PORT_DIPSETTING(    0x02, "65%" )
  2970: 	PORT_DIPSETTING(    0x01, "60%" )
  2971: 	PORT_DIPSETTING(    0x00, "55% (Hard)" )
  2972: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Coinage ) )
  2973: 	PORT_DIPSETTING(    0x08, DEF_STR( 1C_1C ) )
  2974: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
  2975: 	PORT_DIPNAME( 0x10, 0x00, "Last Chance" )
  2976: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  2977: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2978: 	PORT_DIPNAME( 0x20, 0x20, "Last chance needs 1credit" )
  2979: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  2980: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2981: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
  2982: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  2983: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2984: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  2985: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  2986: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2987: 
  2988: 	PORT_START	/* (1) DIPSW-B */
  2989: 	PORT_DIPNAME( 0x01, 0x00, DEF_STR( Flip_Screen ) )
  2990: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  2991: 	PORT_DIPSETTING(    0x01, DEF_STR( On ) )
  2992: 	PORT_DIPNAME( 0x02, 0x02, "Character Display Test" )
  2993: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  2994: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2995: 	PORT_DIPNAME( 0x04, 0x04, "Bet1 Only" )
  2996: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  2997: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  2998: 	PORT_DIPNAME( 0x18, 0x18, "Bet Min" )
  2999: 	PORT_DIPSETTING(    0x18, "1" )
  3000: 	PORT_DIPSETTING(    0x10, "2" )
  3001: 	PORT_DIPSETTING(    0x08, "3" )
  3002: 	PORT_DIPSETTING(    0x00, "5" )
  3003: 	PORT_DIPNAME( 0x60, 0x00, "Bet Max" )
  3004: 	PORT_DIPSETTING(    0x60, "8" )
  3005: 	PORT_DIPSETTING(    0x40, "10" )
  3006: 	PORT_DIPSETTING(    0x20, "12" )
  3007: 	PORT_DIPSETTING(    0x00, "20" )
  3008: 	PORT_DIPNAME( 0x80, 0x80, "Score Pool" )
  3009: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3010: 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  3011: 
  3012: 	PORT_START	/* (2) PORT 0 */
  3013: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  3014: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3015: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3016: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3017: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  3018: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  3019: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  3020: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  3021: 
  3022: 	MJCTRL_SAILORWS_PORT1
  3023: 	MJCTRL_SAILORWS_PORT2
  3024: 	MJCTRL_SAILORWS_PORT3
  3025: 	MJCTRL_SAILORWS_PORT4
  3026: 	MJCTRL_SAILORWS_PORT5
  3027: INPUT_PORTS_END
  3028: 
  3029: INPUT_PORTS_START( psailor1 )
  3030: 	PORT_START	/* (0) DIPSW-A */
  3031: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
  3032: 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
  3033: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
  3034: 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
  3035: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_3C ) )
  3036: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Demo_Sounds ) )
  3037: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3038: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3039: 	PORT_DIPNAME( 0x08, 0x00, "Game Sounds" )
  3040: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3041: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3042: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Flip_Screen ) )
  3043: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3044: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  3045: 	PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Difficulty ) )
  3046: 	PORT_DIPSETTING(    0xe0, "1 (Easy)" )
  3047: 	PORT_DIPSETTING(    0xc0, "2" )
  3048: 	PORT_DIPSETTING(    0xa0, "3" )
  3049: 	PORT_DIPSETTING(    0x80, "4" )
  3050: 	PORT_DIPSETTING(    0x60, "5" )
  3051: 	PORT_DIPSETTING(    0x40, "6" )
  3052: 	PORT_DIPSETTING(    0x20, "7" )
  3053: 	PORT_DIPSETTING(    0x00, "8 (Hard)" )
  3054: 
  3055: 	PORT_START	/* (1) DIPSW-B */
  3056: 	PORT_DIPNAME( 0x03, 0x03, "Start Score" )
  3057: 	PORT_DIPSETTING(    0x00, "5000" )
  3058: 	PORT_DIPSETTING(    0x01, "3000" )
  3059: 	PORT_DIPSETTING(    0x02, "2000" )
  3060: 	PORT_DIPSETTING(    0x03, "1000" )
  3061: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  3062: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3063: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3064: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  3065: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3066: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3067: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  3068: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3069: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3070: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  3071: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3072: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3073: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  3074: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3075: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3076: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  3077: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3078: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3079: 
  3080: 	PORT_START	/* (2) PORT 0 */
  3081: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  3082: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3083: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3084: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3085: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  3086: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  3087: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  3088: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  3089: 
  3090: 	MJCTRL_SAILORWS_PORT1
  3091: 	MJCTRL_SAILORWS_PORT2
  3092: 	MJCTRL_SAILORWS_PORT3
  3093: 	MJCTRL_SAILORWS_PORT4
  3094: 	MJCTRL_SAILORWS_PORT5
  3095: INPUT_PORTS_END
  3096: 
  3097: INPUT_PORTS_START( psailor2 )
  3098: 	PORT_START	/* (0) DIPSW-A */
  3099: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Coinage ) )
  3100: 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
  3101: 	PORT_DIPSETTING(    0x03, DEF_STR( 1C_1C ) )
  3102: 	PORT_DIPSETTING(    0x02, DEF_STR( 1C_2C ) )
  3103: 	PORT_DIPSETTING(    0x01, DEF_STR( 1C_3C ) )
  3104: 	PORT_DIPNAME( 0x04, 0x00, DEF_STR( Demo_Sounds ) )
  3105: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3106: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3107: 	PORT_DIPNAME( 0x08, 0x00, "Game Sounds" )
  3108: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3109: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3110: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Flip_Screen ) )
  3111: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3112: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  3113: 	PORT_DIPNAME( 0xe0, 0xe0, DEF_STR( Difficulty ) )
  3114: 	PORT_DIPSETTING(    0xe0, "1 (Easy)" )
  3115: 	PORT_DIPSETTING(    0xc0, "2" )
  3116: 	PORT_DIPSETTING(    0xa0, "3" )
  3117: 	PORT_DIPSETTING(    0x80, "4" )
  3118: 	PORT_DIPSETTING(    0x60, "5" )
  3119: 	PORT_DIPSETTING(    0x40, "6" )
  3120: 	PORT_DIPSETTING(    0x20, "7" )
  3121: 	PORT_DIPSETTING(    0x00, "8 (Hard)" )
  3122: 
  3123: 	PORT_START	/* (1) DIPSW-B */
  3124: 	PORT_DIPNAME( 0x03, 0x03, "Start Score" )
  3125: 	PORT_DIPSETTING(    0x00, "5000" )
  3126: 	PORT_DIPSETTING(    0x01, "3000" )
  3127: 	PORT_DIPSETTING(    0x02, "2000" )
  3128: 	PORT_DIPSETTING(    0x03, "1000" )
  3129: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  3130: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3131: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3132: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  3133: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3134: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3135: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  3136: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3137: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3138: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  3139: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3140: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3141: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  3142: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3143: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3144: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  3145: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3146: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3147: 
  3148: 	PORT_START	/* (2) PORT 0 */
  3149: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  3150: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3151: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3152: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3153: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  3154: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  3155: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  3156: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  3157: 
  3158: 	MJCTRL_SAILORWS_PORT1
  3159: 	MJCTRL_SAILORWS_PORT2
  3160: 	MJCTRL_SAILORWS_PORT3
  3161: 	MJCTRL_SAILORWS_PORT4
  3162: 	MJCTRL_SAILORWS_PORT5
  3163: INPUT_PORTS_END
  3164: 
  3165: INPUT_PORTS_START( otatidai )
  3166: 
  3167: 	// I don't have manual for this game.
  3168: 
  3169: 	PORT_START	/* (0) DIPSW-A */
  3170: 	PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
  3171: 	PORT_DIPSETTING(    0x07, "1 (Easy)" )
  3172: 	PORT_DIPSETTING(    0x06, "2" )
  3173: 	PORT_DIPSETTING(    0x05, "3" )
  3174: 	PORT_DIPSETTING(    0x04, "4" )
  3175: 	PORT_DIPSETTING(    0x03, "5" )
  3176: 	PORT_DIPSETTING(    0x02, "6" )
  3177: 	PORT_DIPSETTING(    0x01, "7" )
  3178: 	PORT_DIPSETTING(    0x00, "8 (Hard)" )
  3179: 	PORT_DIPNAME( 0x08, 0x00, "Game Sounds" )
  3180: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3181: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3182: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
  3183: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3184: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3185: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Flip_Screen ) )
  3186: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3187: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3188: 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coinage ) )
  3189: 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
  3190: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) )
  3191: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
  3192: 	PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) )
  3193: 
  3194: 	PORT_START	/* (1) DIPSW-B */
  3195: 	PORT_DIPNAME( 0x03, 0x03, "Start Score" )
  3196: 	PORT_DIPSETTING(    0x00, "5000" )
  3197: 	PORT_DIPSETTING(    0x01, "3000" )
  3198: 	PORT_DIPSETTING(    0x02, "2000" )
  3199: 	PORT_DIPSETTING(    0x03, "1000" )
  3200: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  3201: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3202: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3203: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  3204: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3205: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3206: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  3207: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3208: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3209: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  3210: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3211: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3212: 	PORT_DIPNAME( 0x40, 0x40, "Sound Test" )
  3213: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3214: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3215: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  3216: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3217: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3218: 
  3219: 	PORT_START	/* (2) PORT 0 */
  3220: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  3221: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3222: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3223: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3224: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  3225: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  3226: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  3227: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  3228: 
  3229: 	MJCTRL_SAILORWS_PORT1
  3230: 	MJCTRL_SAILORWS_PORT2
  3231: 	MJCTRL_SAILORWS_PORT3
  3232: 	MJCTRL_SAILORWS_PORT4
  3233: 	MJCTRL_SAILORWS_PORT5
  3234: INPUT_PORTS_END
  3235: 
  3236: INPUT_PORTS_START( ngpgal )
  3237: 	PORT_START	/* (0) DIPSW-A */
  3238: 	PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
  3239: 	PORT_DIPSETTING(    0x07, "1 (Easy)" )
  3240: 	PORT_DIPSETTING(    0x06, "2" )
  3241: 	PORT_DIPSETTING(    0x05, "3" )
  3242: 	PORT_DIPSETTING(    0x04, "4" )
  3243: 	PORT_DIPSETTING(    0x03, "5" )
  3244: 	PORT_DIPSETTING(    0x02, "6" )
  3245: 	PORT_DIPSETTING(    0x01, "7" )
  3246: 	PORT_DIPSETTING(    0x00, "8 (Hard)" )
  3247: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Coinage ) )
  3248: 	PORT_DIPSETTING(    0x08, DEF_STR( 1C_1C ) )
  3249: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
  3250: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Flip_Screen ) )
  3251: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3252: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  3253: 	PORT_DIPNAME( 0x20, 0x20, "Graphic ROM Test" )
  3254: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3255: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3256: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
  3257: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3258: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3259: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
  3260: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3261: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3262: 
  3263: 	PORT_START	/* (1) DIPSW-B */
  3264: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  3265: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  3266: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3267: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  3268: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3269: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3270: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  3271: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3272: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3273: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  3274: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3275: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3276: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  3277: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3278: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3279: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  3280: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3281: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3282: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  3283: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3284: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3285: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  3286: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3287: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3288: 
  3289: 	PORT_START	/* (2) PORT 0 */
  3290: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  3291: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3292: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3293: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3294: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  3295: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  3296: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  3297: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  3298: 
  3299: 	MJCTRL_SAILORWS_PORT1
  3300: 	MJCTRL_SAILORWS_PORT2
  3301: 	MJCTRL_SAILORWS_PORT3
  3302: 	MJCTRL_SAILORWS_PORT4
  3303: 	MJCTRL_SAILORWS_PORT5
  3304: INPUT_PORTS_END
  3305: 
  3306: INPUT_PORTS_START( mjgottsu )
  3307: 	PORT_START	/* (0) DIPSW-A */
  3308: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
  3309: 	PORT_DIPSETTING(    0x03, "1" )
  3310: 	PORT_DIPSETTING(    0x02, "2" )
  3311: 	PORT_DIPSETTING(    0x01, "3" )
  3312: 	PORT_DIPSETTING(    0x00, "4" )
  3313: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Coinage ) )
  3314: 	PORT_DIPSETTING(    0x04, DEF_STR( 1C_1C ) )
  3315: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
  3316: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
  3317: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3318: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
  3319: 	PORT_DIPNAME( 0x10, 0x10, "Game Sounds" )
  3320: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3321: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  3322: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Flip_Screen ) )
  3323: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3324: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  3325: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  3326: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3327: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3328: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  3329: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3330: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3331: 
  3332: 	PORT_START	/* (1) DIPSW-B */
  3333: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  3334: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  3335: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3336: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  3337: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3338: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3339: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  3340: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3341: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3342: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  3343: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3344: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3345: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  3346: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3347: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3348: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  3349: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3350: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3351: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  3352: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3353: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3354: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  3355: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3356: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3357: 
  3358: 	PORT_START	/* (2) PORT 0 */
  3359: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  3360: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3361: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3362: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3363: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  3364: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  3365: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  3366: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  3367: 
  3368: 	MJCTRL_SAILORWS_PORT1
  3369: 	MJCTRL_SAILORWS_PORT2
  3370: 	MJCTRL_SAILORWS_PORT3
  3371: 	MJCTRL_SAILORWS_PORT4
  3372: 	MJCTRL_SAILORWS_PORT5
  3373: INPUT_PORTS_END
  3374: 
  3375: INPUT_PORTS_START( bakuhatu )
  3376: 	PORT_START	/* (0) DIPSW-A */
  3377: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
  3378: 	PORT_DIPSETTING(    0x03, "1" )
  3379: 	PORT_DIPSETTING(    0x02, "2" )
  3380: 	PORT_DIPSETTING(    0x01, "3" )
  3381: 	PORT_DIPSETTING(    0x00, "4" )
  3382: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Coinage ) )
  3383: 	PORT_DIPSETTING(    0x04, DEF_STR( 1C_1C ) )
  3384: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
  3385: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Demo_Sounds ) )
  3386: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3387: 	PORT_DIPSETTING(    0x08, DEF_STR( On ) )
  3388: 	PORT_DIPNAME( 0x10, 0x10, "Game Sounds" )
  3389: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3390: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  3391: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Flip_Screen ) )
  3392: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3393: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  3394: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  3395: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3396: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3397: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  3398: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3399: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3400: 
  3401: 	PORT_START	/* (1) DIPSW-B */
  3402: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  3403: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  3404: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3405: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  3406: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3407: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3408: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  3409: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3410: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3411: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  3412: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3413: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3414: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  3415: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3416: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3417: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  3418: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3419: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3420: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  3421: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3422: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3423: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  3424: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3425: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3426: 
  3427: 	PORT_START	/* (2) PORT 0 */
  3428: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  3429: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3430: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3431: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3432: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  3433: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  3434: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  3435: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  3436: 
  3437: 	MJCTRL_SAILORWS_PORT1
  3438: 	MJCTRL_SAILORWS_PORT2
  3439: 	MJCTRL_SAILORWS_PORT3
  3440: 	MJCTRL_SAILORWS_PORT4
  3441: 	MJCTRL_SAILORWS_PORT5
  3442: INPUT_PORTS_END
  3443: 
  3444: INPUT_PORTS_START( cmehyou )
  3445: 	PORT_START	/* (0) DIPSW-A */
  3446: 	PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
  3447: 	PORT_DIPSETTING(    0x07, "1 (Easy)" )
  3448: 	PORT_DIPSETTING(    0x06, "2" )
  3449: 	PORT_DIPSETTING(    0x05, "3" )
  3450: 	PORT_DIPSETTING(    0x04, "4" )
  3451: 	PORT_DIPSETTING(    0x03, "5" )
  3452: 	PORT_DIPSETTING(    0x02, "6" )
  3453: 	PORT_DIPSETTING(    0x01, "7" )
  3454: 	PORT_DIPSETTING(    0x00, "8 (Hard)" )
  3455: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Coinage ) )
  3456: 	PORT_DIPSETTING(    0x08, DEF_STR( 1C_1C ) )
  3457: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
  3458: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Flip_Screen ) )
  3459: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3460: 	PORT_DIPSETTING(    0x10, DEF_STR( On ) )
  3461: 	PORT_DIPNAME( 0x20, 0x20, "Graphic ROM Test" )
  3462: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3463: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3464: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
  3465: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3466: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3467: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 1-8" )
  3468: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3469: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3470: 
  3471: 	PORT_START	/* (1) DIPSW-B */
  3472: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  3473: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  3474: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3475: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  3476: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3477: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3478: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  3479: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3480: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3481: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  3482: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3483: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3484: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  3485: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3486: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3487: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  3488: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3489: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3490: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  3491: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3492: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3493: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  3494: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3495: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3496: 
  3497: 	PORT_START	/* (2) PORT 0 */
  3498: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  3499: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3500: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3501: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3502: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  3503: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  3504: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  3505: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  3506: 
  3507: 	MJCTRL_SAILORWS_PORT1
  3508: 	MJCTRL_SAILORWS_PORT2
  3509: 	MJCTRL_SAILORWS_PORT3
  3510: 	MJCTRL_SAILORWS_PORT4
  3511: 	MJCTRL_SAILORWS_PORT5
  3512: INPUT_PORTS_END
  3513: 
  3514: INPUT_PORTS_START( mjkoiura )
  3515: 	PORT_START	/* (0) DIPSW-A */
  3516: 	PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
  3517: 	PORT_DIPSETTING(    0x07, "1 (Easy)" )
  3518: 	PORT_DIPSETTING(    0x06, "2" )
  3519: 	PORT_DIPSETTING(    0x05, "3" )
  3520: 	PORT_DIPSETTING(    0x04, "4" )
  3521: 	PORT_DIPSETTING(    0x03, "5" )
  3522: 	PORT_DIPSETTING(    0x02, "6" )
  3523: 	PORT_DIPSETTING(    0x01, "7" )
  3524: 	PORT_DIPSETTING(    0x00, "8 (Hard)" )
  3525: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Coinage ) )
  3526: 	PORT_DIPSETTING(    0x08, DEF_STR( 1C_1C ) )
  3527: 	PORT_DIPSETTING(    0x00, DEF_STR( 1C_2C ) )
  3528: 	PORT_DIPNAME( 0x10, 0x10, "Character Display Test" )
  3529: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3530: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3531: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Flip_Screen ) )
  3532: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3533: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  3534: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 1-7" )
  3535: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3536: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3537: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  3538: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3539: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3540: 
  3541: 	PORT_START	/* (1) DIPSW-B */
  3542: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  3543: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  3544: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3545: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  3546: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3547: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3548: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  3549: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3550: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3551: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  3552: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3553: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3554: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  3555: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3556: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3557: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  3558: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3559: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3560: 	PORT_DIPNAME( 0x40, 0x40, "DIPSW 2-7" )
  3561: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3562: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3563: 	PORT_DIPNAME( 0x80, 0x80, "DIPSW 2-8" )
  3564: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3565: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3566: 
  3567: 	PORT_START	/* (2) PORT 0 */
  3568: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )		// COIN OUT
  3569: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3570: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3571: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3572: 	PORT_SERVICE( 0x10, IP_ACTIVE_LOW )			// TEST
  3573: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )		// COIN1
  3574: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_COIN2 )		// COIN2
  3575: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE1 )		// SERVICE
  3576: 
  3577: 	MJCTRL_SAILORWS_PORT1
  3578: 	MJCTRL_SAILORWS_PORT2
  3579: 	MJCTRL_SAILORWS_PORT3
  3580: 	MJCTRL_SAILORWS_PORT4
  3581: 	MJCTRL_SAILORWS_PORT5
  3582: INPUT_PORTS_END
  3583: 
  3584: INPUT_PORTS_START( mscoutm )
  3585: 	PORT_START	/* (0) DIPSW-A */
  3586: 	PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
  3587: 	PORT_DIPSETTING(    0x07, "1 (Easy)" )
  3588: 	PORT_DIPSETTING(    0x06, "2" )
  3589: 	PORT_DIPSETTING(    0x05, "3" )
  3590: 	PORT_DIPSETTING(    0x04, "4" )
  3591: 	PORT_DIPSETTING(    0x03, "5" )
  3592: 	PORT_DIPSETTING(    0x02, "6" )
  3593: 	PORT_DIPSETTING(    0x01, "7" )
  3594: 	PORT_DIPSETTING(    0x00, "8 (Hard)" )
  3595: 	PORT_DIPNAME( 0x18, 0x18, DEF_STR( Coinage ) )
  3596: 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
  3597: 	PORT_DIPSETTING(    0x18, DEF_STR( 1C_1C ) )
  3598: 	PORT_DIPSETTING(    0x10, DEF_STR( 1C_2C ) )
  3599: 	PORT_DIPSETTING(    0x08, DEF_STR( 1C_3C ) )
  3600: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Demo_Sounds ) )
  3601: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3602: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3603: 	PORT_DIPNAME( 0x40, 0x00, "Game Sounds" )
  3604: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3605: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3606: 	PORT_DIPNAME( 0x80, 0x00, DEF_STR( Flip_Screen ) )
  3607: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3608: 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
  3609: 
  3610: 	PORT_START	/* (1) DIPSW-B */
  3611: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  3612: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  3613: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3614: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  3615: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3616: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3617: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  3618: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3619: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3620: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  3621: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3622: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3623: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  3624: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3625: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3626: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  3627: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3628: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3629: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  3630: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3631: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3632: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  3633: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3634: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3635: 
  3636: 	PORT_START	/* (2) PORT 0 */
  3637: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
  3638: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
  3639: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
  3640: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
  3641: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
  3642: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3643: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3644: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3645: 
  3646: 	MJCTRL_MSCOUTM_PORT1
  3647: 	MJCTRL_MSCOUTM_PORT2
  3648: 	MJCTRL_MSCOUTM_PORT3
  3649: 	MJCTRL_MSCOUTM_PORT4
  3650: 	MJCTRL_MSCOUTM_PORT5
  3651: INPUT_PORTS_END
  3652: 
  3653: INPUT_PORTS_START( imekura )
  3654: 	PORT_START	/* (0) DIPSW-A */
  3655: 	PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
  3656: 	PORT_DIPSETTING(    0x07, "1 (Easy)" )
  3657: 	PORT_DIPSETTING(    0x06, "2" )
  3658: 	PORT_DIPSETTING(    0x05, "3" )
  3659: 	PORT_DIPSETTING(    0x04, "4" )
  3660: 	PORT_DIPSETTING(    0x03, "5" )
  3661: 	PORT_DIPSETTING(    0x02, "6" )
  3662: 	PORT_DIPSETTING(    0x01, "7" )
  3663: 	PORT_DIPSETTING(    0x00, "8 (Hard)" )
  3664: 	PORT_DIPNAME( 0x08, 0x00, "Game Sounds" )
  3665: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3666: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3667: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
  3668: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3669: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3670: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Flip_Screen ) )
  3671: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3672: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  3673: 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coinage ) )
  3674: 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
  3675: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) )
  3676: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
  3677: 	PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) )
  3678: 
  3679: 	PORT_START	/* (1) DIPSW-B */
  3680: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  3681: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  3682: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3683: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  3684: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3685: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3686: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  3687: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3688: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3689: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  3690: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3691: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3692: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  3693: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3694: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3695: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  3696: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3697: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3698: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  3699: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3700: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3701: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  3702: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3703: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3704: 
  3705: 	PORT_START	/* (2) PORT 0 */
  3706: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
  3707: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
  3708: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
  3709: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
  3710: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
  3711: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3712: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3713: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3714: 
  3715: 	MJCTRL_MSCOUTM_PORT1
  3716: 	MJCTRL_MSCOUTM_PORT2
  3717: 	MJCTRL_MSCOUTM_PORT3
  3718: 	MJCTRL_MSCOUTM_PORT4
  3719: 	MJCTRL_MSCOUTM_PORT5
  3720: INPUT_PORTS_END
  3721: 
  3722: INPUT_PORTS_START( mjegolf )
  3723: 	PORT_START	/* (0) DIPSW-A */
  3724: 	PORT_DIPNAME( 0x07, 0x07, DEF_STR( Difficulty ) )
  3725: 	PORT_DIPSETTING(    0x07, "1 (Easy)" )
  3726: 	PORT_DIPSETTING(    0x06, "2" )
  3727: 	PORT_DIPSETTING(    0x05, "3" )
  3728: 	PORT_DIPSETTING(    0x04, "4" )
  3729: 	PORT_DIPSETTING(    0x03, "5" )
  3730: 	PORT_DIPSETTING(    0x02, "6" )
  3731: 	PORT_DIPSETTING(    0x01, "7" )
  3732: 	PORT_DIPSETTING(    0x00, "8 (Hard)" )
  3733: 	PORT_DIPNAME( 0x08, 0x00, "Game Sounds" )
  3734: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3735: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3736: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
  3737: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3738: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3739: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Flip_Screen ) )
  3740: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  3741: 	PORT_DIPSETTING(    0x20, DEF_STR( On ) )
  3742: 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Coinage ) )
  3743: 	PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
  3744: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_1C ) )
  3745: 	PORT_DIPSETTING(    0x80, DEF_STR( 1C_2C ) )
  3746: 	PORT_DIPSETTING(    0x40, DEF_STR( 1C_3C ) )
  3747: 
  3748: 	PORT_START	/* (1) DIPSW-B */
  3749: 	PORT_DIPNAME( 0x01, 0x01, "DIPSW 2-1" )
  3750: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  3751: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3752: 	PORT_DIPNAME( 0x02, 0x02, "DIPSW 2-2" )
  3753: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  3754: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3755: 	PORT_DIPNAME( 0x04, 0x04, "DIPSW 2-3" )
  3756: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
  3757: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3758: 	PORT_DIPNAME( 0x08, 0x08, "DIPSW 2-4" )
  3759: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
  3760: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3761: 	PORT_DIPNAME( 0x10, 0x10, "DIPSW 2-5" )
  3762: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
  3763: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3764: 	PORT_DIPNAME( 0x20, 0x20, "DIPSW 2-6" )
  3765: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  3766: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3767: 	PORT_DIPNAME( 0x40, 0x40, "Character Display Test" )
  3768: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
  3769: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3770: 	PORT_DIPNAME( 0x80, 0x80, "Graphic ROM Test" )
  3771: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
  3772: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  3773: 
  3774: 	PORT_START	/* (2) PORT 0 */
  3775: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNUSED )
  3776: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNUSED )
  3777: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
  3778: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED )
  3779: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED )
  3780: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_START3 )		// CREDIT CLEAR
  3781: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_SERVICE3 )		// MEMORY RESET
  3782: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_SERVICE2 )		// ANALYZER
  3783: 
  3784: 	MJCTRL_MSCOUTM_PORT1
  3785: 	MJCTRL_MSCOUTM_PORT2
  3786: 	MJCTRL_MSCOUTM_PORT3
  3787: 	MJCTRL_MSCOUTM_PORT4
  3788: 	MJCTRL_MSCOUTM_PORT5
  3789: INPUT_PORTS_END
  3790: 
  3791: 
  3792: static Z80_DaisyChain daisy_chain_main[] =
  3793: {
  3794: 	{ z80ctc_reset, z80ctc_interrupt, z80ctc_reti, 0 },	/* device 0 = CTC_0 */
  3795: 	{ 0, 0, 0, -1 }		/* end mark */
  3796: };
  3797: 
  3798: static Z80_DaisyChain daisy_chain_sound[] =
  3799: {
  3800: 	{ z80ctc_reset, z80ctc_interrupt, z80ctc_reti, 1 },	/* device 0 = CTC_1 */
  3801: 	{ 0, 0, 0, -1 }		/* end mark */
  3802: };
  3803: 
  3804: 
  3805: static struct YM3812interface ym3812_interface =
  3806: {
  3807: 	1,				/* 1 chip */
  3808: 	4000000,			/* 4.00 MHz */
  3809: 	{ 70 }
  3810: };
  3811: 
  3812: static struct DACinterface dac_interface =
  3813: {
  3814: 	2,				/* 2 channels */
  3815: 	{ 70, 100 },
  3816: };
  3817: 
  3818: 
  3819: static MACHINE_DRIVER_START( NBMJDRV1 )
  3820: 
  3821: 	/* basic machine hardware */
  3822: 	MDRV_CPU_ADD_TAG("main",Z80,12000000/2)		/* TMPZ84C011, 6.00 MHz */
  3823: 	MDRV_CPU_CONFIG(daisy_chain_main)
  3824: 	MDRV_CPU_MEMORY(readmem_sailorws, writemem_sailorws)
  3825: 	MDRV_CPU_PORTS(readport_sailorws, writeport_sailorws)
  3826: 	MDRV_CPU_VBLANK_INT(ctc0_trg1, 1)	/* vblank is connect to ctc triggfer */
  3827: 
  3828: 	MDRV_CPU_ADD(Z80,8000000/1)			/* TMPZ84C011, 8.00 MHz */
  3829: 	MDRV_CPU_FLAGS(CPU_AUDIO_CPU)
  3830: 	MDRV_CPU_CONFIG(daisy_chain_sound)
  3831: 	MDRV_CPU_MEMORY(sound_readmem,sound_writemem)
  3832: 	MDRV_CPU_PORTS(sound_readport,sound_writeport)
  3833: 
  3834: 	MDRV_FRAMES_PER_SECOND(60)
  3835: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
  3836: 
  3837: 	MDRV_MACHINE_INIT(sailorws)
  3838: 
  3839: 	/* video hardware */
  3840: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_UPDATE_AFTER_VBLANK | VIDEO_PIXEL_ASPECT_RATIO_1_2)
  3841: 	MDRV_SCREEN_SIZE(1024, 512)
  3842: 	MDRV_VISIBLE_AREA(0, 640-1, 0, 240-1)
  3843: 	MDRV_PALETTE_LENGTH(256)
  3844: 
  3845: 	MDRV_VIDEO_START(sailorws)
  3846: 	MDRV_VIDEO_UPDATE(sailorws)
  3847: 
  3848: 	/* sound hardware */
  3849: 	MDRV_SOUND_ADD(YM3812, ym3812_interface)
  3850: 	MDRV_SOUND_ADD(DAC, dac_interface)
  3851: MACHINE_DRIVER_END
  3852: 
  3853: 
  3854: static MACHINE_DRIVER_START( NBMJDRV2 )
  3855: 
  3856: 	/* basic machine hardware */
  3857: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3858: 
  3859: 	/* video hardware */
  3860: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_PIXEL_ASPECT_RATIO_1_2)
  3861: 	MDRV_VIDEO_START(mjkoiura)
  3862: MACHINE_DRIVER_END
  3863: 
  3864: 
  3865: static MACHINE_DRIVER_START( NBMJDRV3 )
  3866: 
  3867: 	/* basic machine hardware */
  3868: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3869: 
  3870: 	/* video hardware */
  3871: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER | VIDEO_PIXEL_ASPECT_RATIO_1_2)
  3872: 	MDRV_PALETTE_LENGTH(512)
  3873: 
  3874: 	MDRV_VIDEO_START(mscoutm)
  3875: 	MDRV_VIDEO_UPDATE(mscoutm)
  3876: MACHINE_DRIVER_END
  3877: 
  3878: 
  3879: //-------------------------------------------------------------------------
  3880: 
  3881: static MACHINE_DRIVER_START( mjuraden )
  3882: 
  3883: 	/* basic machine hardware */
  3884: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3885: 	MDRV_CPU_MODIFY("main")
  3886: 	MDRV_CPU_MEMORY(readmem_mjuraden,writemem_mjuraden)
  3887: 	MDRV_CPU_PORTS(readport_mjuraden,writeport_mjuraden)
  3888: MACHINE_DRIVER_END
  3889: 
  3890: 
  3891: static MACHINE_DRIVER_START( koinomp )
  3892: 
  3893: 	/* basic machine hardware */
  3894: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3895: 	MDRV_CPU_MODIFY("main")
  3896: 	MDRV_CPU_MEMORY(readmem_koinomp,writemem_koinomp)
  3897: 	MDRV_CPU_PORTS(readport_koinomp,writeport_koinomp)
  3898: MACHINE_DRIVER_END
  3899: 
  3900: 
  3901: static MACHINE_DRIVER_START( patimono )
  3902: 
  3903: 	/* basic machine hardware */
  3904: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3905: 	MDRV_CPU_MODIFY("main")
  3906: 	MDRV_CPU_PORTS(readport_patimono,writeport_patimono)
  3907: MACHINE_DRIVER_END
  3908: 
  3909: 
  3910: static MACHINE_DRIVER_START( mjanbari )
  3911: 
  3912: 	/* basic machine hardware */
  3913: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3914: 	MDRV_CPU_MODIFY("main")
  3915: 	MDRV_CPU_PORTS(readport_patimono,writeport_patimono)
  3916: 
  3917: 	MDRV_NVRAM_HANDLER(sailorws)
  3918: MACHINE_DRIVER_END
  3919: 
  3920: 
  3921: static MACHINE_DRIVER_START( mmehyou )
  3922: 
  3923: 	/* basic machine hardware */
  3924: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3925: 	MDRV_CPU_MODIFY("main")
  3926: 	MDRV_CPU_MEMORY(readmem_koinomp,writemem_koinomp)
  3927: 	MDRV_CPU_PORTS(readport_mmehyou,writeport_mmehyou)
  3928: 
  3929: 	MDRV_NVRAM_HANDLER(sailorws)
  3930: MACHINE_DRIVER_END
  3931: 
  3932: 
  3933: static MACHINE_DRIVER_START( ultramhm )
  3934: 
  3935: 	/* basic machine hardware */
  3936: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3937: 	MDRV_CPU_MODIFY("main")
  3938: 	MDRV_CPU_MEMORY(readmem_koinomp,writemem_koinomp)
  3939: 	MDRV_CPU_PORTS(readport_koinomp,writeport_koinomp)
  3940: 
  3941: 	MDRV_NVRAM_HANDLER(sailorws)
  3942: MACHINE_DRIVER_END
  3943: 
  3944: 
  3945: static MACHINE_DRIVER_START( gal10ren )
  3946: 
  3947: 	/* basic machine hardware */
  3948: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3949: 	MDRV_CPU_MODIFY("main")
  3950: 	MDRV_CPU_PORTS(readport_gal10ren,writeport_gal10ren)
  3951: MACHINE_DRIVER_END
  3952: 
  3953: 
  3954: static MACHINE_DRIVER_START( renaiclb )
  3955: 
  3956: 	/* basic machine hardware */
  3957: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3958: 	MDRV_CPU_MODIFY("main")
  3959: 	MDRV_CPU_PORTS(readport_renaiclb,writeport_renaiclb)
  3960: MACHINE_DRIVER_END
  3961: 
  3962: 
  3963: static MACHINE_DRIVER_START( mjlaman )
  3964: 
  3965: 	/* basic machine hardware */
  3966: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3967: 	MDRV_CPU_MODIFY("main")
  3968: 	MDRV_CPU_PORTS(readport_mjlaman,writeport_mjlaman)
  3969: MACHINE_DRIVER_END
  3970: 
  3971: 
  3972: static MACHINE_DRIVER_START( mkeibaou )
  3973: 
  3974: 	/* basic machine hardware */
  3975: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3976: 	MDRV_CPU_MODIFY("main")
  3977: 	MDRV_CPU_PORTS(readport_mkeibaou,writeport_mkeibaou)
  3978: MACHINE_DRIVER_END
  3979: 
  3980: 
  3981: static MACHINE_DRIVER_START( pachiten )
  3982: 
  3983: 	/* basic machine hardware */
  3984: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3985: 	MDRV_CPU_MODIFY("main")
  3986: 	MDRV_CPU_PORTS(readport_pachiten,writeport_pachiten)
  3987: 
  3988: 	MDRV_NVRAM_HANDLER(sailorws)
  3989: MACHINE_DRIVER_END
  3990: 
  3991: 
  3992: static MACHINE_DRIVER_START( sailorws )
  3993: 
  3994: 	/* basic machine hardware */
  3995: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  3996: MACHINE_DRIVER_END
  3997: 
  3998: 
  3999: static MACHINE_DRIVER_START( sailorwr )
  4000: 
  4001: 	/* basic machine hardware */
  4002: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  4003: 	MDRV_CPU_MODIFY("main")
  4004: 	MDRV_CPU_PORTS(readport_sailorwr,writeport_sailorwr)
  4005: 
  4006: 	MDRV_NVRAM_HANDLER(sailorws)
  4007: MACHINE_DRIVER_END
  4008: 
  4009: 
  4010: static MACHINE_DRIVER_START( psailor1 )
  4011: 
  4012: 	/* basic machine hardware */
  4013: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  4014: 	MDRV_CPU_MODIFY("main")
  4015: 	MDRV_CPU_PORTS(readport_psailor1,writeport_psailor1)
  4016: MACHINE_DRIVER_END
  4017: 
  4018: 
  4019: static MACHINE_DRIVER_START( psailor2 )
  4020: 
  4021: 	/* basic machine hardware */
  4022: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  4023: 	MDRV_CPU_MODIFY("main")
  4024: 	MDRV_CPU_PORTS(readport_psailor2,writeport_psailor2)
  4025: MACHINE_DRIVER_END
  4026: 
  4027: 
  4028: static MACHINE_DRIVER_START( otatidai )
  4029: 
  4030: 	/* basic machine hardware */
  4031: 	MDRV_IMPORT_FROM( NBMJDRV1 )
  4032: 	MDRV_CPU_MODIFY("main")
  4033: 	MDRV_CPU_PORTS(readport_otatidai,writeport_otatidai)
  4034: MACHINE_DRIVER_END
  4035: 
  4036: 
  4037: static MACHINE_DRIVER_START( ngpgal )
  4038: 
  4039: 	/* basic machine hardware */
  4040: 	MDRV_IMPORT_FROM( NBMJDRV2 )
  4041: 	MDRV_CPU_MODIFY("main")
  4042: 	MDRV_CPU_MEMORY(readmem_ngpgal,writemem_ngpgal)
  4043: 	MDRV_CPU_PORTS(readport_ngpgal,writeport_ngpgal)
  4044: MACHINE_DRIVER_END
  4045: 
  4046: 
  4047: static MACHINE_DRIVER_START( mjgottsu )
  4048: 
  4049: 	/* basic machine hardware */
  4050: 	MDRV_IMPORT_FROM( NBMJDRV2 )
  4051: 	MDRV_CPU_MODIFY("main")
  4052: 	MDRV_CPU_MEMORY(readmem_ngpgal,writemem_ngpgal)
  4053: 	MDRV_CPU_PORTS(readport_mjgottsu,writeport_mjgottsu)
  4054: MACHINE_DRIVER_END
  4055: 
  4056: 
  4057: static MACHINE_DRIVER_START( bakuhatu )
  4058: 
  4059: 	/* basic machine hardware */
  4060: 	MDRV_IMPORT_FROM( NBMJDRV2 )
  4061: 	MDRV_CPU_MODIFY("main")
  4062: 	MDRV_CPU_MEMORY(readmem_ngpgal,writemem_ngpgal)
  4063: 	MDRV_CPU_PORTS(readport_mjgottsu,writeport_mjgottsu)
  4064: MACHINE_DRIVER_END
  4065: 
  4066: 
  4067: static MACHINE_DRIVER_START( cmehyou )
  4068: 
  4069: 	/* basic machine hardware */
  4070: 	MDRV_IMPORT_FROM( NBMJDRV2 )
  4071: 	MDRV_CPU_MODIFY("main")
  4072: 	MDRV_CPU_MEMORY(readmem_ngpgal,writemem_ngpgal)
  4073: 	MDRV_CPU_PORTS(readport_cmehyou,writeport_cmehyou)
  4074: MACHINE_DRIVER_END
  4075: 
  4076: 
  4077: static MACHINE_DRIVER_START( mjkoiura )
  4078: 
  4079: 	/* basic machine hardware */
  4080: 	MDRV_IMPORT_FROM( NBMJDRV2 )
  4081: 	MDRV_CPU_MODIFY("main")
  4082: 	MDRV_CPU_MEMORY(readmem_mjuraden,writemem_mjuraden)
  4083: 	MDRV_CPU_PORTS(readport_mjkoiura,writeport_mjkoiura)
  4084: MACHINE_DRIVER_END
  4085: 
  4086: 
  4087: static MACHINE_DRIVER_START( mscoutm )
  4088: 
  4089: 	/* basic machine hardware */
  4090: 	MDRV_IMPORT_FROM( NBMJDRV3 )
  4091: 	MDRV_CPU_MODIFY("main")
  4092: 	MDRV_CPU_MEMORY(readmem_mscoutm,writemem_mscoutm)
  4093: 	MDRV_CPU_PORTS(readport_mscoutm,writeport_mscoutm)
  4094: MACHINE_DRIVER_END
  4095: 
  4096: 
  4097: static MACHINE_DRIVER_START( imekura )
  4098: 
  4099: 	/* basic machine hardware */
  4100: 	MDRV_IMPORT_FROM( NBMJDRV3 )
  4101: 	MDRV_CPU_MODIFY("main")
  4102: 	MDRV_CPU_MEMORY(readmem_mjegolf,writemem_mjegolf)
  4103: 	MDRV_CPU_PORTS(readport_imekura,writeport_imekura)
  4104: MACHINE_DRIVER_END
  4105: 
  4106: 
  4107: static MACHINE_DRIVER_START( mjegolf )
  4108: 
  4109: 	/* basic machine hardware */
  4110: 	MDRV_IMPORT_FROM( NBMJDRV3 )
  4111: 	MDRV_CPU_MODIFY("main")
  4112: 	MDRV_CPU_MEMORY(readmem_mjegolf,writemem_mjegolf)
  4113: 	MDRV_CPU_PORTS(readport_mjegolf,writeport_mjegolf)
  4114: MACHINE_DRIVER_END
  4115: 
  4116: 
  4117: ROM_START( mjuraden )
  4118: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4119: 	ROM_LOAD( "1.7c",   0x00000,  0x10000, CRC(3b142791) SHA1(b5cf9e2c12967ad4ba035b7480419c91e412c753) )
  4120: 
  4121: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4122: 	ROM_LOAD( "2.13e",  0x00000,  0x20000, CRC(3a230c22) SHA1(13aa18dcd320039bca2530c62d1033e4e3335697) )
  4123: 
  4124: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4125: 	ROM_LOAD( "3.1h",   0x000000, 0x80000, CRC(6face365) SHA1(ef42dbdac04069affb1b5841d6738b40b98f2dac) )
  4126: 	ROM_LOAD( "4.3h",   0x080000, 0x80000, CRC(6b7b0518) SHA1(5f7ea874a872b8bd6d3a256e700cf9fc6c7b0a4a) )
  4127: 	ROM_LOAD( "5.5h",   0x100000, 0x80000, CRC(43396517) SHA1(a6ba557a94e7e844d36798f73869209ffb4f3015) )
  4128: 	ROM_LOAD( "6.6h",   0x180000, 0x80000, CRC(32cd3450) SHA1(8b0dd858d5d6f2b436fa8ffcb79975624525735b) )
  4129: 	ROM_LOAD( "9.11h",  0x240000, 0x20000, CRC(585998bd) SHA1(5df6af1c33038eb3868fa9a2626396c3080077cc) )
  4130: 	ROM_LOAD( "10.12h", 0x260000, 0x20000, CRC(58220c2a) SHA1(6a42c3ec3f7d01efdbe18a20976e6499885b1932) )
  4131: ROM_END
  4132: 
  4133: ROM_START( koinomp )
  4134: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4135: 	ROM_LOAD( "1.7c",   0x00000,  0x10000, CRC(e4d626fc) SHA1(46bd9b494c7de4eae3e5dfb3bb2ce897ced0d6da) )
  4136: 
  4137: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4138: 	ROM_LOAD( "2.13e",  0x00000,  0x20000, CRC(4a5c814b) SHA1(8d06da85dd7f6a10e3cc81f0bb7bb60d07fb02a2) )
  4139: 
  4140: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4141: 	ROM_LOAD( "3.1h",   0x000000, 0x80000, CRC(1f16d3a1) SHA1(93018a9922c66fff6b4c558af474a79e3b90e46b) )
  4142: 	ROM_LOAD( "4.3h",   0x080000, 0x80000, CRC(f00b1a11) SHA1(e0814ec823016f82c1614440e297a8c5337714e5) )
  4143: 	ROM_LOAD( "5.5h",   0x100000, 0x80000, CRC(b1ae17b3) SHA1(48d73e004a2d06883a6e9910d06d1e78a986f69c) )
  4144: 	ROM_LOAD( "6.6h",   0x180000, 0x80000, CRC(bb863b58) SHA1(a71ace4a1836c536b2e8562f46fe62d2f222a49d) )
  4145: 	ROM_LOAD( "7.7h",   0x200000, 0x80000, CRC(2a3acd8c) SHA1(0bd85a2c4fcd563973485779ecabc64b08aeade4) )
  4146: 	ROM_LOAD( "8.9h",   0x280000, 0x80000, CRC(595a643a) SHA1(1b909980eba798c720ac6f3ea2872a2e00bdb34d) )
  4147: 	ROM_LOAD( "9.10h",  0x300000, 0x80000, CRC(28e68e7b) SHA1(a0587e7206dc9b9d5323f5b3c102b848eb58011f) )
  4148: 	ROM_LOAD( "10.12h", 0x380000, 0x80000, CRC(a598f152) SHA1(634cf6977a5bb1747c512a5095324c40ada8cdd9) )
  4149: ROM_END
  4150: 
  4151: ROM_START( patimono )
  4152: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4153: 	ROM_LOAD( "1.7c",   0x00000,  0x10000, CRC(e4860829) SHA1(192d89b7915153dea8b7a53e1756be83a07f78ec) )
  4154: 
  4155: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4156: 	ROM_LOAD( "2.13e",  0x00000,  0x20000, CRC(30770363) SHA1(a6af371ca833878361b4a15857fa216272650a19) )
  4157: 
  4158: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4159: 	ROM_LOAD( "3.1h",   0x000000, 0x80000, CRC(56cbf448) SHA1(b399934adf6df175b2632ef2766e019a40c6d339) )
  4160: 	ROM_LOAD( "4.3h",   0x080000, 0x80000, CRC(4dd19093) SHA1(71d4c2755100851b6ad5f697d77ccd799cf6aa4d) )
  4161: 	ROM_LOAD( "5.5h",   0x100000, 0x80000, CRC(63cdc4fe) SHA1(b85069cfef0b58b825d7b36c250873488d36d308) )
  4162: 	ROM_LOAD( "6.6h",   0x180000, 0x80000, CRC(6057cb66) SHA1(cf12c8322b3034365367924de3b7ceb2b73f189a) )
  4163: 	ROM_LOAD( "7.7h",   0x200000, 0x80000, CRC(309ea3d5) SHA1(5ff99bed43c6dc0af713897fea8d2b466da80c8d) )
  4164: 	ROM_LOAD( "8.9h",   0x280000, 0x80000, CRC(6da16cdd) SHA1(295510405df7df4f09838d6a613a0de918648ccb) )
  4165: 	ROM_LOAD( "9.10h",  0x300000, 0x80000, CRC(c6064b3b) SHA1(e65f7f5f3bd8f7a7d94bcc0b37393449af51a5bf) )
  4166: ROM_END
  4167: 
  4168: ROM_START( mjanbari )
  4169: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4170: 	ROM_LOAD( "11.7c",  0x00000,  0x10000, CRC(1edde2ef) SHA1(fe0c23971cc25c8e2898ac697ce5111fda482f41) )
  4171: 
  4172: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4173: 	ROM_LOAD( "2.13e",  0x00000,  0x20000, CRC(30770363) SHA1(a6af371ca833878361b4a15857fa216272650a19) )
  4174: 
  4175: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4176: 	ROM_LOAD( "3.1h",   0x000000, 0x80000, CRC(0fb21d13) SHA1(f9ea15b2dce9c4c22e2095ede7522b980842d592) )
  4177: 	ROM_LOAD( "4.3h",   0x080000, 0x80000, CRC(4dd19093) SHA1(71d4c2755100851b6ad5f697d77ccd799cf6aa4d) )
  4178: 	ROM_LOAD( "5.5h",   0x100000, 0x80000, CRC(f5748587) SHA1(0325bd0e0851b56acaae12ce368fda51dc914ec0) )
  4179: 	ROM_LOAD( "6.6h",   0x180000, 0x80000, CRC(9aaf6aa4) SHA1(1ffe5640c8758789549081db19328e152d5c36ac) )
  4180: 	ROM_LOAD( "7.7h",   0x200000, 0x80000, CRC(34df5475) SHA1(f907a8240cc97bfc3f326036efb8c22b0eddb3d0) )
  4181: 	ROM_LOAD( "8.9h",   0x280000, 0x80000, CRC(d4d74ec3) SHA1(81cdce6637b2fe18a5699584a74e50b74e0040be) )
  4182: 	ROM_LOAD( "9.10h",  0x300000, 0x80000, CRC(f7958466) SHA1(0b1ec02b1b20d056a94c8591c05904cecee6e887) )
  4183: ROM_END
  4184: 
  4185: ROM_START( mmehyou )
  4186: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4187: 	ROM_LOAD( "1.7c",  0x00000,  0x10000, CRC(29d51130) SHA1(266b63c9efa7aca9725173d30bccc39527bc7b55) )
  4188: 
  4189: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4190: 	ROM_LOAD( "2.13e", 0x00000,  0x20000, CRC(d193a2e1) SHA1(36e5e7c3b35daac96bb48883db0ae6ebd194acf3) )
  4191: 
  4192: 	ROM_REGION( 0x260000, REGION_GFX1, 0 ) /* gfx */
  4193: 	ROM_LOAD( "3.1h",  0x000000, 0x80000, CRC(e4caab61) SHA1(10fc82edd46fddcfa0cea53eff631e5ac829e15d) )
  4194: 	ROM_LOAD( "4.3h",  0x080000, 0x80000, CRC(bbb20aef) SHA1(d956f3ffa21b52c005cde13219c576e05ec9462f) )
  4195: 	ROM_LOAD( "5.5h",  0x100000, 0x80000, CRC(ff59c4c9) SHA1(4c9d3f37c525366f5a43d42cdbf4f0814ab24d74) )
  4196: 	ROM_LOAD( "6.6h",  0x180000, 0x80000, CRC(d20f9b92) SHA1(87aa76074611701de269d75f13d871bde23dcbef) )
  4197: 	ROM_LOAD( "7.7h",  0x200000, 0x20000, CRC(d78dfbe2) SHA1(6353e6bab0453eb651f59a4333de4625783d4390) )
  4198: 	ROM_LOAD( "8.9h",  0x220000, 0x20000, CRC(92160e9b) SHA1(4b8e4518646db5c83cc102ee99ea687c5039b132) )
  4199: 	ROM_LOAD( "9.10h", 0x240000, 0x20000, CRC(18a72f2e) SHA1(6b4de4ed2befa4cdbce7822d7349024c14ecd4a0) )
  4200: ROM_END
  4201: 
  4202: ROM_START( ultramhm )
  4203: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4204: 	ROM_LOAD( "1.7c",   0x00000,  0x10000, CRC(152811b1) SHA1(6f020848252f95468890c9c35dea3fb211caa9c9) )
  4205: 
  4206: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4207: 	ROM_LOAD( "2.12e",  0x00000,  0x20000, CRC(a26ba18b) SHA1(593abfda2e082e1dbea37dc8840bd4d63014cde6) )
  4208: 
  4209: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4210: 	ROM_LOAD( "3.1h",   0x000000, 0x80000, CRC(c0b2bb01) SHA1(5d7c2ae5ceff35a3a7eb747581d9c26ba77bb754) )
  4211: 	ROM_LOAD( "4.3h",   0x080000, 0x80000, CRC(c9f0fe0f) SHA1(70b5338ca31891605d89531d0ddfafb6a557c5d0) )
  4212: 	ROM_LOAD( "5.4h",   0x100000, 0x80000, CRC(ee9a449e) SHA1(4e630d633611d137c2cf43ae292162317eb855aa) )
  4213: 	ROM_LOAD( "6.6h",   0x180000, 0x80000, CRC(0c1a8723) SHA1(b276ca47a5c6396fd8d529a2eae36df57c2753e4) )
  4214: ROM_END
  4215: 
  4216: ROM_START( gal10ren )
  4217: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4218: 	ROM_LOAD( "gl10_01.bin",  0x00000,  0x10000, CRC(f63f81b4) SHA1(a805e472f01f2a6d4acb17770e2490d67c0b51ee) )
  4219: 
  4220: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4221: 	ROM_LOAD( "gl10_02.bin",  0x00000,  0x20000, CRC(1317b788) SHA1(0e12057c2849e733d88ca094d5382207cd34d79d) )
  4222: 
  4223: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4224: 	ROM_LOAD( "gl10_03.bin",  0x000000, 0x80000, CRC(ee7853ff) SHA1(5f1c395832437d70bda3928c0d9794b9d033a449) )
  4225: 	ROM_LOAD( "gl10_04.bin",  0x080000, 0x80000, CRC(e17e4fb5) SHA1(dbb7fa896cf74a1fde00b137c8c220dfacf53cd2) )
  4226: 	ROM_LOAD( "gl10_05.bin",  0x100000, 0x80000, CRC(0167f589) SHA1(d3fd38f0035e96c53752e4ea1924bcee692b12e4) )
  4227: 	ROM_LOAD( "gl10_06.bin",  0x180000, 0x80000, CRC(a31a3ab8) SHA1(ac3768604b62808b0d75c20509f80a9684c68c8e) )
  4228: 	ROM_LOAD( "gl10_07.bin",  0x200000, 0x80000, CRC(0d96419f) SHA1(a1eb0add44345552e3975489f4a569b51046989a) )
  4229: 	ROM_LOAD( "gl10_08.bin",  0x280000, 0x80000, CRC(777857d0) SHA1(7bae33e61a67d264e56415b95187921dcbdda126) )
  4230: 	ROM_LOAD( "gl10_09.bin",  0x300000, 0x80000, CRC(b1dba049) SHA1(d39dd7b320e1ed6492f2b6574ec49ead9650e8e9) )
  4231: 	ROM_LOAD( "gl10_10.bin",  0x380000, 0x80000, CRC(a9806b00) SHA1(07dc60de6dcbe23e142d2438222b53b1d387abb8) )
  4232: ROM_END
  4233: 
  4234: ROM_START( renaiclb )
  4235: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4236: 	ROM_LOAD( "1.7c",  0x00000,  0x10000, CRC(82f99130) SHA1(afb19d716b71c10ca3e8c014be9e9a6105aa660b) )
  4237: 
  4238: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4239: 	ROM_LOAD( "2.12e", 0x00000,  0x20000, CRC(9f6204a1) SHA1(8d20e0893bb8ceaf8f5076fb0ade24c040f4fc82) )
  4240: 
  4241: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4242: 	ROM_LOAD( "3.1h",  0x000000, 0x80000, CRC(3d205506) SHA1(f92511c8bff0f21e02587d01d5e046dbbb1dc342) )
  4243: 	ROM_LOAD( "4.3h",  0x080000, 0x80000, CRC(d9c1af55) SHA1(1fb5e43c2d1bed652499e5f1a2c928d37860df29) )
  4244: 	ROM_LOAD( "5.5h",  0x100000, 0x80000, CRC(3860cae7) SHA1(b1277acc567d9290ab6e4d69a58968f6a945a022) )
  4245: 	ROM_LOAD( "6.6h",  0x180000, 0x80000, CRC(f5a43aaa) SHA1(c83e7f3891556428970021b220b42b1a416467a3) )
  4246: 	ROM_LOAD( "7.7h",  0x200000, 0x80000, CRC(31676c54) SHA1(3127ce38763584e4832996c5cb7c999656c554d9) )
  4247: ROM_END
  4248: 
  4249: ROM_START( mjlaman )
  4250: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4251: 	ROM_LOAD( "mlmn_01.bin",  0x00000,  0x10000, CRC(5974740d) SHA1(1856ccb91abcfbab53bbd23d41ecfe5a3ffa363d) )
  4252: 
  4253: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4254: 	ROM_LOAD( "mlmn_02.bin",  0x00000,  0x20000, CRC(90adede6) SHA1(ec08b095b894807a6f6d774a21e1e459f1d022b5) )
  4255: 
  4256: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4257: 	ROM_LOAD( "mlmn_03.bin",  0x000000, 0x80000, CRC(f9c4cda2) SHA1(3875fa6651c9c14e9edbc8c7e0d6ab79abc7cc6d) )
  4258: 	ROM_LOAD( "mlmn_04.bin",  0x080000, 0x80000, CRC(576c54d4) SHA1(2985af027f56eec909a8be79486c6141c03c602d) )
  4259: 	ROM_LOAD( "mlmn_05.bin",  0x100000, 0x80000, CRC(0318a070) SHA1(0173c5fa614c002e71475edc48699677874aea9f) )
  4260: 	ROM_LOAD( "mlmn_06.bin",  0x180000, 0x80000, CRC(9ee76f86) SHA1(2cc52cb5ee47e51dc05bc194a0669ba480293764) )
  4261: ROM_END
  4262: 
  4263: ROM_START( mkeibaou )
  4264: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4265: 	ROM_LOAD( "mkbo_01.bin",  0x00000,  0x10000, CRC(2e37b1fb) SHA1(e4fbfbe20fbc0ea204dc91ee0d133c9bd5bbefb5) )
  4266: 
  4267: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4268: 	ROM_LOAD( "mkbo_02.bin",  0x00000,  0x20000, CRC(c9a3109e) SHA1(615289fb9a7e11ceaa774eef8192ca7245e23449) )
  4269: 
  4270: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4271: 	ROM_LOAD( "mkbo_03.bin",  0x000000, 0x80000, CRC(671e2fd9) SHA1(d2062830d6fdfb91aafb5c17dd5865d3373799ea) )
  4272: 	ROM_LOAD( "mkbo_04.bin",  0x080000, 0x80000, CRC(6ae5d3de) SHA1(13c44bea4e6052d91e7801e37a0e4540886688a8) )
  4273: 	ROM_LOAD( "mkbo_05.bin",  0x100000, 0x80000, CRC(c57f4532) SHA1(497bff72e28f770be201e4e79ef4a7bdb6fa5d1e) )
  4274: 	ROM_LOAD( "mkbo_06.bin",  0x180000, 0x80000, CRC(4b7edeea) SHA1(8d8f3fd5867e3ecebb7de7fadc8f0e830d8b4171) )
  4275: 	ROM_LOAD( "mkbo_07.bin",  0x200000, 0x80000, CRC(6cb2e7f4) SHA1(3a7f1bd712a873561f80586f05e84cde26419f7f) )
  4276: 	ROM_LOAD( "mkbo_08.bin",  0x280000, 0x80000, CRC(45ca7512) SHA1(28765da39da98fbdd2575f14145c13e2ed24bd5e) )
  4277: 	ROM_LOAD( "mkbo_09.bin",  0x300000, 0x80000, CRC(abc47929) SHA1(9c83b8701fd7cfa11cf9b120350812ae371b4ea0) )
  4278: ROM_END
  4279: 
  4280: ROM_START( pachiten )
  4281: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4282: 	ROM_LOAD( "pctn_01.bin",  0x00000,  0x10000, CRC(c033d7c6) SHA1(067cdff10819c8653e92981a5becdb73e52bbd70) )
  4283: 
  4284: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4285: 	ROM_LOAD( "pctn_02.bin",  0x00000,  0x20000, CRC(fe2f0dfa) SHA1(76a0ac1499bde3a05915711d882db132e720208e) )
  4286: 
  4287: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4288: 	ROM_LOAD( "pctn_03.bin",  0x000000, 0x80000, CRC(9d9c5956) SHA1(6ef318d3a1d4d4f48b893ea331f2db4d670efb3b) )
  4289: 	ROM_LOAD( "pctn_04.bin",  0x080000, 0x80000, CRC(73765b76) SHA1(43ccdbfec63760f68cc6d7f97cf062862e7c4964) )
  4290: 	ROM_LOAD( "pctn_05.bin",  0x100000, 0x80000, CRC(db929225) SHA1(499a485842b25fb02acfa5efd9f888e2b865818e) )
  4291: 	ROM_LOAD( "pctn_06.bin",  0x180000, 0x80000, CRC(4c817293) SHA1(98a89e15b57c42181f525343b25006333a0602ac) )
  4292: 	ROM_LOAD( "pctn_07.bin",  0x200000, 0x80000, CRC(34df5475) SHA1(f907a8240cc97bfc3f326036efb8c22b0eddb3d0) )
  4293: 	ROM_LOAD( "pctn_08.bin",  0x280000, 0x80000, CRC(227a73e5) SHA1(721676a05fc8ab9e2255bda3b4d5582150dc4e0d) )
  4294: 	ROM_LOAD( "pctn_09.bin",  0x300000, 0x80000, CRC(600c738f) SHA1(c8828e98aeddeeb542fd66968d6db4183e4c558e) )
  4295: ROM_END
  4296: 
  4297: ROM_START( sailorws )
  4298: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4299: 	ROM_LOAD( "slws_01.bin",  0x00000,  0x10000, CRC(33191e48) SHA1(55481f09469b239d7eeafc6e53f7bb86f499fae7) )
  4300: 
  4301: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4302: 	ROM_LOAD( "slws_02.bin",  0x00000,  0x20000, CRC(582f3f29) SHA1(de8f716e069ce0137f610746e477bb7cc841fc72) )
  4303: 
  4304: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4305: 	ROM_LOAD( "slws_03.bin",  0x000000, 0x80000, CRC(7fe44b0f) SHA1(7400457e5b175f30717d2c55515ca119eec8b6fc) )
  4306: 	ROM_LOAD( "slws_04.bin",  0x080000, 0x80000, CRC(8b78a009) SHA1(50de97a3ea500008ff9aa7d922c80792fae12550) )
  4307: 	ROM_LOAD( "slws_05.bin",  0x100000, 0x80000, CRC(6408aa82) SHA1(f92a96bd50c3aad8a05e4737eb1a7955a52000be) )
  4308: 	ROM_LOAD( "slws_06.bin",  0x180000, 0x80000, CRC(e01d17f5) SHA1(aaa3b0e6505a39013c30167952139d976812fc92) )
  4309: 	ROM_LOAD( "slws_07.bin",  0x200000, 0x80000, CRC(f8f13876) SHA1(2589acd324f32d73ac5d68756d2f88c240ec09a7) )
  4310: 	ROM_LOAD( "slws_08.bin",  0x280000, 0x80000, CRC(97ef333d) SHA1(217b9b37cb20459fd09cfe69850cd34a86e97901) )
  4311: 	ROM_LOAD( "slws_09.bin",  0x300000, 0x80000, CRC(06cadf34) SHA1(a6cdf2f84d1ea2f14bb23b301e9efc78266f1702) )
  4312: 	ROM_LOAD( "slws_10.bin",  0x380000, 0x80000, CRC(dd944b9c) SHA1(cc828605c4c39b4f3e5f34bc6b1ca103a7dfc719) )
  4313: ROM_END
  4314: 
  4315: ROM_START( sailorwr )
  4316: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4317: 	ROM_LOAD( "slwr_01.bin",  0x00000,  0x10000, CRC(a0d65cd5) SHA1(3c617231309fd6919fd63c95ec0e3540c4b48a76) )
  4318: 
  4319: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4320: 	ROM_LOAD( "slws_02.bin",  0x00000,  0x20000, CRC(582f3f29) SHA1(de8f716e069ce0137f610746e477bb7cc841fc72) )
  4321: 
  4322: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4323: 	ROM_LOAD( "slwr_03.bin",  0x000000, 0x80000, CRC(03c865ae) SHA1(44ec3b2ace96a1aac2d816cfb585105b5056e814) )
  4324: 	ROM_LOAD( "slws_04.bin",  0x080000, 0x80000, CRC(8b78a009) SHA1(50de97a3ea500008ff9aa7d922c80792fae12550) )
  4325: 	ROM_LOAD( "slws_05.bin",  0x100000, 0x80000, CRC(6408aa82) SHA1(f92a96bd50c3aad8a05e4737eb1a7955a52000be) )
  4326: 	ROM_LOAD( "slws_06.bin",  0x180000, 0x80000, CRC(e01d17f5) SHA1(aaa3b0e6505a39013c30167952139d976812fc92) )
  4327: 	ROM_LOAD( "slwr_07.bin",  0x200000, 0x80000, CRC(2ee65c0b) SHA1(ca1959db37183a8e304fe649dab494e6828b3dcf) )
  4328: 	ROM_LOAD( "slwr_08.bin",  0x280000, 0x80000, CRC(fe72a7fb) SHA1(1c2d400ee4fcafdde55190af74faafc5d35fd5ac) )
  4329: 	ROM_LOAD( "slwr_09.bin",  0x300000, 0x80000, CRC(149ec899) SHA1(315e850e0cd116c4e02f9f10feed94feb6796f62) )
  4330: 	ROM_LOAD( "slwr_10.bin",  0x380000, 0x80000, CRC(0cf3da5a) SHA1(9e3c615da436dee5918f970712b8f20fce22f9ec) )
  4331: ROM_END
  4332: 
  4333: ROM_START( psailor1 )
  4334: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4335: 	ROM_LOAD( "pts1_01.bin",  0x00000,  0x10000, CRC(a93dab87) SHA1(c4172bd8ed485b80c4fb7a617d8dc017b4fa01a1) )
  4336: 
  4337: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4338: 	ROM_LOAD( "pts1_02.bin",  0x00000,  0x20000, CRC(0bcc1a89) SHA1(386a979e9a482061fadb4c0bcf2808ad58caa0e6) )
  4339: 
  4340: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4341: 	ROM_LOAD( "pts1_03.bin",  0x000000, 0x80000, CRC(4f1c2726) SHA1(08090be67ad1caf8d7f53989c988cb8d16e81ee8) )
  4342: 	ROM_LOAD( "pts1_04.bin",  0x080000, 0x80000, CRC(52e813e0) SHA1(1cb7a7b29b374ee293b5343c1ce5b5048da4ee33) )
  4343: 	ROM_LOAD( "pts1_05.bin",  0x100000, 0x80000, CRC(c7de2894) SHA1(485bc854629915057e3ab53bf679297d1efe7c5e) )
  4344: 	ROM_LOAD( "pts1_06.bin",  0x180000, 0x80000, CRC(ba6617f1) SHA1(76795437c180330ae02bb5b7f87ee15147db02d0) )
  4345: 	ROM_LOAD( "pts1_07.bin",  0x200000, 0x80000, CRC(a67fc71e) SHA1(687648fa1c2dc04dc16ef3d6d65c480be9644f7e) )
  4346: 	ROM_LOAD( "pts1_08.bin",  0x280000, 0x80000, CRC(eb6e20b6) SHA1(621c8a35266221dde53b6a784082f95288cee213) )
  4347: 	ROM_LOAD( "pts1_09.bin",  0x300000, 0x80000, CRC(ea05b513) SHA1(dd4f6baf8de94996487d5f2db5020a2e93fe6255) )
  4348: 	ROM_LOAD( "pts1_10.bin",  0x380000, 0x80000, CRC(2e50d1e7) SHA1(1cfac75740c68b1fcb86e24d7949c916c7961e11) )
  4349: ROM_END
  4350: 
  4351: ROM_START( psailor2 )
  4352: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4353: 	ROM_LOAD( "pts2_01.bin",  0x00000,  0x10000, CRC(5a94677f) SHA1(ce8c4f99b619ba72fd3c53e512a83688c3dd54a4) )
  4354: 
  4355: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4356: 	ROM_LOAD( "pts2_02.bin",  0x00000,  0x20000, CRC(3432de51) SHA1(affd2c1207502a305ea350e20f9adaf6aadfcaec) )
  4357: 
  4358: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4359: 	ROM_LOAD( "pts2_03.bin",  0x000000, 0x80000, CRC(2b8c992e) SHA1(8ed3b5245077ef0fdd7a9bdfdaa2d856824805fa) )
  4360: 	ROM_LOAD( "pts2_04.bin",  0x080000, 0x80000, CRC(fea2d719) SHA1(6e797f0a0215da99d7f32f886730328174f15981) )
  4361: 	ROM_LOAD( "pts2_05.bin",  0x100000, 0x80000, CRC(bab4bcb5) SHA1(9c35bc05203760ddef5da671eb49d271c59a4739) )
  4362: 	ROM_LOAD( "pts2_06.bin",  0x180000, 0x80000, CRC(0bc750e2) SHA1(102cd5d9e800b77a838583f575459abcdfe7e172) )
  4363: 	ROM_LOAD( "pts2_07.bin",  0x200000, 0x80000, CRC(9a0f2cc5) SHA1(4f3b7bc947f1b221dc03c44a6e8a36ab6e72b40f) )
  4364: 	ROM_LOAD( "pts2_08.bin",  0x280000, 0x80000, CRC(ed617dda) SHA1(a3dc58213e8e6875dc937e1cb52c13251b877759) )
  4365: 	ROM_LOAD( "pts2_09.bin",  0x300000, 0x80000, CRC(7dded702) SHA1(a5a9ccb6267314ff6e582f9deadd3591225606dd) )
  4366: 	ROM_LOAD( "pts2_10.bin",  0x380000, 0x80000, CRC(7c0863c7) SHA1(c14963e5151677c80dd0ba0e74c20e14067dce59) )
  4367: ROM_END
  4368: 
  4369: ROM_START( otatidai )
  4370: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4371: 	ROM_LOAD( "otcd_01.bin",  0x00000,  0x10000, CRC(a68acf90) SHA1(85d8d7d37fbdd334a5f489ce59dd630383c4e73c) )
  4372: 
  4373: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4374: 	ROM_LOAD( "otcd_02.bin",  0x00000,  0x20000, CRC(30ed0e78) SHA1(c04185d7e236aeafac5ee5882bfe1ddbf12ba430) )
  4375: 
  4376: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4377: 	ROM_LOAD( "otcd_03.bin",  0x000000, 0x80000, CRC(bf2cfc6b) SHA1(b232167742670a62b50904e5ac14eb1fcaf6caea) )
  4378: 	ROM_LOAD( "otcd_04.bin",  0x080000, 0x80000, CRC(76e9b597) SHA1(a8fdd0d268643e57beb1472e7027754ef09b0cb4) )
  4379: 	ROM_LOAD( "otcd_05.bin",  0x100000, 0x80000, CRC(4e30e3b5) SHA1(a8943417b59b40a0f0d186987f46e6e67f23c94e) )
  4380: 	ROM_LOAD( "otcd_06.bin",  0x180000, 0x80000, CRC(5523d26e) SHA1(ccb9038d3076a3315dba74d492fa3b51e67f7733) )
  4381: 	ROM_LOAD( "otcd_07.bin",  0x200000, 0x80000, CRC(8e86cc54) SHA1(b5ba44d088e9bc6e45a1f3a82015912207b6cd4b) )
  4382: 	ROM_LOAD( "otcd_08.bin",  0x280000, 0x80000, CRC(8f92bc5c) SHA1(abb2424dc5d2714324df1e9c50e0d3a57ae527fd) )
  4383: 	ROM_LOAD( "otcd_09.bin",  0x300000, 0x80000, CRC(e1c6c345) SHA1(eb7743d14d4bc0f699cb3ad42ef6af2a7a40434b) )
  4384: 	ROM_LOAD( "otcd_10.bin",  0x380000, 0x80000, CRC(20f74d5b) SHA1(aa7263ca436609f27226208e18a81f2cfe87292b) )
  4385: ROM_END
  4386: 
  4387: ROM_START( ngpgal )
  4388: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4389: 	ROM_LOAD( "ngpg_01.bin",  0x00000,  0x10000, CRC(c766378b) SHA1(b221908eb14ebf5c87ae896c3c27d261b26b5146) )
  4390: 
  4391: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4392: 	ROM_LOAD( "ngpg_02.bin",  0x00000,  0x20000, CRC(d193a2e1) SHA1(36e5e7c3b35daac96bb48883db0ae6ebd194acf3) )
  4393: 
  4394: 	ROM_REGION( 0x280000, REGION_GFX1, 0 ) /* gfx */
  4395: 	ROM_LOAD( "ngpg_03.bin",  0x000000, 0x20000, CRC(1f7bd813) SHA1(09f5d443944822d7d0c8d6c1bb149cd7ad6a171a) )
  4396: 	ROM_LOAD( "ngpg_04.bin",  0x020000, 0x20000, CRC(4f5bd948) SHA1(afe206be1f992f58dd58c8f19de3ff3bc6c672eb) )
  4397: 	ROM_LOAD( "ngpg_05.bin",  0x040000, 0x20000, CRC(ab65bcc9) SHA1(26509f34b451f88649d67341b9248a5e37fb3be2) )
  4398: 	ROM_LOAD( "ngpg_06.bin",  0x060000, 0x20000, CRC(0f469db1) SHA1(ca3a437e73b940bd528a9bd9b8ce8f24b16b1867) )
  4399: 	ROM_LOAD( "ngpg_07.bin",  0x080000, 0x20000, CRC(637098a9) SHA1(f534308dd6300940df17b0b757a63b5861e43937) )
  4400: 	ROM_LOAD( "ngpg_08.bin",  0x0a0000, 0x20000, CRC(2452d06e) SHA1(55ca2f5c9b76302e989bf9bad709ee7e8bc7fa41) )
  4401: 	ROM_LOAD( "ngpg_09.bin",  0x0c0000, 0x20000, CRC(da5dded0) SHA1(4ca1ebee5ff74a0acbb27fafb21ad653dc66d8df) )
  4402: 	ROM_LOAD( "ngpg_10.bin",  0x0e0000, 0x20000, CRC(94201d03) SHA1(9ca2deadb221b23076e323c13e3e83570b157676) )
  4403: 	ROM_LOAD( "ngpg_11.bin",  0x100000, 0x20000, CRC(2bfc5d06) SHA1(69d779d1df7db16d09f26c325311dca157985ca8) )
  4404: 	ROM_LOAD( "ngpg_12.bin",  0x120000, 0x20000, CRC(a7e6ecc2) SHA1(ea491e187ec2b2c897d3f970272ab872214a70a9) )
  4405: 	ROM_LOAD( "ngpg_13.bin",  0x140000, 0x20000, CRC(5c43e71b) SHA1(ef103caed4c56fd205b77e4affd81a7f16296fa1) )
  4406: 	ROM_LOAD( "ngpg_14.bin",  0x160000, 0x20000, CRC(e8b6802f) SHA1(45d11feba70d9982cab290ed71f959a5a47d003b) )
  4407: 	ROM_LOAD( "ngpg_15.bin",  0x180000, 0x20000, CRC(7294b5ee) SHA1(658a953b562f95e780335c92fa53d2d6784e8baa) )
  4408: 	ROM_LOAD( "ngpg_16.bin",  0x1a0000, 0x20000, CRC(3a1f7366) SHA1(cc6caea616de502cdf1a4717b4dae5aced10b8ca) )
  4409: 	ROM_LOAD( "ngpg_17.bin",  0x1c0000, 0x20000, CRC(0b44f64e) SHA1(72c5f0d51f3de81371c7246d03f800bed43ea450) )
  4410: ROM_END
  4411: 
  4412: ROM_START( mjgottsu )
  4413: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4414: 	ROM_LOAD( "mgek_01.bin",  0x00000,  0x10000, CRC(949676d7) SHA1(2dfa4576c126e1b4f1d4c9ceb2c89905a700f20c) )
  4415: 
  4416: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4417: 	ROM_LOAD( "2.8d",  0x00000,  0x20000, CRC(52c6a1a1) SHA1(8beb94870b890c05e78f95dba4c7e11f6300542b) )
  4418: 
  4419: 	ROM_REGION( 0x280000, REGION_GFX1, 0 ) /* gfx */
  4420: 	ROM_LOAD( "3.1k",         0x000000, 0x20000, CRC(58528909) SHA1(ee481ded7a3dbae01e16fd12f9fe806976e87a7f) )
  4421: 	ROM_LOAD( "4.2k",         0x020000, 0x20000, CRC(d09ad54d) SHA1(0489d9b0755356dd14a05469228cc44784dd7c91) )
  4422: 	ROM_LOAD( "5.3k",         0x040000, 0x20000, CRC(40346785) SHA1(cb1e51bbd56c68990fee1ba61c04949a65a1ffd1) )
  4423: 	ROM_LOAD( "mgek_06.bin",  0x060000, 0x20000, CRC(e96635e1) SHA1(47b297fcd24ed0efc6230b6a38ab20297edb0d87) )
  4424: 	ROM_LOAD( "mgek_07.bin",  0x080000, 0x20000, CRC(174d7ad6) SHA1(894666c5038c88a6532f9a66686d13118aafa82f) )
  4425: 	ROM_LOAD( "mgek_08.bin",  0x0a0000, 0x20000, CRC(65fd9c90) SHA1(a2fca559453ab34184b909db48cfede6ad8e5833) )
  4426: 	ROM_LOAD( "mgek_09.bin",  0x0c0000, 0x20000, CRC(417cd914) SHA1(bd167e40b48ef3a0eb8b1767ec89ab03ac82c7b1) )
  4427: 	ROM_LOAD( "mgek_10.bin",  0x0e0000, 0x20000, CRC(1151414e) SHA1(a2ec6059be72cb85695c8938a0f628bc016166d4) )
  4428: 	ROM_LOAD( "mgek_11.bin",  0x100000, 0x20000, CRC(2ffd55be) SHA1(20d291102c0194d74faba76aba9bbf0836b86355) )
  4429: 	ROM_LOAD( "mgek_12.bin",  0x120000, 0x20000, CRC(7a731fa9) SHA1(55266d1b62dd84c5ed4653f5d57d0980e97257a8) )
  4430: 	ROM_LOAD( "mgek_13.bin",  0x140000, 0x20000, CRC(6d4e56f7) SHA1(c29d0ff6b8ccde7c76d70d267f95004f18b9ca1e) )
  4431: 	ROM_LOAD( "mgek_14.bin",  0x160000, 0x20000, CRC(de3a675c) SHA1(c4c65feb5697a070184fa72be4136fdf404d07b8) )
  4432: 	ROM_LOAD( "mgek_15.bin",  0x180000, 0x20000, CRC(e1d6d504) SHA1(b14a5d67318e2ef3f664db3b0a9a2778f675be15) )
  4433: 	ROM_LOAD( "mgek_16.bin",  0x1a0000, 0x20000, CRC(ca1bca8d) SHA1(3d4138dc9ad4cd366585bc9ae75f612917e5447d) )
  4434: 	ROM_LOAD( "mgek_17.bin",  0x1c0000, 0x20000, CRC(a69973ad) SHA1(fda9046256ef33b668aa8b7d0a697acc32df2a83) )
  4435: 	ROM_LOAD( "mgek_18.bin",  0x1e0000, 0x20000, CRC(d7ad46da) SHA1(aea84e04165c6cacb579a61d1adaad21658aa0ef) )
  4436: ROM_END
  4437: 
  4438: ROM_START( bakuhatu )
  4439: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4440: 	ROM_LOAD( "1.4c",  0x00000,  0x10000, CRC(687900ed) SHA1(6cb950e72e4ff62cdee7343f612569f4fccfde46) )
  4441: 
  4442: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4443: 	ROM_LOAD( "2.8d",  0x00000,  0x20000, CRC(52c6a1a1) SHA1(8beb94870b890c05e78f95dba4c7e11f6300542b) )
  4444: 
  4445: 	ROM_REGION( 0x280000, REGION_GFX1, 0 ) /* gfx */
  4446: 	ROM_LOAD( "3.1k",   0x000000, 0x20000, CRC(58528909) SHA1(ee481ded7a3dbae01e16fd12f9fe806976e87a7f) )
  4447: 	ROM_LOAD( "4.2k",   0x020000, 0x20000, CRC(d09ad54d) SHA1(0489d9b0755356dd14a05469228cc44784dd7c91) )
  4448: 	ROM_LOAD( "5.3k",   0x040000, 0x20000, CRC(40346785) SHA1(cb1e51bbd56c68990fee1ba61c04949a65a1ffd1) )
  4449: 	ROM_LOAD( "6.4k",   0x060000, 0x20000, CRC(772a6753) SHA1(c35e5a5126c6694a64db4944b0b08109c63912d3) )
  4450: 	ROM_LOAD( "7.5k",   0x080000, 0x20000, CRC(3ab6b0b5) SHA1(050306f67aa58f825e7f43d35cfe62dc95fdd7af) )
  4451: 	ROM_LOAD( "8.6k",   0x0a0000, 0x20000, CRC(5b1ca742) SHA1(20ae246d9785cfe69f7b826629ab11c3a70374d1) )
  4452: 	ROM_LOAD( "9.7k",   0x0c0000, 0x20000, CRC(f177fae1) SHA1(8b9f7fbd078053eb780297a38905e4b7ac9b7ffd) )
  4453: 	ROM_LOAD( "10.8k",  0x0e0000, 0x20000, CRC(e9003e4d) SHA1(26ace6abbbb093c0d5d5bfbfae3eb60b23f9304c) )
  4454: 	ROM_LOAD( "11.10k", 0x100000, 0x20000, CRC(c08d835e) SHA1(d2617ba8ec6685c72c53c5bb5b42b89edd9affae) )
  4455: 	ROM_LOAD( "12.11k", 0x120000, 0x20000, CRC(ae3cbba7) SHA1(925672cdd362be0ec13db3189ec35aadde178045) )
  4456: 	ROM_LOAD( "13.1l",  0x140000, 0x20000, CRC(1c402b12) SHA1(52004a8b0b72a751dcfa3462d56b81f6b044b88d) )
  4457: 	ROM_LOAD( "14.2l",  0x160000, 0x20000, CRC(7bb49eaf) SHA1(4d3fe901ab89a4ba4f5a3c34d1594f558a7097ae) )
  4458: 	ROM_LOAD( "15.3l",  0x180000, 0x20000, CRC(d0844179) SHA1(c3ad5dff2a8b364f321020a3b62adebcb7522f93) )
  4459: 	ROM_LOAD( "16.4l",  0x1a0000, 0x20000, CRC(5fe47077) SHA1(3f666d79898f0ae12497a0564ed0065e481a4788) )
  4460: 	ROM_LOAD( "17.5l",  0x1c0000, 0x20000, CRC(9eab0682) SHA1(62e4aebdc144a1944cebdd6c8bbf7089a0dbafef) )
  4461: 	ROM_LOAD( "18.6l",  0x1e0000, 0x20000, CRC(2b14cd5e) SHA1(4457a2fb9767eb4217b72b18dcc336f13766656d) )
  4462: ROM_END
  4463: 
  4464: ROM_START( cmehyou )
  4465: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4466: 	ROM_LOAD( "cmhy_01.bin",  0x00000,  0x10000, CRC(436dfa6c) SHA1(92882cbc8c3d607045b514faed6bb34303d421d7) )
  4467: 
  4468: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4469: 	ROM_LOAD( "cmhy_02.bin",  0x00000,  0x20000, CRC(d193a2e1) SHA1(36e5e7c3b35daac96bb48883db0ae6ebd194acf3) )
  4470: 
  4471: 	ROM_REGION( 0x280000, REGION_GFX1, 0 ) /* gfx */
  4472: 	ROM_LOAD( "cmhy_03.bin",  0x000000, 0x20000, CRC(1f7bd813) SHA1(09f5d443944822d7d0c8d6c1bb149cd7ad6a171a) )
  4473: 	ROM_LOAD( "cmhy_04.bin",  0x020000, 0x20000, CRC(bdb3de8b) SHA1(cf84034f2fd09c196cf36196b8c244114dc71dcf) )
  4474: 	ROM_LOAD( "cmhy_05.bin",  0x040000, 0x20000, CRC(4f686de2) SHA1(1861659270d5ae588dacc1801e98891cda34a545) )
  4475: 	ROM_LOAD( "cmhy_06.bin",  0x060000, 0x20000, CRC(ddd1ac23) SHA1(c0a1e305110a7a1fd06a3b422aa006de1fc44ef5) )
  4476: 	ROM_LOAD( "cmhy_07.bin",  0x080000, 0x20000, CRC(f7c5367f) SHA1(5f029b159e7625165ec4c6754b2a1e8203ee0e95) )
  4477: 	ROM_LOAD( "cmhy_08.bin",  0x0a0000, 0x20000, CRC(f8eecdb5) SHA1(f08bd7a9be7027696468b100f7c29c96a3dacbda) )
  4478: 	ROM_LOAD( "cmhy_09.bin",  0x0c0000, 0x20000, CRC(11e2bbdf) SHA1(fa01514a242d0834d1efa5dc1d3823557165fc80) )
  4479: 	ROM_LOAD( "cmhy_10.bin",  0x0e0000, 0x20000, CRC(bbe489ae) SHA1(4e1b63f73e96f0f7eed8262cc88e14005198bc32) )
  4480: 	ROM_LOAD( "cmhy_11.bin",  0x100000, 0x20000, CRC(338efc1f) SHA1(9e3f93c463f137104e907c0e080dadef5e6bf024) )
  4481: 	ROM_LOAD( "cmhy_12.bin",  0x120000, 0x20000, CRC(6d9f9359) SHA1(36058b65e36ac2bd36a5d921525d2858b1c4aa4c) )
  4482: 	ROM_LOAD( "cmhy_13.bin",  0x140000, 0x20000, CRC(5c43e71b) SHA1(ef103caed4c56fd205b77e4affd81a7f16296fa1) )
  4483: 	ROM_LOAD( "cmhy_14.bin",  0x160000, 0x20000, CRC(e8b6802f) SHA1(45d11feba70d9982cab290ed71f959a5a47d003b) )
  4484: 	ROM_LOAD( "cmhy_15.bin",  0x180000, 0x20000, CRC(f7674a64) SHA1(e26fad2242c394bbf945c43702f54aac32139e06) )
  4485: 	ROM_LOAD( "cmhy_16.bin",  0x1a0000, 0x20000, CRC(3a1f7366) SHA1(cc6caea616de502cdf1a4717b4dae5aced10b8ca) )
  4486: 	ROM_LOAD( "cmhy_17.bin",  0x1c0000, 0x20000, CRC(1b8f6e4c) SHA1(1595c215cf4012c5bd7921ca0c6da95b3fc32adb) )
  4487: 	ROM_LOAD( "cmhy_18.bin",  0x1e0000, 0x20000, CRC(fb86f955) SHA1(6f266d159b4017f9c8b939886c784403b612ebd8) )
  4488: 	ROM_LOAD( "cmhy_19.bin",  0x200000, 0x20000, CRC(fc89fa4f) SHA1(23e65426bc86c746bd7169033fe802a693720d4c) )
  4489: ROM_END
  4490: 
  4491: ROM_START( mjkoiura )
  4492: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4493: 	ROM_LOAD( "mjku_01.bin",  0x00000,  0x10000, CRC(ef9ae73e) SHA1(2e7fe8f55bc06b842d74efd246df04be647d17e3) )
  4494: 
  4495: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4496: 	ROM_LOAD( "mjku_02.bin",  0x00000,  0x20000, CRC(3a230c22) SHA1(13aa18dcd320039bca2530c62d1033e4e3335697) )
  4497: 
  4498: 	ROM_REGION( 0x280000, REGION_GFX1, 0 ) /* gfx */
  4499: 	ROM_LOAD( "mjku_03.bin",  0x000000, 0x20000, CRC(59432ccf) SHA1(a06be02c3d233e607a70b5f79e81c5eb0ff81fd9) )
  4500: 	ROM_LOAD( "mjku_04.bin",  0x020000, 0x20000, CRC(df5816cb) SHA1(9bbadfcecddc36d2c8109c025e74bb10c854e30c) )
  4501: 	ROM_LOAD( "mjku_05.bin",  0x040000, 0x20000, CRC(bf01b952) SHA1(b15f1532e0a31269bc31e71d94882d1c00ee6359) )
  4502: 	ROM_LOAD( "mjku_06.bin",  0x060000, 0x20000, CRC(2dea05ef) SHA1(4d2b44794767cab1d3ef8a3c2c3bd04d2bc93cfa) )
  4503: 	ROM_LOAD( "mjku_07.bin",  0x080000, 0x20000, CRC(c7843126) SHA1(bd8d7a3cfb53907b058469a796aeabee3deb6e3a) )
  4504: 	ROM_LOAD( "mjku_08.bin",  0x0a0000, 0x20000, CRC(c7f2fc2d) SHA1(ac135de9173a96c652d56c2b1a6b775f81faad5c) )
  4505: 	ROM_LOAD( "mjku_09.bin",  0x0c0000, 0x20000, CRC(816b2a36) SHA1(a70bea19ef14e58a6805131c107aca618d2b672e) )
  4506: 	ROM_LOAD( "mjku_10.bin",  0x0e0000, 0x20000, CRC(c417fe11) SHA1(590aadb6cff534d989128d06032307ffdf5dc6cb) )
  4507: 	ROM_LOAD( "mjku_11.bin",  0x100000, 0x20000, CRC(9e1914e2) SHA1(f12c8b8dc0ab991c99493d17ab4ccc3dc9ab1759) )
  4508: 	ROM_LOAD( "mjku_12.bin",  0x120000, 0x20000, CRC(03607cec) SHA1(0da5c38526f223dad1552935d6da43ca806fe4c9) )
  4509: 	ROM_LOAD( "mjku_13.bin",  0x140000, 0x20000, CRC(18018e08) SHA1(4a98cd26c59e6f696d1b72afb37f085121f791aa) )
  4510: 	ROM_LOAD( "mjku_14.bin",  0x160000, 0x20000, CRC(4e835fc0) SHA1(b8585a038653a6d188a31b666f521b81dae2e763) )
  4511: 	ROM_LOAD( "mjku_15.bin",  0x180000, 0x20000, CRC(8fe50109) SHA1(7ba8a73c58471126a851e07f57c3d00b8fdf1459) )
  4512: 	ROM_LOAD( "mjku_16.bin",  0x1a0000, 0x20000, CRC(dc5b8688) SHA1(749af90c0759a47d7c78cc07958da1b4f11f4d76) )
  4513: 	ROM_LOAD( "mjku_17.bin",  0x1c0000, 0x20000, CRC(8579a7b8) SHA1(0509e2f2717c55ce58dc4c74d65db714faa00c2f) )
  4514: 	ROM_LOAD( "mjku_18.bin",  0x1e0000, 0x20000, CRC(c5e330a4) SHA1(465794e4fa2879d2ae396f1e8624bf21f784bfa3) )
  4515: 	ROM_LOAD( "mjku_21.bin",  0x240000, 0x20000, CRC(585998bd) SHA1(5df6af1c33038eb3868fa9a2626396c3080077cc) )
  4516: 	ROM_LOAD( "mjku_22.bin",  0x260000, 0x20000, CRC(64af3e5d) SHA1(9b9e8e3eda9b1a1c9b6b464e6c9f30ac4a667dbf) )
  4517: ROM_END
  4518: 
  4519: ROM_START( mscoutm )
  4520: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4521: 	ROM_LOAD( "mscm_01.bin",  0x00000,  0x10000, CRC(9840ccd8) SHA1(b416606508abddbed50c7ae840e44067fc27d531) )
  4522: 
  4523: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4524: 	ROM_LOAD( "mscm_02.bin",  0x00000,  0x20000, CRC(4d2cbcab) SHA1(ad5c9257d32129c473e7f7124f84e381e35bbaa3) )
  4525: 
  4526: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4527: 	ROM_LOAD( "mscm_03.bin",  0x000000, 0x80000, CRC(fae64c95) SHA1(1df5e848afa94f7a3a147dfbbc7cb3eaec3dc4ca) )
  4528: 	ROM_LOAD( "mscm_04.bin",  0x080000, 0x80000, CRC(03c80712) SHA1(a16eeca380d949b7e662e3463410532d2c2a22ba) )
  4529: 	ROM_LOAD( "mscm_05.bin",  0x100000, 0x80000, CRC(107659f3) SHA1(e8d9342a9c91b96f52fcb9aad9fa2a8c6b145c44) )
  4530: 	ROM_LOAD( "mscm_06.bin",  0x180000, 0x80000, CRC(61f7fa86) SHA1(3e57b4f6199271e7c3d20c80b486f293974b05ea) )
  4531: 	ROM_LOAD( "mscm_07.bin",  0x200000, 0x80000, CRC(10a71690) SHA1(b161c347a77735fe524d39358f2fc2b139352aca) )
  4532: 	ROM_LOAD( "mscm_08.bin",  0x280000, 0x80000, CRC(3b55ef93) SHA1(29dc2ef5ec4254dad04aac64635bee1eaa809c10) )
  4533: 	ROM_LOAD( "mscm_09.bin",  0x300000, 0x80000, CRC(5823d565) SHA1(d5a63b5bc10845cbc4d348f20e0a2a40425de9d7) )
  4534: 	ROM_LOAD( "mscm_10.bin",  0x380000, 0x80000, CRC(c6d44c0e) SHA1(512ee27b340a2741034a08459ce5b217edbce205) )
  4535: ROM_END
  4536: 
  4537: ROM_START( imekura )
  4538: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4539: 	ROM_LOAD( "1.103",  0x00000,  0x10000, CRC(3491083b) SHA1(db73baecb757261d40282b99c87e230b4654fca9) )
  4540: 
  4541: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4542: 	ROM_LOAD( "2.804",  0x00000,  0x20000, CRC(1ef3e8f0) SHA1(1356047317481dfb28b05707abf039df3dec8e77) )
  4543: 
  4544: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4545: 	ROM_LOAD( "03.602",  0x000000, 0x80000, CRC(1eb05df4) SHA1(01960928108ff5fe306758e6a4e3ba1d6cd99572) )
  4546: 	ROM_LOAD( "04.603",  0x080000, 0x80000, CRC(48fefd7d) SHA1(9de6c1324622d815a33a3443cf96bfd9c5c23460) )
  4547: 	ROM_LOAD( "05.604",  0x100000, 0x80000, CRC(934699a8) SHA1(0b20ee46ca35451016b2536bb975f965e3431e3c) )
  4548: 	ROM_LOAD( "06.605",  0x180000, 0x80000, CRC(ef97182d) SHA1(0228277005103f41085283e0b045610c7a15732a) )
  4549: 	ROM_LOAD( "07.606",  0x200000, 0x80000, CRC(e3c6e401) SHA1(0164be663ff8615316f2342a7776178a7e28bc7f) )
  4550: 	ROM_LOAD( "08.607",  0x280000, 0x80000, CRC(08efb2bf) SHA1(c86d7d3101891d0852116786b7df5ed289cdec67) )
  4551: 	ROM_LOAD( "09.608",  0x300000, 0x80000, CRC(94606c32) SHA1(064114582eeb051c4d4450117fc039248eda383b) )
  4552: 	ROM_LOAD( "10.609",  0x380000, 0x80000, CRC(79958b86) SHA1(cd769081867b175c0aa84495c5af97be0de76d6d) )
  4553: ROM_END
  4554: 
  4555: ROM_START( mjegolf )
  4556: 	ROM_REGION( 0x10000, REGION_CPU1, 0 ) /* main program */
  4557: 	ROM_LOAD( "metg_01.bin",  0x00000,  0x10000, CRC(1d7c2fcc) SHA1(cc05036ca8ff0fa5c676049c705ec19b39eb433a) )
  4558: 
  4559: 	ROM_REGION( 0x20000, REGION_CPU2, 0 ) /* sound program */
  4560: 	ROM_LOAD( "metg_02.bin",  0x00000,  0x20000, CRC(99f419cf) SHA1(496e5c0afcef9fd7707d87d3588e3a83d7d7f871) )
  4561: 
  4562: 	ROM_REGION( 0x400000, REGION_GFX1, 0 ) /* gfx */
  4563: 	ROM_LOAD( "metg_03.bin",  0x000000, 0x80000, CRC(99097d30) SHA1(d6e8b1a746364389690b6f8c23519d01c2d12abd) )
  4564: 	ROM_LOAD( "metg_04.bin",  0x080000, 0x80000, CRC(9f1822b8) SHA1(517f711ce90ef2863076b55c124c59e7f2f30837) )
  4565: 	ROM_LOAD( "metg_05.bin",  0x100000, 0x80000, CRC(44b88726) SHA1(01a79fd48bbc43b830eededa120f15eacb21dd61) )
  4566: 	ROM_LOAD( "metg_06.bin",  0x180000, 0x80000, CRC(59ad0d78) SHA1(2edf86ac6f8755883beaabdf2838e048d2dc4799) )
  4567: 	ROM_LOAD( "metg_07.bin",  0x200000, 0x80000, CRC(2d8b02d6) SHA1(01ad5f181a4c50fca8235557cd480afe3815d3b6) )
  4568: 	ROM_LOAD( "metg_08.bin",  0x280000, 0x80000, CRC(f64e16fb) SHA1(e37cf1d2a1499e09cce1c9c076f1341d0e1ea55a) )
  4569: 	ROM_LOAD( "metg_09.bin",  0x300000, 0x80000, CRC(4231de76) SHA1(fa88ad00d7db9d0494764554baabadcc4be5b8a4) )
  4570: 	ROM_LOAD( "metg_10.bin",  0x380000, 0x80000, CRC(e91c7adf) SHA1(62e71d4887e7f78a4533573427f09799c6ddc8c6) )
  4571: ROM_END
  4572: 
  4573: 
  4574: //     YEAR,     NAME,   PARENT,  MACHINE,    INPUT,     INIT,    MONITOR, COMPANY, FULLNAME, FLAGS
  4575: GAME( 1992, mjuraden, 0,        mjuraden, mjuraden, mjuraden, ROT0, "Nichibutsu/Yubis", "Mahjong Uranai Densetsu (Japan)" )
  4576: GAME( 1992, koinomp,  0,        koinomp,  koinomp,  koinomp,  ROT0, "Nichibutsu", "Mahjong Koi no Magic Potion (Japan)" )
  4577: GAME( 1992, patimono, 0,        patimono, patimono, patimono, ROT0, "Nichibutsu", "Mahjong Pachinko Monogatari (Japan)" )
  4578: GAME( 1992, mjanbari, 0,        mjanbari, mjanbari, mjanbari, ROT0, "Nichibutsu/Yubis/AV JAPAN", "Medal Mahjong Janjan Baribari [BET] (Japan)" )
  4579: GAME( 1992, mmehyou,  0,        mmehyou,  mmehyou,  mmehyou,  ROT0, "Nichibutsu/Kawakusu", "Medal Mahjong Circuit no Mehyou [BET] (Japan)" )
  4580: GAME( 1993, ultramhm, 0,        ultramhm, ultramhm, ultramhm, ROT0, "Apple", "Ultra Maru-hi Mahjong (Japan)" )
  4581: GAME( 1993, gal10ren, 0,        gal10ren, gal10ren, gal10ren, ROT0, "FUJIC", "Mahjong Gal 10-renpatsu (Japan)" )
  4582: GAME( 1993, renaiclb, 0,        renaiclb, renaiclb, renaiclb, ROT0, "FUJIC", "Mahjong Ren-ai Club (Japan)" )
  4583: GAME( 1993, mjlaman,  0,        mjlaman,  mjlaman,  mjlaman,  ROT0, "Nichibutsu/AV JAPAN", "Mahjong La Man (Japan)" )
  4584: GAME( 1993, mkeibaou, 0,        mkeibaou, mkeibaou, mkeibaou, ROT0, "Nichibutsu", "Mahjong Keibaou (Japan)" )
  4585: GAME( 1993, pachiten, 0,        pachiten, pachiten, pachiten, ROT0, "Nichibutsu/MIKI SYOUJI/AV JAPAN", "Medal Mahjong Pachi-Slot Tengoku [BET] (Japan)" )
  4586: GAME( 1993, sailorws, 0,        sailorws, sailorws, sailorws, ROT0, "Nichibutsu", "Mahjong Sailor Wars (Japan)" )
  4587: GAME( 1993, sailorwr, sailorws, sailorwr, sailorwr, sailorwr, ROT0, "Nichibutsu", "Mahjong Sailor Wars-R [BET] (Japan)" )
  4588: GAME( 1994, psailor1, 0,        psailor1, psailor1, psailor1, ROT0, "SPHINX", "Bishoujo Janshi Pretty Sailor 18-kin (Japan)" )
  4589: GAME( 1994, psailor2, 0,        psailor2, psailor2, psailor2, ROT0, "SPHINX", "Bishoujo Janshi Pretty Sailor 2 (Japan)" )
  4590: GAME( 1995, otatidai, 0,        otatidai, otatidai, otatidai, ROT0, "SPHINX", "Disco Mahjong Otachidai no Okite (Japan)" )
  4591: 
  4592: GAME( 1991, ngpgal,   0,        ngpgal,   ngpgal,   ngpgal,   ROT0, "Nichibutsu", "Nekketsu Grand-Prix Gal (Japan)" )
  4593: GAME( 1991, mjgottsu, 0,        mjgottsu, mjgottsu, mjgottsu, ROT0, "Nichibutsu", "Mahjong Gottsu ee-kanji (Japan)" )
  4594: GAME( 1991, bakuhatu, mjgottsu, bakuhatu, bakuhatu, bakuhatu, ROT0, "Nichibutsu", "Mahjong Bakuhatsu Junjouden (Japan)" )
  4595: GAME( 1992, cmehyou,  0,        cmehyou,  cmehyou,  cmehyou,  ROT0, "Nichibutsu/Kawakusu", "Mahjong Circuit no Mehyou (Japan)" )
  4596: GAME( 1992, mjkoiura, 0,        mjkoiura, mjkoiura, mjkoiura, ROT0, "Nichibutsu", "Mahjong Koi Uranai (Japan)" )
  4597: 
  4598: GAME( 1994, mscoutm,  0,        mscoutm,  mscoutm,  mscoutm,  ROT0, "SPHINX/AV JAPAN", "Mahjong Scout Man (Japan)" )
  4599: GAME( 1994, imekura,  0,        imekura,  imekura,  imekura,  ROT0, "SPHINX/AV JAPAN", "Imekura Mahjong (Japan)" )
  4600: GAME( 1994, mjegolf,  0,        mjegolf,  mjegolf,  mjegolf,  ROT0, "FUJIC/AV JAPAN", "Mahjong Erotica Golf (Japan)" )
  4601: 




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