From 9737f41ad0ce8089800f8cccd152f0e8244842fb Mon Sep 17 00:00:00 2001 From: Dirk Best Date: Thu, 17 Mar 2016 23:48:22 +0100 Subject: [PATCH] ins8250: don't clear THRE on write to the line status register --- src/devices/machine/ins8250.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/machine/ins8250.cpp b/src/devices/machine/ins8250.cpp index bbd0fee1584..e032039cb7d 100644 --- a/src/devices/machine/ins8250.cpp +++ b/src/devices/machine/ins8250.cpp @@ -316,7 +316,7 @@ WRITE8_MEMBER( ins8250_uart_device::ins8250_w ) bits 5 - 0, you could cause an interrupt if the appropriate IER bit is set. */ - m_regs.lsr = (m_regs.lsr & 0x40) | (data & ~0x40); + m_regs.lsr = (m_regs.lsr & 0x60) | (data & ~0x60); tmp = 0; tmp |= ( m_regs.lsr & 0x01 ) ? COM_INT_PENDING_RECEIVED_DATA_AVAILABLE : 0;