namcos10: put test switch on F2

This commit is contained in:
hap 2023-06-11 12:21:44 +02:00
parent b722284b54
commit 4eafe4e9cc
2 changed files with 5 additions and 6 deletions

View File

@ -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));

View File

@ -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")