summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/includes/toki.h
blob: 7db761254c8a0c30d2b27fffb2cc8d6991cc3d91 (plain) (tree)
1
2
3
4
5
6


                                       

                                                                                    
 








                                         


  

                                                   
                    



                       



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

	UINT16 *m_videoram;
	int m_msm5205next;
	int m_toggle;
	UINT16 *m_background1_videoram16;
	UINT16 *m_background2_videoram16;
	UINT16 *m_scrollram16;
	tilemap_t *m_background_layer;
	tilemap_t *m_foreground_layer;
	tilemap_t *m_text_layer;
};


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

VIDEO_START( toki );
SCREEN_EOF( toki );
SCREEN_EOF( tokib );
SCREEN_UPDATE( toki );
SCREEN_UPDATE( tokib );
WRITE16_HANDLER( toki_background1_videoram16_w );
WRITE16_HANDLER( toki_background2_videoram16_w );
WRITE16_HANDLER( toki_control_w );
WRITE16_HANDLER( toki_foreground_videoram16_w );