summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ds128x.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ds128x.cpp')
-rw-r--r--src/devices/machine/ds128x.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/devices/machine/ds128x.cpp b/src/devices/machine/ds128x.cpp
new file mode 100644
index 00000000000..5b7fa8e0663
--- /dev/null
+++ b/src/devices/machine/ds128x.cpp
@@ -0,0 +1,16 @@
+// license:BSD-3-Clause
+// copyright-holders:smf
+#include "ds128x.h"
+
+/// TODO: Only DV2/DV1/DV0 == 0/1/0 is supported as the chip only has a 15 stage divider and not 22.
+
+const device_type DS12885 = &device_creator<ds12885_device>;
+
+//-------------------------------------------------
+// ds12885_device - constructor
+//-------------------------------------------------
+
+ds12885_device::ds12885_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
+ : mc146818_device(mconfig, DS12885, "DS12885", tag, owner, clock, "ds12885", __FILE__)
+{
+}