summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/upd7810/upd7810.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/upd7810/upd7810.h')
-rw-r--r--src/devices/cpu/upd7810/upd7810.h22
1 files changed, 17 insertions, 5 deletions
diff --git a/src/devices/cpu/upd7810/upd7810.h b/src/devices/cpu/upd7810/upd7810.h
index 6e81369617e..1eb39a2b975 100644
--- a/src/devices/cpu/upd7810/upd7810.h
+++ b/src/devices/cpu/upd7810/upd7810.h
@@ -77,11 +77,11 @@ public:
auto pt_in_cb() { return m_pt_in_cb.bind(); }
- DECLARE_WRITE8_MEMBER(pa_w);
- DECLARE_WRITE8_MEMBER(pb_w);
- DECLARE_WRITE8_MEMBER(pc_w);
- DECLARE_WRITE8_MEMBER(pd_w);
- DECLARE_WRITE8_MEMBER(pf_w);
+ void pa_w(uint8_t data, uint8_t mem_mask = ~0);
+ void pb_w(uint8_t data, uint8_t mem_mask = ~0);
+ void pc_w(uint8_t data, uint8_t mem_mask = ~0);
+ void pd_w(uint8_t data, uint8_t mem_mask = ~0);
+ void pf_w(uint8_t data, uint8_t mem_mask = ~0);
protected:
void upd_internal_128_ram_map(address_map &map);
@@ -1368,6 +1368,17 @@ protected:
};
+class upd78c10_device : public upd7810_device
+{
+public:
+ // construction/destruction
+ upd78c10_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+
+protected:
+ upd78c10_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, address_map_constructor internal_map);
+};
+
+
class upd7807_device : public upd7810_device
{
public:
@@ -1427,6 +1438,7 @@ public:
DECLARE_DEVICE_TYPE(UPD7810, upd7810_device)
+DECLARE_DEVICE_TYPE(UPD78C10, upd78c10_device)
DECLARE_DEVICE_TYPE(UPD7807, upd7807_device)
DECLARE_DEVICE_TYPE(UPD7801, upd7801_device)
DECLARE_DEVICE_TYPE(UPD78C05, upd78c05_device)