diff options
Diffstat (limited to 'src/mame/drivers/cloak.c')
-rw-r--r-- | src/mame/drivers/cloak.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/mame/drivers/cloak.c b/src/mame/drivers/cloak.c index c4ad239b5fe..53ca649ee49 100644 --- a/src/mame/drivers/cloak.c +++ b/src/mame/drivers/cloak.c @@ -167,8 +167,8 @@ static ADDRESS_MAP_START( master_map, AS_PROGRAM, 8, cloak_state ) AM_RANGE(0x0000, 0x03ff) AM_RAM AM_RANGE(0x0400, 0x07ff) AM_RAM_WRITE(cloak_videoram_w) AM_SHARE("videoram") AM_RANGE(0x0800, 0x0fff) AM_RAM AM_SHARE("share1") - AM_RANGE(0x1000, 0x100f) AM_DEVREADWRITE("pokey1", pokey_device, read, write) /* DSW0 also */ - AM_RANGE(0x1800, 0x180f) AM_DEVREADWRITE("pokey2", pokey_device, read, write) /* DSW1 also */ + AM_RANGE(0x1000, 0x100f) AM_DEVREADWRITE("pokey1", pokey_device, read, write) /* DSW0 also */ + AM_RANGE(0x1800, 0x180f) AM_DEVREADWRITE("pokey2", pokey_device, read, write) /* DSW1 also */ AM_RANGE(0x2000, 0x2000) AM_READ_PORT("P1") AM_RANGE(0x2200, 0x2200) AM_READ_PORT("P2") AM_RANGE(0x2400, 0x2400) AM_READ_PORT("SYSTEM") @@ -179,7 +179,7 @@ static ADDRESS_MAP_START( master_map, AS_PROGRAM, 8, cloak_state ) AM_RANGE(0x3200, 0x327f) AM_WRITE(cloak_paletteram_w) AM_RANGE(0x3800, 0x3801) AM_WRITE(cloak_coin_counter_w) AM_RANGE(0x3803, 0x3803) AM_WRITE(cloak_flipscreen_w) - AM_RANGE(0x3805, 0x3805) AM_WRITENOP // ??? + AM_RANGE(0x3805, 0x3805) AM_WRITENOP // ??? AM_RANGE(0x3806, 0x3807) AM_WRITE(cloak_led_w) AM_RANGE(0x3a00, 0x3a00) AM_WRITE(watchdog_reset_w) AM_RANGE(0x3c00, 0x3c00) AM_WRITE(cloak_irq_reset_0_w) @@ -225,21 +225,21 @@ static INPUT_PORTS_START( cloak ) PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_JOYSTICKLEFT_LEFT ) PORT_8WAY PORT_START("P2") - PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) // player 2 controls, not used + PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED ) // player 2 controls, not used PORT_START("SYSTEM") PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_CUSTOM ) PORT_VBLANK("screen") PORT_SERVICE( 0x02, IP_ACTIVE_LOW ) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_COIN1 ) - PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) // cocktail mode switch, not used + PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) // cocktail mode switch, not used PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_SERVICE1 ) - PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) // player 2 button 1, not used + PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNUSED ) // player 2 button 1, not used PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_START("START") - PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED ) // not connected - PORT_BIT( 0x30, IP_ACTIVE_HIGH, IPT_UNUSED ) // pulled high + PORT_BIT( 0x0f, IP_ACTIVE_LOW, IPT_UNUSED ) // not connected + PORT_BIT( 0x30, IP_ACTIVE_HIGH, IPT_UNUSED ) // pulled high PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_START2 ) PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_START1 ) @@ -257,11 +257,11 @@ static INPUT_PORTS_START( cloak ) PORT_DIPNAME( 0x10, 0x00, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("5A:!4") PORT_DIPSETTING( 0x00, DEF_STR( 1C_1C ) ) PORT_DIPSETTING( 0x10, DEF_STR( 1C_2C ) ) - PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED ) // "5A:!3" - it must be OFF according to manual. - PORT_DIPNAME( 0x40, 0x00, "Demo Freeze Mode" ) PORT_DIPLOCATION("5A:!2") // when active, press button 1 to freeze + PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED ) // "5A:!3" - it must be OFF according to manual. + PORT_DIPNAME( 0x40, 0x00, "Demo Freeze Mode" ) PORT_DIPLOCATION("5A:!2") // when active, press button 1 to freeze PORT_DIPSETTING( 0x00, DEF_STR( Off ) ) PORT_DIPSETTING( 0x40, DEF_STR( On ) ) - PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED ) // "5A:!1" - Not Used according to manual. + PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED ) // "5A:!1" - Not Used according to manual. INPUT_PORTS_END @@ -331,11 +331,11 @@ static const pokey_interface pokey_interface_2 = static MACHINE_CONFIG_START( cloak, cloak_state ) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", M6502, 1000000) /* 1 MHz ???? */ + MCFG_CPU_ADD("maincpu", M6502, 1000000) /* 1 MHz ???? */ MCFG_CPU_PROGRAM_MAP(master_map) MCFG_CPU_PERIODIC_INT_DRIVER(cloak_state, irq0_line_hold, 4*60) - MCFG_CPU_ADD("slave", M6502, 1250000) /* 1.25 MHz ???? */ + MCFG_CPU_ADD("slave", M6502, 1250000) /* 1.25 MHz ???? */ MCFG_CPU_PROGRAM_MAP(slave_map) MCFG_CPU_PERIODIC_INT_DRIVER(cloak_state, irq0_line_hold, 2*60) @@ -359,12 +359,12 @@ static MACHINE_CONFIG_START( cloak, cloak_state ) MCFG_SPEAKER_STANDARD_MONO("mono") /* more low pass filters ==> DISCRETE processing */ - MCFG_POKEY_ADD("pokey1", XTAL_10MHz/8) /* Accurate to recording */ + MCFG_POKEY_ADD("pokey1", XTAL_10MHz/8) /* Accurate to recording */ MCFG_POKEY_CONFIG(pokey_interface_1) MCFG_POKEY_OUTPUT_OPAMP_LOW_PASS(RES_K(1), CAP_U(0.047), 5.0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) - MCFG_POKEY_ADD("pokey2", XTAL_10MHz/8) /* Accurate to recording */ + MCFG_POKEY_ADD("pokey2", XTAL_10MHz/8) /* Accurate to recording */ MCFG_POKEY_CONFIG(pokey_interface_2) MCFG_POKEY_OUTPUT_OPAMP_LOW_PASS(RES_K(1), CAP_U(0.022), 5.0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) |