summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/tiamc1.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/tiamc1.h')
-rw-r--r--src/mame/includes/tiamc1.h76
1 files changed, 0 insertions, 76 deletions
diff --git a/src/mame/includes/tiamc1.h b/src/mame/includes/tiamc1.h
index 44ae26dafea..7586e4a5134 100644
--- a/src/mame/includes/tiamc1.h
+++ b/src/mame/includes/tiamc1.h
@@ -66,80 +66,4 @@ private:
void update_bg_palette();
};
-
-/*----------- defined in audio/tiamc1.c -----------*/
-
-//**************************************************************************
-// TYPE DEFINITIONS
-//**************************************************************************
-
-struct timer8253chan
-{
- timer8253chan() :
- count(0),
- cnval(0),
- bcdMode(0),
- cntMode(0),
- valMode(0),
- gate(0),
- output(0),
- loadCnt(0),
- enable(0)
- {}
-
- uint16_t count;
- uint16_t cnval;
- uint8_t bcdMode;
- uint8_t cntMode;
- uint8_t valMode;
- uint8_t gate;
- uint8_t output;
- uint8_t loadCnt;
- uint8_t enable;
-};
-
-struct timer8253struct
-{
- struct timer8253chan channel[3];
-};
-
-
-// ======================> tiamc1_sound_device
-
-class tiamc1_sound_device : public device_t,
- public device_sound_interface
-{
-public:
- tiamc1_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- ~tiamc1_sound_device() { }
-
-protected:
- // device-level overrides
- virtual void device_start() override;
-
- // sound stream update overrides
- virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override;
-
-public:
- DECLARE_WRITE8_MEMBER( tiamc1_timer0_w );
- DECLARE_WRITE8_MEMBER( tiamc1_timer1_w );
- DECLARE_WRITE8_MEMBER( tiamc1_timer1_gate_w );
-
-private:
- void timer8253_reset(struct timer8253struct *t);
- void timer8253_tick(struct timer8253struct *t,int chn);
- void timer8253_wr(struct timer8253struct *t, int reg, uint8_t val);
- char timer8253_get_output(struct timer8253struct *t, int chn);
- void timer8253_set_gate(struct timer8253struct *t, int chn, uint8_t gate);
-
-private:
- sound_stream *m_channel;
- int m_timer1_divider;
-
- timer8253struct m_timer0;
- timer8253struct m_timer1;
-};
-
-extern const device_type TIAMC1;
-
#endif // MAME_INCLUDES_TIAMC1_H