summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mc146818.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mc146818.h')
-rw-r--r--src/devices/machine/mc146818.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/mc146818.h b/src/devices/machine/mc146818.h
index 499698a84cd..b1431964dde 100644
--- a/src/devices/machine/mc146818.h
+++ b/src/devices/machine/mc146818.h
@@ -39,12 +39,12 @@ public:
void set_binary_year(int bin) { m_binyear = bin; }
// read/write access
- DECLARE_READ8_MEMBER( read );
- DECLARE_WRITE8_MEMBER( write );
+ uint8_t read(offs_t offset);
+ void write(offs_t offset, uint8_t data);
// direct-mapped read/write access
- DECLARE_READ8_MEMBER( read_direct );
- DECLARE_WRITE8_MEMBER( write_direct );
+ uint8_t read_direct(offs_t offset);
+ void write_direct(offs_t offset, uint8_t data);
protected:
mc146818_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);