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 : Super Pinball Action : VM Driver Source

Source Listing


     1: /***************************************************************************
     2: 
     3: Mr. Do's Castle memory map (preliminary)
     4: 
     5: TODO:
     6: - the function of the third CPU is not clear.
     7: 
     8: 
     9: FIRST CPU:
    10: 0000-7fff ROM
    11: 8000-97ff RAM
    12: 9800-99ff Sprites
    13: b000-b3ff Video RAM
    14: b400-b7ff Color RAM
    15: 
    16: read:
    17: a000-a008 data from second CPU
    18: 
    19: write:
    20: a000-a008 data for second CPU
    21: a800      Watchdog reset?
    22: e000      Trigger NMI on second CPU
    23: 
    24: SECOND CPU:
    25: 0000-3fff ROM
    26: 8000-87ff RAM
    27: 
    28: read:
    29: a000-a008 data from first CPU
    30: all the following ports can be read both from c00x and from c08x. I don't know
    31: what's the difference.
    32: c001      DSWB
    33: c081      coins per play
    34: c002      DSWA
    35:           bit 6-7 = lives
    36: 		  bit 5 = upright/cocktail (0 = upright)
    37:           bit 4 = difficulty of EXTRA (1 = easy)
    38:           bit 3 = unused?
    39:           bit 2 = RACK TEST
    40: 		  bit 0-1 = difficulty
    41: c003      IN0
    42:           bit 4-7 = joystick player 2
    43:           bit 0-3 = joystick player 1
    44: c004      flipscreen (proper cocktail mode implemented by Chad Hendrickson Aug 1, 1999)
    45: c005	  IN1
    46:           bit 7 = START 2
    47: 		  bit 6 = unused
    48: 		  bit 5 = jump player 2
    49: 		  bit 4 = fire player 2
    50: 		  bit 3 = START 1
    51: 		  bit 2 = unused
    52:           bit 1 = jump player 1(same effect as fire)
    53:           bit 0 = fire player 1
    54: c085      during the boot sequence, clearing any of bits 0, 1, 3, 4, 5, 7 enters the
    55:           test mode, while clearing bit 2 or 6 seems to lock the machine.
    56: c007      IN2
    57:           bit 7 = unused
    58:           bit 6 = unused
    59:           bit 5 = COIN 2
    60:           bit 4 = COIN 1
    61:           bit 3 = PAUSE
    62:           bit 2 = SERVICE (keep pressed)
    63:           bit 1 = TEST (doesn't work?)
    64:           bit 0 = TILT
    65: 
    66: write:
    67: a000-a008 data for first CPU
    68: e000      sound port 1
    69: e400      sound port 2
    70: e800      sound port 3
    71: ec00      sound port 4
    72: 
    73: 
    74: Mr. Do Wild Ride / Mr. Do Run Run memory map (preliminary)
    75: 
    76: 0000-1fff ROM
    77: 2000-37ff RAM
    78: 3800-39ff Sprites
    79: 4000-9fff ROM
    80: a000-a008 Shared with second CPU
    81: b000-b3ff Video RAM
    82: b400-b7ff Color RAM
    83: 
    84: write:
    85: a800      Watchdog reset?
    86: b800      Trigger NMI on second CPU (?)
    87: 
    88: SECOND CPU:
    89: 0000-3fff ROM
    90: 8000-87ff RAM
    91: 
    92: read:
    93: e000-e008 data from first CPU
    94: c003      bit 0-3 = joystick
    95:           bit 4-7 = ?
    96: c004      flipscreen (proper cocktail mode implemented by Chad Hendrickson Aug 1, 1999)
    97: c005      bit 0 = fire
    98:           bit 1 = fire (again?!)
    99: 		  bit 2 = ?
   100: 		  bit 3 = START 1
   101: 		  bit 4-6 = ?
   102: 		  bit 4 = START 2
   103: c081      coins per play
   104: 
   105: write:
   106: e000-e008 data for first CPU
   107: a000      sound port 1
   108: a400      sound port 2
   109: a800      sound port 3
   110: ac00      sound port 4
   111: 
   112: Note:
   113: idsoccer seems to run on a modified version of this board which allows for
   114: more sprite tiles, it also has a MSM5205 chip for sample playback, this is
   115: not currently hooked up
   116: 
   117: ***************************************************************************/
   118: 
   119: #include "driver.h" 
   120: #include "vidhrdw/generic.h" 
   121: 
   122: 
   123: 
   124: extern READ_HANDLER( docastle_shared0_r );
   125: extern READ_HANDLER( docastle_shared1_r );
   126: extern WRITE_HANDLER( docastle_shared0_w );
   127: extern WRITE_HANDLER( docastle_shared1_w );
   128: extern WRITE_HANDLER( docastle_nmitrigger_w );
   129: 
   130: extern WRITE_HANDLER( docastle_videoram_w );
   131: extern WRITE_HANDLER( docastle_colorram_w );
   132: extern READ_HANDLER( docastle_flipscreen_off_r );
   133: extern READ_HANDLER( docastle_flipscreen_on_r );
   134: extern WRITE_HANDLER( docastle_flipscreen_off_w );
   135: extern WRITE_HANDLER( docastle_flipscreen_on_w );
   136: 
   137: extern PALETTE_INIT( docastle );
   138: extern PALETTE_INIT( dorunrun );
   139: extern VIDEO_START( docastle );
   140: extern VIDEO_UPDATE( docastle );
   141: 
   142: static MEMORY_READ_START( docastle_readmem )
   143: 	{ 0x0000, 0x7fff, MRA_ROM },
   144: 	{ 0x8000, 0x97ff, MRA_RAM },
   145: 	{ 0xa000, 0xa008, docastle_shared0_r },
   146: 	{ 0xb800, 0xbbff, videoram_r }, /* mirror of video ram */
   147: 	{ 0xbc00, 0xbfff, colorram_r }, /* mirror of color ram */
   148: MEMORY_END
   149: 
   150: static MEMORY_WRITE_START( docastle_writemem )
   151: 	{ 0x0000, 0x7fff, MWA_ROM },
   152: 	{ 0x8000, 0x97ff, MWA_RAM },
   153: 	{ 0x9800, 0x99ff, MWA_RAM, &spriteram, &spriteram_size },
   154: 	{ 0xa000, 0xa008, docastle_shared1_w },
   155: 	{ 0xa800, 0xa800, watchdog_reset_w },
   156: 	{ 0xb000, 0xb3ff, docastle_videoram_w, &videoram },
   157: 	{ 0xb400, 0xb7ff, docastle_colorram_w, &colorram },
   158: 	{ 0xe000, 0xe000, docastle_nmitrigger_w },
   159: MEMORY_END
   160: 
   161: static MEMORY_READ_START( dorunrun_readmem )
   162: 	{ 0x0000, 0x1fff, MRA_ROM },
   163: 	{ 0x2000, 0x37ff, MRA_RAM },
   164: 	{ 0x4000, 0x9fff, MRA_ROM },
   165: 	{ 0xa000, 0xa008, docastle_shared0_r },
   166: MEMORY_END
   167: 
   168: static MEMORY_WRITE_START( dorunrun_writemem )
   169: 	{ 0x0000, 0x1fff, MWA_ROM },
   170: 	{ 0x2000, 0x37ff, MWA_RAM },
   171: 	{ 0x3800, 0x39ff, MWA_RAM, &spriteram, &spriteram_size },
   172: 	{ 0x4000, 0x9fff, MWA_ROM },
   173: 	{ 0xa000, 0xa008, docastle_shared1_w },
   174: 	{ 0xb000, 0xb3ff, docastle_videoram_w, &videoram },
   175: 	{ 0xb400, 0xb7ff, docastle_colorram_w, &colorram },
   176: 	{ 0xb800, 0xb800, docastle_nmitrigger_w },
   177: 	{ 0xa800, 0xa800, watchdog_reset_w },
   178: MEMORY_END
   179: 
   180: /* what is this really, sound related? */
   181: static READ_HANDLER(idsoccer_c000_r)
   182: {
   183: 	static int i = 0x00;
   184: 	i ^= 0x80; return i;
   185: }
   186: 
   187: static MEMORY_READ_START( idsoccer_readmem )
   188: 	{ 0x0000, 0x3fff, MRA_ROM },
   189: 	{ 0x4000, 0x59ff, MRA_RAM },
   190: 	{ 0x6000, 0x9fff, MRA_ROM },
   191: 	{ 0xa000, 0xa008, docastle_shared0_r },
   192: 	{ 0xb800, 0xbbff, videoram_r },
   193: 	{ 0xbc00, 0xbfff, colorram_r },
   194: 	{ 0xc000, 0xc000, idsoccer_c000_r }, /* ?? */
   195: MEMORY_END
   196: 
   197: static MEMORY_WRITE_START( idsoccer_writemem )
   198: 	{ 0x0000, 0x3fff, MWA_ROM },
   199: 	{ 0x4000, 0x57ff, MWA_RAM },
   200: 	{ 0x5800, 0x59ff, MWA_RAM, &spriteram, &spriteram_size },
   201: 	{ 0x6000, 0x9fff, MWA_ROM },
   202: 	{ 0xa000, 0xa008, docastle_shared1_w },
   203: 	{ 0xa800, 0xa800, watchdog_reset_w },
   204: 	{ 0xb000, 0xb3ff, docastle_videoram_w, &videoram },
   205: 	{ 0xb400, 0xb7ff, docastle_colorram_w, &colorram },
   206: 	{ 0xc000, 0xc000, MWA_NOP }, /* ?? */
   207: 	{ 0xe000, 0xe000, docastle_nmitrigger_w },
   208: MEMORY_END
   209: 
   210: static MEMORY_READ_START( docastle_readmem2 )
   211: 	{ 0x0000, 0x3fff, MRA_ROM },
   212: 	{ 0x8000, 0x87ff, MRA_RAM },
   213: 	{ 0xa000, 0xa008, docastle_shared1_r },
   214: 	{ 0xc003, 0xc003, input_port_0_r },
   215: 	{ 0xc083, 0xc083, input_port_0_r },
   216: 	{ 0xc005, 0xc005, input_port_1_r },
   217: 	{ 0xc085, 0xc085, input_port_1_r },
   218: 	{ 0xc007, 0xc007, input_port_2_r },
   219: 	{ 0xc087, 0xc087, input_port_2_r },
   220: 	{ 0xc002, 0xc002, input_port_3_r },
   221: 	{ 0xc082, 0xc082, input_port_3_r },
   222: 	{ 0xc001, 0xc001, input_port_4_r },
   223: 	{ 0xc081, 0xc081, input_port_4_r },
   224: 	{ 0xc004, 0xc004, docastle_flipscreen_off_r },
   225: 	{ 0xc084, 0xc084, docastle_flipscreen_on_r },
   226: MEMORY_END
   227: 
   228: static MEMORY_WRITE_START( docastle_writemem2 )
   229: 	{ 0x0000, 0x3fff, MWA_ROM },
   230: 	{ 0x8000, 0x87ff, MWA_RAM },
   231: 	{ 0xa000, 0xa008, docastle_shared0_w },
   232: 	{ 0xe000, 0xe000, SN76496_0_w },
   233: 	{ 0xe400, 0xe400, SN76496_1_w },
   234: 	{ 0xe800, 0xe800, SN76496_2_w },
   235: 	{ 0xec00, 0xec00, SN76496_3_w },
   236: 	{ 0xc004, 0xc004, docastle_flipscreen_off_w },
   237: 	{ 0xc084, 0xc084, docastle_flipscreen_on_w },
   238: MEMORY_END
   239: 
   240: static MEMORY_READ_START( idsoccer_readmem2 )
   241: 	{ 0x0000, 0x3fff, MRA_ROM },
   242: 	{ 0x8000, 0x87ff, MRA_RAM },
   243: 	{ 0xa000, 0xa008, docastle_shared1_r },
   244: 	{ 0xc003, 0xc003, input_port_0_r },
   245: 	{ 0xc083, 0xc083, input_port_0_r },
   246: 	{ 0xc005, 0xc005, input_port_1_r },
   247: 	{ 0xc085, 0xc085, input_port_1_r },
   248: 	{ 0xc007, 0xc007, input_port_2_r },
   249: 	{ 0xc087, 0xc087, input_port_2_r },
   250: 	{ 0xc002, 0xc002, input_port_3_r },
   251: 	{ 0xc082, 0xc082, input_port_3_r },
   252: 	{ 0xc001, 0xc001, input_port_4_r },
   253: 	{ 0xc081, 0xc081, input_port_4_r },
   254: 	{ 0xc004, 0xc004, input_port_5_r },
   255: 	{ 0xc084, 0xc084, input_port_5_r },
   256: MEMORY_END
   257: 
   258: static MEMORY_READ_START( docastle_readmem3 )
   259: 	{ 0x0000, 0x0100, MRA_ROM },
   260: MEMORY_END
   261: 
   262: static MEMORY_WRITE_START( docastle_writemem3 )
   263: 	{ 0x0000, 0x0100, MWA_ROM },
   264: MEMORY_END
   265: 
   266: static MEMORY_READ_START( dorunrun_readmem2 )
   267: 	{ 0x0000, 0x3fff, MRA_ROM },
   268: 	{ 0x8000, 0x87ff, MRA_RAM },
   269: 	{ 0xc003, 0xc003, input_port_0_r },
   270: 	{ 0xc083, 0xc083, input_port_0_r },
   271: 	{ 0xc005, 0xc005, input_port_1_r },
   272: 	{ 0xc085, 0xc085, input_port_1_r },
   273: 	{ 0xc007, 0xc007, input_port_2_r },
   274: 	{ 0xc087, 0xc087, input_port_2_r },
   275: 	{ 0xc002, 0xc002, input_port_3_r },
   276: 	{ 0xc082, 0xc082, input_port_3_r },
   277: 	{ 0xc001, 0xc001, input_port_4_r },
   278: 	{ 0xc081, 0xc081, input_port_4_r },
   279: 	{ 0xc004, 0xc004, docastle_flipscreen_off_r },
   280: 	{ 0xc084, 0xc084, docastle_flipscreen_on_r },
   281: 	{ 0xe000, 0xe008, docastle_shared1_r },
   282: MEMORY_END
   283: 
   284: static MEMORY_WRITE_START( dorunrun_writemem2 )
   285: 	{ 0x0000, 0x3fff, MWA_ROM },
   286: 	{ 0x8000, 0x87ff, MWA_RAM },
   287: 	{ 0xa000, 0xa000, SN76496_0_w },
   288: 	{ 0xa400, 0xa400, SN76496_1_w },
   289: 	{ 0xa800, 0xa800, SN76496_2_w },
   290: 	{ 0xac00, 0xac00, SN76496_3_w },
   291: 	{ 0xc004, 0xc004, docastle_flipscreen_off_w },
   292: 	{ 0xc084, 0xc084, docastle_flipscreen_on_w },
   293: 	{ 0xe000, 0xe008, docastle_shared0_w },
   294: MEMORY_END
   295: 
   296: 
   297: 
   298: /* Coinage used for all games */
   299: #define COINAGE_PORT \ 
   300: 	PORT_START \
   301: 	PORT_DIPNAME( 0x0f, 0x0f, DEF_STR( Coin_B ) ) \
   302: 	PORT_DIPSETTING(    0x06, DEF_STR( 4C_1C ) ) \
   303: 	PORT_DIPSETTING(    0x08, DEF_STR( 3C_1C ) ) \
   304: 	PORT_DIPSETTING(    0x0a, DEF_STR( 2C_1C ) ) \
   305: 	PORT_DIPSETTING(    0x07, DEF_STR( 3C_2C ) ) \
   306: 	PORT_DIPSETTING(    0x0f, DEF_STR( 1C_1C ) ) \
   307: 	PORT_DIPSETTING(    0x09, DEF_STR( 2C_3C ) ) \
   308: 	PORT_DIPSETTING(    0x0e, DEF_STR( 1C_2C ) ) \
   309: 	PORT_DIPSETTING(    0x0d, DEF_STR( 1C_3C ) ) \
   310: 	PORT_DIPSETTING(    0x0c, DEF_STR( 1C_4C ) ) \
   311: 	PORT_DIPSETTING(    0x0b, DEF_STR( 1C_5C ) ) \
   312: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) ) \
   313: 	/* 0x01, 0x02, 0x03, 0x04, 0x05 all give 1 Coin/1 Credit */ \
   314: 	PORT_DIPNAME( 0xf0, 0xf0, DEF_STR( Coin_A ) ) \
   315: 	PORT_DIPSETTING(    0x60, DEF_STR( 4C_1C ) ) \
   316: 	PORT_DIPSETTING(    0x80, DEF_STR( 3C_1C ) ) \
   317: 	PORT_DIPSETTING(    0xa0, DEF_STR( 2C_1C ) ) \
   318: 	PORT_DIPSETTING(    0x70, DEF_STR( 3C_2C ) ) \
   319: 	PORT_DIPSETTING(    0xf0, DEF_STR( 1C_1C ) ) \
   320: 	PORT_DIPSETTING(    0x90, DEF_STR( 2C_3C ) ) \
   321: 	PORT_DIPSETTING(    0xe0, DEF_STR( 1C_2C ) ) \
   322: 	PORT_DIPSETTING(    0xd0, DEF_STR( 1C_3C ) ) \
   323: 	PORT_DIPSETTING(    0xc0, DEF_STR( 1C_4C ) ) \
   324: 	PORT_DIPSETTING(    0xb0, DEF_STR( 1C_5C ) ) \
   325: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) ) \
   326: 	/* 0x10, 0x20, 0x30, 0x40, 0x50 all give 1 Coin/1 Credit */
   327: 
   328: 
   329: INPUT_PORTS_START( docastle )
   330: 	PORT_START	/* IN0 */
   331: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
   332: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY )
   333: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY )
   334: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY )
   335: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
   336: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY | IPF_COCKTAIL )
   337: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY | IPF_COCKTAIL )
   338: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY | IPF_COCKTAIL )
   339: 
   340: 	PORT_START	/* IN1 */
   341: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
   342: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
   343: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
   344: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
   345: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
   346: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
   347: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   348: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )
   349: 
   350: 	PORT_START	/* IN2 */
   351: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_TILT )
   352: 	PORT_BITX( 0x02, IP_ACTIVE_LOW, IPT_SERVICE, DEF_STR( Service_Mode ), KEYCODE_F2, JOYCODE_NONE )
   353: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1, 32 ) /* coin input must be active for 32 frames to be consistently recognized */
   354: 	PORT_DIPNAME( 0x08, 0x08, "Freeze" )
   355: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   356: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   357: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
   358: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
   359: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   360: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
   361: 
   362: 	PORT_START	/* DSW0 */
   363: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
   364: 	PORT_DIPSETTING(    0x03, "Easy" )
   365: 	PORT_DIPSETTING(    0x02, "Medium" )
   366: 	PORT_DIPSETTING(    0x01, "Hard" )
   367: 	PORT_DIPSETTING(    0x00, "Hardest" )
   368: 	PORT_DIPNAME( 0x04, 0x04, "Automatic Screen Renewal" )
   369: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
   370: 	PORT_DIPSETTING(    0x04, DEF_STR( Yes ) )
   371: 	PORT_DIPNAME( 0x08, 0x08, "Advance Level on Getting Diamond" )
   372: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   373: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   374: 	PORT_DIPNAME( 0x10, 0x10, "Extra" )
   375: 	PORT_DIPSETTING(    0x10, "Easy" )
   376: 	PORT_DIPSETTING(    0x00, "Hard" )
   377: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) )
   378: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   379: 	PORT_DIPSETTING(    0x20, DEF_STR( Cocktail ) )
   380: 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
   381: 	PORT_DIPSETTING(    0x00, "2" )
   382: 	PORT_DIPSETTING(    0xc0, "3" )
   383: 	PORT_DIPSETTING(    0x80, "4" )
   384: 	PORT_DIPSETTING(    0x40, "5" )
   385: 
   386: 	COINAGE_PORT
   387: INPUT_PORTS_END
   388: 
   389: INPUT_PORTS_START( dorunrun )
   390: 	PORT_START	/* IN0 */
   391: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
   392: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY )
   393: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY )
   394: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY )
   395: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
   396: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY | IPF_COCKTAIL )
   397: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY | IPF_COCKTAIL )
   398: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY | IPF_COCKTAIL )
   399: 
   400: 	PORT_START	/* IN1 */
   401: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
   402: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
   403: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
   404: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
   405: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
   406: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
   407: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   408: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )
   409: 
   410: 	PORT_START	/* IN2 */
   411: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_TILT )
   412: 	PORT_BITX( 0x02, IP_ACTIVE_LOW, IPT_SERVICE, DEF_STR( Service_Mode ), KEYCODE_F2, JOYCODE_NONE )
   413: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1, 32 ) /* coin input must be active for 32 frames to be consistently recognized */
   414: 	PORT_DIPNAME( 0x08, 0x08, "Freeze" )
   415: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   416: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   417: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
   418: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
   419: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   420: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
   421: 
   422: 	PORT_START	/* DSW0 */
   423: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
   424: 	PORT_DIPSETTING(    0x03, "Easy" )
   425: 	PORT_DIPSETTING(    0x02, "Medium" )
   426: 	PORT_DIPSETTING(    0x01, "Hard" )
   427: 	PORT_DIPSETTING(    0x00, "Hardest" )
   428: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Demo_Sounds ) )
   429: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
   430: 	PORT_DIPSETTING(    0x04, DEF_STR( On ) )
   431: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Flip_Screen ) )
   432: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   433: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   434: 	PORT_DIPNAME( 0x10, 0x10, "Extra" )
   435: 	PORT_DIPSETTING(    0x10, "Easy" )
   436: 	PORT_DIPSETTING(    0x00, "Hard" )
   437: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) )
   438: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   439: 	PORT_DIPSETTING(    0x20, DEF_STR( Cocktail ) )
   440: 	PORT_DIPNAME( 0x40, 0x40, "Special" )
   441: 	PORT_DIPSETTING(    0x40, "Given" )
   442: 	PORT_DIPSETTING(    0x00, "Not Given" )
   443: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Lives ) )
   444: 	PORT_DIPSETTING(    0x80, "3" )
   445: 	PORT_DIPSETTING(    0x00, "5" )
   446: 
   447: 	COINAGE_PORT
   448: INPUT_PORTS_END
   449: 
   450: INPUT_PORTS_START( dowild )
   451: 	PORT_START	/* IN0 */
   452: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
   453: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY )
   454: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY )
   455: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY )
   456: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
   457: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY | IPF_COCKTAIL )
   458: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY | IPF_COCKTAIL )
   459: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY | IPF_COCKTAIL )
   460: 
   461: 	PORT_START	/* IN1 */
   462: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
   463: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
   464: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
   465: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
   466: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
   467: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
   468: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   469: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )
   470: 
   471: 	PORT_START	/* IN2 */
   472: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_TILT )
   473: 	PORT_BITX( 0x02, IP_ACTIVE_LOW, IPT_SERVICE, DEF_STR( Service_Mode ), KEYCODE_F2, JOYCODE_NONE )
   474: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1, 32 ) /* coin input must be active for 32 frames to be consistently recognized */
   475: 	PORT_DIPNAME( 0x08, 0x08, "Freeze" )
   476: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   477: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   478: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
   479: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
   480: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   481: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
   482: 
   483: 	PORT_START	/* DSW0 */
   484: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
   485: 	PORT_DIPSETTING(    0x03, "Easy" )
   486: 	PORT_DIPSETTING(    0x02, "Medium" )
   487: 	PORT_DIPSETTING(    0x01, "Hard" )
   488: 	PORT_DIPSETTING(    0x00, "Hardest" )
   489: 	PORT_BITX(    0x04, 0x04, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Rack Test", KEYCODE_F1, IP_JOY_NONE )
   490: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   491: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   492: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Flip_Screen ) )
   493: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   494: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   495: 	PORT_DIPNAME( 0x10, 0x10, "Extra" )
   496: 	PORT_DIPSETTING(    0x10, "Easy" )
   497: 	PORT_DIPSETTING(    0x00, "Hard" )
   498: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) )
   499: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   500: 
   501: PORT_DIPSETTING(    0x20, DEF_STR( Cocktail ) )
   502: 	PORT_DIPNAME( 0x40, 0x40, "Special" )
   503: 	PORT_DIPSETTING(    0x40, "Given" )
   504: 	PORT_DIPSETTING(    0x00, "Not Given" )
   505: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Lives ) )
   506: 	PORT_DIPSETTING(    0x80, "3" )
   507: 	PORT_DIPSETTING(    0x00, "5" )
   508: 
   509: 	COINAGE_PORT
   510: INPUT_PORTS_END
   511: 
   512: INPUT_PORTS_START( jjack )
   513: 	PORT_START	/* IN0 */
   514: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY )
   515: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY )
   516: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY )
   517: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY )
   518: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_4WAY | IPF_COCKTAIL )
   519: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_4WAY | IPF_COCKTAIL )
   520: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_4WAY | IPF_COCKTAIL )
   521: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_4WAY | IPF_COCKTAIL )
   522: 
   523: 	PORT_START	/* IN1 */
   524: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
   525: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
   526: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
   527: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
   528: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
   529: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
   530: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   531: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )
   532: 
   533: 	PORT_START	/* IN2 */
   534: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_TILT )
   535: 	PORT_BITX( 0x02, IP_ACTIVE_LOW, IPT_SERVICE, DEF_STR( Service_Mode ), KEYCODE_F2, JOYCODE_NONE )
   536: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1, 32 ) /* coin input must be active for 32 frames to be consistently recognized */
   537: 	PORT_DIPNAME( 0x08, 0x08, "Freeze" )
   538: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   539: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   540: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
   541: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
   542: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   543: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
   544: 
   545: 	PORT_START	/* DSW0 */
   546: 	PORT_DIPNAME( 0x03, 0x03, "Difficulty?" )
   547: 	PORT_DIPSETTING(    0x03, "Easy" )
   548: 	PORT_DIPSETTING(    0x02, "Medium" )
   549: 	PORT_DIPSETTING(    0x01, "Hard" )
   550: 	PORT_DIPSETTING(    0x00, "Hardest" )
   551: 	PORT_BITX(    0x04, 0x04, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Rack Test", KEYCODE_F1, IP_JOY_NONE )
   552: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   553: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   554: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Flip_Screen ) )
   555: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   556: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   557: 	PORT_DIPNAME( 0x10, 0x10, "Extra?" )
   558: 	PORT_DIPSETTING(    0x10, "Easy" )
   559: 	PORT_DIPSETTING(    0x00, "Hard" )
   560: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) )
   561: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   562: 	PORT_DIPSETTING(    0x20, DEF_STR( Cocktail ) )
   563: 	PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Lives ) )
   564: 	PORT_DIPSETTING(    0x00, "2" )
   565: 	PORT_DIPSETTING(    0xc0, "3" )
   566: 	PORT_DIPSETTING(    0x80, "4" )
   567: 	PORT_DIPSETTING(    0x40, "5" )
   568: 
   569: 	COINAGE_PORT
   570: INPUT_PORTS_END
   571: 
   572: INPUT_PORTS_START( kickridr )
   573: 	PORT_START	/* IN0 */
   574: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
   575: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY )
   576: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY )
   577: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY )
   578: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_COCKTAIL )
   579: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY | IPF_COCKTAIL )
   580: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY | IPF_COCKTAIL )
   581: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY | IPF_COCKTAIL )
   582: 
   583: 	PORT_START	/* IN1 */
   584: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
   585: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
   586: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
   587: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
   588: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
   589: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
   590: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   591: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )
   592: 
   593: 	PORT_START	/* IN2 */
   594: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_TILT )
   595: 	PORT_BITX( 0x02, IP_ACTIVE_LOW, IPT_SERVICE, DEF_STR( Service_Mode ), KEYCODE_F2, JOYCODE_NONE )
   596: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1, 32 ) /* coin input must be active for 32 frames to be consistently recognized */
   597: 	PORT_DIPNAME( 0x08, 0x08, "Freeze" )
   598: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   599: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   600: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
   601: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
   602: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   603: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
   604: 
   605: 	PORT_START	/* DSW0 */
   606: 	PORT_DIPNAME( 0x03, 0x03, "Difficulty?" )
   607: 	PORT_DIPSETTING(    0x03, "Easy" )
   608: 	PORT_DIPSETTING(    0x02, "Medium" )
   609: 	PORT_DIPSETTING(    0x01, "Hard" )
   610: 	PORT_DIPSETTING(    0x00, "Hardest" )
   611: 	PORT_BITX(    0x04, 0x04, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Rack Test", KEYCODE_F1, IP_JOY_NONE )
   612: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   613: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   614: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Flip_Screen ) )
   615: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   616: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   617: 	PORT_DIPNAME( 0x10, 0x10, "DSW4" )
   618: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   619: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   620: 	PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) )
   621: 	PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
   622: 	PORT_DIPSETTING(    0x20, DEF_STR( Cocktail ) )
   623: 	PORT_DIPNAME( 0x40, 0x40, "DSW2" )
   624: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   625: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   626: 	PORT_DIPNAME( 0x80, 0x80, "DSW1" )
   627: 	PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
   628: 	PORT_DIPSETTING(    0x80, DEF_STR( On ) )
   629: 
   630: 	COINAGE_PORT
   631: INPUT_PORTS_END
   632: 
   633: INPUT_PORTS_START( idsoccer )
   634: 	PORT_START	/* IN0 */
   635: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT | IPF_8WAY )
   636: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP | IPF_8WAY )
   637: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_LEFT | IPF_8WAY )
   638: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_DOWN | IPF_8WAY )
   639: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_RIGHT | IPF_8WAY | IPF_PLAYER2 )
   640: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_UP | IPF_8WAY | IPF_PLAYER2 )
   641: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_LEFT | IPF_8WAY | IPF_PLAYER2 )
   642: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_DOWN | IPF_8WAY | IPF_PLAYER2 )
   643: 
   644: 	PORT_START	/* IN1 */
   645: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 )
   646: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 )
   647: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_UNUSED )
   648: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START1 )
   649: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_PLAYER2 )
   650: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_PLAYER2 )
   651: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   652: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_START2 )
   653: 
   654: 	PORT_START	/* IN2 */
   655: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_TILT )
   656: 	PORT_BITX( 0x02, IP_ACTIVE_LOW, IPT_SERVICE, DEF_STR( Service_Mode ), KEYCODE_F2, JOYCODE_NONE )
   657: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_SERVICE1, 32 ) /* coin input must be active for 32 frames to be consistently recognized */
   658: 	PORT_DIPNAME( 0x08, 0x08, "Freeze" )
   659: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   660: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   661: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
   662: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_COIN1 )
   663: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED )
   664: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNUSED )
   665: 
   666: 	PORT_START	/* DSW0 */
   667: 	PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )
   668: 	PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
   669: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   670: 	PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) )
   671: 	PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
   672: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   673: 	PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) )
   674: 	PORT_DIPSETTING(    0x04, DEF_STR( Off ) )
   675: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   676: 	PORT_DIPNAME( 0x08, 0x08, DEF_STR( Unknown ) )
   677: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   678: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   679: 	PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) )
   680: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   681: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   682: 	PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )
   683: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   684: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   685: 	PORT_DIPNAME( 0x40, 0x40, DEF_STR( Unknown ) )
   686: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   687: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   688: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )
   689: 	PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
   690: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   691: 
   692: 	COINAGE_PORT
   693: 
   694: 	PORT_START
   695: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_RIGHT | IPF_8WAY )
   696: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_UP | IPF_8WAY )
   697: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_LEFT | IPF_8WAY )
   698: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_DOWN | IPF_8WAY )
   699: 	PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_RIGHT | IPF_8WAY | IPF_PLAYER2 )
   700: 	PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_UP | IPF_8WAY | IPF_PLAYER2 )
   701: 	PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_LEFT | IPF_8WAY | IPF_PLAYER2 )
   702: 	PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICKRIGHT_DOWN | IPF_8WAY | IPF_PLAYER2 )
   703: INPUT_PORTS_END
   704: 
   705: 
   706: 
   707: static struct GfxLayout charlayout =
   708: {
   709: 	8,8,
   710: 	RGN_FRAC(1,1),
   711: 	4,
   712: 	{ 0, 1, 2, 3 },
   713: 	{ 0, 4, 8, 12, 16, 20, 24, 28 },
   714: 	{ 0*32, 1*32, 2*32, 3*32, 4*32, 5*32, 6*32, 7*32 },
   715: 	32*8
   716: };
   717: static struct GfxLayout spritelayout =
   718: {
   719: 	16,16,
   720: 	RGN_FRAC(1,1),
   721: 	4,
   722: 	{ 0, 1, 2, 3 },
   723: 	{ 0, 4, 8, 12, 16, 20, 24, 28,
   724: 			32, 36, 40, 44, 48, 52, 56, 60 },
   725: 	{ 0*64, 1*64, 2*64, 3*64, 4*64, 5*64, 6*64, 7*64,
   726: 			8*64, 9*64, 10*64, 11*64, 12*64, 13*64, 14*64, 15*64 },
   727: 	128*8
   728: };
   729: 
   730: 
   731: 
   732: static struct GfxDecodeInfo gfxdecodeinfo[] =
   733: {
   734: 	{ REGION_GFX1, 0, &charlayout,       0, 64 },
   735: 	{ REGION_GFX2, 0, &spritelayout, 64*16, 32*2 },
   736: 	{ -1 } /* end of array */
   737: };
   738: 
   739: 
   740: 
   741: static struct SN76496interface sn76496_interface =
   742: {
   743: 	4,	/* 4 chips */
   744: 	{ 4000000, 4000000, 4000000, 4000000 },	/* 4 MHz? */
   745: 	{ 25, 25, 25, 25 }
   746: };
   747: 
   748: 
   749: 
   750: static MACHINE_DRIVER_START( docastle )
   751: 
   752: 	/* basic machine hardware */
   753: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
   754: 	MDRV_CPU_MEMORY(docastle_readmem,docastle_writemem)
   755: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   756: 
   757: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
   758: 	MDRV_CPU_MEMORY(docastle_readmem2,docastle_writemem2)
   759: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,8)
   760: 
   761: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
   762: 	MDRV_CPU_MEMORY(docastle_readmem3,docastle_writemem3)
   763: 
   764: 	MDRV_FRAMES_PER_SECOND(60)
   765: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
   766: 
   767: 	/* video hardware */
   768: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
   769: 	MDRV_SCREEN_SIZE(32*8, 32*8)
   770: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 28*8-1)
   771: 	MDRV_GFXDECODE(gfxdecodeinfo)
   772: 	MDRV_PALETTE_LENGTH(258)
   773: 	MDRV_COLORTABLE_LENGTH(64*16+2*32*16)
   774: 
   775: 	MDRV_PALETTE_INIT(docastle)
   776: 	MDRV_VIDEO_START(docastle)
   777: 	MDRV_VIDEO_UPDATE(docastle)
   778: 
   779: 	/* sound hardware */
   780: 	MDRV_SOUND_ADD(SN76496, sn76496_interface)
   781: MACHINE_DRIVER_END
   782: 
   783: static MACHINE_DRIVER_START( dorunrun )
   784: 
   785: 	/* basic machine hardware */
   786: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
   787: 	MDRV_CPU_MEMORY(dorunrun_readmem,dorunrun_writemem)
   788: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   789: 
   790: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
   791: 	MDRV_CPU_MEMORY(dorunrun_readmem2,dorunrun_writemem2)
   792: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,8)
   793: 
   794: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
   795: 	MDRV_CPU_MEMORY(docastle_readmem3,docastle_writemem3)
   796: 
   797: 	MDRV_FRAMES_PER_SECOND(60)
   798: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
   799: 
   800: 	/* video hardware */
   801: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
   802: 	MDRV_SCREEN_SIZE(32*8, 32*8)
   803: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 28*8-1)
   804: 	MDRV_GFXDECODE(gfxdecodeinfo)
   805: 	MDRV_PALETTE_LENGTH(258)
   806: 	MDRV_COLORTABLE_LENGTH(64*16+2*32*16)
   807: 
   808: 	MDRV_PALETTE_INIT(dorunrun)
   809: 	MDRV_VIDEO_START(docastle)
   810: 	MDRV_VIDEO_UPDATE(docastle)
   811: 
   812: 	/* sound hardware */
   813: 	MDRV_SOUND_ADD(SN76496, sn76496_interface)
   814: MACHINE_DRIVER_END
   815: 
   816: static MACHINE_DRIVER_START( idsoccer )
   817: 
   818: 	/* basic machine hardware */
   819: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
   820: 	MDRV_CPU_MEMORY(idsoccer_readmem,idsoccer_writemem)
   821: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,1)
   822: 
   823: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
   824: 	MDRV_CPU_MEMORY(idsoccer_readmem2,docastle_writemem2)
   825: 	MDRV_CPU_VBLANK_INT(irq0_line_hold,8)
   826: 
   827: 	MDRV_CPU_ADD(Z80, 4000000)	/* 4 MHz */
   828: 	MDRV_CPU_MEMORY(docastle_readmem3,docastle_writemem3)
   829: 
   830: 	MDRV_FRAMES_PER_SECOND(60)
   831: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
   832: 
   833: 	/* video hardware */
   834: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
   835: 	MDRV_SCREEN_SIZE(32*8, 32*8)
   836: 	MDRV_VISIBLE_AREA(1*8, 31*8-1, 4*8, 28*8-1)
   837: 	MDRV_GFXDECODE(gfxdecodeinfo)
   838: 	MDRV_PALETTE_LENGTH(258)
   839: 	MDRV_COLORTABLE_LENGTH(64*16+2*32*16)
   840: 
   841: 	MDRV_PALETTE_INIT(dorunrun)
   842: 	MDRV_VIDEO_START(docastle)
   843: 	MDRV_VIDEO_UPDATE(docastle)
   844: 
   845: 	/* sound hardware */
   846: 	MDRV_SOUND_ADD(SN76496, sn76496_interface)
   847: 	/* also an MSM5205 */
   848: MACHINE_DRIVER_END
   849: 
   850: 
   851: 
   852: /***************************************************************************
   853: 
   854:   Game driver(s)
   855: 
   856: ***************************************************************************/
   857: 
   858: ROM_START( docastle )
   859: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
   860: 	ROM_LOAD( "01p_a1.bin",   0x0000, 0x2000, CRC(17c6fc24) SHA1(e397d283e8b8e1c512495b777c0fe16f66bb1862) )
   861: 	ROM_LOAD( "01n_a2.bin",   0x2000, 0x2000, CRC(1d2fc7f4) SHA1(f7b0c7466cd6a3854eda818c63663e3559dc7bc2) )
   862: 	ROM_LOAD( "01l_a3.bin",   0x4000, 0x2000, CRC(71a70ba9) SHA1(0c9e4c402f82d61d573eb55b3e2e0c8b7c8b7028) )
   863: 	ROM_LOAD( "01k_a4.bin",   0x6000, 0x2000, CRC(479a745e) SHA1(7195036727990932bc94b30405ebc2b8ea5b37a8) )
   864: 
   865: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
   866: 	ROM_LOAD( "07n_a0.bin",   0x0000, 0x4000, CRC(f23b5cdb) SHA1(de71d9f142f8d420aa097d7e56b03a06db2f85fd) )
   867: 
   868: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
   869: 	ROM_LOAD( "01d.bin",      0x0000, 0x0200, CRC(2747ca77) SHA1(abc0ca05925974c4b852827605ee2f1caefb8524) )
   870: 
   871: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
   872: 	ROM_LOAD( "03a_a5.bin",   0x0000, 0x4000, CRC(0636b8f4) SHA1(8b34773bf7b7071fb5c8ff443a08befae3b545ea) )
   873: 
   874: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE )
   875: 	ROM_LOAD( "04m_a6.bin",   0x0000, 0x2000, CRC(3bbc9b26) SHA1(1b1f79717e5c1a23eefb2d6df71ad95aac9f8be4) )
   876: 	ROM_LOAD( "04l_a7.bin",   0x2000, 0x2000, CRC(3dfaa9d1) SHA1(cc016019efe0a2bc38c66fadf792c05f6cabeeaa) )
   877: 	ROM_LOAD( "04j_a8.bin",   0x4000, 0x2000, CRC(9afb16e9) SHA1(f951e75af658623f3b0e18ff388990b2870fad53) )
   878: 	ROM_LOAD( "04h_a9.bin",   0x6000, 0x2000, CRC(af24bce0) SHA1(0f06c5d248c9c92f2a4636d259ab843339737969) )
   879: 
   880: 	ROM_REGION( 0x0200, REGION_PROMS, 0 )
   881: 	ROM_LOAD( "09c.bin",      0x0000, 0x0200, CRC(066f52bc) SHA1(99f4f2d0181bcaf389c16f127cc3e632d62ee417) ) /* color prom */
   882: ROM_END
   883: 
   884: ROM_START( docastl2 )
   885: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
   886: 	ROM_LOAD( "a1",           0x0000, 0x2000, CRC(0d81fafc) SHA1(938c4470b022063ae66b607ca086fad98174248f) )
   887: 	ROM_LOAD( "a2",           0x2000, 0x2000, CRC(a13dc4ac) SHA1(f096d5ac8e26444ebdb4c3fb5c71592058fb6c79) )
   888: 	ROM_LOAD( "a3",           0x4000, 0x2000, CRC(a1f04ffb) SHA1(8cb53992cc679278a0bd33e5b728f27c585e38e1) )
   889: 	ROM_LOAD( "a4",           0x6000, 0x2000, CRC(1fb14aa6) SHA1(45b50db61ca2c9ace182ddba3817257308f07c89) )
   890: 
   891: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
   892: 	ROM_LOAD( "a10",          0x0000, 0x4000, CRC(45f7f69b) SHA1(1c614c29be4950314ab04e0b828e691fd0907eff) )
   893: 
   894: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
   895: 	ROM_LOAD( "01d.bin",      0x0000, 0x0200, CRC(2747ca77) SHA1(abc0ca05925974c4b852827605ee2f1caefb8524) )
   896: 
   897: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
   898: 	ROM_LOAD( "03a_a5.bin",   0x0000, 0x4000, CRC(0636b8f4) SHA1(8b34773bf7b7071fb5c8ff443a08befae3b545ea) )
   899: 
   900: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE )
   901: 	ROM_LOAD( "04m_a6.bin",   0x0000, 0x2000, CRC(3bbc9b26) SHA1(1b1f79717e5c1a23eefb2d6df71ad95aac9f8be4) )
   902: 	ROM_LOAD( "04l_a7.bin",   0x2000, 0x2000, CRC(3dfaa9d1) SHA1(cc016019efe0a2bc38c66fadf792c05f6cabeeaa) )
   903: 	ROM_LOAD( "04j_a8.bin",   0x4000, 0x2000, CRC(9afb16e9) SHA1(f951e75af658623f3b0e18ff388990b2870fad53) )
   904: 	ROM_LOAD( "04h_a9.bin",   0x6000, 0x2000, CRC(af24bce0) SHA1(0f06c5d248c9c92f2a4636d259ab843339737969) )
   905: 
   906: 	ROM_REGION( 0x0200, REGION_PROMS, 0 )
   907: 	ROM_LOAD( "09c.bin",      0x0000, 0x0200, CRC(066f52bc) SHA1(99f4f2d0181bcaf389c16f127cc3e632d62ee417) ) /* color prom */
   908: ROM_END
   909: 
   910: ROM_START( docastlo )
   911: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
   912: 	ROM_LOAD( "c1.bin", 	0x0000, 0x2000, CRC(c9ce96ab) SHA1(3166aef4556ce334ecef27dceb285f51de371c35) )
   913: 	ROM_LOAD( "c2.bin",     0x2000, 0x2000, CRC(42b28369) SHA1(8c9a618984db52cdc4ec3a6bcfa7659866d2709c) )
   914: 	ROM_LOAD( "c3.bin",     0x4000, 0x2000, CRC(c8c13124) SHA1(2cfc15b232744b40350c174b0d89677495c077eb) )
   915: 	ROM_LOAD( "c4.bin",     0x6000, 0x2000, CRC(7ca78471) SHA1(2804f9be825973e69bc35aa703145b3ef22a5ecd) )
   916: 
   917: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
   918: 	ROM_LOAD( "dorev10.bin",  0x0000, 0x4000, CRC(4b1925e3) SHA1(1b229dd73eede3853d23576dfe397a4d2d952991) )
   919: 
   920: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
   921: 	ROM_LOAD( "01d.bin",      0x0000, 0x0200, CRC(2747ca77) SHA1(abc0ca05925974c4b852827605ee2f1caefb8524) )
   922: 
   923: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
   924: 	ROM_LOAD( "03a_a5.bin",   0x0000, 0x4000, CRC(0636b8f4) SHA1(8b34773bf7b7071fb5c8ff443a08befae3b545ea) )
   925: 
   926: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE )
   927: 	ROM_LOAD( "dorev6.bin",   0x0000, 0x2000, CRC(9e335bf8) SHA1(30ccfb959c1d3069739280711ba3d7d8b7a1a2b0) )
   928: 	ROM_LOAD( "dorev7.bin",   0x2000, 0x2000, CRC(f5d5701d) SHA1(f2731aaa7be3e269cf929aa14db1c967c9198dc6) )
   929: 	ROM_LOAD( "dorev8.bin",   0x4000, 0x2000, CRC(7143ca68) SHA1(b5b45e3cf7d0287d93231eb01395a03f39f473fc) )
   930: 	ROM_LOAD( "dorev9.bin",   0x6000, 0x2000, CRC(893fc004) SHA1(15559d11cc14341d2fec190d12205a649bdd484f) )
   931: 
   932: 	ROM_REGION( 0x0200, REGION_PROMS, 0 )
   933: 	/* which prom? this set has the same gfx as douni so i'm using that prom */
   934: //	ROM_LOAD( "09c.bin",      0x0000, 0x0200, CRC(066f52bc) SHA1(99f4f2d0181bcaf389c16f127cc3e632d62ee417) ) /* color prom */
   935: 	ROM_LOAD( "dorevc9.bin",  0x0000, 0x0200, CRC(96624ebe) SHA1(74ff21dc85dcb013c941ec6c06cafdb5bcc16960) ) /* color prom */
   936: ROM_END
   937: 
   938: ROM_START( douni )
   939: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
   940: 	ROM_LOAD( "dorev1.bin",   0x0000, 0x2000, CRC(1e2cbb3c) SHA1(f3c6eab7f7f43a067d432d47f3403ab1d07575fe) )
   941: 	ROM_LOAD( "dorev2.bin",   0x2000, 0x2000, CRC(18418f83) SHA1(1be77b0b53e6d243484d942108e84b950f1a4901) )
   942: 	ROM_LOAD( "dorev3.bin",   0x4000, 0x2000, CRC(7b9e2061) SHA1(2b21af54018a2ff756d80ba0b53b71108c0ce043) )
   943: 	ROM_LOAD( "dorev4.bin",   0x6000, 0x2000, CRC(e013954d) SHA1(1e05937f3b6eaef77c36b485da091ebb22e50f85) )
   944: 
   945: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
   946: 	ROM_LOAD( "dorev10.bin",  0x0000, 0x4000, CRC(4b1925e3) SHA1(1b229dd73eede3853d23576dfe397a4d2d952991) )
   947: 
   948: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
   949: 	ROM_LOAD( "01d.bin",      0x0000, 0x0200, CRC(2747ca77) SHA1(abc0ca05925974c4b852827605ee2f1caefb8524) )
   950: 
   951: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
   952: 	ROM_LOAD( "03a_a5.bin",   0x0000, 0x4000, CRC(0636b8f4) SHA1(8b34773bf7b7071fb5c8ff443a08befae3b545ea) )
   953: 
   954: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE )
   955: 	ROM_LOAD( "dorev6.bin",   0x0000, 0x2000, CRC(9e335bf8) SHA1(30ccfb959c1d3069739280711ba3d7d8b7a1a2b0) )
   956: 	ROM_LOAD( "dorev7.bin",   0x2000, 0x2000, CRC(f5d5701d) SHA1(f2731aaa7be3e269cf929aa14db1c967c9198dc6) )
   957: 	ROM_LOAD( "dorev8.bin",   0x4000, 0x2000, CRC(7143ca68) SHA1(b5b45e3cf7d0287d93231eb01395a03f39f473fc) )
   958: 	ROM_LOAD( "dorev9.bin",   0x6000, 0x2000, CRC(893fc004) SHA1(15559d11cc14341d2fec190d12205a649bdd484f) )
   959: 
   960: 	ROM_REGION( 0x0200, REGION_PROMS, 0 )
   961: 	ROM_LOAD( "dorevc9.bin",  0x0000, 0x0200, CRC(96624ebe) SHA1(74ff21dc85dcb013c941ec6c06cafdb5bcc16960) ) /* color prom */
   962: ROM_END
   963: 
   964: ROM_START( dorunruc )
   965: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
   966: 	ROM_LOAD( "rev-0-1.p1",   0x0000, 0x2000, CRC(49906ebd) SHA1(03afb7e3107038d5a052e497b8a206334514536f) )
   967: 	ROM_LOAD( "rev-0-2.n1",   0x2000, 0x2000, CRC(dbe3e7db) SHA1(168026aacce73941329a72e78423f83f7c4f0f04) )
   968: 	ROM_LOAD( "rev-0-3.l1",   0x4000, 0x2000, CRC(e9b8181a) SHA1(6b960c3503589e62b61f9a2af372b98c48412bc0) )
   969: 	ROM_LOAD( "rev-0-4.k1",   0x6000, 0x2000, CRC(a63d0b89) SHA1(d2ab3b76149e6620f1eb93a051c802b208b8d6dc) )
   970: 
   971: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
   972: 	ROM_LOAD( "rev-0-2.n7",   0x0000, 0x4000, CRC(6dac2fa3) SHA1(cd583f379f01788ce20f611f17689105d32ef97a) )
   973: 
   974: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
   975: 	ROM_LOAD( "bprom2.bin",   0x0200, 0x0200, CRC(2747ca77) SHA1(abc0ca05925974c4b852827605ee2f1caefb8524) )
   976: 
   977: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
   978: 	ROM_LOAD( "rev-0-5.a3",   0x0000, 0x4000, CRC(e20795b7) SHA1(ae4366d2c45580f3e60ae36f81a5fc912d1eb899) )
   979: 
   980: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE )
   981: 	ROM_LOAD( "2764.m4",      0x0000, 0x2000, CRC(4bb231a0) SHA1(350423a1e602e23b229095021942d4b14a4736a7) )
   982: 	ROM_LOAD( "2764.l4",      0x2000, 0x2000, CRC(0c08508a) SHA1(1e235a0f44207c53af2c8da631e5a8e08b231258) )
   983: 	ROM_LOAD( "2764.j4",      0x4000, 0x2000, CRC(79287039) SHA1(e2e3c056f35a22e48115557e10fcd172ad2f91f1) )
   984: 	ROM_LOAD( "2764.h4",      0x6000, 0x2000, CRC(523aa999) SHA1(1d4aa0af79a2ed7b935d4ce92d978bf738f08eb3) )
   985: 
   986: 	ROM_REGION( 0x0100, REGION_PROMS, 0 )
   987: 	ROM_LOAD( "dorunrun.clr", 0x0000, 0x0100, CRC(d5bab5d5) SHA1(7a465fe30b6008793d33f6e07086c89111e1e407) )
   988: ROM_END
   989: 
   990: ROM_START( dorunrun )
   991: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
   992: 	ROM_LOAD( "2764.p1",      0x0000, 0x2000, CRC(95c86f8e) SHA1(9fe44911e0aa8d4c7299472a31c401e064d63d17) )
   993: 	ROM_LOAD( "2764.l1",      0x4000, 0x2000, CRC(e9a65ba7) SHA1(fbee57d68352fd4062aac55cd1070f001714d0a3) )
   994: 	ROM_LOAD( "2764.k1",      0x6000, 0x2000, CRC(b1195d3d) SHA1(095ad2ee1f53be3203830263cb0c9efbe4710c56) )
   995: 	ROM_LOAD( "2764.n1",      0x8000, 0x2000, CRC(6a8160d1) SHA1(12101c351bf800319172c459b5e7c69cb5603806) )
   996: 
   997: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
   998: 	ROM_LOAD( "27128.p7",     0x0000, 0x4000, CRC(8b06d461) SHA1(2434478810c6301197997be76505f5fc6beba5d3) )
   999: 
  1000: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
  1001: 	ROM_LOAD( "bprom2.bin",   0x0200, 0x0200, CRC(2747ca77) SHA1(abc0ca05925974c4b852827605ee2f1caefb8524) )
  1002: 
  1003: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
  1004: 	ROM_LOAD( "27128.a3",     0x0000, 0x4000, CRC(4be96dcf) SHA1(f9b45e6297cbbc4d1ee2df7ac377c5daf5181b0f) )
  1005: 
  1006: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE )
  1007: 	ROM_LOAD( "2764.m4",      0x0000, 0x2000, CRC(4bb231a0) SHA1(350423a1e602e23b229095021942d4b14a4736a7) )
  1008: 	ROM_LOAD( "2764.l4",      0x2000, 0x2000, CRC(0c08508a) SHA1(1e235a0f44207c53af2c8da631e5a8e08b231258) )
  1009: 	ROM_LOAD( "2764.j4",      0x4000, 0x2000, CRC(79287039) SHA1(e2e3c056f35a22e48115557e10fcd172ad2f91f1) )
  1010: 	ROM_LOAD( "2764.h4",      0x6000, 0x2000, CRC(523aa999) SHA1(1d4aa0af79a2ed7b935d4ce92d978bf738f08eb3) )
  1011: 
  1012: 	ROM_REGION( 0x0100, REGION_PROMS, 0 )
  1013: 	ROM_LOAD( "dorunrun.clr", 0x0000, 0x0100, CRC(d5bab5d5) SHA1(7a465fe30b6008793d33f6e07086c89111e1e407) )
  1014: ROM_END
  1015: 
  1016: ROM_START( dorunru2 )
  1017: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
  1018: 	ROM_LOAD( "p1",           0x0000, 0x2000, CRC(12a99365) SHA1(12a1ab76182faa4f76cc5020913ca5706313fe72) )
  1019: 	ROM_LOAD( "l1",           0x4000, 0x2000, CRC(38609287) SHA1(85f5cd707d620780436e4bed00753acef08f83cd) )
  1020: 	ROM_LOAD( "k1",           0x6000, 0x2000, CRC(099aaf54) SHA1(c0419db2a2349ecb97c31256811993d1dcf3dc6e) )
  1021: 	ROM_LOAD( "n1",           0x8000, 0x2000, CRC(4f8fcbae) SHA1(c1558664e081252141530e1932403df1fbf5f8a0) )
  1022: 
  1023: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
  1024: 	ROM_LOAD( "27128.p7",     0x0000, 0x4000, CRC(8b06d461) SHA1(2434478810c6301197997be76505f5fc6beba5d3) )
  1025: 
  1026: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
  1027: 	ROM_LOAD( "bprom2.bin",   0x0200, 0x0200, CRC(2747ca77) SHA1(abc0ca05925974c4b852827605ee2f1caefb8524) )
  1028: 
  1029: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
  1030: 	ROM_LOAD( "27128.a3",     0x0000, 0x4000, CRC(4be96dcf) SHA1(f9b45e6297cbbc4d1ee2df7ac377c5daf5181b0f) )
  1031: 
  1032: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE )
  1033: 	ROM_LOAD( "2764.m4",      0x0000, 0x2000, CRC(4bb231a0) SHA1(350423a1e602e23b229095021942d4b14a4736a7) )
  1034: 	ROM_LOAD( "2764.l4",      0x2000, 0x2000, CRC(0c08508a) SHA1(1e235a0f44207c53af2c8da631e5a8e08b231258) )
  1035: 	ROM_LOAD( "2764.j4",      0x4000, 0x2000, CRC(79287039) SHA1(e2e3c056f35a22e48115557e10fcd172ad2f91f1) )
  1036: 	ROM_LOAD( "2764.h4",      0x6000, 0x2000, CRC(523aa999) SHA1(1d4aa0af79a2ed7b935d4ce92d978bf738f08eb3) )
  1037: 
  1038: 	ROM_REGION( 0x0100, REGION_PROMS, 0 )
  1039: 	ROM_LOAD( "dorunrun.clr", 0x0000, 0x0100, CRC(d5bab5d5) SHA1(7a465fe30b6008793d33f6e07086c89111e1e407) )
  1040: ROM_END
  1041: 
  1042: ROM_START( spiero )
  1043: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
  1044: 	ROM_LOAD( "sp1.bin",      0x0000, 0x2000, CRC(08d23e38) SHA1(0810b0ecaa1bd7f16f78ce08054f5d24a57b1266) )
  1045: 	ROM_LOAD( "sp3.bin",      0x4000, 0x2000, CRC(faa0c18c) SHA1(0dadea03b529bb889f45bd710bca0b4333cbbba8) )
  1046: 	ROM_LOAD( "sp4.bin",      0x6000, 0x2000, CRC(639b4e5d) SHA1(cf252869fa0c5351f093026996c4e372f19a52a9) )
  1047: 	ROM_LOAD( "sp2.bin",      0x8000, 0x2000, CRC(3a29ccb0) SHA1(37d6ce598a9c3b5dbb23c19a4bd94265287f83f7) )
  1048: 
  1049: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
  1050: 	ROM_LOAD( "27128.p7",     0x0000, 0x4000, CRC(8b06d461) SHA1(2434478810c6301197997be76505f5fc6beba5d3) )
  1051: 
  1052: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
  1053: 	ROM_LOAD( "bprom2.bin",   0x0200, 0x0200, CRC(2747ca77) SHA1(abc0ca05925974c4b852827605ee2f1caefb8524) )
  1054: 
  1055: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
  1056: 	ROM_LOAD( "sp5.bin",      0x0000, 0x4000, CRC(1b704bb0) SHA1(db3b2f120d632b5f897c47aee115916ec6c52a69) )
  1057: 
  1058: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE )
  1059: 	ROM_LOAD( "sp6.bin",      0x0000, 0x2000, CRC(00f893a7) SHA1(9680d59065a18ea25734bdcd9a1dd1d5d721a47b) )
  1060: 	ROM_LOAD( "sp7.bin",      0x2000, 0x2000, CRC(173e5c6a) SHA1(5d06b8702e90af122c347e20b01811994165e727) )
  1061: 	ROM_LOAD( "sp8.bin",      0x4000, 0x2000, CRC(2e66525a) SHA1(50e7b5e5f01d961eb311c65321fc536d8e4eb7b0) )
  1062: 	ROM_LOAD( "sp9.bin",      0x6000, 0x2000, CRC(9c571525) SHA1(c7f1c22c6decd6326ef188bbf440115c1e2b16f4) )
  1063: 
  1064: 	ROM_REGION( 0x0200, REGION_PROMS, 0 )
  1065: 	ROM_LOAD( "bprom1.bin",   0x0000, 0x0200, CRC(fc1b66ff) SHA1(0a73f7e00501c638f017473b1e0786d7bcbbe82a) ) /* color prom */
  1066: ROM_END
  1067: 
  1068: ROM_START( dowild )
  1069: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
  1070: 	ROM_LOAD( "w1",           0x0000, 0x2000, CRC(097de78b) SHA1(8d0cedde09a893ff67db0cb8e239babeb2cb3701) )
  1071: 	ROM_LOAD( "w3",           0x4000, 0x2000, CRC(fc6a1cbb) SHA1(4cf59459d521c725e41bbd9363fb58bffdad13a2) )
  1072: 	ROM_LOAD( "w4",           0x6000, 0x2000, CRC(8aac1d30) SHA1(c746f5506a541b25a7ca6fc754fbdb94212f7178) )
  1073: 	ROM_LOAD( "w2",           0x8000, 0x2000, CRC(0914ab69) SHA1(048a68976d313015ff40f411d5c89d318fd9bb04) )
  1074: 
  1075: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
  1076: 	ROM_LOAD( "w10",          0x0000, 0x4000, CRC(d1f37fba) SHA1(827e2e3b140c4df2fd8780d7d05dc45694cf8f02) )
  1077: 
  1078: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
  1079: 	ROM_LOAD( "01d.bin",      0x0000, 0x0200, NO_DUMP )
  1080: 
  1081: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
  1082: 	ROM_LOAD( "w5",           0x0000, 0x4000, CRC(b294b151) SHA1(c8c15bf9ab2401052ec80fdfc8fe124c6aa52521) )
  1083: 
  1084: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE )
  1085: 	ROM_LOAD( "w6",           0x0000, 0x2000, CRC(57e0208b) SHA1(52c1157d7df84fef754cd9466a70df7e53bc837f) )
  1086: 	ROM_LOAD( "w7",           0x2000, 0x2000, CRC(5001a6f7) SHA1(ef37a26f0c2960fc55ff800da5d4d9c3d54270c2) )
  1087: 	ROM_LOAD( "w8",           0x4000, 0x2000, CRC(ec503251) SHA1(ea7bb11c8e51fe69b5ecba4e4806ec8a8e4961d7) )
  1088: 	ROM_LOAD( "w9",           0x6000, 0x2000, CRC(af7bd7eb) SHA1(1cc017b4606d1f6d70cc6cdaf9cf7797dd552b4b) )
  1089: 
  1090: 	ROM_REGION( 0x0100, REGION_PROMS, 0 )
  1091: 	ROM_LOAD( "dowild.clr",   0x0000, 0x0100, CRC(a703dea5) SHA1(159abdb62cb8bf3167d9fdc26038fb485219af7c) )
  1092: ROM_END
  1093: 
  1094: ROM_START( jjack )
  1095: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
  1096: 	ROM_LOAD( "j1.bin",       0x0000, 0x2000, CRC(87f29bd2) SHA1(12b0a6f84439b84dd09fe54436c765fc58f928e1) )
  1097: 	ROM_LOAD( "j3.bin",       0x4000, 0x2000, CRC(35b0517e) SHA1(756d7627f4dc2e9b24be7b0c4c80a9043cb4c322) )
  1098: 	ROM_LOAD( "j4.bin",       0x6000, 0x2000, CRC(35bb316a) SHA1(8461503179eb7798de6f9f6677eb18ebcd22d470) )
  1099: 	ROM_LOAD( "j2.bin",       0x8000, 0x2000, CRC(dec52e80) SHA1(1620a070a75115d7c35f44574a8b53ce137ce21a) )
  1100: 
  1101: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
  1102: 	ROM_LOAD( "j0.bin",       0x0000, 0x4000, CRC(ab042f04) SHA1(06412dbdc43ebd6d376a811f240a4c9ec43ca6e7) )
  1103: 
  1104: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
  1105: 	ROM_LOAD( "bprom2.bin",   0x0200, 0x0200, CRC(2747ca77) SHA1(abc0ca05925974c4b852827605ee2f1caefb8524) )
  1106: 
  1107: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
  1108: 	ROM_LOAD( "j5.bin",       0x0000, 0x4000, CRC(75038ff9) SHA1(2a92e0d0adb1abd029c5ee6e350a859fed3f0ae9) )
  1109: 
  1110: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE )
  1111: 	ROM_LOAD( "j6.bin",       0x0000, 0x2000, CRC(5937bd7b) SHA1(4d399370422e22448d1680113d5bbe9894086a2b) )
  1112: 	ROM_LOAD( "j7.bin",       0x2000, 0x2000, CRC(cf8ae8e7) SHA1(81b881eda0bf60f52dadf22aafc9ca7162fd1540) )
  1113: 	ROM_LOAD( "j8.bin",       0x4000, 0x2000, CRC(84f6fc8c) SHA1(be631af9525262cf98c982b88cb97d3287366731) )
  1114: 	ROM_LOAD( "j9.bin",       0x6000, 0x2000, CRC(3f9bb09f) SHA1(a38f7c9a21e37c7b903497e8170f64a378df730e) )
  1115: 
  1116: 	ROM_REGION( 0x0200, REGION_PROMS, 0 )
  1117: 	ROM_LOAD( "bprom1.bin",   0x0000, 0x0200, CRC(2f0955f2) SHA1(5eb417478669560f447a0a0e6fe93af27804590f) ) /* color prom */
  1118: ROM_END
  1119: 
  1120: ROM_START( kickridr )
  1121: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
  1122: 	ROM_LOAD( "k1",           0x0000, 0x2000, CRC(dfdd1ab4) SHA1(2f1ad3a8b2c1cbca2dc4a9a0c9a5f79af8712999) )
  1123: 	ROM_LOAD( "k3",           0x4000, 0x2000, CRC(412244da) SHA1(2d4efad88c27db00c18626a667bd00531f4cc4fb) )
  1124: 	ROM_LOAD( "k4",           0x6000, 0x2000, CRC(a67dd2ec) SHA1(d35eefd314c7a7d9badffc8a19270380f01e263c) )
  1125: 	ROM_LOAD( "k2",           0x8000, 0x2000, CRC(e193fb5c) SHA1(3719c012bb1d75e79aa111093864b6e6bb46bc8c) )
  1126: 
  1127: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
  1128: 	ROM_LOAD( "k10",          0x0000, 0x4000, CRC(6843dbc0) SHA1(8a83f785e1fc2fa34a9955c19e27a1968a6d3f08) )
  1129: 
  1130: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
  1131: 	ROM_LOAD( "01d.bin",      0x0000, 0x0200, NO_DUMP )
  1132: 
  1133: 	ROM_REGION( 0x4000, REGION_GFX1, ROMREGION_DISPOSE )
  1134: 	ROM_LOAD( "k5",           0x0000, 0x4000, CRC(3f7d7e49) SHA1(ed9697656a46c3e036665659a008396b323c9c2b) )
  1135: 
  1136: 	ROM_REGION( 0x8000, REGION_GFX2, ROMREGION_DISPOSE )
  1137: 	ROM_LOAD( "k6",           0x0000, 0x2000, CRC(94252ed3) SHA1(ec7a31d786104a8ebff9229d89e78a074b1b5205) )
  1138: 	ROM_LOAD( "k7",           0x2000, 0x2000, CRC(7ef2420e) SHA1(b04443ba9f7d19b0b8c15fab2aa7d86febb2add3) )
  1139: 	ROM_LOAD( "k8",           0x4000, 0x2000, CRC(29bed201) SHA1(f44b2a65d3bd6612a726dd17c3e5e29e7f8196b2) )
  1140: 	ROM_LOAD( "k9",           0x6000, 0x2000, CRC(847584d3) SHA1(14aa799a2d060f49fc955c760b0e97e9c1ac1662) )
  1141: 
  1142: 	ROM_REGION( 0x0100, REGION_PROMS, 0 )
  1143: 	ROM_LOAD( "kickridr.clr", 0x0000, 0x0100, CRC(73ec281c) SHA1(1af32653e03c1e0aadef47b91bdc3f3c56ef7b23) )
  1144: ROM_END
  1145: 
  1146: ROM_START( idsoccer )
  1147: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )
  1148: 	ROM_LOAD( "id01",           0x0000, 0x2000, CRC(f1c3bf09) SHA1(446d373671f122d8131d2ec2d80c2110ec68a19b) )
  1149: 	ROM_LOAD( "id02",           0x2000, 0x2000, CRC(184e6af0) SHA1(1664ca6fa0efae8496d051ac5f19596239e7cbcb) )
  1150: 	ROM_LOAD( "id03",           0x6000, 0x2000, CRC(22524661) SHA1(363528a1135d11ead03c76064042a72e0ac93533) )
  1151: 	ROM_LOAD( "id04",           0x8000, 0x2000, CRC(e8cd95fd) SHA1(2e272c154bd5dd2dca58d3fe12c6ba5e01a62477) )
  1152: 
  1153: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )
  1154: 	ROM_LOAD( "id10",           0x0000, 0x4000, CRC(6c8b2037) SHA1(718d680186623d5af23ed272f04e726fbb17f078) )
  1155: 
  1156: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )
  1157: 	ROM_LOAD( "id_8p",          0x0000, 0x0200, CRC(2747ca77) SHA1(abc0ca05925974c4b852827605ee2f1caefb8524) )
  1158: 
  1159: 	ROM_REGION( 0x8000, REGION_GFX1, ROMREGION_DISPOSE )
  1160: 	ROM_LOAD( "id05",          0x0000, 0x4000, CRC(a57c7a11) SHA1(9faebad0050da05101811427f350e163a7811396) )
  1161: 
  1162: 	ROM_REGION( 0x20000, REGION_GFX2, ROMREGION_DISPOSE )
  1163: 	ROM_LOAD( "id06",           0x00000, 0x8000, CRC(b42a6f4a) SHA1(ddce4438b3649610bd3703cbd7592aaa9a3eda0e) )
  1164: 	ROM_LOAD( "id07",           0x08000, 0x8000, CRC(fa2b1c77) SHA1(0d8e9db065c76621deb58575f01c6ec5ee6cf6b0) )
  1165: 	ROM_LOAD( "id08",           0x10000, 0x8000, CRC(5e97eab9) SHA1(40d261a0255c594353816c18aa6c0c245aeb68a8) )
  1166: 	ROM_LOAD( "id09",           0x18000, 0x8000, CRC(a2a69223) SHA1(6bd9b76e0119643450c9f64c80b52e9056da82d6) )
  1167: 
  1168: 	ROM_REGION( 0x10000, REGION_SOUND1, 0 )
  1169: 	ROM_LOAD( "is1",            0x0000, 0x4000, CRC(9eb76196) SHA1(c15331dd8c3efaa83a95245210d05eaaa64b3161) )
  1170: 	ROM_LOAD( "is3",            0x8000, 0x4000, CRC(27bebba3) SHA1(cf752b22603c1e2a0b33958481c652d6d56ebf68) )
  1171: 	ROM_LOAD( "is4",            0xc000, 0x4000, CRC(dd5ffaa2) SHA1(4bc4330a54ca93448a8fe05207d3fb1a3a9872e1) )
  1172: 
  1173: 	ROM_REGION( 0x0200, REGION_PROMS, 0 )
  1174: 	ROM_LOAD( "id_3d.clr",   0x0000, 0x0200, CRC(a433ff62) SHA1(db9afe5fc917d25aafa21576cb1cecec7481d4cb) )
  1175: ROM_END
  1176: 
  1177: 
  1178: GAME( 1983, docastle, 0,        docastle, docastle, 0, ROT270, "Universal", "Mr. Do's Castle (set 1)" )
  1179: GAME( 1983, docastl2, docastle, docastle, docastle, 0, ROT270, "Universal", "Mr. Do's Castle (set 2)" )
  1180: GAME( 1983, docastlo, docastle, docastle, docastle, 0, ROT270, "Universal", "Mr. Do's Castle (older)" )
  1181: GAME( 1983, douni,    docastle, docastle, docastle, 0, ROT270, "Universal", "Mr. Do vs. Unicorns" )
  1182: GAMEX(1984, dorunrun, 0,        dorunrun, dorunrun, 0, ROT0,   "Universal", "Do! Run Run (set 1)", GAME_NO_COCKTAIL )
  1183: GAMEX(1984, dorunru2, dorunrun, dorunrun, dorunrun, 0, ROT0,   "Universal", "Do! Run Run (set 2)", GAME_NO_COCKTAIL )
  1184: GAMEX(1984, dorunruc, dorunrun, docastle, dorunrun, 0, ROT0,   "Universal", "Do! Run Run (Do's Castle hardware)", GAME_NO_COCKTAIL )
  1185: GAMEX(1987, spiero,   dorunrun, dorunrun, dorunrun, 0, ROT0,   "Universal", "Super Pierrot (Japan)", GAME_NO_COCKTAIL )
  1186: GAME( 1984, dowild,   0,        dorunrun, dowild,   0, ROT0,   "Universal", "Mr. Do's Wild Ride" )
  1187: GAME( 1984, jjack,    0,        dorunrun, jjack,    0, ROT270, "Universal", "Jumping Jack" )
  1188: GAME( 1984, kickridr, 0,        dorunrun, kickridr, 0, ROT0,   "Universal", "Kick Rider" )
  1189: GAMEX(1985, idsoccer, 0,        idsoccer, idsoccer, 0, ROT0,   "Universal", "Indoor Soccer", GAME_IMPERFECT_SOUND )
  1190: 




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