diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/emu/cpu/ucom4/ucom4.h | 3 | ||||
-rw-r--r-- | src/emu/cpu/ucom4/ucom4op.c | 9 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/emu/cpu/ucom4/ucom4.h b/src/emu/cpu/ucom4/ucom4.h index 47305a4638a..5a2105bd4bc 100644 --- a/src/emu/cpu/ucom4/ucom4.h +++ b/src/emu/cpu/ucom4/ucom4.h @@ -322,9 +322,6 @@ class upd650_cpu_device : public ucom4_cpu_device { public: upd650_cpu_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - -protected: - virtual UINT8 input_r(int index); }; diff --git a/src/emu/cpu/ucom4/ucom4op.c b/src/emu/cpu/ucom4/ucom4op.c index d208fcaf80f..6fad00fe20b 100644 --- a/src/emu/cpu/ucom4/ucom4op.c +++ b/src/emu/cpu/ucom4/ucom4op.c @@ -54,15 +54,6 @@ UINT8 ucom4_cpu_device::input_r(int index) return inp & 0xf; } -UINT8 upd650_cpu_device::input_r(int index) -{ - // bidirectional ports are 'push-pull', meaning it will output 0 when it's read - if ((index & 0xf) == NEC_UCOM4_PORTC || (index & 0xf) == NEC_UCOM4_PORTD) - output_w(index, 0); - - return ucom4_cpu_device::input_r(index); -} - void ucom4_cpu_device::output_w(int index, UINT8 data) { index &= 0xf; |