summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/starshp1.h
diff options
context:
space:
mode:
author Derrick Renaud <derrickr@mamedev.org>2008-08-22 03:51:26 +0000
committer Derrick Renaud <derrickr@mamedev.org>2008-08-22 03:51:26 +0000
commit8a8e197eae0915de51988b9859f73ce5fe33e5df (patch)
tree37e9f27ccf97d651636ad86e590ec169080c7694 /src/mame/includes/starshp1.h
parentc50b07d391e144ec0519381c525d11e2f40a58a1 (diff)
added Discrete Sound for Starship 1. I still need to properly emulate the MC3340.
Diffstat (limited to 'src/mame/includes/starshp1.h')
-rw-r--r--src/mame/includes/starshp1.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h
index 732d9e58ea9..a05d7aab732 100644
--- a/src/mame/includes/starshp1.h
+++ b/src/mame/includes/starshp1.h
@@ -16,6 +16,9 @@
* 12MHz signal, effecitvely doubling the horizontal resolution
*/
+#include "sound/discrete.h"
+
+
#define STARSHP1_MASTER_CLOCK (12096000)
#define STARSHP1_CPU_CLOCK (STARSHP1_MASTER_CLOCK / 16)
#define STARSHP1_PIXEL_CLOCK (STARSHP1_MASTER_CLOCK / 2)
@@ -67,3 +70,20 @@ PALETTE_INIT( starshp1 );
VIDEO_UPDATE( starshp1 );
VIDEO_EOF( starshp1 );
VIDEO_START( starshp1 );
+
+
+/*----------- defined in sound/starshp1.c -----------*/
+
+DISCRETE_SOUND_EXTERN( starshp1 );
+
+/* Discrete Sound Input Nodes */
+#define STARSHP1_NOISE_AMPLITUDE NODE_01
+#define STARSHP1_TONE_PITCH NODE_02
+#define STARSHP1_MOTOR_SPEED NODE_03
+#define STARSHP1_NOISE_FREQ NODE_04
+#define STARSHP1_MOLVL NODE_05
+#define STARSHP1_SL2 NODE_06
+#define STARSHP1_SL1 NODE_07
+#define STARSHP1_KICKER NODE_08
+#define STARSHP1_PHASOR_ON NODE_09
+#define STARSHP1_ATTRACT NODE_10