mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
hd20: reset also on reading of the reset register (improves FutureOS HD20 support).
This commit is contained in:
parent
1d80371056
commit
347544393a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user