summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ds128x.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/ds128x.h')
-rw-r--r--src/devices/machine/ds128x.h25
1 files changed, 3 insertions, 22 deletions
diff --git a/src/devices/machine/ds128x.h b/src/devices/machine/ds128x.h
index 7ade1bfa431..671d3ee0a6f 100644
--- a/src/devices/machine/ds128x.h
+++ b/src/devices/machine/ds128x.h
@@ -5,8 +5,10 @@
#include "mc146818.h"
+#define MCFG_DS12885_ADD(_tag) \
+ MCFG_DEVICE_ADD(_tag, DS12885, XTAL(32'768))
-// ======================> ds12885_device
+// ======================> mc146818_device
class ds12885_device : public mc146818_device
{
@@ -15,8 +17,6 @@ public:
ds12885_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 32'768);
protected:
- ds12885_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
-
virtual int data_size() override { return 128; }
virtual int get_timer_bypass() override;
};
@@ -24,23 +24,4 @@ protected:
// device type definition
DECLARE_DEVICE_TYPE(DS12885, ds12885_device)
-// ======================> ds12885ext_device
-
-class ds12885ext_device : public ds12885_device
-{
-public:
- // construction/destruction
- ds12885ext_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 32'768);
-
- // read/write access to extended ram
- uint8_t read_extended(offs_t offset);
- void write_extended(offs_t offset, uint8_t data);
-
-protected:
- virtual int data_size() override { return 256; }
-};
-
-// device type definition
-DECLARE_DEVICE_TYPE(DS12885EXT, ds12885ext_device)
-
#endif // MAME_MACHINE_DS128X_H