summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/coco_orch90.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/coco_orch90.h')
-rw-r--r--src/mess/machine/coco_orch90.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/mess/machine/coco_orch90.h b/src/mess/machine/coco_orch90.h
new file mode 100644
index 00000000000..7aeaef9364f
--- /dev/null
+++ b/src/mess/machine/coco_orch90.h
@@ -0,0 +1,41 @@
+#pragma once
+
+#ifndef __COCO_ORCH90_H__
+#define __COCO_ORCH90_H__
+
+#include "emu.h"
+#include "sound/dac.h"
+#include "machine/cococart.h"
+
+//**************************************************************************
+// TYPE DEFINITIONS
+//**************************************************************************
+
+// ======================> coco_orch90_device
+
+class coco_orch90_device :
+ public device_t,
+ public device_cococart_interface
+{
+public:
+ // construction/destruction
+ coco_orch90_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+
+ // optional information overrides
+ virtual machine_config_constructor device_mconfig_additions() const;
+protected:
+ // device-level overrides
+ virtual void device_start();
+ virtual void device_config_complete() { m_shortname = "coco_orch90"; }
+ virtual DECLARE_WRITE8_MEMBER(write);
+private:
+ // internal state
+ dac_device *m_left_dac;
+ dac_device *m_right_dac;
+};
+
+
+// device type definition
+extern const device_type COCO_ORCH90;
+
+#endif /* __COCO_ORCH90_H__ */