summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/msx_switched.h
blob: 16848c1e3c77f016615165ff7f07bcd2c8a91f98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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