summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/1mb5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/1mb5.h')
-rw-r--r--src/devices/machine/1mb5.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/machine/1mb5.h b/src/devices/machine/1mb5.h
index 18f8107896a..630db571abe 100644
--- a/src/devices/machine/1mb5.h
+++ b/src/devices/machine/1mb5.h
@@ -26,20 +26,20 @@ public:
auto int_handler() { return m_int_handler.bind(); }
// CPU access
- DECLARE_READ8_MEMBER(cpu_r);
- DECLARE_WRITE8_MEMBER(cpu_w);
+ uint8_t cpu_r(offs_t offset);
+ void cpu_w(offs_t offset, uint8_t data);
// uC access
- DECLARE_READ8_MEMBER(uc_r);
- DECLARE_WRITE8_MEMBER(uc_w);
+ uint8_t uc_r(offs_t offset);
+ void uc_w(offs_t offset, uint8_t data);
// Signals to CPU
- DECLARE_READ_LINE_MEMBER(irl_r);
- DECLARE_READ_LINE_MEMBER(halt_r);
+ int irl_r();
+ int halt_r();
// Signals to uC
- DECLARE_READ_LINE_MEMBER(reset_r);
- DECLARE_READ_LINE_MEMBER(int_r);
+ int reset_r();
+ int int_r();
// Interrupt enable
void inten();
@@ -49,8 +49,8 @@ public:
protected:
// device-level overrides
- virtual void device_start() override;
- virtual void device_reset() override;
+ virtual void device_start() override ATTR_COLD;
+ virtual void device_reset() override ATTR_COLD;
private:
devcb_write_line m_irl_handler;
@@ -71,10 +71,10 @@ private:
bool m_reset;
bool m_halt;
- bool set_service(bool new_service);
- bool update_halt();
- bool set_reset(bool new_reset);
- bool set_int(bool new_int);
+ void set_service(bool new_service);
+ void update_halt();
+ void set_reset(bool new_reset);
+ void set_int(bool new_int);
};
// device type definition