summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/a2bus/grapplerplus.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/a2bus/grapplerplus.h')
-rw-r--r--src/devices/bus/a2bus/grapplerplus.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/devices/bus/a2bus/grapplerplus.h b/src/devices/bus/a2bus/grapplerplus.h
index 188ebc35b2e..d2bb09ab3cc 100644
--- a/src/devices/bus/a2bus/grapplerplus.h
+++ b/src/devices/bus/a2bus/grapplerplus.h
@@ -164,6 +164,8 @@ public:
virtual u8 read_c0nx(u8 offset) override;
protected:
+ a2bus_buf_grapplerplus_device(machine_config const &mconfig, device_type type, char const *tag, device_t *owner, u32 clock);
+
// device_t implementation
virtual tiny_rom_entry const *device_rom_region() const override;
virtual void device_add_mconfig(machine_config &config) override;
@@ -171,6 +173,9 @@ protected:
virtual void device_start() override;
virtual void device_reset() override;
+ // helpers
+ template <typename T> void device_add_mconfig(machine_config &config, T &&mcu_clock);
+
private:
// a2bus_grapplerplus_device_base implementation
virtual void data_latched(u8 data) override;
@@ -202,7 +207,19 @@ private:
};
+class a2bus_buf_grapplerplus_reva_device : public a2bus_buf_grapplerplus_device
+{
+public:
+ a2bus_buf_grapplerplus_reva_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock);
+
+protected:
+ // device_t implementation
+ virtual void device_add_mconfig(machine_config &config) override;
+};
+
+
DECLARE_DEVICE_TYPE(A2BUS_GRAPPLERPLUS, a2bus_grapplerplus_device)
DECLARE_DEVICE_TYPE(A2BUS_BUFGRAPPLERPLUS, a2bus_buf_grapplerplus_device)
+DECLARE_DEVICE_TYPE(A2BUS_BUFGRAPPLERPLUSA, a2bus_buf_grapplerplus_reva_device)
#endif // MAME_BUS_A2BUS_GRAPPLERPLUS_H