summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/includes/comquest.h
blob: 9d087b4355a43f7d4373f6df38d5e7e62415e2a1 (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
/*****************************************************************************
 *
 * includes/comquest.h
 *
 ****************************************************************************/

#ifndef COMQUEST_H_
#define COMQUEST_H_


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

	UINT8 m_data[128][8];
	void *m_timer;
	int m_line;
	int m_dma_activ;
	int m_state;
	int m_count;
	DECLARE_READ8_MEMBER(comquest_read);
	DECLARE_WRITE8_MEMBER(comquest_write);
	virtual void machine_reset();
	virtual void video_start();
	UINT32 screen_update_comquest(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
};

#endif /* COMQUEST_H_ */