summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/hp_dio/hp98603a.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/hp_dio/hp98603a.h')
-rw-r--r--src/devices/bus/hp_dio/hp98603a.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/devices/bus/hp_dio/hp98603a.h b/src/devices/bus/hp_dio/hp98603a.h
new file mode 100644
index 00000000000..30a501b1b39
--- /dev/null
+++ b/src/devices/bus/hp_dio/hp98603a.h
@@ -0,0 +1,38 @@
+// license:BSD-3-Clause
+// copyright-holders:Sven Schnelle
+
+#ifndef MAME_BUS_HPDIO_98603A_H
+#define MAME_BUS_HPDIO_98603A_H
+
+#pragma once
+
+#include "hp_dio.h"
+
+class dio16_98603a_device :
+ public device_t,
+ public device_dio16_card_interface
+{
+public:
+ // construction/destruction
+ dio16_98603a_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ DECLARE_READ16_MEMBER(rom_r);
+ DECLARE_WRITE16_MEMBER(rom_w);
+
+protected:
+ dio16_98603a_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+
+ // device-level overrides
+ virtual void device_start() override;
+ virtual void device_reset() override;
+
+ // optional information overrides
+ virtual void device_add_mconfig(machine_config &config) override;
+ virtual const tiny_rom_entry *device_rom_region() const override;
+
+private:
+ uint8_t *m_rom;
+};
+
+DECLARE_DEVICE_TYPE(HPDIO_98603A, dio16_98603a_device)
+
+#endif // MAME_BUS_HPDIO_98603A_H