blob: cc040eb28ad25cf71555dede09faef78700902bf (
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
34
35
36
37
38
39
40
41
42
43
44
45
|
/*****************************************************************************
*
* audio/t6721.h
*
****************************************************************************/
#ifndef __T6721_H__
#define __T6721_H__
#include "devcb.h"
/***************************************************************************
DEVICE CONFIGURATION MACROS
***************************************************************************/
class t6721_device : public device_t
{
public:
t6721_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
~t6721_device() { global_free(m_token); }
// access to legacy token
void *token() const { assert(m_token != NULL); return m_token; }
protected:
// device-level overrides
virtual void device_config_complete();
virtual void device_start();
virtual void device_reset();
private:
// internal state
void *m_token;
};
extern const device_type T6721;
#define MCFG_T6721_ADD(_tag) \
MCFG_DEVICE_ADD(_tag, T6721, 0)
/*----------- defined in audio/t6721.c -----------*/
DECLARE_WRITE8_DEVICE_HANDLER(t6721_speech_w);
DECLARE_READ8_DEVICE_HANDLER(t6721_speech_r);
#endif /* __TED7360_H__ */
|