summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/amiga/zorro/a590.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/amiga/zorro/a590.h')
-rw-r--r--src/devices/bus/amiga/zorro/a590.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/src/devices/bus/amiga/zorro/a590.h b/src/devices/bus/amiga/zorro/a590.h
index 0e71423b8b7..7fe27c33d60 100644
--- a/src/devices/bus/amiga/zorro/a590.h
+++ b/src/devices/bus/amiga/zorro/a590.h
@@ -8,10 +8,10 @@
***************************************************************************/
-#pragma once
+#ifndef MAME_BUS_AMIGA_ZORRO_A590_H
+#define MAME_BUS_AMIGA_ZORRO_A590_H
-#ifndef __A590_H__
-#define __A590_H__
+#pragma once
#include "zorro.h"
#include "machine/dmac.h"
@@ -27,10 +27,6 @@
class dmac_hdc_device : public device_t
{
public:
- // construction/destruction
- dmac_hdc_device(const machine_config &mconfig, device_type type, const char *tag,
- device_t *owner, uint32_t clock, const char *name, const char *shortname);
-
// optional information overrides
virtual machine_config_constructor device_mconfig_additions() const override;
virtual const tiny_rom_entry *device_rom_region() const override;
@@ -42,6 +38,9 @@ public:
DECLARE_WRITE_LINE_MEMBER( scsi_irq_w );
protected:
+ // construction/destruction
+ dmac_hdc_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;
@@ -58,7 +57,7 @@ protected:
bool m_int6;
// sub-devices
- required_device<dmac_device> m_dmac;
+ required_device<amiga_dmac_device> m_dmac;
required_device<wd33c93_device> m_wdc;
std::vector<uint8_t> m_ram;
@@ -127,7 +126,7 @@ private:
};
// device type definition
-extern const device_type A590;
-extern const device_type A2091;
+DECLARE_DEVICE_TYPE(A590, a590_device)
+DECLARE_DEVICE_TYPE(A2091, a2091_device)
-#endif
+#endif // MAME_BUS_AMIGA_ZORRO_A590_H