1 // license:GPL-2.0+
2 // copyright-holders:Peter Trauner
3 /*****************************************************************************
4  *
5  * includes/comquest.h
6  *
7  ****************************************************************************/
8 
9 #ifndef MAME_INCLUDES_COMQUEST_H
10 #define MAME_INCLUDES_COMQUEST_H
11 
12 
13 class comquest_state : public driver_device
14 {
15 public:
comquest_state(const machine_config & mconfig,device_type type,const char * tag)16 	comquest_state(const machine_config &mconfig, device_type type, const char *tag)
17 		: driver_device(mconfig, type, tag)
18 		, m_maincpu(*this, "maincpu")
19 	{ }
20 
21 	uint8_t m_data[128][8];
22 	void *m_timer;
23 	int m_line;
24 	int m_dma_activ;
25 	int m_state;
26 	int m_count;
27 	virtual void machine_reset() override;
28 	virtual void video_start() override;
29 	uint32_t screen_update_comquest(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);
30 	required_device<cpu_device> m_maincpu;
31 	void comquest(machine_config &config);
32 	void comquest_mem(address_map &map);
33 };
34 
35 #endif // MAME_INCLUDES_COMQUEST_H
36