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

Source Listing


     1: /***************************************************************************
     2: 
     3: Bosconian
     4: 
     5: driver by Martin Scragg
     6: 
     7: 
     8: CPU #1:
     9: 0000-3fff ROM
    10: CPU #2:
    11: 0000-1fff ROM
    12: CPU #3:
    13: 0000-1fff ROM
    14: ALL CPUS:
    15: 8000-83ff Video RAM
    16: 8400-87ff Color RAM
    17: 8b80-8bff sprite code/color
    18: 9380-93ff sprite position
    19: 9b80-9bff sprite control
    20: 8800-9fff RAM
    21: 
    22: read:
    23: 6800-6807 dip switches (only bits 0 and 1 are used - bit 0 is DSW1, bit 1 is DSW2)
    24: 	  dsw1:
    25: 	    bit 6-7 lives
    26: 	    bit 3-5 bonus
    27: 	    bit 0-2 coins per play
    28: 		  dsw2: (bootleg version, the original version is slightly different)
    29: 		    bit 7 cocktail/upright (1 = upright)
    30: 	    bit 6 ?
    31: 	    bit 5 RACK TEST
    32: 	    bit 4 pause (0 = paused, 1 = not paused)
    33: 	    bit 3 ?
    34: 	    bit 2 ?
    35: 	    bit 0-1 difficulty
    36: 7000-	  custom IO chip return values
    37: 7100	  custom IO chip status ($10 = command executed)
    38: 
    39: write:
    40: 6805	  sound voice 1 waveform (nibble)
    41: 6811-6813 sound voice 1 frequency (nibble)
    42: 6815	  sound voice 1 volume (nibble)
    43: 680a	  sound voice 2 waveform (nibble)
    44: 6816-6818 sound voice 2 frequency (nibble)
    45: 681a	  sound voice 2 volume (nibble)
    46: 680f	  sound voice 3 waveform (nibble)
    47: 681b-681d sound voice 3 frequency (nibble)
    48: 681f	  sound voice 3 volume (nibble)
    49: 6820	  cpu #1 irq acknowledge/enable
    50: 6821	  cpu #2 irq acknowledge/enable
    51: 6822	  cpu #3 nmi acknowledge/enable
    52: 6823	  if 0, halt CPU #2 and #3
    53: 6830	  Watchdog reset?
    54: 7000-	  custom IO chip parameters
    55: 7100	  custom IO chip command (see machine/bosco.c for more details)
    56: a000-a002 starfield scroll direction/speed (only bit 0 is significant)
    57: a003-a005 starfield blink?
    58: a007	  flip screen
    59: 
    60: Interrupts:
    61: CPU #1 IRQ mode 1
    62:        NMI is triggered by the custom IO chip to signal the CPU to read/write
    63: 	       parameters
    64: CPU #2 IRQ mode 1
    65: CPU #3 NMI (@120Hz)
    66: 
    67: ***************************************************************************/
    68: 
    69: #include "driver.h" 
    70: #include "vidhrdw/generic.h" 
    71: 
    72: extern unsigned char *bosco_sharedram;
    73: READ_HANDLER( bosco_sharedram_r );
    74: WRITE_HANDLER( bosco_sharedram_w );
    75: READ_HANDLER( bosco_dsw_r );
    76: WRITE_HANDLER( bosco_interrupt_enable_1_w );
    77: WRITE_HANDLER( bosco_interrupt_enable_2_w );
    78: WRITE_HANDLER( bosco_interrupt_enable_3_w );
    79: WRITE_HANDLER( bosco_halt_w );
    80: READ_HANDLER( bosco_customio_1_r );
    81: READ_HANDLER( bosco_customio_2_r );
    82: WRITE_HANDLER( bosco_customio_1_w );
    83: WRITE_HANDLER( bosco_customio_2_w );
    84: READ_HANDLER( bosco_customio_data_1_r );
    85: READ_HANDLER( bosco_customio_data_2_r );
    86: WRITE_HANDLER( bosco_customio_data_1_w );
    87: WRITE_HANDLER( bosco_customio_data_2_w );
    88: INTERRUPT_GEN( bosco_interrupt_1 );
    89: INTERRUPT_GEN( bosco_interrupt_2 );
    90: INTERRUPT_GEN( bosco_interrupt_3 );
    91: MACHINE_INIT( bosco );
    92: 
    93: WRITE_HANDLER( bosco_cpu_reset_w );
    94: VIDEO_START( bosco );
    95: VIDEO_UPDATE( bosco );
    96: PALETTE_INIT( bosco );
    97: 
    98: extern unsigned char *bosco_videoram2,*bosco_colorram2;
    99: extern unsigned char *bosco_radarx,*bosco_radary,*bosco_radarattr;
   100: extern size_t bosco_radarram_size;
   101: extern unsigned char *bosco_staronoff;
   102: extern unsigned char *bosco_starblink;
   103: WRITE_HANDLER( bosco_videoram2_w );
   104: WRITE_HANDLER( bosco_colorram2_w );
   105: WRITE_HANDLER( bosco_flipscreen_w );
   106: WRITE_HANDLER( bosco_scrollx_w );
   107: WRITE_HANDLER( bosco_scrolly_w );
   108: WRITE_HANDLER( bosco_starcontrol_w );
   109: VIDEO_START( bosco );
   110: VIDEO_UPDATE( bosco );
   111: 
   112: WRITE_HANDLER( pengo_sound_w );
   113: int  bosco_sh_start(const struct MachineSound *msound);
   114: void bosco_sh_stop(void);
   115: extern unsigned char *pengo_soundregs;
   116: 
   117: 
   118: static MEMORY_READ_START( readmem_cpu1 )
   119: 	{ 0x0000, 0x3fff, MRA_ROM },
   120: 	{ 0x6800, 0x6807, bosco_dsw_r },
   121: 	{ 0x7000, 0x700f, bosco_customio_data_1_r },
   122: 	{ 0x7100, 0x7100, bosco_customio_1_r },
   123: 	{ 0x7800, 0x97ff, bosco_sharedram_r },
   124: MEMORY_END
   125: 
   126: static MEMORY_READ_START( readmem_cpu2 )
   127: 	{ 0x0000, 0x1fff, MRA_ROM },
   128: 	{ 0x6800, 0x6807, bosco_dsw_r },
   129: 	{ 0x9000, 0x900f, bosco_customio_data_2_r },
   130: 	{ 0x9100, 0x9100, bosco_customio_2_r },
   131: 	{ 0x7800, 0x97ff, bosco_sharedram_r },
   132: MEMORY_END
   133: 
   134: static MEMORY_READ_START( readmem_cpu3 )
   135: 	{ 0x0000, 0x1fff, MRA_ROM },
   136: 	{ 0x6800, 0x6807, bosco_dsw_r },
   137: 	{ 0x7800, 0x97ff, bosco_sharedram_r },
   138: MEMORY_END
   139: 
   140: static MEMORY_WRITE_START( writemem_cpu1 )
   141: 	{ 0x0000, 0x3fff, MWA_ROM },
   142: 	{ 0x6800, 0x681f, pengo_sound_w, &pengo_soundregs },
   143: 	{ 0x6820, 0x6820, bosco_interrupt_enable_1_w },
   144: 	{ 0x6822, 0x6822, bosco_interrupt_enable_3_w },
   145: 	{ 0x6823, 0x6823, bosco_halt_w },
   146: 	{ 0x6830, 0x6830, watchdog_reset_w },
   147: 	{ 0x7000, 0x700f, bosco_customio_data_1_w },
   148: 	{ 0x7100, 0x7100, bosco_customio_1_w },
   149: 
   150: 	{ 0x8000, 0x83ff, videoram_w, &videoram, &videoram_size },
   151: 	{ 0x8400, 0x87ff, bosco_videoram2_w, &bosco_videoram2 },
   152: 	{ 0x8800, 0x8bff, colorram_w, &colorram },
   153: 	{ 0x8c00, 0x8fff, bosco_colorram2_w, &bosco_colorram2 },
   154: 
   155: 	{ 0x7800, 0x97ff, bosco_sharedram_w, &bosco_sharedram },
   156: 
   157: 	{ 0x83d4, 0x83df, MWA_RAM, &spriteram, &spriteram_size },	/* these are here just to initialize */
   158: 	{ 0x8bd4, 0x8bdf, MWA_RAM, &spriteram_2 },			/* the pointers. */
   159: 	{ 0x83f4, 0x83ff, MWA_RAM, &bosco_radarx, &bosco_radarram_size },	/* ditto */
   160: 	{ 0x8bf4, 0x8bff, MWA_RAM, &bosco_radary },
   161: 
   162: 	{ 0x9810, 0x9810, bosco_scrollx_w },
   163: 	{ 0x9820, 0x9820, bosco_scrolly_w },
   164: 	{ 0x9830, 0x9830, bosco_starcontrol_w },
   165: 	{ 0x9840, 0x9840, MWA_RAM, &bosco_staronoff },
   166: 	{ 0x9870, 0x9870, bosco_flipscreen_w },
   167: 	{ 0x9804, 0x980f, MWA_RAM, &bosco_radarattr },
   168: MEMORY_END
   169: 
   170: static MEMORY_WRITE_START( writemem_cpu2 )
   171: 	{ 0x0000, 0x1fff, MWA_ROM },
   172: 	{ 0x6821, 0x6821, bosco_interrupt_enable_2_w },
   173: 
   174: 	{ 0x8000, 0x83ff, videoram_w },
   175: 	{ 0x8400, 0x87ff, bosco_videoram2_w },
   176: 	{ 0x8800, 0x8bff, colorram_w },
   177: 	{ 0x8c00, 0x8fff, bosco_colorram2_w },
   178: 	{ 0x9000, 0x900f, bosco_customio_data_2_w },
   179: 	{ 0x9100, 0x9100, bosco_customio_2_w },
   180: 	{ 0x7800, 0x97ff, bosco_sharedram_w },
   181: 
   182: 	{ 0x9810, 0x9810, bosco_scrollx_w },
   183: 	{ 0x9820, 0x9820, bosco_scrolly_w },
   184: 	{ 0x9830, 0x9830, bosco_starcontrol_w },
   185: 	{ 0x9874, 0x9875, MWA_RAM, &bosco_starblink },
   186: MEMORY_END
   187: 
   188: static MEMORY_WRITE_START( writemem_cpu3 )
   189: 	{ 0x0000, 0x1fff, MWA_ROM },
   190: 	{ 0x6800, 0x681f, pengo_sound_w },
   191: 	{ 0x6822, 0x6822, bosco_interrupt_enable_3_w },
   192: 
   193: 	{ 0x8000, 0x83ff, videoram_w },
   194: 	{ 0x8400, 0x87ff, bosco_videoram2_w },
   195: 	{ 0x8800, 0x8bff, colorram_w },
   196: 	{ 0x8c00, 0x8fff, bosco_colorram2_w },
   197: 	{ 0x7800, 0x97ff, bosco_sharedram_w },
   198: MEMORY_END
   199: 
   200: 
   201: 
   202: INPUT_PORTS_START( bosco )
   203: 	PORT_START	/* DSW0 */
   204: 	PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) )
   205: 	PORT_DIPSETTING(    0x01, DEF_STR( 4C_1C ) )
   206: 	PORT_DIPSETTING(    0x02, DEF_STR( 3C_1C ) )
   207: 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
   208: 	PORT_DIPSETTING(    0x07, DEF_STR( 1C_1C ) )
   209: 	PORT_DIPSETTING(    0x04, DEF_STR( 2C_3C ) )
   210: 	PORT_DIPSETTING(    0x06, DEF_STR( 1C_2C ) )
   211: 	PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
   212: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   213: 	/* TODO: bonus scores are different for 5 lives */
   214: 	PORT_DIPNAME( 0x38, 0x08, "Bonus Fighter" )
   215: 	PORT_DIPSETTING(    0x30, "15K 50K" )
   216: 	PORT_DIPSETTING(    0x38, "20K 70K" )
   217: 	PORT_DIPSETTING(    0x08, "10K 50K 50K" )
   218: 	PORT_DIPSETTING(    0x10, "15K 50K 50K" )
   219: 	PORT_DIPSETTING(    0x18, "15K 70K 70K" )
   220: 	PORT_DIPSETTING(    0x20, "20K 70K 70K" )
   221: 	PORT_DIPSETTING(    0x28, "30K 100K 100K" )
   222: 	PORT_DIPSETTING(    0x00, "None" )
   223: 	PORT_DIPNAME( 0xc0, 0x80, DEF_STR( Lives ) )
   224: 	PORT_DIPSETTING(    0x00, "1" )
   225: 	PORT_DIPSETTING(    0x40, "2" )
   226: 	PORT_DIPSETTING(    0x80, "3" )
   227: 	PORT_DIPSETTING(    0xc0, "5" )
   228: 
   229: 	PORT_START	/* DSW1 */
   230: 	PORT_DIPNAME( 0x03, 0x03, DEF_STR( Difficulty ) )
   231: 	PORT_DIPSETTING(    0x01, "Easy" )
   232: 	PORT_DIPSETTING(    0x03, "Medium" )
   233: 	PORT_DIPSETTING(    0x02, "Hardest" )
   234: 	PORT_DIPSETTING(    0x00, "Auto" )
   235: 	PORT_DIPNAME( 0x04, 0x04, "2 Credits Game" )
   236: 	PORT_DIPSETTING(    0x00, "1 Player" )
   237: 	PORT_DIPSETTING(    0x04, "2 Players" )
   238: 	PORT_DIPNAME( 0x08, 0x00, DEF_STR( Demo_Sounds ) )
   239: 	PORT_DIPSETTING(    0x08, DEF_STR( Off ) )
   240: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   241: 	PORT_DIPNAME( 0x10, 0x10, "Freeze" )
   242: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   243: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   244: 	PORT_DIPNAME( 0x20, 0x20, "Allow Continue" )
   245: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
   246: 	PORT_DIPSETTING(    0x20, DEF_STR( Yes ) )
   247: 	PORT_DIPNAME( 0x40, 0x40, "Test ????" )
   248: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   249: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   250: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
   251: 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
   252: 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
   253: 
   254: 	PORT_START	/* FAKE */
   255: 	/* The player inputs are not memory mapped, they are handled by an I/O chip. */
   256: 	/* These fake input ports are read by galaga_customio_data_r() */
   257: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY )
   258: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
   259: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY )
   260: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY )
   261: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1, 1 )
   262: 	PORT_BITX(0x20, IP_ACTIVE_LOW, IPT_BUTTON1, 0, IP_KEY_PREVIOUS, IP_JOY_PREVIOUS )
   263: 	PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
   264: 
   265: 	PORT_START	/* FAKE */
   266: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY | IPF_COCKTAIL)
   267: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_COCKTAIL)
   268: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY | IPF_COCKTAIL)
   269: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY | IPF_COCKTAIL)
   270: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL, 1 )
   271: 	PORT_BITX(0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL, 0, IP_KEY_PREVIOUS, IP_JOY_PREVIOUS )
   272: 	PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
   273: 
   274: 	PORT_START	/* FAKE */
   275: 	/* the button here is used to trigger the sound in the test screen */
   276: 	PORT_BITX(0x03, IP_ACTIVE_LOW, IPT_BUTTON1,	0, IP_KEY_DEFAULT, IP_JOY_DEFAULT )
   277: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_START1, 1 )
   278: 	PORT_BIT_IMPULSE( 0x08, IP_ACTIVE_LOW, IPT_START2, 1 )
   279: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   280: 	PORT_BIT_IMPULSE( 0x20, IP_ACTIVE_LOW, IPT_COIN2, 1 )
   281: 	PORT_BIT_IMPULSE( 0x40, IP_ACTIVE_LOW, IPT_COIN3, 1 )
   282: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   283: INPUT_PORTS_END
   284: 
   285: INPUT_PORTS_START( boscomd )
   286: 	PORT_START	/* DSW0 */
   287: 	PORT_DIPNAME( 0x07, 0x07, DEF_STR( Coinage ) )
   288: 	PORT_DIPSETTING(    0x01, DEF_STR( 4C_1C ) )
   289: 	PORT_DIPSETTING(    0x02, DEF_STR( 3C_1C ) )
   290: 	PORT_DIPSETTING(    0x03, DEF_STR( 2C_1C ) )
   291: 	PORT_DIPSETTING(    0x07, DEF_STR( 1C_1C ) )
   292: 	PORT_DIPSETTING(    0x04, DEF_STR( 2C_3C ) )
   293: 	PORT_DIPSETTING(    0x06, DEF_STR( 1C_2C ) )
   294: 	PORT_DIPSETTING(    0x05, DEF_STR( 1C_3C ) )
   295: 	PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
   296: 	/* TODO: bonus scores are different for 5 lives */
   297: 	PORT_DIPNAME( 0x38, 0x08, "Bonus Fighter" )
   298: 	PORT_DIPSETTING(    0x30, "15K 50K" )
   299: 	PORT_DIPSETTING(    0x38, "20K 70K" )
   300: 	PORT_DIPSETTING(    0x08, "10K 50K 50K" )
   301: 	PORT_DIPSETTING(    0x10, "15K 50K 50K" )
   302: 	PORT_DIPSETTING(    0x18, "15K 70K 70K" )
   303: 	PORT_DIPSETTING(    0x20, "20K 70K 70K" )
   304: 	PORT_DIPSETTING(    0x28, "30K 100K 100K" )
   305: 	PORT_DIPSETTING(    0x00, "None" )
   306: 	PORT_DIPNAME( 0xc0, 0x80, DEF_STR( Lives ) )
   307: 	PORT_DIPSETTING(    0x00, "1" )
   308: 	PORT_DIPSETTING(    0x40, "2" )
   309: 	PORT_DIPSETTING(    0x80, "3" )
   310: 	PORT_DIPSETTING(    0xc0, "5" )
   311: 
   312: 	PORT_START	/* DSW1 */
   313: 	PORT_DIPNAME( 0x01, 0x01, "2 Credits Game" )
   314: 	PORT_DIPSETTING(    0x00, "1 Player" )
   315: 	PORT_DIPSETTING(    0x01, "2 Players" )
   316: 	PORT_DIPNAME( 0x06, 0x06, DEF_STR( Difficulty ) )
   317: 	PORT_DIPSETTING(    0x02, "Easy" )
   318: 	PORT_DIPSETTING(    0x06, "Medium" )
   319: 	PORT_DIPSETTING(    0x04, "Hardest" )
   320: 	PORT_DIPSETTING(    0x00, "Auto" )
   321: 	PORT_DIPNAME( 0x08, 0x08, "Allow Continue" )
   322: 	PORT_DIPSETTING(    0x00, DEF_STR( No ) )
   323: 	PORT_DIPSETTING(    0x08, DEF_STR( Yes ) )
   324: 	PORT_DIPNAME( 0x10, 0x00, DEF_STR( Demo_Sounds ) )
   325: 	PORT_DIPSETTING(    0x10, DEF_STR( Off ) )
   326: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   327: 	PORT_DIPNAME( 0x20, 0x20, "Freeze" )
   328: 	PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
   329: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   330: 	PORT_DIPNAME( 0x40, 0x40, "Test ????" )
   331: 	PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
   332: 	PORT_DIPSETTING(    0x00, DEF_STR( On ) )
   333: 	PORT_DIPNAME( 0x80, 0x80, DEF_STR( Cabinet ) )
   334: 	PORT_DIPSETTING(    0x80, DEF_STR( Upright ) )
   335: 	PORT_DIPSETTING(    0x00, DEF_STR( Cocktail ) )
   336: 
   337: 	PORT_START	/* FAKE */
   338: 	/* The player inputs are not memory mapped, they are handled by an I/O chip. */
   339: 	/* These fake input ports are read by galaga_customio_data_r() */
   340: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY )
   341: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
   342: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY )
   343: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY )
   344: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1, 1 )
   345: 	PORT_BITX(0x20, IP_ACTIVE_LOW, IPT_BUTTON1, 0, IP_KEY_PREVIOUS, IP_JOY_PREVIOUS )
   346: 	PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
   347: 
   348: 	PORT_START	/* FAKE */
   349: 	PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY | IPF_COCKTAIL)
   350: 	PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_COCKTAIL)
   351: 	PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY | IPF_COCKTAIL)
   352: 	PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY | IPF_COCKTAIL)
   353: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL, 1 )
   354: 	PORT_BITX(0x20, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL, 0, IP_KEY_PREVIOUS, IP_JOY_PREVIOUS )
   355: 	PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNUSED )
   356: 
   357: 	PORT_START	/* FAKE */
   358: 	/* the button here is used to trigger the sound in the test screen */
   359: 	PORT_BITX(0x03, IP_ACTIVE_LOW, IPT_BUTTON1,	0, IP_KEY_DEFAULT, IP_JOY_DEFAULT )
   360: 	PORT_BIT_IMPULSE( 0x04, IP_ACTIVE_LOW, IPT_START1, 1 )
   361: 	PORT_BIT_IMPULSE( 0x08, IP_ACTIVE_LOW, IPT_START2, 1 )
   362: 	PORT_BIT_IMPULSE( 0x10, IP_ACTIVE_LOW, IPT_COIN1, 1 )
   363: 	PORT_BIT_IMPULSE( 0x20, IP_ACTIVE_LOW, IPT_COIN2, 1 )
   364: 	PORT_BIT_IMPULSE( 0x40, IP_ACTIVE_LOW, IPT_COIN3, 1 )
   365: 	PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
   366: INPUT_PORTS_END
   367: 
   368: 
   369: 
   370: static struct GfxLayout charlayout =
   371: {
   372: 	8,8,	/* 8*8 characters */
   373: 	256,	/* 256 characters */
   374: 	2,	/* 2 bits per pixel */
   375: 	{ 0, 4 },      /* the two bitplanes for 4 pixels are packed into one byte */
   376: 	{ 8*8+0, 8*8+1, 8*8+2, 8*8+3, 0, 1, 2, 3 },   /* bits are packed in groups of four */
   377: 	{ 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },   /* characters are rotated 90 degrees */
   378: 	16*8	       /* every char takes 16 bytes */
   379: };
   380: 
   381: static struct GfxLayout spritelayout =
   382: {
   383: 	16,16,		/* 16*16 sprites */
   384: 	64,		/* 128 sprites */
   385: 	2,		/* 2 bits per pixel */
   386: 	{ 0, 4 },	/* the two bitplanes for 4 pixels are packed into one byte */
   387: 	{ 8*8, 8*8+1, 8*8+2, 8*8+3, 16*8+0, 16*8+1, 16*8+2, 16*8+3,
   388: 			24*8+0, 24*8+1, 24*8+2, 24*8+3, 0, 1, 2, 3  },
   389: 	{ 0 * 8, 1 * 8, 2 * 8, 3 * 8, 4 * 8, 5 * 8, 6 * 8, 7 * 8,
   390: 			32 * 8, 33 * 8, 34 * 8, 35 * 8, 36 * 8, 37 * 8, 38 * 8, 39 * 8 },
   391: 	64*8	/* every sprite takes 64 bytes */
   392: };
   393: 
   394: static struct GfxLayout dotlayout =
   395: {
   396: 	4,4,	/* 4*4 characters */
   397: 	8,	/* 8 characters */
   398: 	2,	/* 2 bits per pixel */
   399: 	{ 6, 7 },
   400: 	{ 3*8, 2*8, 1*8, 0*8 },
   401: 	{ 3*32, 2*32, 1*32, 0*32 },
   402: 	16*8	/* every char takes 16 consecutive bytes */
   403: };
   404: 
   405: static struct GfxDecodeInfo gfxdecodeinfo[] =
   406: {
   407: 	{ REGION_GFX1, 0, &charlayout,	        0, 64 },
   408: 	{ REGION_GFX2, 0, &spritelayout,	 64*4, 64 },
   409: 	{ REGION_GFX3, 0, &dotlayout,    64*4+64*4,	1 },
   410: 	{ -1 } /* end of array */
   411: };
   412: 
   413: 
   414: 
   415: static struct namco_interface namco_interface =
   416: {
   417: 	3072000/32,	/* sample rate */
   418: 	3,			/* number of voices */
   419: 	50,			/* playback volume */
   420: 	REGION_SOUND1	/* memory region */
   421: };
   422: 
   423: 
   424: static const char *bosco_sample_names[] =
   425: {
   426: 	"*bosco",
   427: 	"midbang.wav",
   428: 	"bigbang.wav",
   429: 	"shot.wav",
   430: 	0	/* end of array */
   431: };
   432: 
   433: static struct Samplesinterface samples_interface =
   434: {
   435: 	3,	/* 3 channels */
   436: 	80,	/* volume */
   437: 	bosco_sample_names
   438: };
   439: 
   440: 
   441: static struct CustomSound_interface custom_interface =
   442: {
   443: 	bosco_sh_start,
   444: 	bosco_sh_stop,
   445: 	0
   446: };
   447: 
   448: 
   449: static MACHINE_DRIVER_START( bosco )
   450: 
   451: 	/* basic machine hardware */
   452: 	MDRV_CPU_ADD(Z80, 3125000)	/* 3.125 MHz */
   453: 	MDRV_CPU_MEMORY(readmem_cpu1,writemem_cpu1)
   454: 	MDRV_CPU_VBLANK_INT(bosco_interrupt_1,1)
   455: 
   456: 	MDRV_CPU_ADD(Z80, 3125000)	/* 3.125 MHz */
   457: 	MDRV_CPU_MEMORY(readmem_cpu2,writemem_cpu2)
   458: 	MDRV_CPU_VBLANK_INT(bosco_interrupt_2,1)
   459: 
   460: 	MDRV_CPU_ADD(Z80, 3125000)	/* 3.125 MHz */
   461: 	MDRV_CPU_MEMORY(readmem_cpu3,writemem_cpu3)
   462: 	MDRV_CPU_VBLANK_INT(bosco_interrupt_3,2)
   463: 
   464: 	MDRV_FRAMES_PER_SECOND(60.606060)
   465: 	MDRV_VBLANK_DURATION(DEFAULT_60HZ_VBLANK_DURATION)
   466: 	MDRV_INTERLEAVE(100)	/* 100 CPU slices per frame - an high value to ensure proper */
   467: 							/* synchronization of the CPUs */
   468: 	MDRV_MACHINE_INIT(bosco)
   469: 
   470: 	/* video hardware */
   471: 	MDRV_VIDEO_ATTRIBUTES(VIDEO_TYPE_RASTER)
   472: 	MDRV_SCREEN_SIZE(36*8, 28*8)
   473: 	MDRV_VISIBLE_AREA(0*8, 36*8-1, 0*8, 28*8-1)
   474: 	MDRV_GFXDECODE(gfxdecodeinfo)
   475: 	MDRV_PALETTE_LENGTH(32+64)
   476: 	MDRV_COLORTABLE_LENGTH(64*4+64*4+4)	/* 32 for the characters, 64 for the stars */
   477: 
   478: 	MDRV_PALETTE_INIT(bosco)
   479: 	MDRV_VIDEO_START(bosco)
   480: 	MDRV_VIDEO_UPDATE(bosco)
   481: 
   482: 	/* sound hardware */
   483: 	MDRV_SOUND_ADD(NAMCO, namco_interface)
   484: 	MDRV_SOUND_ADD(CUSTOM, custom_interface)
   485: 	MDRV_SOUND_ADD(SAMPLES, samples_interface)
   486: MACHINE_DRIVER_END
   487: 
   488: 
   489: 
   490: 
   491: 
   492: /***************************************************************************
   493: 
   494:   Game driver(s)
   495: 
   496: ***************************************************************************/
   497: 
   498: ROM_START( bosco )
   499: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code for the first CPU  */
   500: 	ROM_LOAD( "bos3_1.bin",   0x0000, 0x1000, CRC(96021267) SHA1(bd49b0caabcccf9df45a272d767456a4fc8a7c07) )
   501: 	ROM_LOAD( "bos1_2.bin",   0x1000, 0x1000, CRC(2d8f3ebe) SHA1(75de1cba7531ae4bf7fbbef7b8e37b9fec4ed0d0) )
   502: 	ROM_LOAD( "bos1_3.bin",   0x2000, 0x1000, CRC(c80ccfa5) SHA1(f2bbec2ea9846d4601f06c0b4242744447a88fda) )
   503: 	ROM_LOAD( "bos1_4b.bin",  0x3000, 0x1000, CRC(a3f7f4ab) SHA1(eb26184311bae0767c7a5593926e6eadcbcb680e) )
   504: 
   505: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for the second CPU */
   506: 	ROM_LOAD( "bos1_5c.bin",  0x0000, 0x1000, CRC(a7c8e432) SHA1(3607be75daa10f1f98dbfd9e600c5ba513130d44) )
   507: 	ROM_LOAD( "bos3_6.bin",   0x1000, 0x1000, CRC(4543cf82) SHA1(50ad7d1ab6694eb8fab88d0fa79ee04f6984f3ca) )
   508: 
   509: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for the third CPU  */
   510: 	ROM_LOAD( "2900.3e",      0x0000, 0x1000, CRC(d45a4911) SHA1(547236adca9174f5cc0ec05b9649618bb92ba630) )
   511: 
   512: 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
   513: 	ROM_LOAD( "5300.5d",      0x0000, 0x1000, CRC(a956d3c5) SHA1(c5a9d7b1f9b4acda8fb9762414e085cb5fb80c9e) )
   514: 
   515: 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
   516: 	ROM_LOAD( "5200.5e",      0x0000, 0x1000, CRC(e869219c) SHA1(425614cd0642743a82ef9c1aada29774a92203ea) )
   517: 
   518: 	ROM_REGION( 0x0100, REGION_GFX3, ROMREGION_DISPOSE )
   519: 	ROM_LOAD( "prom.2d",      0x0000, 0x0100, CRC(9b69b543) SHA1(47af3f67e50794e839b74fe61197af2228084efd) )	/* dots */
   520: 
   521: 	ROM_REGION( 0x0260, REGION_PROMS, 0 )
   522: 	ROM_LOAD( "bosco.6b",     0x0000, 0x0020, CRC(d2b96fb0) SHA1(54c100ec9d173d7dd48a453ebed5f625053cb6e0) )	/* palette */
   523: 	ROM_LOAD( "bosco.4m",     0x0020, 0x0100, CRC(4e15d59c) SHA1(3542ead6421d169c3569e121ec2be304e108787c) )	/* lookup table */
   524: 	ROM_LOAD( "prom.1d",      0x0120, 0x0100, CRC(de2316c6) SHA1(0e55c56046331888d1d3f0d9823d2ceb203e7d3f) )	/* ?? */
   525: 	ROM_LOAD( "prom.2r",      0x0220, 0x0020, CRC(b88d5ba9) SHA1(7b97a38a540b7ca4b7d9ae338ec38b9b1a337846) )	/* ?? */
   526: 	ROM_LOAD( "prom.7h",      0x0240, 0x0020, CRC(87d61353) SHA1(c7493e52662c921625676a4a4e8cf4371bd938b7) )	/* ?? */
   527: 
   528: 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound prom */
   529: 	ROM_LOAD( "bosco.spr",    0x0000, 0x0100, CRC(ee8ca3a8) SHA1(48d5d9e8c9ca966edad0d5198bb445f6ecceb037) )
   530: 	ROM_LOAD( "prom.5c",      0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
   531: 
   532: 	ROM_REGION( 0x3000, REGION_SOUND2, 0 )	/* ROMs for digitised speech */
   533: 	ROM_LOAD( "4900.5n",      0x0000, 0x1000, CRC(09acc978) SHA1(2b264aaeb6eba70ad91593413dca733990e5467b) )
   534: 	ROM_LOAD( "5000.5m",      0x1000, 0x1000, CRC(e571e959) SHA1(9c81d7bec73bc605f7dd9a089171b0f34c4bb09a) )
   535: 	ROM_LOAD( "5100.5l",      0x2000, 0x1000, CRC(17ac9511) SHA1(266f3fae90d2fe38d109096d352863a52b379899) )
   536: ROM_END
   537: 
   538: ROM_START( boscoo )
   539: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code for the first CPU  */
   540: 	ROM_LOAD( "bos1_1.bin",   0x0000, 0x1000, CRC(0d9920e7) SHA1(e7633233f603ccb5b7a970ed5b58ef361ef2c94e) )
   541: 	ROM_LOAD( "bos1_2.bin",   0x1000, 0x1000, CRC(2d8f3ebe) SHA1(75de1cba7531ae4bf7fbbef7b8e37b9fec4ed0d0) )
   542: 	ROM_LOAD( "bos1_3.bin",   0x2000, 0x1000, CRC(c80ccfa5) SHA1(f2bbec2ea9846d4601f06c0b4242744447a88fda) )
   543: 	ROM_LOAD( "bos1_4b.bin",  0x3000, 0x1000, CRC(a3f7f4ab) SHA1(eb26184311bae0767c7a5593926e6eadcbcb680e) )
   544: 
   545: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for the second CPU */
   546: 	ROM_LOAD( "bos1_5c.bin",  0x0000, 0x1000, CRC(a7c8e432) SHA1(3607be75daa10f1f98dbfd9e600c5ba513130d44) )
   547: 	ROM_LOAD( "2800.3h",      0x1000, 0x1000, CRC(31b8c648) SHA1(de0db24d385d2361ec989bf32388df8202ad535c) )
   548: 
   549: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for the third CPU  */
   550: 	ROM_LOAD( "2900.3e",      0x0000, 0x1000, CRC(d45a4911) SHA1(547236adca9174f5cc0ec05b9649618bb92ba630) )
   551: 
   552: 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
   553: 	ROM_LOAD( "5300.5d",      0x0000, 0x1000, CRC(a956d3c5) SHA1(c5a9d7b1f9b4acda8fb9762414e085cb5fb80c9e) )
   554: 
   555: 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
   556: 	ROM_LOAD( "5200.5e",      0x0000, 0x1000, CRC(e869219c) SHA1(425614cd0642743a82ef9c1aada29774a92203ea) )
   557: 
   558: 	ROM_REGION( 0x0100, REGION_GFX3, ROMREGION_DISPOSE )
   559: 	ROM_LOAD( "prom.2d",      0x0000, 0x0100, CRC(9b69b543) SHA1(47af3f67e50794e839b74fe61197af2228084efd) )	/* dots */
   560: 
   561: 	ROM_REGION( 0x0260, REGION_PROMS, 0 )
   562: 	ROM_LOAD( "bosco.6b",     0x0000, 0x0020, CRC(d2b96fb0) SHA1(54c100ec9d173d7dd48a453ebed5f625053cb6e0) )	/* palette */
   563: 	ROM_LOAD( "bosco.4m",     0x0020, 0x0100, CRC(4e15d59c) SHA1(3542ead6421d169c3569e121ec2be304e108787c) )	/* lookup table */
   564: 	ROM_LOAD( "prom.1d",      0x0120, 0x0100, CRC(de2316c6) SHA1(0e55c56046331888d1d3f0d9823d2ceb203e7d3f) )	/* ?? */
   565: 	ROM_LOAD( "prom.2r",      0x0220, 0x0020, CRC(b88d5ba9) SHA1(7b97a38a540b7ca4b7d9ae338ec38b9b1a337846) )	/* ?? */
   566: 	ROM_LOAD( "prom.7h",      0x0240, 0x0020, CRC(87d61353) SHA1(c7493e52662c921625676a4a4e8cf4371bd938b7) )	/* ?? */
   567: 
   568: 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound prom */
   569: 	ROM_LOAD( "bosco.spr",    0x0000, 0x0100, CRC(ee8ca3a8) SHA1(48d5d9e8c9ca966edad0d5198bb445f6ecceb037) )
   570: 	ROM_LOAD( "prom.5c",      0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
   571: 
   572: 	ROM_REGION( 0x3000, REGION_SOUND2, 0 )	/* ROMs for digitised speech */
   573: 	ROM_LOAD( "4900.5n",      0x0000, 0x1000, CRC(09acc978) SHA1(2b264aaeb6eba70ad91593413dca733990e5467b) )
   574: 	ROM_LOAD( "5000.5m",      0x1000, 0x1000, CRC(e571e959) SHA1(9c81d7bec73bc605f7dd9a089171b0f34c4bb09a) )
   575: 	ROM_LOAD( "5100.5l",      0x2000, 0x1000, CRC(17ac9511) SHA1(266f3fae90d2fe38d109096d352863a52b379899) )
   576: ROM_END
   577: 
   578: ROM_START( boscoo2 )
   579: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code for the first CPU  */
   580: 	ROM_LOAD( "bos1_1.bin",   0x0000, 0x1000, CRC(0d9920e7) SHA1(e7633233f603ccb5b7a970ed5b58ef361ef2c94e) )
   581: 	ROM_LOAD( "bos1_2.bin",   0x1000, 0x1000, CRC(2d8f3ebe) SHA1(75de1cba7531ae4bf7fbbef7b8e37b9fec4ed0d0) )
   582: 	ROM_LOAD( "bos1_3.bin",   0x2000, 0x1000, CRC(c80ccfa5) SHA1(f2bbec2ea9846d4601f06c0b4242744447a88fda) )
   583: 	ROM_LOAD( "bos1_4.3k",    0x3000, 0x1000, CRC(7ebea2b8) SHA1(92fc66526ed77f3efd947b7d321b255aba4a0140) )
   584: 
   585: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for the second CPU */
   586: 	ROM_LOAD( "bos1_5b.3j",   0x0000, 0x1000, CRC(3d6955a8) SHA1(f89860d74865da5ced2f5b2196bdaa8eeb5e2322) )
   587: 	ROM_LOAD( "2800.3h",      0x1000, 0x1000, CRC(31b8c648) SHA1(de0db24d385d2361ec989bf32388df8202ad535c) )
   588: 
   589: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for the third CPU  */
   590: 	ROM_LOAD( "2900.3e",      0x0000, 0x1000, CRC(d45a4911) SHA1(547236adca9174f5cc0ec05b9649618bb92ba630) )
   591: 
   592: 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
   593: 	ROM_LOAD( "5300.5d",      0x0000, 0x1000, CRC(a956d3c5) SHA1(c5a9d7b1f9b4acda8fb9762414e085cb5fb80c9e) )
   594: 
   595: 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
   596: 	ROM_LOAD( "5200.5e",      0x0000, 0x1000, CRC(e869219c) SHA1(425614cd0642743a82ef9c1aada29774a92203ea) )
   597: 
   598: 	ROM_REGION( 0x0100, REGION_GFX3, ROMREGION_DISPOSE )
   599: 	ROM_LOAD( "prom.2d",      0x0000, 0x0100, CRC(9b69b543) SHA1(47af3f67e50794e839b74fe61197af2228084efd) )	/* dots */
   600: 
   601: 	ROM_REGION( 0x0260, REGION_PROMS, 0 )
   602: 	ROM_LOAD( "bosco.6b",     0x0000, 0x0020, CRC(d2b96fb0) SHA1(54c100ec9d173d7dd48a453ebed5f625053cb6e0) )	/* palette */
   603: 	ROM_LOAD( "bosco.4m",     0x0020, 0x0100, CRC(4e15d59c) SHA1(3542ead6421d169c3569e121ec2be304e108787c) )	/* lookup table */
   604: 	ROM_LOAD( "prom.1d",      0x0120, 0x0100, CRC(de2316c6) SHA1(0e55c56046331888d1d3f0d9823d2ceb203e7d3f) )	/* ?? */
   605: 	ROM_LOAD( "prom.2r",      0x0220, 0x0020, CRC(b88d5ba9) SHA1(7b97a38a540b7ca4b7d9ae338ec38b9b1a337846) )	/* ?? */
   606: 	ROM_LOAD( "prom.7h",      0x0240, 0x0020, CRC(87d61353) SHA1(c7493e52662c921625676a4a4e8cf4371bd938b7) )	/* ?? */
   607: 
   608: 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound prom */
   609: 	ROM_LOAD( "bosco.spr",    0x0000, 0x0100, CRC(ee8ca3a8) SHA1(48d5d9e8c9ca966edad0d5198bb445f6ecceb037) )
   610: 	ROM_LOAD( "prom.5c",      0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
   611: 
   612: 	ROM_REGION( 0x3000, REGION_SOUND2, 0 )	/* ROMs for digitised speech */
   613: 	ROM_LOAD( "4900.5n",      0x0000, 0x1000, CRC(09acc978) SHA1(2b264aaeb6eba70ad91593413dca733990e5467b) )
   614: 	ROM_LOAD( "5000.5m",      0x1000, 0x1000, CRC(e571e959) SHA1(9c81d7bec73bc605f7dd9a089171b0f34c4bb09a) )
   615: 	ROM_LOAD( "5100.5l",      0x2000, 0x1000, CRC(17ac9511) SHA1(266f3fae90d2fe38d109096d352863a52b379899) )
   616: ROM_END
   617: 
   618: ROM_START( boscomd )
   619: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code for the first CPU  */
   620: 	ROM_LOAD( "3n",       0x0000, 0x1000, CRC(441b501a) SHA1(7b4921ff40b3c56950fd32aa0ec5563b02a00929) )
   621: 	ROM_LOAD( "3m",       0x1000, 0x1000, CRC(a3c5c7ef) SHA1(70a095a8dbca857245a70404f803916f519e0cbc) )
   622: 	ROM_LOAD( "3l",       0x2000, 0x1000, CRC(6ca9a0cf) SHA1(8f70e29beae921e63cd65689a618ca678dd14614) )
   623: 	ROM_LOAD( "3k",       0x3000, 0x1000, CRC(d83bacc5) SHA1(cf2fbfa81dabb9b6bcf436d61992e705723776fb) )
   624: 
   625: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for the second CPU */
   626: 	ROM_LOAD( "3j",       0x0000, 0x1000, CRC(4374e39a) SHA1(7571fd5961f49a0e9ba4301ddd0aca52e94e2f8b) )
   627: 	ROM_LOAD( "3h",       0x1000, 0x1000, CRC(04e9fcef) SHA1(2115a9718d511854848704e2693f9efa1c80a307) )
   628: 
   629: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for the third CPU  */
   630: 	ROM_LOAD( "2900.3e",      0x0000, 0x1000, CRC(d45a4911) SHA1(547236adca9174f5cc0ec05b9649618bb92ba630) )
   631: 
   632: 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
   633: 	ROM_LOAD( "5300.5d",      0x0000, 0x1000, CRC(a956d3c5) SHA1(c5a9d7b1f9b4acda8fb9762414e085cb5fb80c9e) )
   634: 
   635: 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
   636: 	ROM_LOAD( "5200.5e",      0x0000, 0x1000, CRC(e869219c) SHA1(425614cd0642743a82ef9c1aada29774a92203ea) )
   637: 
   638: 	ROM_REGION( 0x0100, REGION_GFX3, ROMREGION_DISPOSE )
   639: 	ROM_LOAD( "prom.2d",      0x0000, 0x0100, CRC(9b69b543) SHA1(47af3f67e50794e839b74fe61197af2228084efd) )	/* dots */
   640: 
   641: 	ROM_REGION( 0x0260, REGION_PROMS, 0 )
   642: 	ROM_LOAD( "bosco.6b",     0x0000, 0x0020, CRC(d2b96fb0) SHA1(54c100ec9d173d7dd48a453ebed5f625053cb6e0) )	/* palette */
   643: 	ROM_LOAD( "bosco.4m",     0x0020, 0x0100, CRC(4e15d59c) SHA1(3542ead6421d169c3569e121ec2be304e108787c) )	/* lookup table */
   644: 	ROM_LOAD( "prom.1d",      0x0120, 0x0100, CRC(de2316c6) SHA1(0e55c56046331888d1d3f0d9823d2ceb203e7d3f) )	/* ?? */
   645: 	ROM_LOAD( "prom.2r",      0x0220, 0x0020, CRC(b88d5ba9) SHA1(7b97a38a540b7ca4b7d9ae338ec38b9b1a337846) )	/* ?? */
   646: 	ROM_LOAD( "prom.7h",      0x0240, 0x0020, CRC(87d61353) SHA1(c7493e52662c921625676a4a4e8cf4371bd938b7) )	/* ?? */
   647: 
   648: 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound prom */
   649: 	ROM_LOAD( "bosco.spr",    0x0000, 0x0100, CRC(ee8ca3a8) SHA1(48d5d9e8c9ca966edad0d5198bb445f6ecceb037) )
   650: 	ROM_LOAD( "prom.5c",      0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
   651: 
   652: 	ROM_REGION( 0x3000, REGION_SOUND2, 0 )	/* ROMs for digitised speech */
   653: 	ROM_LOAD( "4900.5n",      0x0000, 0x1000, CRC(09acc978) SHA1(2b264aaeb6eba70ad91593413dca733990e5467b) )
   654: 	ROM_LOAD( "5000.5m",      0x1000, 0x1000, CRC(e571e959) SHA1(9c81d7bec73bc605f7dd9a089171b0f34c4bb09a) )
   655: 	ROM_LOAD( "5100.5l",      0x2000, 0x1000, CRC(17ac9511) SHA1(266f3fae90d2fe38d109096d352863a52b379899) )
   656: ROM_END
   657: 
   658: ROM_START( boscomdo )
   659: 	ROM_REGION( 0x10000, REGION_CPU1, 0 )	/* 64k for code for the first CPU  */
   660: 	ROM_LOAD( "2300.3n",      0x0000, 0x1000, CRC(db6128b0) SHA1(ddd285f7e00d5e58ab9b15838528e0020d47fcd2) )
   661: 	ROM_LOAD( "2400.3m",      0x1000, 0x1000, CRC(86907614) SHA1(3295ab6c5171a069875c2239b3325296c1df6031) )
   662: 	ROM_LOAD( "2500.3l",      0x2000, 0x1000, CRC(a21fae11) SHA1(dff38d90ee30558274d2d399edc3281c2ef5cb69) )
   663: 	ROM_LOAD( "2600.3k",      0x3000, 0x1000, CRC(11d6ae23) SHA1(f2f72f5c777b684f7ffd53b9c034560211113499) )
   664: 
   665: 	ROM_REGION( 0x10000, REGION_CPU2, 0 )	/* 64k for the second CPU */
   666: 	ROM_LOAD( "2700.3j",      0x0000, 0x1000, CRC(7254e65e) SHA1(c2ee29fcb5173e8d46a80a8a1b931a53dbdeae66) )
   667: 	ROM_LOAD( "2800.3h",      0x1000, 0x1000, CRC(31b8c648) SHA1(de0db24d385d2361ec989bf32388df8202ad535c) )
   668: 
   669: 	ROM_REGION( 0x10000, REGION_CPU3, 0 )	/* 64k for the third CPU  */
   670: 	ROM_LOAD( "2900.3e",      0x0000, 0x1000, CRC(d45a4911) SHA1(547236adca9174f5cc0ec05b9649618bb92ba630) )
   671: 
   672: 	ROM_REGION( 0x1000, REGION_GFX1, ROMREGION_DISPOSE )
   673: 	ROM_LOAD( "5300.5d",      0x0000, 0x1000, CRC(a956d3c5) SHA1(c5a9d7b1f9b4acda8fb9762414e085cb5fb80c9e) )
   674: 
   675: 	ROM_REGION( 0x1000, REGION_GFX2, ROMREGION_DISPOSE )
   676: 	ROM_LOAD( "5200.5e",      0x0000, 0x1000, CRC(e869219c) SHA1(425614cd0642743a82ef9c1aada29774a92203ea) )
   677: 
   678: 	ROM_REGION( 0x0100, REGION_GFX3, ROMREGION_DISPOSE )
   679: 	ROM_LOAD( "prom.2d",      0x0000, 0x0100, CRC(9b69b543) SHA1(47af3f67e50794e839b74fe61197af2228084efd) )	/* dots */
   680: 
   681: 	ROM_REGION( 0x0260, REGION_PROMS, 0 )
   682: 	ROM_LOAD( "bosco.6b",     0x0000, 0x0020, CRC(d2b96fb0) SHA1(54c100ec9d173d7dd48a453ebed5f625053cb6e0) )	/* palette */
   683: 	ROM_LOAD( "bosco.4m",     0x0020, 0x0100, CRC(4e15d59c) SHA1(3542ead6421d169c3569e121ec2be304e108787c) )	/* lookup table */
   684: 	ROM_LOAD( "prom.1d",      0x0120, 0x0100, CRC(de2316c6) SHA1(0e55c56046331888d1d3f0d9823d2ceb203e7d3f) )	/* ?? */
   685: 	ROM_LOAD( "prom.2r",      0x0220, 0x0020, CRC(b88d5ba9) SHA1(7b97a38a540b7ca4b7d9ae338ec38b9b1a337846) )	/* ?? */
   686: 	ROM_LOAD( "prom.7h",      0x0240, 0x0020, CRC(87d61353) SHA1(c7493e52662c921625676a4a4e8cf4371bd938b7) )	/* ?? */
   687: 
   688: 	ROM_REGION( 0x0200, REGION_SOUND1, 0 )	/* sound prom */
   689: 	ROM_LOAD( "bosco.spr",    0x0000, 0x0100, CRC(ee8ca3a8) SHA1(48d5d9e8c9ca966edad0d5198bb445f6ecceb037) )
   690: 	ROM_LOAD( "prom.5c",      0x0100, 0x0100, CRC(77245b66) SHA1(0c4d0bee858b97632411c440bea6948a74759746) )	/* timing - not used */
   691: 
   692: 	ROM_REGION( 0x3000, REGION_SOUND2, 0 )	/* ROMs for digitised speech */
   693: 	ROM_LOAD( "4900.5n",      0x0000, 0x1000, CRC(09acc978) SHA1(2b264aaeb6eba70ad91593413dca733990e5467b) )
   694: 	ROM_LOAD( "5000.5m",      0x1000, 0x1000, CRC(e571e959) SHA1(9c81d7bec73bc605f7dd9a089171b0f34c4bb09a) )
   695: 	ROM_LOAD( "5100.5l",      0x2000, 0x1000, CRC(17ac9511) SHA1(266f3fae90d2fe38d109096d352863a52b379899) )
   696: ROM_END
   697: 
   698: 
   699: 
   700: GAME( 1981, bosco,    0,     bosco, bosco,   0, ROT0, "Namco", "Bosconian (new version)" )
   701: GAME( 1981, boscoo,   bosco, bosco, bosco,   0, ROT0, "Namco", "Bosconian (old version)" )
   702: GAME( 1981, boscoo2,  bosco, bosco, bosco,   0, ROT0, "Namco", "Bosconian (older version)" )
   703: GAME( 1981, boscomd,  bosco, bosco, boscomd, 0, ROT0, "[Namco] (Midway license)", "Bosconian (Midway, new version)" )
   704: GAME( 1981, boscomdo, bosco, bosco, boscomd, 0, ROT0, "[Namco] (Midway license)", "Bosconian (Midway, old version)" )
   705: 




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