summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2020-10-05 20:10:28 -0700
committer Aaron Giles <aaron@aarongiles.com>2020-10-05 20:10:28 -0700
commit99576023e1676633ee9492382ee1c953913638ec (patch)
tree12ce9406070c5acb0d0d80bb1da565b14f328957
parent53035dbbf2c68ec926a70ad83fb66775ed8ec96e (diff)
dribling: A few more steps
-rw-r--r--scripts/target/mame/arcade.lua2
-rw-r--r--scripts/target/mame/nl.lua6
-rw-r--r--src/mame/audio/nl_dribling.cpp25
3 files changed, 19 insertions, 14 deletions
diff --git a/scripts/target/mame/arcade.lua b/scripts/target/mame/arcade.lua
index 40670049a41..77323c6f732 100644
--- a/scripts/target/mame/arcade.lua
+++ b/scripts/target/mame/arcade.lua
@@ -4837,6 +4837,8 @@ files {
MAME_DIR .. "src/mame/drivers/dreamwld.cpp",
MAME_DIR .. "src/mame/drivers/dribling.cpp",
MAME_DIR .. "src/mame/includes/dribling.h",
+ MAME_DIR .. "src/mame/audio/nl_dribling.cpp",
+ MAME_DIR .. "src/mame/audio/nl_dribling.h",
MAME_DIR .. "src/mame/video/dribling.cpp",
MAME_DIR .. "src/mame/drivers/dwarfd.cpp",
MAME_DIR .. "src/mame/drivers/dynadice.cpp",
diff --git a/scripts/target/mame/nl.lua b/scripts/target/mame/nl.lua
index b16f1bbd001..376edd0c505 100644
--- a/scripts/target/mame/nl.lua
+++ b/scripts/target/mame/nl.lua
@@ -398,6 +398,12 @@ files{
MAME_DIR .. "src/mame/includes/starcrus.h",
MAME_DIR .. "src/mame/video/starcrus.cpp",
+ MAME_DIR .. "src/mame/drivers/dribling.cpp",
+ MAME_DIR .. "src/mame/includes/dribling.h",
+ MAME_DIR .. "src/mame/audio/nl_dribling.cpp",
+ MAME_DIR .. "src/mame/audio/nl_dribling.h",
+ MAME_DIR .. "src/mame/video/dribling.cpp",
+
-- Skeletons ...
MAME_DIR .. "src/mame/drivers/a1supply.cpp",
MAME_DIR .. "src/mame/drivers/aleisttl.cpp",
diff --git a/src/mame/audio/nl_dribling.cpp b/src/mame/audio/nl_dribling.cpp
index d0ca101124f..ffbbd557dbc 100644
--- a/src/mame/audio/nl_dribling.cpp
+++ b/src/mame/audio/nl_dribling.cpp
@@ -19,6 +19,8 @@
// Optimizations
//
+#define ENABLE_FRONTIERS (0)
+
//
@@ -29,6 +31,15 @@
#define Q_BC309(name) QBJT_EB(name, "PNP(IS=1.0366e-15 BF=80 NF=1.0313 VAF=8.4866 IKF=0.47497 ISE=1.6295e-14 NE=1.3702 BR=16.116 NR=1.2907 VAR=9.5149 IKR=0.012081 ISC=9.4971e-17 NC=1.038 RB=3.2133 IRB=0.00046855 RBM=2.0822 RE=1.9597 RC=1.1393 CJE=2.0636e-14 VJE=0.84456 MJE=0.68352 TF=5.4303e-11 XTF=0.27447 VTF=0.19311 ITF=0.0030573 PTF=0 CJC=2.6904e-12 VJC=1.0282 MJC=0.5401 XCJC=0.075977 TR=3.4233e-10 CJS= 0 VJS=0.75 MJS=0 XTB=0 EG=1.11 XTI=3 FC=0.54298)")
+// JFET transistors not supported, but this should do the trick
+#define Q_2N3812(name) MOSFET(name, "NMOS(VTO=-1 CAPMOD=0)")
+
+#define TTL_74LS86_DIP TTL_7486_DIP
+#define TTL_74LS107_DIP TTL_74107_DIP
+#define TTL_74LS161_DIP TTL_74161_DIP
+#define TTL_74LS164_DIP TTL_74164_DIP
+
+// Needed: model for LM339
NETLIST_START(dribling)
@@ -389,20 +400,6 @@ NETLIST_START(dribling)
//
#if (ENABLE_FRONTIERS)
- // Separate each input into the summing network
- OPTIMIZE_FRONTIER(R13.1, RES_M(1), 50)
- OPTIMIZE_FRONTIER(R15.1, RES_M(1), 50)
- OPTIMIZE_FRONTIER(R41.1, RES_M(1), 50)
- OPTIMIZE_FRONTIER(R37.1, RES_M(1), 50)
-
- // Decouple the Darlington BJTs from the sounds they enable
- OPTIMIZE_FRONTIER(R27.1, RES_M(1), 50)
- OPTIMIZE_FRONTIER(R11.2, RES_M(1), 50)
-
- // Decouple the noise source from the downstream filters
- OPTIMIZE_FRONTIER(C3.1, RES_M(1), 50)
- OPTIMIZE_FRONTIER(R24.1, RES_M(1), 50)
- OPTIMIZE_FRONTIER(R38.2, RES_M(1), 50)
#endif
NETLIST_END()