blob: 98ecdcf631d1f38f92f92b4752c9915f0d197d39 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// license:BSD-3-Clause
// copyright-holders:Wilbert Pol
#ifndef __MSX_S1985_H
#define __MSX_S1985_H
#include "msx_switched.h"
extern const device_type MSX_S1985;
#define MCFG_MSX_S1985_ADD(_tag) \
MCFG_DEVICE_ADD(_tag, MSX_S1985, 0)
class msx_s1985_device : public msx_switched_device
{
public:
msx_s1985_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
virtual UINT8 get_id();
virtual DECLARE_READ8_MEMBER(io_read);
virtual DECLARE_WRITE8_MEMBER(io_write);
private:
UINT8 m_6_1;
UINT8 m_6_2;
UINT8 m_7;
};
#endif
|