mirror of
https://github.com/holub/mame
synced 2025-06-29 15:38:53 +03:00
hd63450: only halt cpu in max transfer rate mode
This commit is contained in:
parent
07ca153ba9
commit
03cb340505
@ -293,9 +293,10 @@ void hd63450_device::dma_transfer_start(int channel)
|
|||||||
|
|
||||||
// Burst transfers will halt the CPU until the transfer is complete
|
// Burst transfers will halt the CPU until the transfer is complete
|
||||||
// max rate transfer hold the bus
|
// max rate transfer hold the bus
|
||||||
if (((m_reg[channel].dcr & 0xc0) == 0x00) || ((m_reg[channel].ocr & 3) == 1)) // Burst transfer
|
if (((m_reg[channel].dcr & 0xc0) == 0x00)) // Burst transfer
|
||||||
{
|
{
|
||||||
m_cpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE);
|
if((m_reg[channel].ocr & 3) == 1) // TODO: proper cycle stealing
|
||||||
|
m_cpu->set_input_line(INPUT_LINE_HALT, ASSERT_LINE);
|
||||||
m_timer[channel]->adjust(attotime::zero, channel, m_burst_clock[channel]);
|
m_timer[channel]->adjust(attotime::zero, channel, m_burst_clock[channel]);
|
||||||
}
|
}
|
||||||
else if (!(m_reg[channel].ocr & 2))
|
else if (!(m_reg[channel].ocr & 2))
|
||||||
|
Loading…
Reference in New Issue
Block a user