mirror of
https://github.com/holub/mame
synced 2025-05-06 22:35:43 +03:00
ins8250: msr bits (nw)
This commit is contained in:
parent
5ee7683519
commit
1aded8a104
@ -475,22 +475,22 @@ void ins8250_uart_device::update_msr(int bit, UINT8 state)
|
||||
|
||||
WRITE_LINE_MEMBER(ins8250_uart_device::dcd_w)
|
||||
{
|
||||
update_msr(3, (state&1));
|
||||
update_msr(3, (state ? 1 : 0));
|
||||
}
|
||||
|
||||
WRITE_LINE_MEMBER(ins8250_uart_device::dsr_w)
|
||||
{
|
||||
update_msr(1, (state&1));
|
||||
update_msr(1, (state ? 1 : 0));
|
||||
}
|
||||
|
||||
WRITE_LINE_MEMBER(ins8250_uart_device::ri_w)
|
||||
{
|
||||
update_msr(2, (state&1));
|
||||
update_msr(2, (state ? 1 : 0));
|
||||
}
|
||||
|
||||
WRITE_LINE_MEMBER(ins8250_uart_device::cts_w)
|
||||
{
|
||||
update_msr(0, (state&1));
|
||||
update_msr(0, (state ? 1 : 0));
|
||||
}
|
||||
|
||||
void ins8250_uart_device::device_start()
|
||||
|
Loading…
Reference in New Issue
Block a user