QuarterArcade Coin-Op Tech Net

Quick Nav: # A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Coin-Op : Arcade : Star Castle : VM Driver Source

Source Listing


     1: /***************************************************************************
     2: 
     3: 	Cinematronics vector hardware
     4: 
     5: 	driver by Aaron Giles
     6: 
     7: 	Special thanks to Neil Bradley, Zonn Moore, and Jeff Mitchell of the
     8: 	Retrocade Alliance
     9: 
    10: 	Games supported:
    11: 		* Space Wars
    12: 		* Barrier
    13: 		* Star Hawk
    14: 		* Star Castle
    15: 		* Tailgunner
    16: 		* Rip Off
    17: 		* Speed Freak
    18: 		* Sundance
    19: 		* Warrior
    20: 		* Armor Attack
    21: 		* Solar Quest
    22: 		* Demon
    23: 		* War of the Worlds
    24: 		* Boxing Bugs
    25: 
    26: 	Known issues:
    27: 		* fix Sundance controls
    28: 
    29: ***************************************************************************/
    30: 
    31: #include "driver.h" 
    32: #include "vidhrdw/generic.h" 
    33: #include "vidhrdw/vector.h" 
    34: #include "cpu/ccpu/ccpu.h" 
    35: #include "machine/z80fmly.h" 
    36: #include "cinemat.h" 
    37: 
    38: 
    39: 
    40: /*************************************
    41:  *
    42:  *	Speed Freak inputs
    43:  *
    44:  *************************************/
    45: 
    46: static UINT8 speedfrk_steer[] = {0xe, 0x6, 0x2, 0x0, 0x3, 0x7, 0xf};
    47: 
    48: READ16_HANDLER( speedfrk_input_port_1_r )
    49: {
    50:     static int last_wheel=0, delta_wheel, last_frame=0, gear=0xe0;
    51: 	int val, current_frame;
    52: 
    53: 	/* check the fake gear input port and determine the bit settings for the gear */
    54: 	if ((input_port_5_r(0) & 0xf0) != 0xf0)
    55:         gear = input_port_5_r(0) & 0xf0;
    56: 
    57:     val = (input_port_1_word_r(0, 0) & 0xff00) | gear;
    58: 
    59: 	/* add the start key into the mix */
    60: 	if (input_port_1_word_r(0, 0) & 0x80)
    61:         val |= 0x80;
    62: 	else
    63:         val &= ~0x80;
    64: 
    65: 	/* and for the cherry on top, we add the scrambled analog steering */
    66:     current_frame = cpu_getcurrentframe();
    67:     if (current_frame > last_frame)
    68:     {
    69:         /* the shift register is cleared once per 'frame' */
    70:         delta_wheel = input_port_4_r(0) - last_wheel;
    71:         last_wheel += delta_wheel;
    72:         if (delta_wheel > 3)
    73:             delta_wheel = 3;
    74:         else if (delta_wheel < -3)
    75:             delta_wheel = -3;
    76:     }
    77:     last_frame = current_frame;
    78: 
    79:     val |= speedfrk_steer[delta_wheel + 3];
    80: 
    81: 	return val;
    82: }
    83: 
    84: 
    85: 
    86: /*************************************
    87:  *
    88:  *	Boxing Bugs inputs
    89:  *
    90:  *************************************/
    91: 
    92: static READ16_HANDLER( boxingb_input_port_1_r )
    93: {
    94: 	if (cinemat_output_port_r(0,0) & 0x80)
    95: 		return ((input_port_4_r(0) & 0x0f) << 12) + input_port_1_word_r(0,0);
    96: 	else
    97: 		return ((input_port_4_r(0) & 0xf0) << 8)  + input_port_1_word_r(0,0);
    98: }
    99: 
   100: 
   101: 
   102: /*************************************
   103:  *
   104:  *	Video overlays
   105:  *
   106:  *************************************/
   107: 
   108: OVERLAY_START( starcas_overlay )
   109: 	OVERLAY_RECT( 0.0, 0.0, 1.0, 1.0,       MAKE_ARGB(0x24,0x00,0x3c,0xff) )
   110: 	OVERLAY_DISK_NOBLEND( 0.5, 0.5, 0.1225, MAKE_ARGB(0x24,0xff,0x20,0x20) )
   111: 	OVERLAY_DISK_NOBLEND( 0.5, 0.5, 0.0950, MAKE_ARGB(0x24,0xff,0x80,0x10) )
   112: 	OVERLAY_DISK_NOBLEND( 0.5, 0.5, 0.0725, MAKE_ARGB(0x24,0xff,0xff,0x20) )
   113: OVERLAY_END
   114: 
   115: 
   116: OVERLAY_START( tailg_overlay )
   117: 	OVERLAY_RECT( 0.0, 0.0, 1.0, 1.0, MAKE_ARGB(0x04,0x20,0xff,0xff) )
   118: OVERLAY_END
   119: 
   120: 
   121: OVERLAY_START( sundance_overlay )
   122: 	OVERLAY_RECT( 0.0, 0.0, 1.0, 1.0, MAKE_ARGB(0x04,0xff,0xff,0x20) )
   123: OVERLAY_END
   124: 
   125: 
   126: OVERLAY_START( solarq_overlay )
   127: 	OVERLAY_RECT( 0.0, 0.1, 1.0, 1.0, MAKE_ARGB(0x04,0x20,0x20,0xff) )
   128: 	OVERLAY_RECT( 0.0, 0.0, 1.0, 0.1, MAKE_ARGB(0x04,0xff,0x20,0x20) )
   129: 	OVERLAY_DISK_NOBLEND( 0.5, 0.5, 0.03, MAKE_ARGB(0x04,0xff,0xff,0x20) )
   130: OVERLAY_END
   131: 
   132: 
   133: 
   134: /*************************************
   135:  *
   136:  *	Main CPU memory handlers
   137:  *
   138:  *************************************/
   139: 
   140: static MEMORY_READ16_START( readmem )
   141: 	{ 0x0000, 0x01ff, MRA16_RAM },
   142: 	{ 0x8000, 0xffff, MRA16_ROM },
   143: MEMORY_END
   144: 
   145: 
   146: static MEMORY_WRITE16_START( writemem )
   147: 	{ 0x0000, 0x01ff, MWA16_RAM },
   148: 	{ 0x8000, 0xffff, MWA16_ROM },
   149: MEMORY_END
   150: 
   151: 
   152: 
   153: /*************************************
   154:  *
   155:  *	Main CPU port handlers
   156:  *
   157:  *************************************/
   158: 
   159: static PORT_READ16_START( readport )
   160: 	{ CCPU_PORT_IOSWITCHES,   CCPU_PORT_IOSWITCHES+1,   input_port_0_word_r },
   161: 	{ CCPU_PORT_IOINPUTS,     CCPU_PORT_IOINPUTS+1,     input_port_1_word_r },
   162: 	{ CCPU_PORT_IOOUTPUTS,    CCPU_PORT_IOOUTPUTS+1,    cinemat_output_port_r },
   163: 	{ CCPU_PORT_IN_JOYSTICKX, CCPU_PORT_IN_JOYSTICKX+1, input_port_2_word_r },
   164: 	{ CCPU_PORT_IN_JOYSTICKY, CCPU_PORT_IN_JOYSTICKY+1, input_port_3_word_r },
   165: PORT_END
   166: 
   167: 
   168: static PORT_WRITE16_START( writeport )
   169: 	{ CCPU_PORT_IOOUTPUTS,    CCPU_PORT_IOOUTPUTS+1,    cinemat_output_port_w },
   170: PORT_END
   171: 
   172: 
   173: 
   174: /*************************************
   175:  *
   176:  *	Port definitions
   177:  *
   178:  *************************************/
   179: 
   180: /* switch definitions are all mangled; for ease of use, I created these handy macros */
   181: 
   182: #define SW7 0x40 
   183: #define SW6 0x02 
   184: #define SW5 0x04 
   185: #define SW4 0x08 
   186: #define SW3 0x01 
   187: #define SW2 0x20 
   188: #define SW1 0x10 
   189: 
   190: #define SW7OFF SW7 
   191: #define SW6OFF SW6 
   192: #define SW5OFF SW5 
   193: #define SW4OFF SW4 
   194: #define SW3OFF SW3 
   195: #define SW2OFF SW2 
   196: #define SW1OFF SW1 
   197: 
   198: #define SW7ON  0 
   199: #define SW6ON  0 
   200: #define SW5ON  0 
   201: #define SW4ON  0 
   202: #define SW3ON  0 
   203: #define SW2ON  0 
   204: #define SW1ON  0 
   205: 
   206: 
   207: INPUT_PORTS_START( spacewar )
   208: 	PORT_START /* switches */
   209: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   210: 	PORT_DIPNAME( SW2|SW1, SW2ON |SW1ON,  "Time" )
   211: 	PORT_DIPSETTING( 	   SW2OFF|SW1OFF, "0:45/coin" )
   212: 	PORT_DIPSETTING( 	   SW2ON |SW1ON,  "1:00/coin" )
   213: 	PORT_DIPSETTING( 	   SW2ON |SW1OFF, "1:30/coin" )
   214: 	PORT_DIPSETTING( 	   SW2OFF|SW1ON,  "2:00/coin" )
   215: 	PORT_DIPNAME( SW7,	   SW7OFF,		  DEF_STR( Unknown ) )
   216: 	PORT_DIPSETTING(	   SW7OFF,		  DEF_STR( Off ) )
   217: 	PORT_DIPSETTING(	   SW7ON,		  DEF_STR( On ) )
   218: 	PORT_BIT ( 0x08, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
   219: 	PORT_BIT ( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
   220: 	PORT_BIT ( 0x02, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
   221: 	PORT_BIT ( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   222: 
   223: 	PORT_START /* inputs */
   224: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
   225: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_2WAY | IPF_PLAYER2 )
   226: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER1 )
   227: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   228: 	PORT_BITX( 0x0800, IP_ACTIVE_LOW, 0, "Option 0", KEYCODE_0_PAD, IP_JOY_NONE )
   229: 	PORT_BITX( 0x0400, IP_ACTIVE_LOW, 0, "Option 5", KEYCODE_5_PAD, IP_JOY_NONE )
   230: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
   231: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_2WAY | IPF_PLAYER1 )
   232: 	PORT_BITX( 0x0080, IP_ACTIVE_LOW, 0, "Option 7", KEYCODE_7_PAD, IP_JOY_NONE )
   233: 	PORT_BITX( 0x0040, IP_ACTIVE_LOW, 0, "Option 2", KEYCODE_2_PAD, IP_JOY_NONE )
   234: 	PORT_BITX( 0x0020, IP_ACTIVE_LOW, 0, "Option 6", KEYCODE_6_PAD, IP_JOY_NONE )
   235: 	PORT_BITX( 0x0010, IP_ACTIVE_LOW, 0, "Option 1", KEYCODE_1_PAD, IP_JOY_NONE )
   236: 	PORT_BITX( 0x0008, IP_ACTIVE_LOW, 0, "Option 9", KEYCODE_9_PAD, IP_JOY_NONE )
   237: 	PORT_BITX( 0x0004, IP_ACTIVE_LOW, 0, "Option 4", KEYCODE_4_PAD, IP_JOY_NONE )
   238: 	PORT_BITX( 0x0002, IP_ACTIVE_LOW, 0, "Option 8", KEYCODE_8_PAD, IP_JOY_NONE )
   239: 	PORT_BITX( 0x0001, IP_ACTIVE_LOW, 0, "Option 3", KEYCODE_3_PAD, IP_JOY_NONE )
   240: 
   241: 	PORT_START /* analog stick X - unused */
   242: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   243: 
   244: 	PORT_START /* analog stick Y - unused */
   245: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   246: INPUT_PORTS_END
   247: 
   248: 
   249: INPUT_PORTS_START( barrier )
   250: 	PORT_START /* switches */
   251: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   252: 	PORT_DIPNAME( SW1, SW1ON,  DEF_STR( Lives ) )
   253: 	PORT_DIPSETTING(   SW1ON,  "3" )
   254: 	PORT_DIPSETTING(   SW1OFF, "5" )
   255: 	PORT_DIPNAME( SW2, SW2OFF, DEF_STR( Demo_Sounds ) )
   256: 	PORT_DIPSETTING(   SW2ON,  DEF_STR( Off ) )
   257: 	PORT_DIPSETTING(   SW2OFF, DEF_STR( On ) )
   258: 	PORT_DIPNAME( SW3, SW3OFF, DEF_STR( Unknown ) )
   259: 	PORT_DIPSETTING(   SW3OFF, DEF_STR( Off ) )
   260: 	PORT_DIPSETTING(   SW3ON,  DEF_STR( On ) )
   261: 	PORT_DIPNAME( SW4, SW4OFF, DEF_STR( Unknown ) )
   262: 	PORT_DIPSETTING(   SW4OFF, DEF_STR( Off ) )
   263: 	PORT_DIPSETTING(   SW4ON,  DEF_STR( On ) )
   264: 	PORT_DIPNAME( SW5, SW5OFF, DEF_STR( Unknown ) )
   265: 	PORT_DIPSETTING(   SW5OFF, DEF_STR( Off ) )
   266: 	PORT_DIPSETTING(   SW5ON,  DEF_STR( On ) )
   267: 	PORT_DIPNAME( SW6, SW6OFF, DEF_STR( Unknown ) )
   268: 	PORT_DIPSETTING(   SW6OFF, DEF_STR( Off ) )
   269: 	PORT_DIPSETTING(   SW6ON,  DEF_STR( On ) )
   270: 	PORT_DIPNAME( SW7, SW7OFF, DEF_STR( Unknown ) )
   271: 	PORT_DIPSETTING(   SW7OFF, DEF_STR( Off ) )
   272: 	PORT_DIPSETTING(   SW7ON,  DEF_STR( On ) )
   273: 
   274: 	PORT_START /* inputs */
   275: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_PLAYER2 )
   276: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY | IPF_PLAYER1 )
   277: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY | IPF_PLAYER2 )
   278: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY | IPF_PLAYER1 )
   279: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW, IPT_START1 )
   280: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY | IPF_PLAYER2 )
   281: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_PLAYER1 )
   282: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY | IPF_PLAYER2 )
   283: 	PORT_BIT ( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED )
   284: 	PORT_BITX( 0x0040, IP_ACTIVE_LOW, 0, "Skill C", KEYCODE_C, IP_JOY_NONE )
   285: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW, IPT_UNUSED )
   286: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW, IPT_START2 )
   287: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY | IPF_PLAYER1 )
   288: 	PORT_BITX( 0x0004, IP_ACTIVE_LOW, 0, "Skill B", KEYCODE_B, IP_JOY_NONE )
   289: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW, IPT_UNUSED )
   290: 	PORT_BITX( 0x0001, IP_ACTIVE_LOW, 0, "Skill A", KEYCODE_A, IP_JOY_NONE )
   291: 
   292: 	PORT_START /* analog stick X - unused */
   293: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   294: 
   295: 	PORT_START /* analog stick Y - unused */
   296: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   297: INPUT_PORTS_END
   298: 
   299: 
   300: /* TODO: 4way or 8way stick? */
   301: INPUT_PORTS_START( starhawk )
   302: 	PORT_START /* switches */
   303: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 2 )
   304: 	PORT_DIPNAME( SW7,	   SW7OFF,		  DEF_STR( Unknown ) )
   305: 	PORT_DIPSETTING(	   SW7OFF,		  DEF_STR( Off ) )
   306: 	PORT_DIPSETTING(	   SW7ON,		  DEF_STR( On ) )
   307: 	PORT_BIT ( SW6, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   308: 	PORT_BIT ( SW5, IP_ACTIVE_LOW, IPT_START2 )
   309: 	PORT_BIT ( SW4, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
   310: 	PORT_BIT ( SW3, IP_ACTIVE_LOW, IPT_START1 )
   311: 	PORT_DIPNAME( SW2|SW1, SW2OFF|SW1OFF, "Game Time" )
   312: 	PORT_DIPSETTING(	   SW2OFF|SW1OFF, "2:00/4:00" )
   313: 	PORT_DIPSETTING(	   SW2ON |SW1OFF, "1:30/3:00" )
   314: 	PORT_DIPSETTING(	   SW2OFF|SW1ON,  "1:00/2:00" )
   315: 	PORT_DIPSETTING(	   SW2ON |SW1ON,  "0:45/1:30" )
   316: 
   317: 	PORT_START /* input */
   318: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER2 )
   319: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
   320: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
   321: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
   322: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY | IPF_PLAYER2 )
   323: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY | IPF_PLAYER2 )
   324: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER1 )
   325: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
   326: 	PORT_BIT ( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED )
   327: 	PORT_BIT ( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED )
   328: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY | IPF_PLAYER2 )
   329: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER2 )
   330: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY | IPF_PLAYER1 )
   331: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_PLAYER1 )
   332: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY | IPF_PLAYER1 )
   333: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY | IPF_PLAYER1 )
   334: 
   335: 	PORT_START /* analog stick X - unused */
   336: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   337: 
   338: 	PORT_START /* analog stick Y - unused */
   339: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   340: INPUT_PORTS_END
   341: 
   342: 
   343: INPUT_PORTS_START( starcas )
   344: 	PORT_START /* switches */
   345: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   346: 	PORT_SERVICE( SW7,     SW7ON )
   347: 	PORT_DIPNAME( SW4|SW3, SW4OFF|SW3OFF, DEF_STR( Coinage ) )
   348: 	PORT_DIPSETTING(       SW4ON |SW3OFF, DEF_STR( 2C_1C ) )
   349: 	PORT_DIPSETTING(       SW4ON |SW3ON,  DEF_STR( 4C_3C ) )
   350: 	PORT_DIPSETTING(       SW4OFF|SW3OFF, DEF_STR( 1C_1C ) )
   351: 	PORT_DIPSETTING(       SW4OFF|SW3ON,  DEF_STR( 2C_3C ) )
   352: 	PORT_DIPNAME( SW2|SW1, SW2OFF|SW1OFF, DEF_STR( Lives ) )
   353: 	PORT_DIPSETTING(       SW2OFF|SW1OFF, "3" )
   354: 	PORT_DIPSETTING(       SW2ON |SW1OFF, "4" )
   355: 	PORT_DIPSETTING(       SW2OFF|SW1ON,  "5" )
   356: 	PORT_DIPSETTING(       SW2ON |SW1ON,  "6" )
   357: 	PORT_DIPNAME( SW5,     SW5OFF,        DEF_STR( Unknown ) )
   358: 	PORT_DIPSETTING(       SW5OFF,        DEF_STR( Off ) )
   359: 	PORT_DIPSETTING(       SW5ON,         DEF_STR( On ) )
   360: 	PORT_DIPNAME( SW6,     SW6OFF,        DEF_STR( Unknown ) )
   361: 	PORT_DIPSETTING(       SW6OFF,        DEF_STR( Off ) )
   362: 	PORT_DIPSETTING(       SW6ON,         DEF_STR( On ) )
   363: 
   364: 	PORT_START /* inputs */
   365: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
   366: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_UNKNOWN )
   367: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_UNKNOWN )
   368: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 )
   369: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW, IPT_UNKNOWN )
   370: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON2 )
   371: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_UNKNOWN )
   372: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   373: 	PORT_BIT ( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
   374: 	PORT_BIT ( 0x0040, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_2WAY )
   375: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN )
   376: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW, IPT_UNKNOWN )
   377: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_UNKNOWN )
   378: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW, IPT_START2 )
   379: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW, IPT_UNKNOWN )
   380: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW, IPT_START1 )
   381: 
   382: 	PORT_START /* analog stick X - unused */
   383: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   384: 
   385: 	PORT_START /* analog stick Y - unused */
   386: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   387: INPUT_PORTS_END
   388: 
   389: 
   390: INPUT_PORTS_START( tailg )
   391: 	PORT_START /* switches */
   392: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   393: 	PORT_DIPNAME( SW6|SW2|SW1, SW6OFF|SW2OFF|SW1OFF, "Shield Points" )
   394: 	PORT_DIPSETTING(		   SW6ON |SW2ON |SW1ON,  "15" )
   395: 	PORT_DIPSETTING(		   SW6ON |SW2OFF|SW1ON,  "20" )
   396: 	PORT_DIPSETTING(		   SW6ON |SW2ON |SW1OFF, "30" )
   397: 	PORT_DIPSETTING(		   SW6ON |SW2OFF|SW1OFF, "40" )
   398: 	PORT_DIPSETTING(		   SW6OFF|SW2ON |SW1ON,  "50" )
   399: 	PORT_DIPSETTING(		   SW6OFF|SW2OFF|SW1ON,  "60" )
   400: 	PORT_DIPSETTING(		   SW6OFF|SW2ON |SW1OFF, "70" )
   401: 	PORT_DIPSETTING(		   SW6OFF|SW2OFF|SW1OFF, "80" )
   402: 	PORT_DIPNAME( SW3,		   SW3OFF,				 DEF_STR( Coinage ) )
   403: 	PORT_DIPSETTING(		   SW3ON,				 DEF_STR( 2C_1C ) )
   404: 	PORT_DIPSETTING(		   SW3OFF,				 DEF_STR( 1C_1C ) )
   405: 	PORT_DIPNAME( SW4,		   SW4OFF,				 DEF_STR( Unknown ) )
   406: 	PORT_DIPSETTING(		   SW4OFF,				 DEF_STR( Off ) )
   407: 	PORT_DIPSETTING(		   SW4ON, 				 DEF_STR( On ) )
   408: 	PORT_DIPNAME( SW5,		   SW5OFF,				 DEF_STR( Unknown ) )
   409: 	PORT_DIPSETTING(		   SW5OFF,				 DEF_STR( Off ) )
   410: 	PORT_DIPSETTING(		   SW5ON, 				 DEF_STR( On ) )
   411: 	PORT_DIPNAME( SW7,		   SW7OFF,				 DEF_STR( Unknown ) )
   412: 	PORT_DIPSETTING(		   SW7OFF,				 DEF_STR( Off ) )
   413: 	PORT_DIPSETTING(		   SW7ON, 				 DEF_STR( On ) )
   414: 
   415: 	PORT_START /* inputs */
   416: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_UNUSED )
   417: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED )
   418: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_UNUSED )
   419: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_UNUSED )
   420: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW, IPT_UNUSED )
   421: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW, IPT_UNUSED )
   422: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_UNUSED )
   423: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_UNUSED )
   424: 	PORT_BIT ( 0x0080, IP_ACTIVE_LOW, IPT_START1 )
   425: 	PORT_BIT ( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON2 )
   426: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON1 )
   427: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW, IPT_UNUSED )
   428: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_UNUSED )
   429: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW, IPT_UNUSED )
   430: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW, IPT_UNUSED )
   431: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW, IPT_UNUSED )
   432: 
   433: 	PORT_START /* analog stick X */
   434: 	PORT_ANALOG( 0xfff, 0x800, IPT_AD_STICK_X, 100, 50, 0x200, 0xe00 )
   435: 
   436: 	PORT_START /* analog stick Y */
   437: 	PORT_ANALOG( 0xfff, 0x800, IPT_AD_STICK_Y, 100, 50, 0x200, 0xe00 )
   438: INPUT_PORTS_END
   439: 
   440: 
   441: INPUT_PORTS_START( ripoff )
   442: 	PORT_START /* switches */
   443: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   444: 	PORT_SERVICE( SW7,	   SW7OFF )
   445: 	PORT_DIPNAME( SW6,	   SW6ON,		  "Scores" )
   446: 	PORT_DIPSETTING(	   SW6ON,		  "Individual" )
   447: 	PORT_DIPSETTING(	   SW6OFF,		  "Combined" )
   448: 	PORT_DIPNAME( SW5,	   SW5OFF,		  DEF_STR( Demo_Sounds ) )
   449: 	PORT_DIPSETTING(	   SW5ON,		  DEF_STR( Off ) )
   450: 	PORT_DIPSETTING(	   SW5OFF,		  DEF_STR( On ) )
   451: 	PORT_DIPNAME( SW4|SW3, SW4ON |SW3ON,  DEF_STR( Coinage ) )
   452: 	PORT_DIPSETTING(	   SW4ON |SW3OFF, DEF_STR( 2C_1C ) )
   453: 	PORT_DIPSETTING(	   SW4OFF|SW3OFF, DEF_STR( 4C_3C ) )
   454: 	PORT_DIPSETTING(	   SW4ON |SW3ON,  DEF_STR( 1C_1C ) )
   455: 	PORT_DIPSETTING(	   SW4OFF|SW3ON,  DEF_STR( 2C_3C ) )
   456: 	PORT_DIPNAME( SW2|SW1, SW2OFF|SW1OFF, DEF_STR( Lives ) )
   457: 	PORT_DIPSETTING(	   SW2ON |SW1OFF, "4" )
   458: 	PORT_DIPSETTING(	   SW2OFF|SW1OFF, "8" )
   459: 	PORT_DIPSETTING(	   SW2ON |SW1ON,  "12" )
   460: 	PORT_DIPSETTING(	   SW2OFF|SW1ON,  "16" )
   461: 
   462: 	PORT_START /* inputs */
   463: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
   464: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER1 )
   465: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
   466: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_2WAY | IPF_PLAYER1 )
   467: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW, IPT_UNUSED )
   468: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW, IPT_UNUSED )
   469: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_UNUSED )
   470: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_UNUSED )
   471: 	PORT_BIT ( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED )
   472: 	PORT_BIT ( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED )
   473: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   474: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
   475: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_START2 )
   476: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   477: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW, IPT_START1 )
   478: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_2WAY | IPF_PLAYER2 )
   479: 
   480: 	PORT_START /* analog stick X - unused */
   481: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   482: 
   483: 	PORT_START /* analog stick Y - unused */
   484: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   485: INPUT_PORTS_END
   486: 
   487: 
   488: INPUT_PORTS_START( speedfrk )
   489: 	PORT_START /* switches */
   490: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   491: 	PORT_DIPNAME( SW7,     SW7OFF,        DEF_STR( Unknown ) )
   492: 	PORT_DIPSETTING(       SW7OFF,        DEF_STR( Off ) )
   493: 	PORT_DIPSETTING(       SW7ON,         DEF_STR( On ) )
   494: 	PORT_DIPNAME( SW6,     SW6OFF,        DEF_STR( Unknown ) )
   495: 	PORT_DIPSETTING(       SW6OFF,        DEF_STR( Off ) )
   496: 	PORT_DIPSETTING(       SW6ON,         DEF_STR( On ) )
   497: 	PORT_DIPNAME( SW5,     SW5OFF,        DEF_STR( Unknown ) )
   498: 	PORT_DIPSETTING(       SW5OFF,        DEF_STR( Off ) )
   499: 	PORT_DIPSETTING(       SW5ON,         DEF_STR( On ) )
   500: 	PORT_DIPNAME( SW4,     SW4OFF,        DEF_STR( Unknown ) )
   501: 	PORT_DIPSETTING(       SW4OFF,        DEF_STR( Off ) )
   502: 	PORT_DIPSETTING(       SW4ON,         DEF_STR( On ) )
   503: 	PORT_DIPNAME( SW3,     SW3OFF,        DEF_STR( Unknown ) )
   504: 	PORT_DIPSETTING(       SW3OFF,        DEF_STR( Off ) )
   505: 	PORT_DIPSETTING(       SW3ON,         DEF_STR( On ) )
   506: 	PORT_DIPNAME( SW2|SW1, SW2OFF|SW1ON,  "Extra Time" )
   507: 	PORT_DIPSETTING(       SW2ON |SW1ON,  "69" )
   508: 	PORT_DIPSETTING(       SW2ON |SW1OFF, "99" )
   509: 	PORT_DIPSETTING(       SW2OFF|SW1ON,  "129" )
   510: 	PORT_DIPSETTING(       SW2OFF|SW1OFF, "159" )
   511: 
   512: 	PORT_START /* inputs */
   513: 	PORT_BIT (  0x8000, IP_ACTIVE_LOW, IPT_UNUSED )
   514: 	PORT_BIT (  0x4000, IP_ACTIVE_LOW, IPT_UNUSED )
   515: 	PORT_BIT (  0x2000, IP_ACTIVE_LOW, IPT_UNUSED )
   516: 	PORT_BIT (  0x1000, IP_ACTIVE_LOW, IPT_UNUSED )
   517: 	PORT_BIT (  0x0800, IP_ACTIVE_LOW, IPT_UNUSED )
   518: 	PORT_BIT (  0x0400, IP_ACTIVE_LOW, IPT_UNUSED )
   519: 	PORT_BIT (  0x0200, IP_ACTIVE_LOW, IPT_UNUSED )
   520: 	PORT_BIT (  0x0100, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 ) /* gas */
   521: 	PORT_BIT (  0x0080, IP_ACTIVE_LOW, IPT_START1 )
   522: 	PORT_BIT (  0x0070, IP_ACTIVE_LOW, IPT_UNUSED ) /* gear shift, fake below */
   523: 	PORT_BIT (  0x000f, IP_ACTIVE_LOW, IPT_UNUSED ) /* steering wheel, fake below */
   524: 
   525: 	PORT_START /* analog stick X - unused */
   526: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   527: 
   528: 	PORT_START /* analog stick Y - unused */
   529: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   530: 
   531: 	PORT_START /* fake - steering wheel (in4) */
   532: 	PORT_ANALOG( 0xff, 0x00, IPT_DIAL, 100, 1, 0x00, 0xff )
   533: 
   534: 	PORT_START /* fake - gear shift (in5) */
   535: 	PORT_BIT ( 0x0f, IP_ACTIVE_HIGH, IPT_UNUSED )
   536: 	PORT_BITX( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN  | IPF_PLAYER2, "1st gear", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
   537: 	PORT_BITX( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT  | IPF_PLAYER2, "2nd gear", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
   538: 	PORT_BITX( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_PLAYER2, "3rd gear", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
   539: 	PORT_BITX( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_UP    | IPF_PLAYER2, "4th gear", IP_KEY_DEFAULT, IP_JOY_DEFAULT )
   540: INPUT_PORTS_END
   541: 
   542: 
   543: INPUT_PORTS_START( sundance )
   544: 	PORT_START /* switches */
   545: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   546: 	PORT_DIPNAME( SW5,	   SW5OFF,		 DEF_STR( Unknown ) )
   547: 	PORT_DIPSETTING(	   SW5OFF,		 DEF_STR( Off ) )
   548: 	PORT_DIPSETTING(	   SW5ON, 		 DEF_STR( On ) )
   549: 	PORT_DIPNAME( SW6,	   SW6OFF,		 DEF_STR( Unknown ) )
   550: 	PORT_DIPSETTING(	   SW6OFF,		 DEF_STR( Off ) )
   551: 	PORT_DIPSETTING(	   SW6ON,		 DEF_STR( On ) )
   552: 	PORT_DIPNAME( SW7,	   SW7OFF,		 DEF_STR( Unknown ) )
   553: 	PORT_DIPSETTING(	   SW7OFF,		 DEF_STR( Off ) )
   554: 	PORT_DIPSETTING(	   SW7ON,		 DEF_STR( On ) )
   555: 	PORT_DIPNAME( SW4,	   SW4ON,		 DEF_STR( Coinage ) )
   556: 	PORT_DIPSETTING(	   SW4ON,		 "1 coin/2 players" )
   557: 	PORT_DIPSETTING(	   SW4OFF,		 "2 coins/2 players" )
   558: 	PORT_DIPNAME( SW3,	   SW3ON,		 "Language" )
   559: 	PORT_DIPSETTING(	   SW3OFF,		 "Japanese" )
   560: 	PORT_DIPSETTING(	   SW3ON,		 "English" )
   561: 	PORT_DIPNAME( SW2|SW1, SW2OFF|SW1ON, "Time" )
   562: 	PORT_DIPSETTING(	   SW2ON |SW1ON,  "0:45/coin" )
   563: 	PORT_DIPSETTING(	   SW2OFF|SW1ON,  "1:00/coin" )
   564: 	PORT_DIPSETTING(	   SW2ON |SW1OFF, "1:30/coin" )
   565: 	PORT_DIPSETTING(	   SW2OFF|SW1OFF, "2:00/coin" )
   566: 
   567: 	PORT_START /* inputs */
   568: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_UNUSED ) /* player 1 motion */
   569: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED ) /* player 2 motion */
   570: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_UNUSED ) /* player 1 motion */
   571: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_UNUSED ) /* player 2 motion */
   572: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW, IPT_UNUSED ) /* 2 suns */
   573: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW, IPT_UNUSED ) /* player 1 motion */
   574: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_UNUSED ) /* player 2 motion */
   575: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_UNUSED ) /* player 1 motion */
   576: 	PORT_BIT ( 0x0080, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
   577: 	PORT_BIT ( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED ) /* 4 suns */
   578: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW, IPT_UNUSED ) /* Grid */
   579: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW, IPT_UNUSED ) /* 3 suns */
   580: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_START2 )
   581: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW, IPT_START1 )
   582: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   583: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW, IPT_UNUSED ) /* player 2 motion */
   584: 
   585: 	PORT_START /* analog stick X - unused */
   586: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   587: 
   588: 	PORT_START /* analog stick Y - unused */
   589: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   590: INPUT_PORTS_END
   591: 
   592: 
   593: INPUT_PORTS_START( warrior )
   594: 	PORT_START /* switches */
   595: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   596: 	PORT_DIPNAME( SW7, SW7OFF, DEF_STR( Unknown ) )
   597: 	PORT_DIPSETTING(   SW7OFF, DEF_STR( Off ) )
   598: 	PORT_DIPSETTING(   SW7ON,  DEF_STR( On ) )
   599: 	PORT_DIPNAME( SW6, SW6OFF, DEF_STR( Unknown ) )
   600: 	PORT_DIPSETTING(   SW6OFF, DEF_STR( Off ) )
   601: 	PORT_DIPSETTING(   SW6ON,  DEF_STR( On ) )
   602: 	PORT_DIPNAME( SW5, SW5OFF, DEF_STR( Unknown ) )
   603: 	PORT_DIPSETTING(   SW5OFF, DEF_STR( Off ) )
   604: 	PORT_DIPSETTING(   SW5ON,  DEF_STR( On ) )
   605: 	PORT_DIPNAME( SW4, SW4OFF, DEF_STR( Unknown ) )
   606: 	PORT_DIPSETTING(   SW4OFF, DEF_STR( Off ) )
   607: 	PORT_DIPSETTING(   SW4ON,  DEF_STR( On ) )
   608: 	PORT_SERVICE( SW3, SW3ON )
   609: 	PORT_DIPNAME( SW2, SW2OFF, DEF_STR( Unknown ) )
   610: 	PORT_DIPSETTING(   SW2OFF, DEF_STR( Off ) )
   611: 	PORT_DIPSETTING(   SW2ON,  DEF_STR( On ) )
   612: 	PORT_DIPNAME( SW1, SW1ON,  DEF_STR( Unknown ) )
   613: 	PORT_DIPSETTING(   SW1OFF, DEF_STR( Off ) )
   614: 	PORT_DIPSETTING(   SW1ON,  DEF_STR( On ) )
   615: 
   616: 	PORT_START /* inputs */
   617: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
   618: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_START1 )
   619: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_START2 )
   620: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
   621: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_PLAYER1 )
   622: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_PLAYER1 )
   623: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_PLAYER1 )
   624: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_PLAYER1 )
   625: 	PORT_BIT ( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN )
   626: 	PORT_BIT ( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
   627: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW, IPT_UNKNOWN )
   628: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   629: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_PLAYER2 )
   630: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_PLAYER2 )
   631: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_PLAYER2 )
   632: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_PLAYER2 )
   633: 
   634: 	PORT_START /* analog stick X - unused */
   635: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   636: 
   637: 	PORT_START /* analog stick Y - unused */
   638: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   639: INPUT_PORTS_END
   640: 
   641: 
   642: INPUT_PORTS_START( armora )
   643: 	PORT_START /* switches */
   644: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   645: 	PORT_SERVICE( SW7,     SW7ON )
   646: 	PORT_DIPNAME( SW5,     SW5ON,         DEF_STR( Demo_Sounds ) )
   647: 	PORT_DIPSETTING(       SW5OFF,        DEF_STR( Off ) )
   648: 	PORT_DIPSETTING(       SW5ON,         DEF_STR( On ) )
   649: 	PORT_DIPNAME( SW4|SW3, SW4OFF|SW3OFF, DEF_STR( Coinage ) )
   650: 	PORT_DIPSETTING(       SW4ON |SW3OFF, DEF_STR( 2C_1C ) )
   651: 	PORT_DIPSETTING(       SW4ON |SW3ON,  DEF_STR( 4C_3C ) )
   652: 	PORT_DIPSETTING(       SW4OFF|SW3OFF, DEF_STR( 1C_1C ) )
   653: 	PORT_DIPSETTING(       SW4OFF|SW3ON,  DEF_STR( 2C_3C ) )
   654: 	PORT_DIPNAME( SW2|SW1, SW2OFF|SW1OFF, DEF_STR( Lives ) )
   655: 	PORT_DIPSETTING(       SW2ON |SW1ON,  "2" )
   656: 	PORT_DIPSETTING(       SW2OFF|SW1ON,  "3" )
   657: 	PORT_DIPSETTING(       SW2ON |SW1OFF, "4" )
   658: 	PORT_DIPSETTING(       SW2OFF|SW1OFF, "5" )
   659: 
   660: 	PORT_START /* inputs */
   661: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
   662: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER1 )
   663: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
   664: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_2WAY | IPF_PLAYER1 )
   665: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW, IPT_UNUSED )
   666: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW, IPT_UNUSED )
   667: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_UNUSED )
   668: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_UNUSED )
   669: 	PORT_BIT ( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED )
   670: 	PORT_BIT ( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED )
   671: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   672: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
   673: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_START2 )
   674: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   675: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW, IPT_START1 )
   676: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_2WAY | IPF_PLAYER2 )
   677: 
   678: 	PORT_START /* analog stick X - unused */
   679: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW,  IPT_UNUSED )
   680: 
   681: 	PORT_START /* analog stick Y - unused */
   682: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW,  IPT_UNUSED )
   683: INPUT_PORTS_END
   684: 
   685: 
   686: INPUT_PORTS_START( solarq )
   687: 	PORT_START /* switches */
   688: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   689: 	PORT_SERVICE( SW7,	   SW7ON )
   690: 	PORT_DIPNAME( SW2,	   SW2OFF,		  DEF_STR( Bonus_Life ) )
   691: 	PORT_DIPSETTING(	   SW2OFF,		  "25 captures" )
   692: 	PORT_DIPSETTING(	   SW2ON, 		  "40 captures" )
   693: 	PORT_DIPNAME( SW6,	   SW6OFF,		  DEF_STR( Free_Play ) )
   694: 	PORT_DIPSETTING(	   SW6OFF,		  DEF_STR( Off ) )
   695: 	PORT_DIPSETTING(	   SW6ON,		  DEF_STR( On ) )
   696: 	PORT_DIPNAME( SW1|SW3, SW1OFF|SW3OFF, DEF_STR( Coinage ) )
   697: 	PORT_DIPSETTING(	   SW3ON |SW1OFF, DEF_STR( 2C_1C ) )
   698: 	PORT_DIPSETTING(	   SW3ON |SW1ON,  DEF_STR( 4C_3C ) )
   699: 	PORT_DIPSETTING(	   SW3OFF|SW1OFF, DEF_STR( 1C_1C ) )
   700: 	PORT_DIPSETTING(	   SW3OFF|SW1ON,  DEF_STR( 2C_3C ) )
   701: 	PORT_DIPNAME( SW5|SW4, SW5OFF|SW5OFF, DEF_STR( Lives ) )
   702: 	PORT_DIPSETTING(	   SW5OFF|SW4OFF, "2" )
   703: 	PORT_DIPSETTING(	   SW5ON |SW4OFF, "3" )
   704: 	PORT_DIPSETTING(	   SW5OFF|SW4ON,  "4" )
   705: 	PORT_DIPSETTING(	   SW5ON |SW4ON,  "5" )
   706: 
   707: 	PORT_START /* inputs */
   708: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_UNUSED )
   709: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED )
   710: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_UNUSED )
   711: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_UNUSED )
   712: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW, IPT_UNUSED )
   713: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW, IPT_UNUSED )
   714: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_UNUSED )
   715: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_UNUSED )
   716: 	PORT_BIT ( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED )
   717: 	PORT_BIT ( 0x0040, IP_ACTIVE_LOW, IPT_UNUSED )
   718: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_2WAY | IPF_PLAYER1 )
   719: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER1 )
   720: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_START1 ) /* also hyperspace */
   721: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
   722: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
   723: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
   724: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW, IPT_START2 ) /* also nova */
   725: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW, IPT_BUTTON4 | IPF_PLAYER1 )
   726: 
   727: 	PORT_START /* analog stick X - unused */
   728: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   729: 
   730: 	PORT_START /* analog stick Y - unused */
   731: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   732: INPUT_PORTS_END
   733: 
   734: 
   735: INPUT_PORTS_START( demon )
   736: 	PORT_START /* switches */
   737: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   738: 	PORT_DIPNAME( SW7,     SW7OFF,        DEF_STR( Free_Play ) )
   739: 	PORT_DIPSETTING(       SW7OFF,        DEF_STR( Off ) )
   740: 	PORT_DIPSETTING(       SW7ON,         DEF_STR( On ) )
   741: 	PORT_DIPNAME( SW6,     SW6OFF,        DEF_STR( Unknown ) )
   742: 	PORT_DIPSETTING(       SW6OFF,        DEF_STR( Off ) )
   743: 	PORT_DIPSETTING(       SW6ON,         DEF_STR( On ) )
   744: 	PORT_DIPNAME( SW5,     SW5OFF,        DEF_STR( Unknown ) )
   745: 	PORT_DIPSETTING(       SW5OFF,        DEF_STR( Off ) )
   746: 	PORT_DIPSETTING(       SW5ON,         DEF_STR( On ) )
   747: 	PORT_DIPNAME( SW3|SW4, SW3ON |SW4ON,  DEF_STR( Lives ) )
   748: 	PORT_DIPSETTING(       SW3ON |SW4ON,  "3")
   749: 	PORT_DIPSETTING(       SW3OFF|SW4ON,  "4" )
   750: 	PORT_DIPSETTING(       SW3ON |SW4OFF, "5" )
   751: 	PORT_DIPSETTING(       SW3OFF|SW4OFF, "6" )
   752: 	PORT_DIPNAME( SW2|SW1, SW2OFF|SW1OFF, DEF_STR( Coinage ) )
   753: 	PORT_DIPSETTING(       SW2ON |SW1OFF, DEF_STR( 2C_1C ) )
   754: 	PORT_DIPSETTING(       SW2ON |SW1ON,  DEF_STR( 4C_3C ) )
   755: 	PORT_DIPSETTING(       SW2OFF|SW1OFF, DEF_STR( 1C_1C ) )
   756: 	PORT_DIPSETTING(       SW2OFF|SW1ON,  DEF_STR( 2C_3C ) )
   757: 
   758: 	PORT_START /* inputs */
   759: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* also mapped to Button 3, player 2 */
   760: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   761: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
   762: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER2 )
   763: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_2WAY | IPF_PLAYER2 )
   764: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER2 )
   765: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_PLAYER1 )
   766: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_TILT )
   767: 	PORT_SERVICE( 0x0080, IP_ACTIVE_LOW )
   768: 	PORT_BIT ( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN )
   769: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER1 )
   770: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER1 )
   771: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY | IPF_PLAYER1 )
   772: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_2WAY | IPF_PLAYER1 )
   773: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW, IPT_START2 )
   774: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW, IPT_START1 )
   775: 
   776: 	PORT_START /* analog stick X - unused */
   777: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   778: 
   779: 	PORT_START /* analog stick Y - unused */
   780: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   781: INPUT_PORTS_END
   782: 
   783: 
   784: INPUT_PORTS_START( wotw )
   785: 	PORT_START /* switches */
   786: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   787: 	PORT_SERVICE( SW7, SW7OFF )
   788: 	PORT_DIPNAME( SW6, SW6OFF, DEF_STR( Free_Play ) )
   789: 	PORT_DIPSETTING(   SW6OFF, DEF_STR( Off ) )
   790: 	PORT_DIPSETTING(   SW6ON,  DEF_STR( On ) )
   791: 	PORT_DIPNAME( SW4, SW4OFF, DEF_STR( Coinage ) )
   792: 	PORT_DIPSETTING(   SW4OFF, DEF_STR( 1C_1C ) )
   793: 	PORT_DIPSETTING(   SW4ON,  DEF_STR( 2C_3C ) )
   794: 	PORT_DIPNAME( SW2, SW2OFF, DEF_STR( Lives ) )
   795: 	PORT_DIPSETTING(   SW2OFF, "3" )
   796: 	PORT_DIPSETTING(   SW2ON,  "5" )
   797: 	PORT_DIPNAME( SW1, SW1OFF, DEF_STR( Unknown ) )
   798: 	PORT_DIPSETTING(   SW1OFF, DEF_STR( Off ) )
   799: 	PORT_DIPSETTING(   SW1ON,  DEF_STR( On ) )
   800: 	PORT_DIPNAME( SW3, SW3OFF, DEF_STR( Unknown ) )
   801: 	PORT_DIPSETTING(   SW3OFF, DEF_STR( Off ) )
   802: 	PORT_DIPSETTING(   SW3ON,  DEF_STR( On ) )
   803: 	PORT_DIPNAME( SW5, SW5OFF, DEF_STR( Unknown ) )
   804: 	PORT_DIPSETTING(   SW5OFF, DEF_STR( Off ) )
   805: 	PORT_DIPSETTING(   SW5ON,  DEF_STR( On ) )
   806: 
   807: 	PORT_START /* inputs */
   808: 	PORT_BIT ( 0x8000, IP_ACTIVE_LOW, IPT_UNUSED )
   809: 	PORT_BIT ( 0x4000, IP_ACTIVE_LOW, IPT_UNUSED )
   810: 	PORT_BIT ( 0x2000, IP_ACTIVE_LOW, IPT_UNUSED )
   811: 	PORT_BIT ( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 )
   812: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW, IPT_UNUSED )
   813: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW, IPT_BUTTON2 )
   814: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW, IPT_UNUSED )
   815: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_2WAY )
   816: 	PORT_BIT ( 0x0080, IP_ACTIVE_LOW, IPT_UNUSED )
   817: 	PORT_BIT ( 0x0040, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_2WAY )
   818: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW, IPT_UNUSED )
   819: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW, IPT_UNUSED )
   820: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW, IPT_UNUSED )
   821: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW, IPT_START2 )
   822: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW, IPT_UNUSED )
   823: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW, IPT_START1 )
   824: 
   825: 	PORT_START /* analog stick X - unused */
   826: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   827: 
   828: 	PORT_START /* analog stick Y - unused */
   829: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   830: INPUT_PORTS_END
   831: 
   832: 
   833: INPUT_PORTS_START( boxingb )
   834: 	PORT_START /* switches */
   835: 	PORT_BIT_IMPULSE( 0x80, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   836: 	PORT_SERVICE( SW7,	   SW7OFF )
   837: 	PORT_DIPNAME( SW6,	   SW6OFF,		  DEF_STR( Free_Play ) )
   838: 	PORT_DIPSETTING(	   SW6OFF,		  DEF_STR( Off ) )
   839: 	PORT_DIPSETTING(	   SW6ON,		  DEF_STR( On ) )
   840: 	PORT_DIPNAME( SW5,	   SW5ON,		  DEF_STR( Demo_Sounds ) )
   841: 	PORT_DIPSETTING(	   SW5OFF,		  DEF_STR( Off ) )
   842: 	PORT_DIPSETTING(	   SW5ON,		  DEF_STR( On ) )
   843: 	PORT_DIPNAME( SW4,	   SW4ON,		  DEF_STR( Bonus_Life ) )
   844: 	PORT_DIPSETTING(	   SW4ON,		  "30,000" )
   845: 	PORT_DIPSETTING(	   SW4OFF,		  "50,000" )
   846: 	PORT_DIPNAME( SW3,	   SW3ON,		  DEF_STR( Lives ) )
   847: 	PORT_DIPSETTING(	   SW3OFF,		  "3" )
   848: 	PORT_DIPSETTING(	   SW3ON,		  "5" )
   849: 	PORT_DIPNAME( SW2|SW1, SW2OFF|SW1OFF, DEF_STR( Coinage ) )
   850: 	PORT_DIPSETTING(	   SW2ON |SW1OFF, DEF_STR( 2C_1C ) )
   851: 	PORT_DIPSETTING(	   SW2ON |SW1ON,  DEF_STR( 4C_3C ) )
   852: 	PORT_DIPSETTING(	   SW2OFF|SW1OFF, DEF_STR( 1C_1C ) )
   853: 	PORT_DIPSETTING(	   SW2OFF|SW1ON,  DEF_STR( 2C_3C ) )
   854: 
   855: 	PORT_START /* inputs */
   856: 	PORT_BIT ( 0xf000, IP_ACTIVE_HIGH, IPT_UNUSED )	/* dial */
   857: 	PORT_BIT ( 0x0800, IP_ACTIVE_LOW,  IPT_UNUSED )
   858: 	PORT_BIT ( 0x0400, IP_ACTIVE_LOW,  IPT_UNUSED )
   859: 	PORT_BIT ( 0x0200, IP_ACTIVE_LOW,  IPT_UNUSED )
   860: 	PORT_BIT ( 0x0100, IP_ACTIVE_LOW,  IPT_UNUSED )
   861: 	PORT_BIT ( 0x0080, IP_ACTIVE_LOW,  IPT_UNUSED )
   862: 	PORT_BIT ( 0x0040, IP_ACTIVE_LOW,  IPT_UNUSED )
   863: 	PORT_BIT ( 0x0020, IP_ACTIVE_LOW,  IPT_BUTTON1 | IPF_PLAYER1 )
   864: 	PORT_BIT ( 0x0010, IP_ACTIVE_LOW,  IPT_BUTTON2 | IPF_PLAYER1 )
   865: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW,  IPT_BUTTON3 | IPF_PLAYER1 )
   866: 	PORT_BIT ( 0x0008, IP_ACTIVE_LOW,  IPT_START1 )
   867: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW,  IPT_BUTTON3 | IPF_PLAYER2 )
   868: 	PORT_BIT ( 0x0004, IP_ACTIVE_LOW,  IPT_START2 )
   869: 	PORT_BIT ( 0x0002, IP_ACTIVE_LOW,  IPT_BUTTON2 | IPF_PLAYER2 )
   870: 	PORT_BIT ( 0x0001, IP_ACTIVE_LOW,  IPT_BUTTON1 | IPF_PLAYER2 )
   871: 
   872: 	PORT_START /* analog stick X - unused */
   873: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   874: 
   875: 	PORT_START /* analog stick Y - unused */
   876: 	PORT_BIT ( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
   877: 
   878: 	PORT_START /* fake (in4) */
   879: 	PORT_ANALOG( 0xff, 0x80, IPT_DIAL, 100, 5, 0x00, 0xff )
   880: INPUT_PORTS_END
   881: 
   882: 
   883: 
   884: /*************************************
   885:  *
   886:  *	Machine drivers
   887:  *
   888:  *************************************/
   889: 
   890: /* Note: the CPU speed is somewhat arbitrary as the cycle timings in
   891:    the core are incomplete. */
   892: static MACHINE_DRIVER_START( cinemat )
   893: 
   894: 	/* basic machine hardware */
   895: 	MDRV_CPU_ADD(CCPU, 5000000)
   896: 	MDRV_CPU_MEMORY(readmem,writemem)
   897: 	MDRV_CPU_PORTS(readport,writeport)
   898: 
   899: 	MDRV_FRAMES_PER_SECOND(38)
   900: 	MDRV_MACHINE_INIT(cinemat_sound)
   901: 
   902: 	/* video hardware */
   903: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_VECTOR | VIDEO_RGB_DIRECT)
   904: 	MDRV_SCREEN_SIZE(400, 300)
   905: 	MDRV_VISIBLE_AREA(0, 1024, 0, 768)
   906: 	MDRV_PALETTE_LENGTH(32768)
   907: 
   908: 	MDRV_PALETTE_INIT(cinemat)
   909: 	MDRV_VIDEO_START(cinemat)
   910: 	MDRV_VIDEO_EOF(cinemat)
   911: 	MDRV_VIDEO_UPDATE(vector)
   912: 
   913: 	/* sound hardware */
   914: MACHINE_DRIVER_END
   915: 
   916: 
   917: static MACHINE_DRIVER_START( spacewar )
   918: 
   919: 	/* basic machine hardware */
   920: 	MDRV_IMPORT_FROM(cinemat)
   921: 
   922: 	/* video hardware */
   923: 	MDRV_VIDEO_UPDATE(spacewar)
   924: 
   925: 	/* sound hardware */
   926: 	MDRV_SOUND_ADD(SAMPLES, spacewar_samples_interface)
   927: MACHINE_DRIVER_END
   928: 
   929: 
   930: static MACHINE_DRIVER_START( starcas )
   931: 
   932: 	/* basic machine hardware */
   933: 	MDRV_IMPORT_FROM(cinemat)
   934: 
   935: 	/* sound hardware */
   936: 	MDRV_SOUND_ADD(SAMPLES, starcas_samples_interface)
   937: MACHINE_DRIVER_END
   938: 
   939: 
   940: static MACHINE_DRIVER_START( ripoff )
   941: 
   942: 	/* basic machine hardware */
   943: 	MDRV_IMPORT_FROM(cinemat)
   944: 
   945: 	/* sound hardware */
   946: 	MDRV_SOUND_ADD(SAMPLES, ripoff_samples_interface)
   947: MACHINE_DRIVER_END
   948: 
   949: 
   950: static MACHINE_DRIVER_START( warrior )
   951: 
   952: 	/* basic machine hardware */
   953: 	MDRV_IMPORT_FROM(cinemat)
   954: 
   955: 	/* video hardware */
   956: 	MDRV_VISIBLE_AREA(0, 1024, 0, 780)
   957: 
   958: 	/* sound hardware */
   959: 	MDRV_SOUND_ADD(SAMPLES, warrior_samples_interface)
   960: MACHINE_DRIVER_END
   961: 
   962: 
   963: static MACHINE_DRIVER_START( armora )
   964: 
   965: 	/* basic machine hardware */
   966: 	MDRV_IMPORT_FROM(cinemat)
   967: 
   968: 	/* video hardware */
   969: 	MDRV_VISIBLE_AREA(0, 1024, 0, 772)
   970: MACHINE_DRIVER_END
   971: 
   972: 
   973: static MACHINE_DRIVER_START( solarq )
   974: 
   975: 	/* basic machine hardware */
   976: 	MDRV_IMPORT_FROM(cinemat)
   977: 
   978: 	/* sound hardware */
   979: 	MDRV_SOUND_ADD(SAMPLES, solarq_samples_interface)
   980: MACHINE_DRIVER_END
   981: 
   982: 
   983: static MACHINE_DRIVER_START( demon )
   984: 
   985: 	/* basic machine hardware */
   986: 	MDRV_IMPORT_FROM(cinemat)
   987: 	MDRV_IMPORT_FROM(demon_sound)
   988: 
   989: 	/* video hardware */
   990: 	MDRV_VISIBLE_AREA(0, 1024, 0, 800)
   991: MACHINE_DRIVER_END
   992: 
   993: 
   994: static MACHINE_DRIVER_START( cincolor )
   995: 
   996: 	/* basic machine hardware */
   997: 	MDRV_IMPORT_FROM(cinemat)
   998: 
   999: 	/* video hardware */
  1000: 	MDRV_PALETTE_INIT(cinemat_color)
  1001: MACHINE_DRIVER_END
  1002: 
  1003: 
  1004: 
  1005: 
  1006: /*************************************
  1007:  *
  1008:  *	ROM definitions
  1009:  *
  1010:  *************************************/
  1011: 
  1012: ROM_START( spacewar )
  1013: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 4k for code */
  1014: 	ROM_LOAD16_BYTE( "spacewar.1l", 0x8000, 0x0800, CRC(edf0fd53) SHA1(a543d8b95bc77ec061c6b10161a6f3e07401e251) )
  1015: 	ROM_LOAD16_BYTE( "spacewar.2r", 0x8001, 0x0800, CRC(4f21328b) SHA1(8889f1a9353d6bb1e1078829c1ba77557853739b) )
  1016: ROM_END
  1017: 
  1018: 
  1019: ROM_START( barrier )
  1020: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 4k for code */
  1021: 	ROM_LOAD16_BYTE( "barrier.t7", 0x8000, 0x0800, CRC(7c3d68c8) SHA1(1138029552b73e94522b3b48096befc057d603c7) )
  1022: 	ROM_LOAD16_BYTE( "barrier.p7", 0x8001, 0x0800, CRC(aec142b5) SHA1(b268936b82e072f38f1f1dd54e0bc88bcdf19925) )
  1023: ROM_END
  1024: 
  1025: 
  1026: ROM_START( starhawk )
  1027: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 4k for code */
  1028: 	ROM_LOAD16_BYTE( "u7", 0x8000, 0x0800, CRC(376e6c5c) SHA1(7d9530ed2e75464578b541f61408ba64ee9d2a95) )
  1029: 	ROM_LOAD16_BYTE( "r7", 0x8001, 0x0800, CRC(bb71144f) SHA1(79591cd3ef8df78ec26e158f7e82ca0dcd72260d) )
  1030: ROM_END
  1031: 
  1032: 
  1033: ROM_START( starcas )
  1034: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 8k for code */
  1035: 	ROM_LOAD16_BYTE( "starcas3.t7", 0x8000, 0x0800, CRC(b5838b5d) SHA1(6ac30be55514cba55180c85af69072b5056d1d4c) )
  1036: 	ROM_LOAD16_BYTE( "starcas3.p7", 0x8001, 0x0800, CRC(f6bc2f4d) SHA1(ef6f01556b154cfb3e37b2a99d6ea6292e5ec844) )
  1037: 	ROM_LOAD16_BYTE( "starcas3.u7", 0x9000, 0x0800, CRC(188cd97c) SHA1(c021e93a01e9c65013073de551a8c24fd1a68bde) )
  1038: 	ROM_LOAD16_BYTE( "starcas3.r7", 0x9001, 0x0800, CRC(c367b69d) SHA1(98354d34ceb03e080b1846611d533be7bdff01cc) )
  1039: ROM_END
  1040: 
  1041: ROM_START( starcasp )
  1042: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 8k for code */
  1043: 	ROM_LOAD16_BYTE( "starcasp.t7", 0x8000, 0x0800, CRC(d2c551a2) SHA1(90b5e1c6988839b812028f1baaea16420c011c08) )
  1044: 	ROM_LOAD16_BYTE( "starcasp.p7", 0x8001, 0x0800, CRC(baa4e422) SHA1(9035ac675fcbbb93ae3f658339fdfaef47796dab) )
  1045: 	ROM_LOAD16_BYTE( "starcasp.u7", 0x9000, 0x0800, CRC(26941991) SHA1(4417f2f3e437c1f39ff389362467928f57045d74) )
  1046: 	ROM_LOAD16_BYTE( "starcasp.r7", 0x9001, 0x0800, CRC(5dd151e5) SHA1(f3b0e2bd3121ac0649938eb2f676d171bcc7d4dd) )
  1047: ROM_END
  1048: 
  1049: 
  1050: ROM_START( starcas1 )
  1051: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 8k for code */
  1052: 	ROM_LOAD16_BYTE( "starcast.t7", 0x8000, 0x0800, CRC(65d0a225) SHA1(e1fbee5ff42dd040ab2e90bbe2189fcb76d6167e) )
  1053: 	ROM_LOAD16_BYTE( "starcast.p7", 0x8001, 0x0800, CRC(d8f58d9a) SHA1(abba459431dcacc75099b0d340b957be71b89cfd) )
  1054: 	ROM_LOAD16_BYTE( "starcast.u7", 0x9000, 0x0800, CRC(d4f35b82) SHA1(cd4561ce8e1d0554ac1a8925bbf46d2c676a3b80) )
  1055: 	ROM_LOAD16_BYTE( "starcast.r7", 0x9001, 0x0800, CRC(9fd3de54) SHA1(17195a490b190e68660829850ff9d702ca1939bb) )
  1056: ROM_END
  1057: 
  1058: ROM_START( starcase )
  1059: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 8k for code */
  1060: 	ROM_LOAD16_BYTE( "starcast.t7", 0x8000, 0x0800, CRC(65d0a225) SHA1(e1fbee5ff42dd040ab2e90bbe2189fcb76d6167e) )
  1061: 	ROM_LOAD16_BYTE( "starcast.p7", 0x8001, 0x0800, CRC(d8f58d9a) SHA1(abba459431dcacc75099b0d340b957be71b89cfd) )
  1062: 	ROM_LOAD16_BYTE( "starcast.u7", 0x9000, 0x0800, CRC(d4f35b82) SHA1(cd4561ce8e1d0554ac1a8925bbf46d2c676a3b80) )
  1063: 	ROM_LOAD16_BYTE( "mottoeis.r7", 0x9001, 0x0800, CRC(a2c1ed52) SHA1(ed9743f44ee98c9e7c2a6819ec681af7c7a97fc9) )
  1064: ROM_END
  1065: 
  1066: ROM_START( stellcas )
  1067: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 8k for code */
  1068: 	ROM_LOAD16_BYTE( "starcast.t7", 0x8000, 0x0800, CRC(65d0a225) SHA1(e1fbee5ff42dd040ab2e90bbe2189fcb76d6167e) )
  1069: 	ROM_LOAD16_BYTE( "starcast.p7", 0x8001, 0x0800, CRC(d8f58d9a) SHA1(abba459431dcacc75099b0d340b957be71b89cfd) )
  1070: 	ROM_LOAD16_BYTE( "elttron.u7",  0x9000, 0x0800, CRC(d5b44050) SHA1(a5dd6050ab1a3b0275a229845bc5e9524e2da69c) )
  1071: 	ROM_LOAD16_BYTE( "elttron.r7",  0x9001, 0x0800, CRC(6f1f261e) SHA1(a22a52af12a5cfbb9031fdd12c9c78db28f28ff1) )
  1072: ROM_END
  1073: 
  1074: 
  1075: ROM_START( tailg )
  1076: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 8k for code */
  1077: 	ROM_LOAD16_BYTE( "tgunner.t70", 0x8000, 0x0800, CRC(21ec9a04) SHA1(b442f34360d1d4769e7bca73a2d79ce97d335460) )
  1078: 	ROM_LOAD16_BYTE( "tgunner.p70", 0x8001, 0x0800, CRC(8d7410b3) SHA1(59ead49bd229a873f15334d0999c872d3d6581d4) )
  1079: 	ROM_LOAD16_BYTE( "tgunner.t71", 0x9000, 0x0800, CRC(2c954ab6) SHA1(9edf189a19b50a9abf458d4ef8ba25b53934385e) )
  1080: 	ROM_LOAD16_BYTE( "tgunner.p71", 0x9001, 0x0800, CRC(8e2c8494) SHA1(65e461ec4938f9895e5ac31442193e06c8731dc1) )
  1081: ROM_END
  1082: 
  1083: 
  1084: ROM_START( ripoff )
  1085: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 8k for code */
  1086: 	ROM_LOAD16_BYTE( "ripoff.t7", 0x8000, 0x0800, CRC(40c2c5b8) SHA1(bc1f3b540475c9868443a72790a959b1f36b93c6) )
  1087: 	ROM_LOAD16_BYTE( "ripoff.p7", 0x8001, 0x0800, CRC(a9208afb) SHA1(ea362494855be27a07014832b01e65c1645385d0) )
  1088: 	ROM_LOAD16_BYTE( "ripoff.u7", 0x9000, 0x0800, CRC(29c13701) SHA1(5e7672deffac1fa8f289686a5527adf7e51eb0bb) )
  1089: 	ROM_LOAD16_BYTE( "ripoff.r7", 0x9001, 0x0800, CRC(150bd4c8) SHA1(e1e2f0dfec4f53d8ff67b0e990514c304f496b3a) )
  1090: ROM_END
  1091: 
  1092: 
  1093: ROM_START( speedfrk )
  1094: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 8k for code */
  1095: 	ROM_LOAD16_BYTE( "speedfrk.t7", 0x8000, 0x0800, CRC(3552c03f) SHA1(c233dd064195b336556d7405b51065389b228c78) )
  1096: 	ROM_LOAD16_BYTE( "speedfrk.p7", 0x8001, 0x0800, CRC(4b90cdec) SHA1(69e2312acdc22ef52236b1c4dfee9f51fcdcaa52) )
  1097: 	ROM_LOAD16_BYTE( "speedfrk.u7", 0x9000, 0x0800, CRC(616c7cf9) SHA1(3c5bf59a09d85261f69e4b9d499cb7a93d79fb57) )
  1098: 	ROM_LOAD16_BYTE( "speedfrk.r7", 0x9001, 0x0800, CRC(fbe90d63) SHA1(e42b17133464ae48c90263bba01a7d041e938a05) )
  1099: ROM_END
  1100: 
  1101: 
  1102: ROM_START( sundance )
  1103: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 8k for code */
  1104: 	ROM_LOAD16_BYTE( "sundance.t7", 0x8000, 0x0800, CRC(d5b9cb19) SHA1(72dca386b48a582186898c32123d61b4fd58632e) )
  1105: 	ROM_LOAD16_BYTE( "sundance.p7", 0x8001, 0x0800, CRC(445c4f20) SHA1(972d0b0613f154ee3347206cae05ee8c36796f84) )
  1106: 	ROM_LOAD16_BYTE( "sundance.u7", 0x9000, 0x0800, CRC(67887d48) SHA1(be225dbd3508fad2711286834880065a4fc0a2fc) )
  1107: 	ROM_LOAD16_BYTE( "sundance.r7", 0x9001, 0x0800, CRC(10b77ebd) SHA1(3d43bd47c498d5ea74a7322f8d25dbc0c0187534) )
  1108: ROM_END
  1109: 
  1110: 
  1111: ROM_START( warrior )
  1112: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 8k for code */
  1113: 	ROM_LOAD16_BYTE( "warrior.t7", 0x8000, 0x0800, CRC(ac3646f9) SHA1(515c3acb638fad27fa57f6b438c8ec0b5b76f319) )
  1114: 	ROM_LOAD16_BYTE( "warrior.p7", 0x8001, 0x0800, CRC(517d3021) SHA1(0483dcaf92c336a07d2c535823348ee886567e85) )
  1115: 	ROM_LOAD16_BYTE( "warrior.u7", 0x9000, 0x0800, CRC(2e39340f) SHA1(4b3cfb3674dd2a668d4d65e28cb37d7ad20f118d) )
  1116: 	ROM_LOAD16_BYTE( "warrior.r7", 0x9001, 0x0800, CRC(8e91b502) SHA1(27614c3a8613f49187039cfb05ee96303caf72ba) )
  1117: ROM_END
  1118: 
  1119: 
  1120: ROM_START( armora )
  1121: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 16k for code */
  1122: 	ROM_LOAD16_BYTE( "ar414le.t6", 0x8000, 0x1000, CRC(d7e71f84) SHA1(0b29278a6a698f07eae597bc0a8650e91eaabffa) )
  1123: 	ROM_LOAD16_BYTE( "ar414lo.p6", 0x8001, 0x1000, CRC(df1c2370) SHA1(b74834d1a591a741892ec41269a831d3590ff766) )
  1124: 	ROM_LOAD16_BYTE( "ar414ue.u6", 0xa000, 0x1000, CRC(b0276118) SHA1(88f33cb2f46a89819c85f810c7cff812e918391e) )
  1125: 	ROM_LOAD16_BYTE( "ar414uo.r6", 0xa001, 0x1000, CRC(229d779f) SHA1(0cbdd83eb224146944049346f30d9c72d3ad5f52) )
  1126: ROM_END
  1127: 
  1128: ROM_START( armorap )
  1129: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 16k for code */
  1130: 	ROM_LOAD16_BYTE( "ar414le.t6", 0x8000, 0x1000, CRC(d7e71f84) SHA1(0b29278a6a698f07eae597bc0a8650e91eaabffa) )
  1131: 	ROM_LOAD16_BYTE( "ar414lo.p6", 0x8001, 0x1000, CRC(df1c2370) SHA1(b74834d1a591a741892ec41269a831d3590ff766) )
  1132: 	ROM_LOAD16_BYTE( "armorp.u7",  0xa000, 0x1000, CRC(4a86bd8a) SHA1(36647805c40688588dde81c7cbf4fe356b0974fc) )
  1133: 	ROM_LOAD16_BYTE( "armorp.r7",  0xa001, 0x1000, CRC(d2dd4eae) SHA1(09afaeb0b8f88edb17e42bd2d754af0ae53e609a) )
  1134: ROM_END
  1135: 
  1136: ROM_START( armorar )
  1137: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 16k for code */
  1138: 	ROM_LOAD16_BYTE( "armorr.t7", 0x8000, 0x0800, CRC(256d1ed9) SHA1(8c101356c3fe93f2f49d5dc9d739f3b37cdb98b5) )
  1139: 	ROM_LOAD16_BYTE( "armorr.p7", 0x8001, 0x0800, CRC(bf75c158) SHA1(4d52630ae0ea2ad16bb5f577ad6d21f52e2f0a3c) )
  1140: 	ROM_LOAD16_BYTE( "armorr.u7", 0x9000, 0x0800, CRC(ba68331d) SHA1(871c3f5b6c2845f270e3a272fdb07aed8b527641) )
  1141: 	ROM_LOAD16_BYTE( "armorr.r7", 0x9001, 0x0800, CRC(fa14c0b3) SHA1(37b233f0dac51eaf7d325628a6cced9367b6b6cb) )
  1142: ROM_END
  1143: 
  1144: 
  1145: ROM_START( solarq )
  1146: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 16k for code */
  1147: 	ROM_LOAD16_BYTE( "solar.6t", 0x8000, 0x1000, CRC(1f3c5333) SHA1(58d847b5f009a0363ae116768b22d0bcfb3d60a4) )
  1148: 	ROM_LOAD16_BYTE( "solar.6p", 0x8001, 0x1000, CRC(d6c16bcc) SHA1(6953bdc698da060d37f6bc33a810ba44595b1257) )
  1149: 	ROM_LOAD16_BYTE( "solar.6u", 0xa000, 0x1000, CRC(a5970e5c) SHA1(9ac07924ca86d003964022cffdd6a0436dde5624) )
  1150: 	ROM_LOAD16_BYTE( "solar.6r", 0xa001, 0x1000, CRC(b763fff2) SHA1(af1fd978e46a4aee3048e6e36c409821d986f7ee) )
  1151: ROM_END
  1152: 
  1153: 
  1154: ROM_START( demon )
  1155: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 16k for code */
  1156: 	ROM_LOAD16_BYTE( "demon.7t",  0x8000, 0x1000, CRC(866596c1) SHA1(65202dcd5c6bf6c11fe76a89682a1505b1870cc9) )
  1157: 	ROM_LOAD16_BYTE( "demon.7p",  0x8001, 0x1000, CRC(1109e2f1) SHA1(c779b6af1ca09e2e295fc9a0e221ddf283b683ed) )
  1158: 	ROM_LOAD16_BYTE( "demon.7u",  0xa000, 0x1000, CRC(d447a3c3) SHA1(32f6fb01231aa4f3d93e32d639a89f0cf9624a71) )
  1159: 	ROM_LOAD16_BYTE( "demon.7r",  0xa001, 0x1000, CRC(64b515f0) SHA1(2dd9a6d784ec1baf31e8c6797ddfdc1423c69470) )
  1160: 
  1161: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for code */
  1162: 	ROM_LOAD         ( "demon.snd", 0x0000, 0x1000, CRC(1e2cc262) SHA1(2aae537574ac69c92a3c6400b971e994de88d915) )
  1163: ROM_END
  1164: 
  1165: 
  1166: ROM_START( wotw )
  1167: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 16k for code */
  1168: 	ROM_LOAD16_BYTE( "wow_le.t7", 0x8000, 0x1000, CRC(b16440f9) SHA1(9656a26814736f8ff73575063b5ebbb2e8aa7dd0) )
  1169: 	ROM_LOAD16_BYTE( "wow_lo.p7", 0x8001, 0x1000, CRC(bfdf4a5a) SHA1(db4eceb68e17020d0a597ba105ec3b91ce48b7c1) )
  1170: 	ROM_LOAD16_BYTE( "wow_ue.u7", 0xa000, 0x1000, CRC(9b5cea48) SHA1(c2bc002e550a0d36e713d07f6aefa79c70b8e284) )
  1171: 	ROM_LOAD16_BYTE( "wow_uo.r7", 0xa001, 0x1000, CRC(c9d3c866) SHA1(57a47bf06838fe562981321249fe5ae585316f22) )
  1172: ROM_END
  1173: 
  1174: 
  1175: ROM_START( boxingb )
  1176: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 32k for code */
  1177: 	ROM_LOAD16_BYTE( "u1a", 0x8000, 0x1000, CRC(d3115b0f) SHA1(9448e7ac1cdb5c7e0739623151be230ab630c4ea) )
  1178: 	ROM_LOAD16_BYTE( "u1b", 0x8001, 0x1000, CRC(3a44268d) SHA1(876ebe942ded787cfe357563a33d3e26a1483c5a) )
  1179: 	ROM_LOAD16_BYTE( "u2a", 0xa000, 0x1000, CRC(c97a9cbb) SHA1(8bdeb9ee6b24c0a4554bbf4532a43481a0360019) )
  1180: 	ROM_LOAD16_BYTE( "u2b", 0xa001, 0x1000, CRC(98d34ff5) SHA1(6767a02a99a01712383300f9acb96cdeffbc9c69) )
  1181: 	ROM_LOAD16_BYTE( "u3a", 0xc000, 0x1000, CRC(5bb3269b) SHA1(a9dbc91b1455760f10bad0d2ccf540e040a00d4e) )
  1182: 	ROM_LOAD16_BYTE( "u3b", 0xc001, 0x1000, CRC(85bf83ad) SHA1(9229042e39c53fae56dc93f8996bf3a3fcd35cb8) )
  1183: 	ROM_LOAD16_BYTE( "u4a", 0xe000, 0x1000, CRC(25b51799) SHA1(46465fe62907ae66a0ce730581e4e9ba330d4369) )
  1184: 	ROM_LOAD16_BYTE( "u4b", 0xe001, 0x1000, CRC(7f41de6a) SHA1(d01dffad3cb6e76c535a034ea0277dce5801c5f1) )
  1185: ROM_END
  1186: 
  1187: 
  1188: 
  1189: /*************************************
  1190:  *
  1191:  *	Driver initialization
  1192:  *
  1193:  *************************************/
  1194: 
  1195: static DRIVER_INIT( spacewar )
  1196: {
  1197: 	ccpu_Config(0, CCPU_MEMSIZE_4K, CCPU_MONITOR_BILEV);
  1198: 	cinemat_sound_handler = spacewar_sound_w;
  1199: }
  1200: 
  1201: 
  1202: static DRIVER_INIT( barrier )
  1203: {
  1204: 	ccpu_Config(1, CCPU_MEMSIZE_4K, CCPU_MONITOR_BILEV);
  1205: 	cinemat_sound_handler = 0;
  1206: }
  1207: 
  1208: 
  1209: static DRIVER_INIT( starhawk )
  1210: {
  1211: 	ccpu_Config(1, CCPU_MEMSIZE_4K, CCPU_MONITOR_BILEV);
  1212: 	cinemat_sound_handler = 0;
  1213: }
  1214: 
  1215: 
  1216: static DRIVER_INIT( starcas )
  1217: {
  1218: 	ccpu_Config(1, CCPU_MEMSIZE_8K, CCPU_MONITOR_BILEV);
  1219: 	cinemat_sound_handler = starcas_sound_w;
  1220: 	artwork_set_overlay(starcas_overlay);
  1221: }
  1222: 
  1223: 
  1224: static DRIVER_INIT( tailg )
  1225: {
  1226: 	ccpu_Config(0, CCPU_MEMSIZE_8K, CCPU_MONITOR_BILEV);
  1227: 	cinemat_sound_handler = 0;
  1228: 	artwork_set_overlay(tailg_overlay);
  1229: }
  1230: 
  1231: 
  1232: static DRIVER_INIT( ripoff )
  1233: {
  1234: 	ccpu_Config(1, CCPU_MEMSIZE_8K, CCPU_MONITOR_BILEV);
  1235: 	cinemat_sound_handler = ripoff_sound_w;
  1236: }
  1237: 
  1238: 
  1239: static DRIVER_INIT( speedfrk )
  1240: {
  1241: 	ccpu_Config(0, CCPU_MEMSIZE_8K, CCPU_MONITOR_BILEV);
  1242: 	cinemat_sound_handler = 0;
  1243: 
  1244: 	install_port_read16_handler(0, CCPU_PORT_IOINPUTS, CCPU_PORT_IOINPUTS+1, speedfrk_input_port_1_r);
  1245: }
  1246: 
  1247: 
  1248: static DRIVER_INIT( sundance )
  1249: {
  1250: 	ccpu_Config(1, CCPU_MEMSIZE_8K, CCPU_MONITOR_16LEV);
  1251: 	cinemat_sound_handler = 0;
  1252: 	artwork_set_overlay(sundance_overlay);
  1253: }
  1254: 
  1255: 
  1256: static DRIVER_INIT( warrior )
  1257: {
  1258: 	ccpu_Config(1, CCPU_MEMSIZE_8K, CCPU_MONITOR_BILEV);
  1259: 	cinemat_sound_handler = warrior_sound_w;
  1260: }
  1261: 
  1262: 
  1263: static DRIVER_INIT( armora )
  1264: {
  1265: 	ccpu_Config(1, CCPU_MEMSIZE_16K, CCPU_MONITOR_BILEV);
  1266: 	cinemat_sound_handler = 0;
  1267: }
  1268: 
  1269: static DRIVER_INIT( armorar )
  1270: {
  1271: 	ccpu_Config(1, CCPU_MEMSIZE_8K, CCPU_MONITOR_BILEV);
  1272: 	cinemat_sound_handler = 0;
  1273: }
  1274: 
  1275: 
  1276: static DRIVER_INIT( solarq )
  1277: {
  1278: 	ccpu_Config(1, CCPU_MEMSIZE_16K, CCPU_MONITOR_BILEV);
  1279: 	cinemat_sound_handler = solarq_sound_w;
  1280: 	artwork_set_overlay(solarq_overlay);
  1281: }
  1282: 
  1283: 
  1284: static DRIVER_INIT( demon )
  1285: {
  1286: 	unsigned char *RAM = memory_region(REGION_CPU2);
  1287: 
  1288: 	ccpu_Config(1, CCPU_MEMSIZE_16K, CCPU_MONITOR_BILEV);
  1289: 	cinemat_sound_handler = demon_sound_w;
  1290: 
  1291: 	RAM[0x0091]=0xcb;	/* bit 7,a */
  1292: 	RAM[0x0092]=0x7f;
  1293: 	RAM[0x0093]=0xc2;	/* jp nz,$0088 */
  1294: 	RAM[0x0094]=0x88;
  1295: 	RAM[0x0095]=0x00;
  1296: 	RAM[0x0096]=0xc3;	/* jp $00fd */
  1297: 	RAM[0x0097]=0xfd;
  1298: 	RAM[0x0098]=0x00;
  1299: }
  1300: 
  1301: 
  1302: static DRIVER_INIT( wotw )
  1303: {
  1304: 	ccpu_Config(1, CCPU_MEMSIZE_16K, CCPU_MONITOR_WOWCOL);
  1305: 	cinemat_sound_handler = 0;
  1306: }
  1307: 
  1308: 
  1309: static DRIVER_INIT( boxingb )
  1310: {
  1311: 	ccpu_Config(1, CCPU_MEMSIZE_32K, CCPU_MONITOR_WOWCOL);
  1312: 	cinemat_sound_handler = 0;
  1313: 
  1314: 	install_port_read16_handler(0, CCPU_PORT_IOINPUTS, CCPU_PORT_IOINPUTS+1, boxingb_input_port_1_r);
  1315: }
  1316: 
  1317: 
  1318: 
  1319: /*************************************
  1320:  *
  1321:  *	Game drivers
  1322:  *
  1323:  *************************************/
  1324: 
  1325: GAME( 1978, spacewar, 0,       spacewar, spacewar, spacewar, ROT0,   "Cinematronics", "Space Wars" )
  1326: GAMEX(1979, barrier,  0,       cinemat,  barrier,  barrier,  ROT270, "Vectorbeam", "Barrier", GAME_NO_SOUND )
  1327: GAMEX(1981, starhawk, 0,       cinemat,  starhawk, starhawk, ROT0,   "Cinematronics", "Star Hawk", GAME_NO_SOUND )
  1328: GAME( 1980, starcas,  0,       starcas,  starcas,  starcas,  ROT0,   "Cinematronics", "Star Castle (version 3)" )
  1329: GAME( 1980, starcas1, starcas, starcas,  starcas,  starcas,  ROT0,   "Cinematronics", "Star Castle (older)" )
  1330: GAME( 1980, starcasp, starcas, starcas,  starcas,  starcas,  ROT0,   "Cinematronics", "Star Castle (prototype)" )
  1331: GAME( 1980, starcase, starcas, starcas,  starcas,  starcas,  ROT0,   "Cinematronics (Mottoeis license)", "Star Castle (Mottoeis)" )
  1332: GAME( 1980, stellcas, starcas, starcas,  starcas,  starcas,  ROT0,   "bootleg", "Stellar Castle (Elettronolo)" )
  1333: GAMEX(1979, tailg,    0,       cinemat,  tailg,    tailg,    ROT0,   "Cinematronics", "Tailgunner", GAME_NO_SOUND )
  1334: GAME( 1979, ripoff,   0,       ripoff,   ripoff,   ripoff,   ROT0,   "Cinematronics", "Rip Off" )
  1335: GAMEX(1979, speedfrk, 0,       cinemat,  speedfrk, speedfrk, ROT0,   "Vectorbeam", "Speed Freak", GAME_NO_SOUND )
  1336: GAMEX(1979, sundance, 0,       cinemat,  sundance, sundance, ROT270, "Cinematronics", "Sundance", GAME_NO_SOUND | GAME_NOT_WORKING )
  1337: GAME( 1978, warrior,  0,       warrior,  warrior,  warrior,  ROT0,   "Vectorbeam", "Warrior" )
  1338: GAMEX(1980, armora,   0,       armora,   armora,   armora,   ROT0,   "Cinematronics", "Armor Attack", GAME_NO_SOUND )
  1339: GAMEX(1980, armorap,  armora,  armora,   armora,   armora,   ROT0,   "Cinematronics", "Armor Attack (prototype)", GAME_NO_SOUND )
  1340: GAMEX(1980, armorar,  armora,  armora,   armora,   armorar,  ROT0,  "Cinematronics (Rock-ola license)", "Armor Attack (Rock-ola)", GAME_NO_SOUND )
  1341: GAME( 1981, solarq,   0,       solarq,   solarq,   solarq,   ORIENTATION_FLIP_X, "Cinematronics", "Solar Quest" )
  1342: GAME( 1982, demon,    0,       demon,    demon,    demon,    ROT0,   "Rock-ola", "Demon" )
  1343: GAMEX(1981, wotw,     0,       cincolor, wotw,     wotw,     ROT0,   "Cinematronics", "War of the Worlds", GAME_IMPERFECT_COLORS | GAME_NO_SOUND )
  1344: GAMEX(1981, boxingb,  0,       cincolor, boxingb,  boxingb,  ROT0,   "Cinematronics", "Boxing Bugs", GAME_IMPERFECT_COLORS | GAME_NO_SOUND )
  1345: 




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