/***************************************************************************

    Technos Mysterious Stones hardware

    driver by Nicola Salmoria

***************************************************************************/


#define	MYSTSTON_MASTER_CLOCK	(XTAL_12MHz)


typedef struct _mystston_state mystston_state;
struct _mystston_state
{
	/* machine state */
	UINT8 *ay8910_data;
	UINT8 *ay8910_select;

	/* video state */
	tilemap *fg_tilemap;
	tilemap *bg_tilemap;
	emu_timer *interrupt_timer;
	UINT8 *bg_videoram;
	UINT8 *fg_videoram;
	UINT8 *spriteram;
	UINT8 *paletteram;
	UINT8 *scroll;
	UINT8 *video_control;
};


/*----------- defined in drivers/mystston.c -----------*/

void mystston_on_scanline_interrupt(running_machine *machine);


/*----------- defined in video/mystston.c -----------*/

MACHINE_DRIVER_EXTERN( mystston_video );
WRITE8_HANDLER( mystston_video_control_w );
