summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/igs028.h
blob: 41b9811bf34a43f348abab60a4b8dcc840ebbc0c (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
// license:BSD-3-Clause
// copyright-holders:David Haywood, ElSemi
/* IGS 028 */



class igs028_device : public device_t
{
public:
	igs028_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);

	UINT16* m_sharedprotram;

	void IGS028_handle(void);

protected:
	virtual void device_config_complete();
	virtual void device_validity_check(validity_checker &valid) const;
	virtual void device_start();
	virtual void device_reset();

	UINT32 olds_prot_addr(UINT16 addr);
	UINT32 olds_read_reg(UINT16 addr);
	void olds_write_reg( UINT16 addr, UINT32 val );
	void IGS028_do_dma(UINT16 src, UINT16 dst, UINT16 size, UINT16 mode);
};



extern const device_type IGS028;