From b5c1fcb2eb64bf3b14564f8471538224239cd2f1 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 8 Oct 2017 10:17:20 -0400 Subject: notechan: Probable 6295 banking bit (nw) --- src/mame/drivers/notechan.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mame/drivers/notechan.cpp b/src/mame/drivers/notechan.cpp index 1ad3f62edb3..d7c37fcecad 100644 --- a/src/mame/drivers/notechan.cpp +++ b/src/mame/drivers/notechan.cpp @@ -175,9 +175,11 @@ class notechan_state : public driver_device public: notechan_state(const machine_config &mconfig, device_type type, const char *tag) : driver_device(mconfig, type, tag), - m_maincpu(*this, "maincpu") { } + m_maincpu(*this, "maincpu"), + m_oki(*this, "oki") { } required_device m_maincpu; + required_device m_oki; DECLARE_WRITE8_MEMBER(out_f8_w); DECLARE_WRITE8_MEMBER(out_f9_w); @@ -240,6 +242,8 @@ WRITE8_MEMBER(notechan_state::out_f9_w) WRITE8_MEMBER(notechan_state::out_fa_w) { + m_oki->set_rom_bank(BIT(data, 5)); + output().set_lamp_value(16, data & 1 ); output().set_lamp_value(17, data >> 1 & 1); output().set_lamp_value(18, data >> 2 & 1); -- cgit v1.2.3