mirror of
https://github.com/holub/mame
synced 2025-10-06 09:00:04 +03:00
z80dart: quick fix to get CP/M (CPC) to detect the presence of the serial interface. (no whatsnew)
This commit is contained in:
parent
1f79e2bdda
commit
544a914f7b
@ -926,8 +926,12 @@ void z80dart_channel::control_write(UINT8 data)
|
||||
case 2:
|
||||
// interrupt vector
|
||||
if (m_index == z80dart_device::CHANNEL_B)
|
||||
m_rr[2] = ( m_rr[2] & 0x0e ) | ( m_wr[2] & 0xF1);;
|
||||
|
||||
{
|
||||
if(m_wr[1] & z80dart_channel::WR1_STATUS_VECTOR)
|
||||
m_rr[2] = ( m_rr[2] & 0x0e ) | ( m_wr[2] & 0xF1);
|
||||
else
|
||||
m_rr[2] = m_wr[2];
|
||||
}
|
||||
m_uart->check_interrupts();
|
||||
LOG(("Z80DART \"%s\" Channel %c : Interrupt Vector %02x\n", m_owner->tag(), 'A' + m_index, data));
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user