#ifndef namco_h
#define namco_h

struct namco_interface
{
	int voices;		/* number of voices */
	int region;		/* memory region; -1 to use RAM (pointed to by namco_wavedata) */
	int stereo;		/* set to 1 to indicate stereo (e.g., System 1) */
};

WRITE8_HANDLER( pacman_sound_enable_w );
WRITE8_HANDLER( pacman_sound_w );

void polepos_sound_enable(int enable);
WRITE8_HANDLER( polepos_sound_w );

void mappy_sound_enable(int enable);
WRITE8_HANDLER( namco_15xx_w );

WRITE8_HANDLER( namcos1_cus30_w );	/* wavedata + sound registers + RAM */
READ8_HANDLER( namcos1_cus30_r );

extern data8_t *namco_soundregs;
extern data8_t *namco_wavedata;

#define pacman_soundregs namco_soundregs
#define polepos_soundregs namco_soundregs

#endif

