summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mos8726.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mos8726.h')
-rw-r--r--src/devices/machine/mos8726.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/devices/machine/mos8726.h b/src/devices/machine/mos8726.h
index 90b78ec8412..8435bf0f544 100644
--- a/src/devices/machine/mos8726.h
+++ b/src/devices/machine/mos8726.h
@@ -47,6 +47,17 @@
#pragma once
+
+
+//**************************************************************************
+// INTERFACE CONFIGURATION MACROS
+//**************************************************************************
+
+#define MCFG_MOS8726_ADD(tag) \
+ MCFG_DEVICE_ADD((tag), MOS8726, 1000000) // dummy clock
+
+
+
//**************************************************************************
// TYPE DEFINITIONS
//**************************************************************************
@@ -60,8 +71,8 @@ public:
// construction/destruction
mos8726_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- uint8_t read(offs_t offset);
- void write(offs_t offset, uint8_t data);
+ DECLARE_READ8_MEMBER( read );
+ DECLARE_WRITE8_MEMBER( write );
DECLARE_WRITE_LINE_MEMBER( bs_w );