From 347544393a8e14b7c7adff237ebe47755f06d400 Mon Sep 17 00:00:00 2001 From: mahlemiut Date: Thu, 25 Jun 2015 18:58:20 +1200 Subject: [PATCH] hd20: reset also on reading of the reset register (improves FutureOS HD20 support). --- src/emu/bus/cpc/hd20.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/emu/bus/cpc/hd20.c b/src/emu/bus/cpc/hd20.c index 6a778bf6162..a6cb2772719 100644 --- a/src/emu/bus/cpc/hd20.c +++ b/src/emu/bus/cpc/hd20.c @@ -80,7 +80,7 @@ void cpc_hd20_device::device_reset() READ8_MEMBER(cpc_hd20_device::hdc_r) { - UINT8 ret = 0xff; + UINT8 ret = 0x00; switch(offset) { @@ -94,6 +94,9 @@ READ8_MEMBER(cpc_hd20_device::hdc_r) m_hdc->set_ready(); ret = 0x01; break; + case 4: + m_hdc->reset_w(0); // reset on read also? + break; } return ret;