Make Cherry Bonus artwork clickable

This commit is contained in:
Vas Crabb 2015-03-16 16:20:59 +11:00
parent 366a5b7272
commit 0b9a644a76
2 changed files with 16 additions and 64 deletions

View File

@ -6957,56 +6957,6 @@ PALETTE_INIT_MEMBER(goldstar_state, lucky8)
}
static MACHINE_CONFIG_START( chrygld, cb3_state )
/* basic machine hardware */
MCFG_CPU_ADD("maincpu", Z80, CPU_CLOCK)
MCFG_CPU_PROGRAM_MAP(ncb3_map)
MCFG_CPU_IO_MAP(ncb3_readwriteport)
MCFG_CPU_VBLANK_INT_DRIVER("screen", goldstar_state, irq0_line_hold)
MCFG_DEVICE_ADD("ppi8255_0", I8255A, 0)
MCFG_I8255_IN_PORTA_CB(IOPORT("IN0"))
MCFG_I8255_IN_PORTB_CB(IOPORT("IN3")) //Player2 controls, confirmed
MCFG_DEVICE_ADD("ppi8255_1", I8255A, 0)
MCFG_I8255_IN_PORTA_CB(IOPORT("IN1"))
MCFG_I8255_IN_PORTB_CB(IOPORT("IN2"))
MCFG_I8255_IN_PORTC_CB(IOPORT("DSW1"))
MCFG_DEVICE_ADD("ppi8255_2", I8255A, 0)
MCFG_I8255_IN_PORTA_CB(IOPORT("DSW2"))
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)
MCFG_SCREEN_REFRESH_RATE(60)
// MCFG_SCREEN_VBLANK_TIME(ATTOSECONDS_IN_USEC(0))
MCFG_SCREEN_SIZE(64*8, 32*8)
MCFG_SCREEN_VISIBLE_AREA(0*8, 64*8-1, 2*8, 30*8-1)
MCFG_SCREEN_UPDATE_DRIVER(goldstar_state, screen_update_goldstar)
MCFG_SCREEN_PALETTE("palette")
MCFG_GFXDECODE_ADD("gfxdecode", "palette", chry10)
MCFG_PALETTE_ADD("palette", 256)
MCFG_PALETTE_INIT_OWNER(goldstar_state,cm)
MCFG_NVRAM_ADD_1FILL("nvram")
MCFG_VIDEO_START_OVERRIDE(goldstar_state,goldstar)
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("snsnd", SN76489, PSG_CLOCK)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80)
MCFG_SOUND_ADD("aysnd", AY8910, AY_CLOCK)
MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW4"))
MCFG_AY8910_PORT_B_READ_CB(IOPORT("DSW3"))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( ncb3, cb3_state )
/* basic machine hardware */
@ -7064,6 +7014,10 @@ static MACHINE_CONFIG_DERIVED( cb3e, ncb3 )
MCFG_GFXDECODE_MODIFY("gfxdecode", cb3e)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( chrygld, ncb3 )
MCFG_GFXDECODE_MODIFY("gfxdecode", chry10)
MACHINE_CONFIG_END
static MACHINE_CONFIG_DERIVED( cherrys, ncb3 )
MCFG_GFXDECODE_MODIFY("gfxdecode", cherrys)
MACHINE_CONFIG_END
@ -7073,7 +7027,6 @@ static MACHINE_CONFIG_DERIVED( cm97, ncb3 )
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( wcherry, goldstar_state )
/* basic machine hardware */
@ -7123,7 +7076,6 @@ static MACHINE_CONFIG_START( wcherry, goldstar_state )
MACHINE_CONFIG_END
static MACHINE_CONFIG_START( cm, cmaster_state )
/* basic machine hardware */

View File

@ -214,50 +214,50 @@
<!-- define lamps -->
<bezel name="lamp0" element="stop_b">
<bezel name="lamp0" element="stop_b" inputtag="IN0" inputmask="0x04">
<bounds x="2.05" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp0" element="stop2">
<bezel name="lamp0" element="stop2" inputtag="IN0" inputmask="0x04">
<bounds x="2.07" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp1" element="dup_b">
<bezel name="lamp1" element="dup_b" inputtag="IN0" inputmask="0x08">
<bounds x="0.65" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp1" element="dup">
<bezel name="lamp1" element="dup" inputtag="IN0" inputmask="0x08">
<bounds x="0.67" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp2" element="stop_b">
<bezel name="lamp2" element="stop_b" inputtag="IN0" inputmask="0x10">
<bounds x="1.4" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp2" element="stop1">
<bezel name="lamp2" element="stop1" inputtag="IN0" inputmask="0x10">
<bounds x="1.42" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp3" element="bet_b">
<bezel name="lamp3" element="bet_b" inputtag="IN0" inputmask="0x20">
<bounds x="0.05" y="3.08" width="0.40" height="0.24" />
</bezel>
<bezel name="lamp3" element="bet">
<bezel name="lamp3" element="bet" inputtag="IN0" inputmask="0x20">
<bounds x="0.07" y="3.10" width="0.36" height="0.20" />
</bezel>
<bezel name="lamp4" element="stop_b">
<bezel name="lamp4" element="stop_b" inputtag="IN0" inputmask="0x40">
<bounds x="2.7" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp4" element="stop3">
<bezel name="lamp4" element="stop3" inputtag="IN0" inputmask="0x40">
<bounds x="2.72" y="3.10" width="0.46" height="0.20" />
</bezel>
<bezel name="lamp5" element="start_b">
<bezel name="lamp5" element="start_b" inputtag="IN0" inputmask="0x80">
<bounds x="3.45" y="3.08" width="0.50" height="0.24" />
</bezel>
<bezel name="lamp5" element="start">
<bezel name="lamp5" element="start" inputtag="IN0" inputmask="0x80">
<bounds x="3.47" y="3.10" width="0.46" height="0.20" />
</bezel>