8
typedef struct _ym2151_interface ym2151_interface;
9
struct _ym2151_interface
11
void (*irqhandler)(device_t *device, int irq);
12
write8_device_func portwritehandler;
15
READ8_DEVICE_HANDLER( ym2151_r );
16
WRITE8_DEVICE_HANDLER( ym2151_w );
18
READ8_DEVICE_HANDLER( ym2151_status_port_r );
19
WRITE8_DEVICE_HANDLER( ym2151_register_port_w );
20
WRITE8_DEVICE_HANDLER( ym2151_data_port_w );
22
DECLARE_LEGACY_SOUND_DEVICE(YM2151, ym2151);
24
#endif /* __2151INTF_H__ */