summaryrefslogblamecommitdiffstatshomepage
path: root/src/mame/includes/psikyo4.h
blob: 12db52131601ef9ffca4685acf156679c4b73d11 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                          
                                          
 
       

                                                                                       
 
                             







                                        

                           

                                 
 
                     
                            





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

    Psikyo PS6807 (PS4)

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

#define MASTER_CLOCK 57272700	// main oscillator frequency


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

	/* memory pointers */
	UINT32 *       m_vidregs;
	UINT32 *       m_paletteram;
	UINT32 *       m_ram;
	UINT32 *       m_io_select;
	UINT32 *       m_bgpen_1;
	UINT32 *       m_bgpen_2;
	UINT32 *       m_spriteram;
	size_t         m_spriteram_size;

	/* video-related */
	double         m_oldbrt1;
	double         m_oldbrt2;

	/* devices */
	device_t *m_maincpu;
};


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

VIDEO_START( psikyo4 );
SCREEN_UPDATE( psikyo4 );