summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/mm58274c.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/mm58274c.h')
-rw-r--r--src/devices/machine/mm58274c.h17
1 files changed, 3 insertions, 14 deletions
diff --git a/src/devices/machine/mm58274c.h b/src/devices/machine/mm58274c.h
index cee2df48db9..c6fcbee3c46 100644
--- a/src/devices/machine/mm58274c.h
+++ b/src/devices/machine/mm58274c.h
@@ -16,8 +16,8 @@ public:
void set_day1(int day) { m_day1 = day; }
void set_mode_and_day(int mode, int day) { m_mode24 = mode; m_day1 = day; }
- DECLARE_READ8_MEMBER(read);
- DECLARE_WRITE8_MEMBER(write);
+ uint8_t read(offs_t offset);
+ void write(offs_t offset, uint8_t data);
TIMER_CALLBACK_MEMBER(rtc_increment_cb);
TIMER_CALLBACK_MEMBER(rtc_interrupt_cb);
@@ -30,7 +30,7 @@ protected:
private:
// internal state
- // Initializion the clock chip:
+ // Initialization of the clock chip:
// m_day1 must be set to a value from 0 (sunday), 1 (monday)...
// to 6 (saturday) and is needed to correctly retrieve the
// day-of-week from the host system clock.
@@ -66,15 +66,4 @@ private:
DECLARE_DEVICE_TYPE(MM58274C, mm58274c_device)
-
-/***************************************************************************
- DEVICE CONFIGURATION MACROS
-***************************************************************************/
-
-#define MCFG_MM58274C_MODE24(_mode) \
- downcast<mm58274c_device &>(*device).set_mode24(_mode);
-
-#define MCFG_MM58274C_DAY1(_day) \
- downcast<mm58274c_device &>(*device).set_day1(_day);
-
#endif // MAME_MACHINE_MM58274C_H