blob: 871d2e5b92d2509b49f8e411963998892d3b9fab (
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
|
/***************************************************************************
namcond1.h
Common functions & declarations for the Namco ND-1 driver
***************************************************************************/
class namcond1_state : public driver_device
{
public:
namcond1_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag) ,
m_shared_ram(*this, "shared_ram"){ }
UINT8 m_h8_irq5_enabled;
required_shared_ptr<UINT16> m_shared_ram;
int m_p8;
DECLARE_WRITE16_MEMBER(sharedram_sub_w);
DECLARE_READ16_MEMBER(sharedram_sub_r);
DECLARE_READ8_MEMBER(mcu_p7_read);
DECLARE_READ8_MEMBER(mcu_pa_read);
DECLARE_WRITE8_MEMBER(mcu_pa_write);
DECLARE_READ16_MEMBER(namcond1_shared_ram_r);
DECLARE_READ16_MEMBER(namcond1_cuskey_r);
DECLARE_WRITE16_MEMBER(namcond1_shared_ram_w);
DECLARE_WRITE16_MEMBER(namcond1_cuskey_w);
virtual void machine_start();
virtual void machine_reset();
};
|