summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/stlforce.h
blob: ec72c92cc3218301930da592c3bd3cbda7905faa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
class stlforce_state : public driver_device
{
public:
	stlforce_state(const machine_config &mconfig, device_type type, const char *tag)
		: driver_device(mconfig, type, tag) { }

	tilemap_t *m_bg_tilemap;
	tilemap_t *m_mlow_tilemap;
	tilemap_t *m_mhigh_tilemap;
	tilemap_t *m_tx_tilemap;

	UINT16 *m_bg_videoram;
	UINT16 *m_mlow_videoram;
	UINT16 *m_mhigh_videoram;
	UINT16 *m_tx_videoram;
	UINT16 *m_bg_scrollram;
	UINT16 *m_mlow_scrollram;
	UINT16 *m_mhigh_scrollram;
	UINT16 *m_vidattrram;

	UINT16 *m_spriteram;

	int m_sprxoffs;
};


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

VIDEO_START( stlforce );
SCREEN_UPDATE( stlforce );
WRITE16_HANDLER( stlforce_tx_videoram_w );
WRITE16_HANDLER( stlforce_mhigh_videoram_w );
WRITE16_HANDLER( stlforce_mlow_videoram_w );
WRITE16_HANDLER( stlforce_bg_videoram_w );