summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine
diff options
context:
space:
mode:
author Joakim Larsson Edström <joakimlarsson42@gmail.com>2019-10-30 00:27:48 +0100
committer ajrhacker <ajrhacker@users.noreply.github.com>2019-10-29 19:27:48 -0400
commit58c86eb73cd140a574ba12b0084bf77c11a81386 (patch)
treec8690b94d016f1e27f011c5fa3bbb5c68ae7871d /src/mame/machine
parentcebd828fcd1a85c79bc2b031b93891fd22f28865 (diff)
i8251a initilization changed (#5825)
* i8251.cpp: required initial state to enable receiver of a 8251a and also to avoid sending start bit to diserial on reset and get framing error * eispc_kb.cpp: removed need for scheduler abuse as problem is fixed by correcting the init of the i8251 USART on host side instead * eispc.cpp: removed an obsolete TODO
Diffstat (limited to 'src/mame/machine')
-rw-r--r--src/mame/machine/eispc_kb.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mame/machine/eispc_kb.cpp b/src/mame/machine/eispc_kb.cpp
index 09031c65bd1..1befb833bc7 100644
--- a/src/mame/machine/eispc_kb.cpp
+++ b/src/mame/machine/eispc_kb.cpp
@@ -267,23 +267,18 @@ WRITE_LINE_MEMBER(eispc_keyboard_device::hold_w)
m_hold = CLEAR_LINE == state;
}
-// TODO: Fix proper HOLD of reset line for MCU until released by hist CPU
WRITE_LINE_MEMBER(eispc_keyboard_device::rst_line_w)
{
if (state == CLEAR_LINE)
{
- //m_mcu->resume(SUSPEND_REASON_RESET);
m_mcu->set_input_line(INPUT_LINE_RESET, CLEAR_LINE);
LOGRST("KBD: Keyboard mcu reset line is cleared\n");
}
else
{
- // set_input_line suspends with a true argument which causes "Keyboard error"
- //m_mcu->suspend(SUSPEND_REASON_RESET, false); // This causes an assert later when DEBUG==1
m_mcu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
LOGRST("KBD: Keyboard mcu reset line is asserted\n");
}
-
}
//-------------------------------------------------