summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/ob68k1a.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2012-10-03 09:27:22 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2012-10-03 09:27:22 +0000
commite52d60b7f8ce03e5c1f8c801fd5caa234b3aa3cf (patch)
treebe8ce4af035c60e33f580cf3a983cc3c9b684c75 /src/mess/drivers/ob68k1a.c
parent92b1c4eebd358d5138fc51662daead09f4a4c72e (diff)
Replace some *_DEVICE_HANDLER with _MEMBER calls in MESS section (no whatsnew)
Diffstat (limited to 'src/mess/drivers/ob68k1a.c')
-rw-r--r--src/mess/drivers/ob68k1a.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/mess/drivers/ob68k1a.c b/src/mess/drivers/ob68k1a.c
index 8b85dd1aa6e..55256852b54 100644
--- a/src/mess/drivers/ob68k1a.c
+++ b/src/mess/drivers/ob68k1a.c
@@ -251,8 +251,16 @@ static ACIA6850_INTERFACE( acia1_intf )
// COM8116_INTERFACE( dbrg_intf )
//-------------------------------------------------
-static WRITE_LINE_DEVICE_HANDLER( rx_tx_w )
+WRITE_LINE_MEMBER(ob68k1a_state::rx_tx_0_w)
{
+ device_t *device = machine().device(MC6850_0_TAG);
+ downcast<acia6850_device *>(device)->rx_clock_in();
+ downcast<acia6850_device *>(device)->tx_clock_in();
+}
+
+WRITE_LINE_MEMBER(ob68k1a_state::rx_tx_1_w)
+{
+ device_t *device = machine().device(MC6850_1_TAG);
downcast<acia6850_device *>(device)->rx_clock_in();
downcast<acia6850_device *>(device)->tx_clock_in();
}
@@ -260,8 +268,8 @@ static WRITE_LINE_DEVICE_HANDLER( rx_tx_w )
static COM8116_INTERFACE( dbrg_intf )
{
DEVCB_NULL, /* fX/4 output */
- DEVCB_DEVICE_LINE(MC6850_0_TAG, rx_tx_w),
- DEVCB_DEVICE_LINE(MC6850_1_TAG, rx_tx_w),
+ DEVCB_DRIVER_LINE_MEMBER(ob68k1a_state,rx_tx_0_w),
+ DEVCB_DRIVER_LINE_MEMBER(ob68k1a_state,rx_tx_1_w),
{ 101376, 67584, 46080, 37686, 33792, 16896, 8448, 4224, 2816, 2534, 2112, 1408, 1056, 704, 528, 264 }, /* receiver divisor ROM */
{ 101376, 67584, 46080, 37686, 33792, 16896, 8448, 4224, 2816, 2534, 2112, 1408, 1056, 704, 528, 264 }, /* transmitter divisor ROM */
};