mirror of
https://github.com/holub/mame
synced 2025-04-21 16:01:56 +03:00
little fix (nw)
This commit is contained in:
parent
eda94384f6
commit
2d76d84441
@ -344,13 +344,13 @@ uint8_t spectrum_betav2_device::iorq_r(offs_t offset)
|
||||
|
||||
if (!m_masterportdisable)
|
||||
{
|
||||
switch (offset & 0xe7)
|
||||
switch (offset & 0x87)
|
||||
{
|
||||
case 0x07: case 0x27: case 0x47: case 0x67:
|
||||
case 0x07:
|
||||
data = m_fdc->read((offset >> 5) & 0x03);
|
||||
break;
|
||||
|
||||
case 0x87: case 0xa7 : case 0xc7 : case 0xe7 :
|
||||
case 0x87:
|
||||
data &= 0x3f; // actually open bus
|
||||
data |= m_fdc->drq_r() ? 0x40 : 0;
|
||||
data |= m_fdc->intrq_r() ? 0x80 : 0;
|
||||
|
Loading…
Reference in New Issue
Block a user