blob: 2e9a1f38b919bcad0894ed59a154343f8d4c6b3c (
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
|
/**********************************************************************************************
*
* Yamaha YMZ280B driver
* by Aaron Giles
*
**********************************************************************************************/
#pragma once
#ifndef __YMZ280B_H__
#define __YMZ280B_H__
#include "devcb.h"
typedef struct _ymz280b_interface ymz280b_interface;
struct _ymz280b_interface
{
void (*irq_callback)(const device_config *device, int state); /* irq callback */
devcb_read8 ext_read; /* external RAM read */
devcb_write8 ext_write; /* external RAM write */
};
READ8_DEVICE_HANDLER ( ymz280b_r );
WRITE8_DEVICE_HANDLER( ymz280b_w );
READ16_DEVICE_HANDLER ( ymz280b_word_r );
WRITE16_DEVICE_HANDLER( ymz280b_word_w );
DEVICE_GET_INFO( ymz280b );
#define SOUND_YMZ280B DEVICE_GET_INFO_NAME( ymz280b )
#endif /* __YMZ280B_H__ */
|