summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/msx_systemflags.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/msx_systemflags.c')
-rw-r--r--src/mess/machine/msx_systemflags.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/mess/machine/msx_systemflags.c b/src/mess/machine/msx_systemflags.c
deleted file mode 100644
index ee443f79471..00000000000
--- a/src/mess/machine/msx_systemflags.c
+++ /dev/null
@@ -1,40 +0,0 @@
-// license:BSD-3-Clause
-// copyright-holders:Wilbert Pol
-#include "emu.h"
-#include "msx_systemflags.h"
-
-
-const device_type MSX_SYSTEMFLAGS = &device_creator<msx_systemflags_device>;
-
-
-msx_systemflags_device::msx_systemflags_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : device_t(mconfig, MSX_SYSTEMFLAGS, "MSX System Flags", tag, owner, clock, "msx_systemflags", __FILE__)
- , m_initial_value(0xff)
- , m_system_flags(0xff)
-{
-}
-
-
-void msx_systemflags_device::device_start()
-{
- m_system_flags = m_initial_value;
-
- save_item(NAME(m_system_flags));
-
- // Install IO read/write handlers
- address_space &space = machine().device<cpu_device>("maincpu")->space(AS_IO);
- space.install_write_handler(0xf4, 0xf4, write8_delegate(FUNC(msx_systemflags_device::write), this));
- space.install_read_handler(0xf4, 0xf4, read8_delegate(FUNC(msx_systemflags_device::read), this));
-}
-
-
-READ8_MEMBER(msx_systemflags_device::read)
-{
- return m_system_flags;
-}
-
-
-WRITE8_MEMBER(msx_systemflags_device::write)
-{
- m_system_flags = data;
-}