From 9fdfea014e2b685ddf2aa66eba732f600bed42ea Mon Sep 17 00:00:00 2001 From: hap Date: Sat, 14 Dec 2024 10:42:07 +0100 Subject: hd6305: update header file after prev commit --- src/devices/cpu/m6805/hd6305.cpp | 1 - src/devices/cpu/m6805/hd6305.h | 8 ++++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/devices/cpu/m6805/hd6305.cpp b/src/devices/cpu/m6805/hd6305.cpp index 2a65ea1cd46..2cc866c7494 100644 --- a/src/devices/cpu/m6805/hd6305.cpp +++ b/src/devices/cpu/m6805/hd6305.cpp @@ -7,7 +7,6 @@ Hitachi HD6305 series TODO: - HD6305xx has a 14-bit address space, not 13 (memory_access in m6805.h) - add unimplemented opcodes: STOP, WAIT, DAA, and HD63705Z0 also has MUL -- add HD6305Y2 peripherals (nothing to test it with?) - add HD63705Z0 peripherals */ diff --git a/src/devices/cpu/m6805/hd6305.h b/src/devices/cpu/m6805/hd6305.h index 8847d4b2cb7..2d7cc46bfc5 100644 --- a/src/devices/cpu/m6805/hd6305.h +++ b/src/devices/cpu/m6805/hd6305.h @@ -161,6 +161,14 @@ public: // construction/destruction hd6305y2_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock); + auto read_porta() { return m_read_port [0].bind(); } + auto write_porta() { return m_write_port[0].bind(); } + auto read_portb() { return m_read_port [1].bind(); } + auto write_portb() { return m_write_port[1].bind(); } + auto read_portc() { return m_read_port [2].bind(); } + auto write_portc() { return m_write_port[2].bind(); } + auto read_portd() { return m_read_port [3].bind(); } + private: void internal_map(address_map &map) ATTR_COLD; }; -- cgit v1.2.3