summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/s14001a.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-09-13 08:41:44 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-09-13 08:41:44 +0200
commitf88cefad27a1737c76e09d99c9fb43e173506081 (patch)
tree2d8167d03579c46e226471747eb4407bd00ed6fa /src/emu/sound/s14001a.h
parente92ac9e0fa8e99869894bea00589bbb526be30aa (diff)
Move all devices into separate part of src tree (nw)
Diffstat (limited to 'src/emu/sound/s14001a.h')
-rw-r--r--src/emu/sound/s14001a.h67
1 files changed, 0 insertions, 67 deletions
diff --git a/src/emu/sound/s14001a.h b/src/emu/sound/s14001a.h
deleted file mode 100644
index 4427a59f8b7..00000000000
--- a/src/emu/sound/s14001a.h
+++ /dev/null
@@ -1,67 +0,0 @@
-// license:LGPL-2.1+
-// copyright-holders:Jonathan Gevaryahu,R. Belmont,Zsolt Vasvari
-#pragma once
-/*
- Copyright (C) 2006-2013 Jonathan Gevaryahu AKA Lord Nightmare
-
-*/
-#ifndef __S14001A_H__
-#define __S14001A_H__
-
-
-class s14001a_device : public device_t,
- public device_sound_interface
-{
-public:
- s14001a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- ~s14001a_device() {}
-
- int bsy_r(); /* read BUSY pin */
- void reg_w(int data); /* write to input latch */
- void rst_w(int data); /* write to RESET pin */
- void set_clock(int clock); /* set VSU-1000 clock */
- void set_volume(int volume); /* set VSU-1000 volume control */
-
-protected:
- // device-level overrides
- virtual void device_start();
-
- // 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
- required_region_ptr<UINT8> m_SpeechRom;
- sound_stream * m_stream;
-
- UINT8 m_WordInput; // value on word input bus
- UINT8 m_LatchedWord; // value latched from input bus
- UINT16 m_SyllableAddress; // address read from word table
- UINT16 m_PhoneAddress; // starting/current phone address from syllable table
- UINT8 m_PlayParams; // playback parameters from syllable table
- UINT8 m_PhoneOffset; // offset within phone
- UINT8 m_LengthCounter; // 4-bit counter which holds the inverted length of the word in phones, leftshifted by 1
- UINT8 m_RepeatCounter; // 3-bit counter which holds the inverted number of repeats per phone, leftshifted by 1
- UINT8 m_OutputCounter; // 2-bit counter to determine forward/backward and output/silence state.
- UINT8 m_machineState; // chip state machine state
- UINT8 m_nextstate; // chip state machine's new state
- UINT8 m_laststate; // chip state machine's previous state, needed for mirror increment masking
- UINT8 m_resetState; // reset line state
- UINT8 m_oddeven; // odd versus even cycle toggle
- UINT8 m_GlobalSilenceState; // same as above but for silent syllables instead of silent portions of mirrored syllables
- UINT8 m_OldDelta; // 2-bit old delta value
- UINT8 m_DACOutput; // 4-bit DAC Accumulator/output
- UINT8 m_audioout; // filtered audio output
- INT16 m_filtervals[8];
- UINT8 m_VSU1000_amp; // amplitude setting on VSU-1000 board
-
- INT16 audiofilter();
- void shiftIntoFilter(INT16 inputvalue);
- void PostPhoneme();
- void s14001a_clock();
-};
-
-extern const device_type S14001A;
-
-
-#endif /* __S14001A_H__ */