summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/exidy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/exidy.h')
-rw-r--r--src/mame/audio/exidy.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/mame/audio/exidy.h b/src/mame/audio/exidy.h
index 476fc4fe00d..2d31bd9a038 100644
--- a/src/mame/audio/exidy.h
+++ b/src/mame/audio/exidy.h
@@ -42,55 +42,55 @@ public:
DECLARE_READ8_MEMBER( sh6840_r );
DECLARE_WRITE8_MEMBER( sh6840_w );
DECLARE_WRITE8_MEMBER( sfxctrl_w );
-
+
DECLARE_WRITE_LINE_MEMBER( update_irq_state );
-
+
DECLARE_WRITE8_MEMBER( r6532_porta_w );
DECLARE_READ8_MEMBER( r6532_porta_r );
DECLARE_WRITE8_MEMBER( r6532_portb_w );
DECLARE_READ8_MEMBER( r6532_portb_r );
void r6532_irq(int state);
-
+
DECLARE_WRITE8_MEMBER( sh8253_w );
DECLARE_READ8_MEMBER( sh8253_r );
-
+
protected:
// device-level overrides
virtual void device_config_complete();
virtual void device_start();
virtual void device_reset();
-
+
void common_sh_start();
void common_sh_reset();
-
+
void sh6840_register_state_globals();
void sh8253_register_state_globals();
// sound stream update overrides
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples);
-
+
cpu_device *m_maincpu;
-
+
/* 6532 variables */
riot6532_device *m_riot;
-
+
/* IRQ variable */
UINT8 m_riot_irq_state;
-
+
/* 8253 variables */
int m_has_sh8253;
struct sh8253_timer_channel m_sh8253_timer[3];
-
+
/* 5220/CVSD variables */
hc55516_device *m_cvsd;
tms5220_device *m_tms;
pia6821_device *m_pia0;
pia6821_device *m_pia1;
-
+
/* sound streaming variables */
sound_stream *m_stream;
double m_freq_to_step;
-
+
private:
// internal state
struct sh6840_timer_channel m_sh6840_timer[3];
@@ -116,12 +116,12 @@ class venture_sound_device : public exidy_sound_device
{
public:
venture_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
DECLARE_WRITE8_MEMBER( mtrap_voiceio_w );
DECLARE_READ8_MEMBER( mtrap_voiceio_r );
-
+
DECLARE_WRITE8_MEMBER( filter_w );
-
+
protected:
// device-level overrides
virtual void device_config_complete();
@@ -130,7 +130,7 @@ protected:
// sound stream update overrides
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples);
-
+
private:
// internal state
};
@@ -141,13 +141,13 @@ class victory_sound_device : public exidy_sound_device
{
public:
victory_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
-
+
DECLARE_READ8_MEMBER( response_r );
DECLARE_READ8_MEMBER( status_r );
DECLARE_WRITE8_MEMBER( command_w );
DECLARE_WRITE8_MEMBER( irq_clear_w );
DECLARE_WRITE8_MEMBER( main_ack_w );
-
+
protected:
// device-level overrides
virtual void device_config_complete();
@@ -156,12 +156,12 @@ protected:
// sound stream update overrides
virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples);
-
+
private:
// internal state
UINT8 m_victory_sound_response_ack_clk; /* 7474 @ F4 */
-
- TIMER_CALLBACK_MEMBER( delayed_command_w );
+
+ TIMER_CALLBACK_MEMBER( delayed_command_w );
};
extern const device_type EXIDY_VICTORY;