summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/tms5110.h
diff options
context:
space:
mode:
author Lord-Nightmare <Lord-Nightmare@users.noreply.github.com>2015-06-11 18:59:59 -0400
committer Lord-Nightmare <Lord-Nightmare@users.noreply.github.com>2015-06-11 19:04:32 -0400
commit6e35c3f90a42080e11177893db348052c609414d (patch)
treeda15b4628b5b50dd3e9534a18d113fa325003bf2 /src/emu/sound/tms5110.h
parentbda42378b4482e3c1b2f9e0ec34380e207fdad4e (diff)
tms5110r.c: Add new LPC table data for CD2802, CD2801; TMS5110A/TMC0281D; add new information regarding each chip. Reorganize LPC tables to use #defines rather than repeating identical data. [PlgDavid, Lord_Nightmare, NullMoogleCable]
Diffstat (limited to 'src/emu/sound/tms5110.h')
-rw-r--r--src/emu/sound/tms5110.h40
1 files changed, 31 insertions, 9 deletions
diff --git a/src/emu/sound/tms5110.h b/src/emu/sound/tms5110.h
index 6196834a24a..43863042940 100644
--- a/src/emu/sound/tms5110.h
+++ b/src/emu/sound/tms5110.h
@@ -185,38 +185,49 @@ protected:
extern const device_type TMS5100;
-class tms5110a_device : public tms5110_device
+class tmc0281_device : public tms5110_device
{
public:
- tms5110a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tmc0281_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
virtual void device_start();
};
-extern const device_type TMS5110A;
+extern const device_type TMC0281;
-class cd2801_device : public tms5110_device
+class tms5100a_device : public tms5110_device
{
public:
- cd2801_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tms5100a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
virtual void device_start();
};
-extern const device_type CD2801;
+extern const device_type TMS5100A;
-class tmc0281_device : public tms5110_device
+class tmc0281d_device : public tms5110_device
{
public:
- tmc0281_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ tmc0281d_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
protected:
// device-level overrides
virtual void device_start();
};
-extern const device_type TMC0281;
+extern const device_type TMC0281D;
+
+class cd2801_device : public tms5110_device
+{
+public:
+ cd2801_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+protected:
+ // device-level overrides
+ virtual void device_start();
+};
+
+extern const device_type CD2801;
class cd2802_device : public tms5110_device
{
@@ -229,6 +240,17 @@ protected:
extern const device_type CD2802;
+class tms5110a_device : public tms5110_device
+{
+public:
+ tms5110a_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+protected:
+ // device-level overrides
+ virtual void device_start();
+};
+
+extern const device_type TMS5110A;
+
class m58817_device : public tms5110_device
{
public: