diff options
Diffstat (limited to 'src/mess/machine/msx_switched.h')
-rw-r--r-- | src/mess/machine/msx_switched.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/mess/machine/msx_switched.h b/src/mess/machine/msx_switched.h new file mode 100644 index 00000000000..16848c1e3c7 --- /dev/null +++ b/src/mess/machine/msx_switched.h @@ -0,0 +1,19 @@ +#ifndef __MSX_SWITCHED_H +#define __MSX_SWITCHED_H + + +class msx_switched_device : public device_t +{ +public: + msx_switched_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + + virtual UINT8 get_id() = 0; + + virtual DECLARE_READ8_MEMBER(io_read) = 0; + virtual DECLARE_WRITE8_MEMBER(io_write) = 0; + +protected: + virtual void device_start(); +}; + +#endif |