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

    Mad Motor

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

class madmotor_state : public driver_device
{
public:
	madmotor_state(const machine_config &mconfig, device_type type, const char *tag)
		: driver_device(mconfig, type, tag) { }

	/* memory pointers */
	UINT16 *        m_spriteram;
//  UINT16 *        m_paletteram;     // this currently uses generic palette handlers
	size_t          m_spriteram_size;

	/* video-related */
	int             m_flipscreen;

	/* devices */
	device_t *m_maincpu;
	device_t *m_audiocpu;
};


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

VIDEO_START( madmotor );
SCREEN_UPDATE( madmotor );
