summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/blstroid.h
blob: c48803fb79af0e5510bf1c40e12c96105ed3137c (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
/*************************************************************************

    Atari Blasteroids hardware

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

#include "machine/atarigen.h"

class blstroid_state : public atarigen_state
{
public:
	blstroid_state(const machine_config &mconfig, device_type type, const char *tag)
		: atarigen_state(mconfig, type, tag),
		  m_priorityram(*this, "priorityram") { }

	required_shared_ptr<UINT16>	m_priorityram;
	DECLARE_WRITE16_MEMBER(blstroid_halt_until_hblank_0_w);
	DECLARE_READ16_MEMBER(inputs_r);
	DECLARE_DRIVER_INIT(blstroid);
};


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

VIDEO_START( blstroid );
SCREEN_UPDATE_IND16( blstroid );

void blstroid_scanline_update(screen_device &screen, int scanline);