Previous 199869 Revisions Next

r20058 Friday 4th January, 2013 at 14:43:55 UTC by hap
d6 should not be forced to 0 after all
[src/mame/drivers]blueprnt.c

trunk/src/mame/drivers/blueprnt.c
r20057r20058
7070READ8_MEMBER(blueprnt_state::grasspin_sh_dipsw_r)
7171{
7272   // judging from the disasm, it looks like simple protection was added
73   // d6: must be clear
73   // d6: small possibility it's for comms? but the fact that there's a Freeze switch on the pcb rules this out
7474   // d7: must be set, or is it directly connected to a dipswitch?
75   return (m_dipsw & 0x3f) | 0x80;
75   return (m_dipsw & 0x7f) | 0x80;
7676}
7777
7878WRITE8_MEMBER(blueprnt_state::blueprnt_sound_command_w)
r20057r20058
259259   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_JOYSTICK_DOWN  ) PORT_8WAY PORT_COCKTAIL
260260
261261   PORT_START("DILSW1")
262   PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "DILSW1:1" )
263   PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "DILSW1:2" )
264   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "DILSW1:3" )
265   PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "DILSW1:4" )
266   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "DILSW1:5" )
267   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Coinage ) )      PORT_DIPLOCATION("DILSW1:6,7")
262   PORT_DIPUNUSED_DIPLOC( 0x01, 0x01, "DILSW1:8" )
263   PORT_DIPUNKNOWN_DIPLOC( 0x02, 0x02, "DILSW1:7" )
264   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "DILSW1:6" )
265   PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "DILSW1:5" )
266   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "DILSW1:4" )
267   PORT_DIPNAME( 0x60, 0x60, DEF_STR( Coinage ) )      PORT_DIPLOCATION("DILSW1:2,3") // 2 should be infinite lives according to pcb
268268   PORT_DIPSETTING(    0x00, DEF_STR( 2C_1C ) )
269269   PORT_DIPSETTING(    0x40, DEF_STR( 2C_3C ) )
270270   PORT_DIPSETTING(    0x60, DEF_STR( 1C_1C ) )
271271   PORT_DIPSETTING(    0x20, DEF_STR( 1C_2C ) )
272   PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DILSW1:8" )
272   PORT_DIPNAME( 0x80, 0x00, "Freeze" )            PORT_DIPLOCATION("DILSW1:1") // ok
273   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
274   PORT_DIPSETTING(    0x80, DEF_STR( On ) )
273275
274276   PORT_START("DILSW2")
275   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("DILSW2:1,2")
277   PORT_DIPNAME( 0x03, 0x03, DEF_STR( Lives ) )      PORT_DIPLOCATION("DILSW2:7,8")
276278   PORT_DIPSETTING(    0x00, "2" )
277279   PORT_DIPSETTING(    0x03, "3" )
278280   PORT_DIPSETTING(    0x02, "4" )
279281   PORT_DIPSETTING(    0x01, "5" )
280   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "DILSW2:3" )
281   PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "DILSW2:4" )
282   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "DILSW2:5" )
283   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("DILSW2:6")
282   PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "DILSW2:6" )
283   PORT_DIPUNKNOWN_DIPLOC( 0x08, 0x08, "DILSW2:5" )
284   PORT_DIPUNKNOWN_DIPLOC( 0x10, 0x10, "DILSW2:4" )
285   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Cabinet ) )      PORT_DIPLOCATION("DILSW2:3")
284286   PORT_DIPSETTING(    0x00, DEF_STR( Upright ) )
285287   PORT_DIPSETTING(    0x20, DEF_STR( Cocktail ) )
286   PORT_DIPUNUSED_DIPLOC( 0x40, 0x40, "DILSW2:7" )
287   PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DILSW2:8" )
288   PORT_DIPNAME( 0x40, 0x00, "Freeze" )            PORT_DIPLOCATION("DILSW2:2") // should be flip screen according to pcb
289   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
290   PORT_DIPSETTING(    0x40, DEF_STR( On ) )
291   PORT_DIPUNUSED_DIPLOC( 0x80, 0x80, "DILSW2:1" )
288292INPUT_PORTS_END
289293
290294/*************************************

Previous 199869 Revisions Next


© 1997-2024 The MAME Team