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


                                           

                                                                                        
 

                         
 






                                











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

	int m_irq_enable;
	UINT8 *m_scroll;

	size_t m_spriteram_size;
	UINT8 *m_spriteram;
	UINT8 *m_videoram;
	UINT8 *m_colorram;
	tilemap_t *m_bg_tilemap;
	int m_charbank;
	int m_palette_bank;
};


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

WRITE8_HANDLER( scotrsht_videoram_w );
WRITE8_HANDLER( scotrsht_colorram_w );
WRITE8_HANDLER( scotrsht_charbank_w );
WRITE8_HANDLER( scotrsht_palettebank_w );

PALETTE_INIT( scotrsht );
VIDEO_START( scotrsht );
SCREEN_UPDATE( scotrsht );