summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/topspeed.h
blob: 544d78d0044cf9928d59ac267ac4d08e81ce9bbe (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
35
36
37
38
39
40
41
42
43
/*************************************************************************

    Top Speed / Full Throttle

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

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

	/* memory pointers */
	UINT16 *   m_spritemap;
	UINT16 *   m_raster_ctrl;
	UINT16 *   m_spriteram;
	UINT16 *   m_sharedram;
//  UINT16 *    paletteram;    // currently this uses generic palette handling
	size_t     m_spriteram_size;
	size_t     m_sharedram_size;

	/* misc */
	UINT16     m_cpua_ctrl;
	INT32      m_ioc220_port;
	INT32      m_banknum;
	int        m_adpcm_pos;
	int        m_adpcm_data;

	/* devices */
	device_t *m_maincpu;
	device_t *m_audiocpu;
	device_t *m_subcpu;
	device_t *m_pc080sn_1;
	device_t *m_pc080sn_2;
	device_t *m_tc0220ioc;

	UINT8 m_dislayer[5];
};


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

SCREEN_UPDATE( topspeed );