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

CuboCD32 definitions

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

#ifndef __CUBOCD32_H__
#define __CUBOCD32_H__

#include "includes/amiga.h"
#include "machine/microtch.h"

class cd32_state : public amiga_state
{
public:
	cd32_state(const machine_config &mconfig, device_type type, const char *tag)
		: amiga_state(mconfig, type, tag),
		  m_microtouch(*this, "microtouch")
		{ }

	required_device<microtouch_device> m_microtouch;
	
	DECLARE_WRITE8_MEMBER(microtouch_tx);
	UINT16 m_potgo_value;
	int m_cd32_shifter[2];
	void (*m_input_hack)(running_machine &machine);
	int m_oldstate[2];
};

/*----------- defined in machine/cd32.c -----------*/

READ32_DEVICE_HANDLER( amiga_akiko32_r );
WRITE32_DEVICE_HANDLER( amiga_akiko32_w );

DECLARE_LEGACY_DEVICE(AKIKO, akiko);

#endif /* __CUBOCD32_H__ */