diff options
author | 2015-09-13 08:41:44 +0200 | |
---|---|---|
committer | 2015-09-13 08:41:44 +0200 | |
commit | f88cefad27a1737c76e09d99c9fb43e173506081 (patch) | |
tree | 2d8167d03579c46e226471747eb4407bd00ed6fa /src/devices/bus/msx_cart/arc.h | |
parent | e92ac9e0fa8e99869894bea00589bbb526be30aa (diff) |
Move all devices into separate part of src tree (nw)
Diffstat (limited to 'src/devices/bus/msx_cart/arc.h')
-rw-r--r-- | src/devices/bus/msx_cart/arc.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/devices/bus/msx_cart/arc.h b/src/devices/bus/msx_cart/arc.h new file mode 100644 index 00000000000..57e96c5a925 --- /dev/null +++ b/src/devices/bus/msx_cart/arc.h @@ -0,0 +1,34 @@ +// license:BSD-3-Clause +// copyright-holders:Wilbert Pol +#ifndef __MSX_CART_ARC_H +#define __MSX_CART_ARC_H + +#include "bus/msx_cart/cartridge.h" + + +extern const device_type MSX_CART_ARC; + + +class msx_cart_arc : public device_t + , public msx_cart_interface +{ +public: + msx_cart_arc(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); + + // device-level overrides + virtual void device_start(); + virtual void device_reset(); + + virtual void initialize_cartridge(); + + virtual DECLARE_READ8_MEMBER(read_cart); + + DECLARE_WRITE8_MEMBER(io_7f_w); + DECLARE_READ8_MEMBER(io_7f_r); + +private: + UINT8 m_7f; +}; + + +#endif |