mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
andromed: add coinage dipswitch
This commit is contained in:
parent
f22844c6f3
commit
d81c9d3824
@ -16,7 +16,7 @@ Notes:
|
||||
TODO:
|
||||
- DIP switches
|
||||
- andromed M-29S starfield
|
||||
- andromed coin is always 2 credits?
|
||||
|
||||
|
||||
Head On
|
||||
-------
|
||||
@ -591,6 +591,7 @@ static INPUT_PORTS_START( ipminvad )
|
||||
PORT_DIPSETTING ( 0x00, "3" )
|
||||
PORT_DIPSETTING ( 0x01, "4" )
|
||||
PORT_DIPSETTING ( 0x02, "5" )
|
||||
PORT_DIPSETTING ( 0x03, "6" )
|
||||
PORT_DIPNAME( 0x04, 0x00, "Capsules" )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( No ) )
|
||||
PORT_DIPSETTING( 0x04, DEF_STR( Yes ) )
|
||||
@ -600,7 +601,7 @@ static INPUT_PORTS_START( ipminvad )
|
||||
PORT_DIPNAME( 0x10, 0x00, DEF_STR( Coin_A ) )
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( 2C_1C ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unused ) ) // Verified with debugger
|
||||
PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unused ) ) // Verified with debugger
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unused ) )
|
||||
@ -621,10 +622,11 @@ static INPUT_PORTS_START( skychut )
|
||||
PORT_INCLUDE( ipminvad )
|
||||
|
||||
PORT_MODIFY("DSW")
|
||||
PORT_DIPNAME(0x03, 0x00, DEF_STR( Lives ) )
|
||||
PORT_DIPSETTING ( 0x00, "3" )
|
||||
PORT_DIPSETTING ( 0x01, "4" )
|
||||
PORT_DIPSETTING ( 0x02, "5" )
|
||||
PORT_DIPNAME( 0x03, 0x00, DEF_STR( Lives ) )
|
||||
PORT_DIPSETTING ( 0x00, "3" )
|
||||
PORT_DIPSETTING ( 0x01, "4" )
|
||||
// PORT_DIPSETTING ( 0x03, "4" ) // dupe
|
||||
PORT_DIPSETTING ( 0x02, "5" )
|
||||
PORT_DIPUNKNOWN( 0x04, 0x00 )
|
||||
PORT_DIPUNKNOWN( 0x08, 0x00 )
|
||||
PORT_DIPUNKNOWN( 0x10, 0x00 )
|
||||
@ -641,12 +643,13 @@ static INPUT_PORTS_START( andromed )
|
||||
PORT_DIPSETTING ( 0x00, "3" )
|
||||
PORT_DIPSETTING ( 0x01, "4" )
|
||||
PORT_DIPSETTING ( 0x02, "5" )
|
||||
PORT_DIPSETTING ( 0x03, "6" )
|
||||
PORT_DIPUNKNOWN( 0x04, 0x00 )
|
||||
PORT_DIPUNKNOWN( 0x08, 0x00 )
|
||||
PORT_DIPUNKNOWN( 0x10, 0x00 )
|
||||
PORT_DIPNAME( 0x20, 0x20, DEF_STR( Free_Play ) )
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( Off ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
|
||||
PORT_DIPNAME( 0x30, 0x10, DEF_STR( Coinage ) )
|
||||
PORT_DIPSETTING( 0x10, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING( 0x20, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPSETTING( 0x00, DEF_STR( Free_Play ) )
|
||||
PORT_DIPUNKNOWN( 0x40, 0x00 )
|
||||
PORT_DIPUNKNOWN( 0x80, 0x00 )
|
||||
INPUT_PORTS_END
|
||||
@ -677,9 +680,9 @@ static INPUT_PORTS_START( spacbeam )
|
||||
PORT_DIPSETTING ( 0x00, "30000" )
|
||||
PORT_DIPSETTING ( 0x08, DEF_STR( None ) )
|
||||
PORT_DIPNAME(0x30, 0x10, DEF_STR( Coinage ) )
|
||||
PORT_DIPSETTING ( 0x00, "Testmode" )
|
||||
PORT_DIPSETTING ( 0x10, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING ( 0x20, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPSETTING ( 0x00, DEF_STR( Free_Play ) )
|
||||
|
||||
PORT_START("FAKE")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, m10_state, coin_inserted, 0)
|
||||
@ -717,9 +720,9 @@ static INPUT_PORTS_START( headoni )
|
||||
PORT_DIPSETTING ( 0x00, "30000" )
|
||||
PORT_DIPSETTING ( 0x08, DEF_STR( None ) )
|
||||
PORT_DIPNAME(0x30, 0x10, DEF_STR( Coinage ) )
|
||||
PORT_DIPSETTING ( 0x00, "Testmode" )
|
||||
PORT_DIPSETTING ( 0x10, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING ( 0x20, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPSETTING ( 0x00, DEF_STR( Free_Play ) )
|
||||
|
||||
// PORT_START("VR1")
|
||||
// PORT_ADJUSTER( 50, "Car Rumble Volume" )
|
||||
@ -770,9 +773,9 @@ static INPUT_PORTS_START( greenber )
|
||||
PORT_DIPSETTING ( 0x00, "5000" )
|
||||
PORT_DIPSETTING ( 0x08, "7000" )
|
||||
PORT_DIPNAME(0x30, 0x20, DEF_STR( Coinage ) )
|
||||
PORT_DIPSETTING ( 0x00, "Testmode" )
|
||||
PORT_DIPSETTING ( 0x20, DEF_STR( 1C_1C ) )
|
||||
PORT_DIPSETTING ( 0x10, DEF_STR( 1C_2C ) )
|
||||
PORT_DIPSETTING ( 0x00, DEF_STR( Free_Play ) )
|
||||
|
||||
PORT_START("FAKE")
|
||||
PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_COIN1 ) PORT_CHANGED_MEMBER(DEVICE_SELF, m10_state, coin_inserted, 0)
|
||||
|
@ -81,14 +81,11 @@ protected:
|
||||
// video-related
|
||||
tilemap_t * m_tx_tilemap;
|
||||
|
||||
// this is currently unused, because it is needed by gfx_layout (which has no machine)
|
||||
uint32_t extyoffs[32 * 8];
|
||||
|
||||
// video state
|
||||
uint8_t m_flip;
|
||||
uint8_t m_flip = 0;
|
||||
|
||||
// misc
|
||||
int m_last;
|
||||
int m_last = 0;
|
||||
emu_timer *m_interrupt_timer;
|
||||
|
||||
TILEMAP_MAPPER_MEMBER(tilemap_scan);
|
||||
|
@ -20,7 +20,6 @@ static const uint32_t extyoffs[] =
|
||||
STEP256(0, 8)
|
||||
};
|
||||
|
||||
|
||||
static const gfx_layout backlayout =
|
||||
{
|
||||
8,8*32, // 8*(8*32) characters
|
||||
|
Loading…
Reference in New Issue
Block a user