/*

    SCSP (YMF292-F) header
*/

#ifndef _SCSP_H_
#define _SCSP_H_

struct SCSPinterface
{
	int region; 				/* region of 512k RAM */
	int roffset;				/* offset in the region */
	void (*irq_callback)(int state);	/* irq callback */
};

/* SCSP register access */
READ16_HANDLER( SCSP_0_r );
WRITE16_HANDLER( SCSP_0_w );
READ16_HANDLER( SCSP_1_r );
WRITE16_HANDLER( SCSP_1_w );

/* MIDI I/O access (used for comms on Model 2/3) */
WRITE16_HANDLER( SCSP_MidiIn );
READ16_HANDLER( SCSP_MidiOutR );

#endif
