diff options
author | 2020-01-04 01:28:25 +0900 | |
---|---|---|
committer | 2020-01-04 01:28:25 +0900 | |
commit | 34a73750e52f85635bd672b5cbb6a6a55c1610f2 (patch) | |
tree | d155abc66d79dfca7645916d8a5fabc394f6df6f /src/devices/sound/2612intf.h | |
parent | 809b7a3fdb6fe37c238831da3d23b395464c4a24 (diff) |
sound/2612intf.cpp : Add YMF276 device, Clamp output related to internal 9-bit DAC, Add notes
fmtowns.cpp : Add notes for sound chip
Diffstat (limited to 'src/devices/sound/2612intf.h')
-rw-r--r-- | src/devices/sound/2612intf.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/devices/sound/2612intf.h b/src/devices/sound/2612intf.h index eceb0ce4e6e..42f2577a5fb 100644 --- a/src/devices/sound/2612intf.h +++ b/src/devices/sound/2612intf.h @@ -35,6 +35,7 @@ protected: // sound stream update overrides virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override; + void * m_chip; private: void irq_handler(int irq); void timer_handler(int c, int count, int clock); @@ -47,7 +48,6 @@ private: sound_stream * m_stream; emu_timer * m_timer[2]; - void * m_chip; devcb_write_line m_irq_handler; }; @@ -59,7 +59,20 @@ public: }; +class ymf276_device : public ym2612_device +{ +public: + ymf276_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + +protected: + // sound stream update overrides + virtual void sound_stream_update(sound_stream &stream, stream_sample_t **inputs, stream_sample_t **outputs, int samples) override; + +}; + + DECLARE_DEVICE_TYPE(YM2612, ym2612_device) DECLARE_DEVICE_TYPE(YM3438, ym3438_device) +DECLARE_DEVICE_TYPE(YMF276, ymf276_device) #endif // MAME_SOUND_2612INTF_H |