diff options
author | 2013-12-23 12:31:00 +0000 | |
---|---|---|
committer | 2013-12-23 12:31:00 +0000 | |
commit | 02e1e04274eaa3ae9d2dc706e401501d1be1c41e (patch) | |
tree | c48de62c9cc831ad8ee19ea87b040fbeed8a5898 /src/mess/drivers/ql.c | |
parent | 81383a5c52a1e2c9fea417973b6501f44ea5eb8c (diff) |
replaced read netin/dtr1/cts2 callbacks in ZX8302 with write handlers, which allows multiple chips to be connected together without using glue methods. [smf]
Diffstat (limited to 'src/mess/drivers/ql.c')
-rw-r--r-- | src/mess/drivers/ql.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mess/drivers/ql.c b/src/mess/drivers/ql.c index 59a88851140..75e86c8eddc 100644 --- a/src/mess/drivers/ql.c +++ b/src/mess/drivers/ql.c @@ -783,10 +783,7 @@ static ZX8302_INTERFACE( ql_zx8302_intf ) DEVCB_DRIVER_LINE_MEMBER(ql_state, ql_comdata_w), DEVCB_NULL, // TXD1 DEVCB_DEVICE_LINE_MEMBER(RS232_B_TAG, serial_port_device, tx), - DEVCB_NULL, // DTR1 - DEVCB_DEVICE_LINE_MEMBER(RS232_B_TAG, rs232_port_device, cts_r), DEVCB_NULL, // NETOUT - DEVCB_NULL, // NETIN DEVCB_DRIVER_LINE_MEMBER(ql_state, zx8302_mdselck_w), DEVCB_DEVICE_LINE_MEMBER(MDV_1, microdrive_image_device, comms_in_w), DEVCB_DRIVER_LINE_MEMBER(ql_state, zx8302_mdrdw_w), @@ -1008,6 +1005,7 @@ static MACHINE_CONFIG_START( ql, ql_state ) MCFG_MICRODRIVE_ADD(MDV_2, mdv2_config) MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, NULL) // wired as DCE MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, NULL) // wired as DTE + MCFG_RS232_OUT_CTS_HANDLER(DEVWRITELINE(ZX8302_TAG, zx8302_device, write_cts2)) // cartridge MCFG_CARTSLOT_ADD("cart") |