summaryrefslogtreecommitdiffstatshomepage
path: root/trunk/src/emu/sound/sid6581.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/emu/sound/sid6581.h')
-rw-r--r--trunk/src/emu/sound/sid6581.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/trunk/src/emu/sound/sid6581.h b/trunk/src/emu/sound/sid6581.h
new file mode 100644
index 00000000000..4b389e39674
--- /dev/null
+++ b/trunk/src/emu/sound/sid6581.h
@@ -0,0 +1,37 @@
+/***************************************************************************
+
+ sid6581.h
+
+ MAME/MESS interface for SID6581 and SID8580 chips
+
+***************************************************************************/
+
+#pragma once
+
+#ifndef __SID6581_H__
+#define __SID6581_H__
+
+#include "devlegcy.h"
+
+
+typedef enum
+{
+ MOS6581,
+ MOS8580
+} SIDTYPE;
+
+
+typedef struct _sid6581_interface sid6581_interface;
+struct _sid6581_interface
+{
+ int (*ad_read)(device_t *device, int channel);
+} ;
+
+
+READ8_DEVICE_HANDLER ( sid6581_r );
+WRITE8_DEVICE_HANDLER ( sid6581_w );
+
+DECLARE_LEGACY_SOUND_DEVICE(SID6581, sid6581);
+DECLARE_LEGACY_SOUND_DEVICE(SID8580, sid8580);
+
+#endif /* __SID6581_H__ */