diff options
Diffstat (limited to 'src/mame/drivers/ertictac.c')
-rw-r--r-- | src/mame/drivers/ertictac.c | 57 |
1 files changed, 28 insertions, 29 deletions
diff --git a/src/mame/drivers/ertictac.c b/src/mame/drivers/ertictac.c index cc871dad2d6..6c25646e70c 100644 --- a/src/mame/drivers/ertictac.c +++ b/src/mame/drivers/ertictac.c @@ -96,47 +96,47 @@ static INPUT_PORTS_START( ertictac ) PORT_BIT( 0x00c4, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_START("DSW1") - PORT_DIPNAME( 0x01, 0x00, DEF_STR( Language ) ) PORT_DIPLOCATION("DSW1:2") + PORT_DIPNAME( 0x01, 0x00, DEF_STR( Language ) ) PORT_DIPLOCATION("DSW1:2") PORT_DIPSETTING( 0x01, DEF_STR( French ) ) PORT_DIPSETTING( 0x00, DEF_STR( English ) ) - PORT_DIPNAME( 0x02, 0x02, "Demo Sound" ) PORT_DIPLOCATION("DSW1:3") + PORT_DIPNAME( 0x02, 0x02, "Demo Sound" ) PORT_DIPLOCATION("DSW1:3") PORT_DIPSETTING( 0x00, DEF_STR( No ) ) PORT_DIPSETTING( 0x02, DEF_STR( Yes ) ) - PORT_DIPNAME( 0x04, 0x04, "Test Mode" ) PORT_DIPLOCATION("DSW1:1") + PORT_DIPNAME( 0x04, 0x04, "Test Mode" ) PORT_DIPLOCATION("DSW1:1") PORT_DIPSETTING( 0x04, DEF_STR( No ) ) PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) - PORT_DIPNAME( 0x08, 0x00, "Music" ) PORT_DIPLOCATION("DSW1:4") + PORT_DIPNAME( 0x08, 0x00, "Music" ) PORT_DIPLOCATION("DSW1:4") PORT_DIPSETTING( 0x00, DEF_STR( No ) ) PORT_DIPSETTING( 0x08, DEF_STR( Yes ) ) - PORT_DIPNAME( 0x30, 0x30, "Game Timing" ) PORT_DIPLOCATION("DSW1:5,6") + PORT_DIPNAME( 0x30, 0x30, "Game Timing" ) PORT_DIPLOCATION("DSW1:5,6") PORT_DIPSETTING( 0x30, "Normal Game" ) PORT_DIPSETTING( 0x20, "3:00" ) PORT_DIPSETTING( 0x10, "2:30" ) PORT_DIPSETTING( 0x00, "2:00" ) - PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW1:7,8") + PORT_DIPNAME( 0xc0, 0xc0, DEF_STR( Difficulty ) ) PORT_DIPLOCATION("DSW1:7,8") PORT_DIPSETTING( 0xc0, DEF_STR( Normal ) ) PORT_DIPSETTING( 0x80, DEF_STR( Easy ) ) PORT_DIPSETTING( 0x40, DEF_STR( Difficult ) ) PORT_DIPSETTING( 0x00, DEF_STR( Very_Difficult ) ) PORT_START("DSW2") - PORT_DIPNAME( 0x05, 0x00, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW2:1,2") + PORT_DIPNAME( 0x05, 0x00, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("DSW2:1,2") PORT_DIPSETTING( 0x05, DEF_STR( 4C_1C ) ) PORT_DIPSETTING( 0x01, DEF_STR( 3C_1C ) ) PORT_DIPSETTING( 0x04, DEF_STR( 2C_1C ) ) PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) - PORT_DIPNAME( 0x0a, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW2:3,4") + PORT_DIPNAME( 0x0a, 0x00, DEF_STR( Coin_B ) ) PORT_DIPLOCATION("DSW2:3,4") PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x02, DEF_STR( 1C_2C ) ) PORT_DIPSETTING( 0x08, DEF_STR( 1C_3C ) ) PORT_DIPSETTING( 0x0a, DEF_STR( 1C_4C ) ) - PORT_DIPNAME( 0x10, 0x00, "Sexy Views" ) PORT_DIPLOCATION("DSW2:5") + PORT_DIPNAME( 0x10, 0x00, "Sexy Views" ) PORT_DIPLOCATION("DSW2:5") PORT_DIPSETTING( 0x10, DEF_STR( No ) ) PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) - PORT_DIPNAME( 0x20, 0x20, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("DSW2:6") + PORT_DIPNAME( 0x20, 0x20, DEF_STR( Free_Play ) ) PORT_DIPLOCATION("DSW2:6") PORT_DIPSETTING( 0x20, DEF_STR( No ) ) PORT_DIPSETTING( 0x00, DEF_STR( Yes ) ) @@ -172,22 +172,22 @@ static INPUT_PORTS_START( poizone ) PORT_DIPSETTING( 0x01, "Manual" ) PORT_DIPSETTING( 0x00, "Automatic" ) PORT_DIPNAME( 0x1A, 0x00, "Setting 2" ) PORT_DIPLOCATION("DSW2:3,4,5") - PORT_DIPSETTING( 0x00, "Extremely Easy - 2:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) - PORT_DIPSETTING( 0x02, "Very Easy - 1:30") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) - PORT_DIPSETTING( 0x08, "Easy - 2:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) - PORT_DIPSETTING( 0x0A, "Normal 1 - 1:30") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) - PORT_DIPSETTING( 0x10, "Normal 2 - 1:45") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) - PORT_DIPSETTING( 0x12, "Difficult - 2:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) - PORT_DIPSETTING( 0x18, "Very Difficult - 2:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) - PORT_DIPSETTING( 0x1A, "Extremely Difficult - 1:30") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) - PORT_DIPSETTING( 0x00, "Clear 20% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) - PORT_DIPSETTING( 0x02, "Clear 30% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) - PORT_DIPSETTING( 0x08, "Clear 40% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) - PORT_DIPSETTING( 0x0A, "Clear 50% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) - PORT_DIPSETTING( 0x10, "Clear 60% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) - PORT_DIPSETTING( 0x12, "Clear 70% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) - PORT_DIPSETTING( 0x18, "Clear 80% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) - PORT_DIPSETTING( 0x1A, "Clear 90% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) + PORT_DIPSETTING( 0x00, "Extremely Easy - 2:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) + PORT_DIPSETTING( 0x02, "Very Easy - 1:30") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) + PORT_DIPSETTING( 0x08, "Easy - 2:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) + PORT_DIPSETTING( 0x0A, "Normal 1 - 1:30") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) + PORT_DIPSETTING( 0x10, "Normal 2 - 1:45") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) + PORT_DIPSETTING( 0x12, "Difficult - 2:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) + PORT_DIPSETTING( 0x18, "Very Difficult - 2:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) + PORT_DIPSETTING( 0x1A, "Extremely Difficult - 1:30") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x00) + PORT_DIPSETTING( 0x00, "Clear 20% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) + PORT_DIPSETTING( 0x02, "Clear 30% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) + PORT_DIPSETTING( 0x08, "Clear 40% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) + PORT_DIPSETTING( 0x0A, "Clear 50% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) + PORT_DIPSETTING( 0x10, "Clear 60% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) + PORT_DIPSETTING( 0x12, "Clear 70% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) + PORT_DIPSETTING( 0x18, "Clear 80% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) + PORT_DIPSETTING( 0x1A, "Clear 90% - 1:00") PORT_CONDITION("DSW2", 0x01, EQUALS, 0x01) PORT_DIPUNKNOWN_DIPLOC( 0x04, 0x04, "DSW2:1" ) PORT_DIPUNKNOWN_DIPLOC( 0x20, 0x20, "DSW2:6" ) INPUT_PORTS_END @@ -216,8 +216,8 @@ INTERRUPT_GEN_MEMBER(ertictac_state::ertictac_podule_irq) } /* TODO: Are we sure that this HW have I2C device? */ -#define NVRAM_SIZE 256 -#define NVRAM_PAGE_SIZE 0 /* max size of one write request */ +#define NVRAM_SIZE 256 +#define NVRAM_PAGE_SIZE 0 /* max size of one write request */ static const i2cmem_interface i2cmem_interface = { @@ -339,4 +339,3 @@ ROM_END GAME( 1990, ertictac, 0, ertictac, ertictac, ertictac_state, ertictac, ROT0, "Sisteme", "Erotictac/Tactic" ,GAME_IMPERFECT_SOUND) GAME( 1990, ertictaca, ertictac, ertictac, ertictac, ertictac_state, ertictac, ROT0, "Sisteme", "Erotictac/Tactic (ver 01)" ,GAME_IMPERFECT_SOUND) GAME( 1991, poizone, 0, ertictac, poizone, ertictac_state, ertictac, ROT0, "Eterna" ,"Poizone" ,GAME_IMPERFECT_SOUND|GAME_IMPERFECT_GRAPHICS) - |