From f319b5d1e07400b4b6c82c8d511d677c1278bf5f Mon Sep 17 00:00:00 2001 From: cracyc Date: Sun, 30 Dec 2012 03:18:44 +0000 Subject: [PATCH] [mess] tandy1t.c: make 1000sx keyboard work (nw) --- src/mess/machine/tandy1t.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mess/machine/tandy1t.c b/src/mess/machine/tandy1t.c index f9dd98d7277..b2757ee165e 100644 --- a/src/mess/machine/tandy1t.c +++ b/src/mess/machine/tandy1t.c @@ -205,7 +205,8 @@ WRITE8_HANDLER ( tandy1000_pio_w ) tandy_ppi.portb = data; pit8253_gate2_w(space.machine().device("pit8253"), BIT(data, 0)); pc_speaker_set_spkrdata( space.machine(), data & 0x02 ); - pc_keyb_set_clock(data&0x40); + // sx enables keyboard from bit 3, others bit 6, hopefully theres no conflict + pc_keyb_set_clock(data&0x48); if ( data & 0x80 ) { pc_keyb_clear();