summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers
diff options
context:
space:
mode:
author R. Belmont <rb6502@users.noreply.github.com>2013-12-25 04:18:47 +0000
committer R. Belmont <rb6502@users.noreply.github.com>2013-12-25 04:18:47 +0000
commit9c03593b09938be83736b9ee26cb5b2323e68e6b (patch)
tree290eb2fae1b2ee08c61a0dde9eba435efe3e2bae /src/mess/drivers
parentb92f94d643573565c66fb602ad5de87faa13b60a (diff)
(MESS) DEC Rainbow updates: [M. Burke, R. Belmont]
- LK201 keyboard matrix hooked up and working - LK201 serial I/O first pass (nw part) diserial is currently misframing the input bits so the LK201 doesn't get the proper commands from the Rainbow. If someone with experience in this area is bored, I won't be able to look at this again for about a week. The LK201 also needs a devcb2 hookup for the send back to the system once things are resolved.
Diffstat (limited to 'src/mess/drivers')
-rw-r--r--src/mess/drivers/rainbow.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mess/drivers/rainbow.c b/src/mess/drivers/rainbow.c
index c93ad4eff9e..f675364062b 100644
--- a/src/mess/drivers/rainbow.c
+++ b/src/mess/drivers/rainbow.c
@@ -1134,6 +1134,7 @@ void rainbow_state::update_kbd_irq()
WRITE_LINE_MEMBER(rainbow_state::kbd_tx)
{
// printf("%02x to keyboard\n", state);
+ m_lk201->rx_w(state);
}
WRITE_LINE_MEMBER(rainbow_state::kbd_rxready_w)
@@ -1277,7 +1278,7 @@ static MACHINE_CONFIG_START( rainbow, rainbow_state )
MCFG_SOFTWARE_LIST_ADD("flop_list","rainbow")
MCFG_I8251_ADD("kbdser", i8251_intf)
- MCFG_TIMER_DRIVER_ADD_PERIODIC("keyboard", rainbow_state, keyboard_tick, attotime::from_hz(4800))
+ MCFG_TIMER_DRIVER_ADD_PERIODIC("keyboard", rainbow_state, keyboard_tick, attotime::from_hz(4800*16)) // 8251 is set to /16 on the clock input
MCFG_LK201_ADD()
MCFG_NVRAM_ADD_0FILL("nvram")