summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/6840ptm.h
diff options
context:
space:
mode:
author Dirk Best <mail@dirk-best.de>2016-12-04 13:41:01 +0100
committer Dirk Best <mail@dirk-best.de>2016-12-04 13:42:56 +0100
commit4670dc16bc683928f49536a4c1f2ef482960a964 (patch)
treeb221bad9fbdc905e36f1329f65743584dbded337 /src/devices/machine/6840ptm.h
parent387a99813d2d1c59cb9c6d685a66f428f4291b11 (diff)
6840ptm: use standard device clock for internal clock
Diffstat (limited to 'src/devices/machine/6840ptm.h')
-rw-r--r--src/devices/machine/6840ptm.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/devices/machine/6840ptm.h b/src/devices/machine/6840ptm.h
index e567a64da8f..d07586aba76 100644
--- a/src/devices/machine/6840ptm.h
+++ b/src/devices/machine/6840ptm.h
@@ -21,9 +21,6 @@
// DEVICE CONFIGURATION MACROS
//**************************************************************************
-#define MCFG_PTM6840_INTERNAL_CLOCK(_clk) \
- ptm6840_device::set_internal_clock(*device, _clk);
-
#define MCFG_PTM6840_EXTERNAL_CLOCKS(_clk0, _clk1, _clk2) \
ptm6840_device::set_external_clocks(*device, _clk0, _clk1, _clk2);
@@ -51,7 +48,6 @@ public:
// construction/destruction
ptm6840_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- static void set_internal_clock(device_t &device, double clock) { downcast<ptm6840_device &>(device).m_internal_clock = clock; }
static void set_external_clocks(device_t &device, double clock0, double clock1, double clock2) { downcast<ptm6840_device &>(device).m_external_clock[0] = clock0; downcast<ptm6840_device &>(device).m_external_clock[1] = clock1; downcast<ptm6840_device &>(device).m_external_clock[2] = clock2; }
template<class _Object> static devcb_base &set_out_callback(device_t &device, int index, _Object object) { return downcast<ptm6840_device &>(device).m_out_cb[index].set_callback(object); }
template<class _Object> static devcb_base &set_irq_callback(device_t &device, _Object object) { return downcast<ptm6840_device &>(device).m_irq_cb.set_callback(object); }
@@ -125,7 +121,6 @@ private:
ANY_IRQ = 0x80
};
- double m_internal_clock;
double m_external_clock[3];
devcb_write_line m_out_cb[3];