hd20: reset also on reading of the reset register (improves FutureOS HD20 support).

This commit is contained in:
mahlemiut 2015-06-25 18:58:20 +12:00
parent 1d80371056
commit 347544393a

View File

@ -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;