summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/relief.h
blob: cae4ad37e3d2d2d402aac433563529b4027693e6 (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
// license:BSD-3-Clause
// copyright-holders:Aaron Giles
/*************************************************************************

    Atari "Round" hardware

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

#include "machine/atarigen.h"
#include "video/atarimo.h"

class relief_state : public atarigen_state
{
public:
	relief_state(const machine_config &mconfig, device_type type, const char *tag)
		: atarigen_state(mconfig, type, tag),
			m_vad(*this, "vad"),
			m_okibank(*this, "okibank")
			{ }

	required_device<atari_vad_device> m_vad;
	required_memory_bank m_okibank;

	UINT8           m_ym2413_volume;
	UINT8           m_overall_volume;
	UINT8           m_adpcm_bank;
	virtual void update_interrupts() override;
	DECLARE_READ16_MEMBER(special_port2_r);
	DECLARE_WRITE16_MEMBER(audio_control_w);
	DECLARE_WRITE16_MEMBER(audio_volume_w);
	DECLARE_DRIVER_INIT(relief);
	TILE_GET_INFO_MEMBER(get_playfield_tile_info);
	TILE_GET_INFO_MEMBER(get_playfield2_tile_info);
	DECLARE_MACHINE_START(relief);
	DECLARE_MACHINE_RESET(relief);
	DECLARE_VIDEO_START(relief);
	UINT32 screen_update_relief(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect);

	static const atari_motion_objects_config s_mob_config;
};