From 4eafe4e9ccad3db09f890b52d1ca57c0e1538d25 Mon Sep 17 00:00:00 2001 From: hap Date: Sun, 11 Jun 2023 12:21:44 +0200 Subject: [PATCH] namcos10: put test switch on F2 --- src/mame/capcom/bionicc.cpp | 9 ++++----- src/mame/namco/namcos10.cpp | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/mame/capcom/bionicc.cpp b/src/mame/capcom/bionicc.cpp index 8f30ecd088c..664713046d1 100644 --- a/src/mame/capcom/bionicc.cpp +++ b/src/mame/capcom/bionicc.cpp @@ -114,8 +114,7 @@ public: m_spriteram(*this, "spriteram") , m_txvideoram(*this, "txvideoram"), m_fgvideoram(*this, "fgvideoram"), - m_bgvideoram(*this, "bgvideoram"), - m_mcu_p3(0xff) + m_bgvideoram(*this, "bgvideoram") { } void bionicc(machine_config &config); @@ -169,7 +168,7 @@ private: u8 m_audiocpu_to_mcu = 0; // ls374 at 4a u8 m_mcu_to_audiocpu = 0; // ls374 at 5a u8 m_mcu_p1 = 0; - u8 m_mcu_p3; + u8 m_mcu_p3 = 0xff; void dmaon_w(u16 data); u8 mcu_dma_r(offs_t offset); @@ -186,9 +185,9 @@ void bionicc_state::main_map(address_map &map) { map.global_mask(0xfffff); map(0x00000, 0x3ffff).rom(); - map(0xe0000, 0xe07ff).ram(); /* RAM? */ + map(0xe0000, 0xe07ff).ram(); // RAM? map(0xe0800, 0xe0cff).ram().share("spriteram"); - map(0xe0d00, 0xe3fff).ram(); /* RAM? */ + map(0xe0d00, 0xe3fff).ram(); // RAM? map(0xe4000, 0xe4000).mirror(0x3ffc).w(FUNC(bionicc_state::output_w)); map(0xe4000, 0xe4001).mirror(0x3ffc).portr("INPUTS"); map(0xe4002, 0xe4002).mirror(0x3ffc).w(FUNC(bionicc_state::audiocpu_nmi_w)); diff --git a/src/mame/namco/namcos10.cpp b/src/mame/namco/namcos10.cpp index 665233cb263..803ae0bfcee 100644 --- a/src/mame/namco/namcos10.cpp +++ b/src/mame/namco/namcos10.cpp @@ -3019,7 +3019,7 @@ static INPUT_PORTS_START( namcos10 ) PORT_BIT( 0x10000000, IP_ACTIVE_LOW, IPT_COIN2 ) PORT_BIT( 0x20000000, IP_ACTIVE_LOW, IPT_COIN1 ) - PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_SERVICE2 ) PORT_TOGGLE // Test SW, almost all games expect this to be a slide type and the medal games explicitly say "slide on and off test to restart" + PORT_BIT( 0x40000000, IP_ACTIVE_LOW, IPT_SERVICE ) PORT_TOGGLE // Test SW, almost all games expect this to be a slide type and the medal games explicitly say "slide on and off test to restart" PORT_BIT( 0x80000000, IP_ACTIVE_LOW, IPT_SERVICE1 ) PORT_START("EXIO_IN1")