blob: 097393fb0d728b37e3fe05ac2e3d1bd434af7ffe (
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
41
|
/***************************************************************************
Sigma Spiders hardware
***************************************************************************/
#define NUM_PENS (8)
class spiders_state : public driver_device
{
public:
spiders_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag) ,
m_ram(*this, "ram"){ }
required_shared_ptr<UINT8> m_ram;
UINT8 m_flipscreen;
UINT16 m_gfx_rom_address;
UINT8 m_gfx_rom_ctrl_mode;
UINT8 m_gfx_rom_ctrl_latch;
UINT8 m_gfx_rom_ctrl_data;
pen_t m_pens[NUM_PENS];
DECLARE_WRITE_LINE_MEMBER(main_cpu_irq);
DECLARE_WRITE_LINE_MEMBER(main_cpu_firq);
DECLARE_WRITE_LINE_MEMBER(audio_cpu_irq);
DECLARE_WRITE_LINE_MEMBER(flipscreen_w);
DECLARE_WRITE_LINE_MEMBER(display_enable_changed);
DECLARE_WRITE8_MEMBER(gfx_rom_intf_w);
DECLARE_READ8_MEMBER(gfx_rom_r);
};
/*----------- defined in audio/spiders.c -----------*/
WRITE8_DEVICE_HANDLER( spiders_audio_command_w );
WRITE8_DEVICE_HANDLER( spiders_audio_a_w );
WRITE8_DEVICE_HANDLER( spiders_audio_b_w );
WRITE8_DEVICE_HANDLER( spiders_audio_ctrl_w );
MACHINE_CONFIG_EXTERN( spiders_audio );
|