From 0d6fbbcc93f173f05abf878f767345d3d3ac36d3 Mon Sep 17 00:00:00 2001 From: smf- Date: Wed, 1 Jan 2014 14:25:24 +0000 Subject: [PATCH] removed oric ca1 & c2 read handlers, they were just returning what was written [smf] --- src/mess/drivers/oric.c | 2 -- src/mess/includes/oric.h | 2 -- src/mess/machine/oric.c | 10 ---------- 3 files changed, 14 deletions(-) diff --git a/src/mess/drivers/oric.c b/src/mess/drivers/oric.c index db3423891d8..3d5a4712aa1 100644 --- a/src/mess/drivers/oric.c +++ b/src/mess/drivers/oric.c @@ -409,8 +409,6 @@ static MACHINE_CONFIG_START( oric, oric_state ) MCFG_DEVICE_ADD( "via6522_0", VIA6522, 1000000 ) MCFG_VIA6522_READPA_HANDLER(READ8(oric_state, oric_via_in_a_func)) MCFG_VIA6522_READPB_HANDLER(READ8(oric_state, oric_via_in_b_func)) - MCFG_VIA6522_READCA2_HANDLER(READLINE(oric_state, oric_via_in_ca2_func)) - MCFG_VIA6522_READCB2_HANDLER(READLINE(oric_state, oric_via_in_cb2_func)) MCFG_VIA6522_WRITEPA_HANDLER(WRITE8(oric_state, oric_via_out_a_func)) MCFG_VIA6522_WRITEPB_HANDLER(WRITE8(oric_state, oric_via_out_b_func)) MCFG_VIA6522_CA2_HANDLER(WRITELINE(oric_state, oric_via_out_ca2_func)) diff --git a/src/mess/includes/oric.h b/src/mess/includes/oric.h index 972c7b54b3b..5881eabea14 100644 --- a/src/mess/includes/oric.h +++ b/src/mess/includes/oric.h @@ -136,8 +136,6 @@ public: DECLARE_READ8_MEMBER(oric_via_in_b_func); DECLARE_WRITE8_MEMBER(oric_via_out_a_func); DECLARE_WRITE8_MEMBER(oric_via_out_b_func); - DECLARE_READ_LINE_MEMBER(oric_via_in_ca2_func); - DECLARE_READ_LINE_MEMBER(oric_via_in_cb2_func); DECLARE_WRITE_LINE_MEMBER(oric_via_out_ca2_func); DECLARE_WRITE_LINE_MEMBER(oric_via_out_cb2_func); DECLARE_WRITE_LINE_MEMBER(oric_jasmin_wd179x_drq_w); diff --git a/src/mess/machine/oric.c b/src/mess/machine/oric.c index 13d7c6ddd96..26af62a9fb9 100644 --- a/src/mess/machine/oric.c +++ b/src/mess/machine/oric.c @@ -302,16 +302,6 @@ WRITE8_MEMBER(oric_state::oric_via_out_b_func) } -READ_LINE_MEMBER(oric_state::oric_via_in_ca2_func) -{ - return m_psg_control & 1; -} - -READ_LINE_MEMBER(oric_state::oric_via_in_cb2_func) -{ - return (m_psg_control>>1) & 1; -} - WRITE_LINE_MEMBER(oric_state::oric_via_out_ca2_func) { m_psg_control &=~1;