summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6809/hd6309.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6809/hd6309.h')
-rw-r--r--src/devices/cpu/m6809/hd6309.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/devices/cpu/m6809/hd6309.h b/src/devices/cpu/m6809/hd6309.h
index 8e209f9f7b2..26352b6fe57 100644
--- a/src/devices/cpu/m6809/hd6309.h
+++ b/src/devices/cpu/m6809/hd6309.h
@@ -20,8 +20,9 @@
// TYPE DEFINITIONS
//**************************************************************************
-// device type definition
+// device type definitions
DECLARE_DEVICE_TYPE(HD6309, hd6309_device)
+DECLARE_DEVICE_TYPE(HD6309E, hd6309e_device)
// ======================> hd6309_device
@@ -32,6 +33,9 @@ public:
hd6309_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
protected:
+ // delegating constructor
+ hd6309_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock, device_type type, int divider);
+
// device-level overrides
virtual void device_start() override;
virtual void device_reset() override;
@@ -138,6 +142,15 @@ enum
HD6309_ZERO_WORD
};
+// ======================> hd6309e_device
+
+class hd6309e_device : public hd6309_device
+{
+public:
+ // construction/destruction
+ hd6309e_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+};
+
#define HD6309_IRQ_LINE M6809_IRQ_LINE /* 0 - IRQ line number */
#define HD6309_FIRQ_LINE M6809_FIRQ_LINE /* 1 - FIRQ line number */