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

    Popper

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

typedef struct _popper_state popper_state;
struct _popper_state
{
	/* memory pointers */
	UINT8 * videoram;
	UINT8 * ol_videoram;
	UINT8 * attribram;
	UINT8 * ol_attribram;
	UINT8 * spriteram;
//  size_t spriteram_size;

	/* video-related */
	tilemap *p123_tilemap, *p0_tilemap;
	tilemap *ol_p123_tilemap, *ol_p0_tilemap;
	INT32 flipscreen, e002, gfx_bank;
	rectangle tilemap_clip;
};


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

WRITE8_HANDLER( popper_videoram_w );
WRITE8_HANDLER( popper_attribram_w );
WRITE8_HANDLER( popper_ol_videoram_w );
WRITE8_HANDLER( popper_ol_attribram_w );
WRITE8_HANDLER( popper_flipscreen_w );
WRITE8_HANDLER( popper_e002_w );
WRITE8_HANDLER( popper_gfx_bank_w );

PALETTE_INIT( popper );
VIDEO_START( popper );
VIDEO_UPDATE( popper );


