#pragma once

#ifndef __YMF278B_H__
#define __YMF278B_H__

#define YMF278B_STD_CLOCK (33868800)			/* standard clock for OPL4 */


typedef struct _ymf278b_interface ymf278b_interface;
struct _ymf278b_interface
{
	void (*irq_callback)(const device_config *device, int state);	/* irq callback */
};

READ8_DEVICE_HANDLER( ymf278b_r );
WRITE8_DEVICE_HANDLER( ymf278b_w );

DEVICE_GET_INFO( ymf278b );
#define SOUND_YMF278B DEVICE_GET_INFO_NAME( ymf278b )

#endif /* __YMF278B_H__ */
