mirror of
https://github.com/holub/mame
synced 2025-04-20 15:32:45 +03:00
apple2: Better slot slowdown detection for the TransWarp (nw)
This commit is contained in:
parent
ad912e5962
commit
760977494c
@ -216,13 +216,15 @@ uint8_t a2bus_transwarp_device::dma_r(offs_t offset)
|
||||
{
|
||||
hit_slot_joy();
|
||||
}
|
||||
|
||||
if ((offset >= 0xc090) && (offset <= 0xc0ff))
|
||||
else if ((offset >= 0xc090) && (offset <= 0xc0ff))
|
||||
{
|
||||
hit_slot(((offset >> 4) & 0xf) - 8);
|
||||
}
|
||||
|
||||
if ((offset >= 0xf000) && (!m_bReadA2ROM))
|
||||
else if ((offset >= 0xc100) && (offset <= 0xc7ff))
|
||||
{
|
||||
hit_slot((offset >> 8) & 0x7);
|
||||
}
|
||||
else if ((offset >= 0xf000) && (!m_bReadA2ROM))
|
||||
{
|
||||
return m_rom[offset & 0xfff];
|
||||
}
|
||||
@ -279,6 +281,10 @@ void a2bus_transwarp_device::dma_w(offs_t offset, uint8_t data)
|
||||
{
|
||||
hit_slot(((offset >> 4) & 0xf) - 8);
|
||||
}
|
||||
else if ((offset >= 0xc100) && (offset <= 0xc7ff))
|
||||
{
|
||||
hit_slot((offset >> 8) & 0x7);
|
||||
}
|
||||
|
||||
slot_dma_write(offset, data);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user