summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/tiki100.c
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2014-02-15 01:29:27 +0000
committer smf- <smf-@users.noreply.github.com>2014-02-15 01:29:27 +0000
commitb37d92de7246ff7da31a235b996e89db6f8c8d22 (patch)
tree616a8439278f4ff3331b677c9b841ed71657290a /src/mess/drivers/tiki100.c
parent88bc8a4673a710bdcdd2640f39b3b33bc2b76ab0 (diff)
created src\emu\bus\rs232 & src\emu\bus\midi directories and separated rs232 and midi devices, changed h89 to use an rs232 port to communicate with the serial terminal to instead of connecting it directly. [smf]
Diffstat (limited to 'src/mess/drivers/tiki100.c')
-rw-r--r--src/mess/drivers/tiki100.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/mess/drivers/tiki100.c b/src/mess/drivers/tiki100.c
index 68e7f4f95e3..f71b01d81c2 100644
--- a/src/mess/drivers/tiki100.c
+++ b/src/mess/drivers/tiki100.c
@@ -26,6 +26,7 @@
*/
#include "includes/tiki100.h"
+#include "bus/rs232/rs232.h"
/* Memory Banking */
@@ -468,15 +469,15 @@ static Z80DART_INTERFACE( dart_intf )
{
0, 0, 0, 0,
- DEVCB_DEVICE_LINE_MEMBER(RS232_A_TAG, serial_port_device, tx),
- DEVCB_DEVICE_LINE_MEMBER(RS232_A_TAG, rs232_port_device, dtr_w),
- DEVCB_DEVICE_LINE_MEMBER(RS232_A_TAG, rs232_port_device, rts_w),
+ DEVCB_DEVICE_LINE_MEMBER(RS232_A_TAG, rs232_port_device, write_txd),
+ DEVCB_DEVICE_LINE_MEMBER(RS232_A_TAG, rs232_port_device, write_dtr),
+ DEVCB_DEVICE_LINE_MEMBER(RS232_A_TAG, rs232_port_device, write_rts),
DEVCB_NULL,
DEVCB_NULL,
- DEVCB_DEVICE_LINE_MEMBER(RS232_B_TAG, serial_port_device, tx),
- DEVCB_DEVICE_LINE_MEMBER(RS232_B_TAG, rs232_port_device, dtr_w),
- DEVCB_DEVICE_LINE_MEMBER(RS232_B_TAG, rs232_port_device, rts_w),
+ DEVCB_DEVICE_LINE_MEMBER(RS232_B_TAG, rs232_port_device, write_txd),
+ DEVCB_DEVICE_LINE_MEMBER(RS232_B_TAG, rs232_port_device, write_dtr),
+ DEVCB_DEVICE_LINE_MEMBER(RS232_B_TAG, rs232_port_device, write_rts),
DEVCB_NULL,
DEVCB_NULL,
@@ -725,10 +726,10 @@ static MACHINE_CONFIG_START( tiki100, tiki100_state )
MCFG_FLOPPY_DRIVE_ADD(FD1797_TAG":1", tiki100_floppies, "525qd", tiki100_state::floppy_formats)
MCFG_RS232_PORT_ADD(RS232_A_TAG, default_rs232_devices, NULL)
- MCFG_SERIAL_OUT_RX_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, rxa_w))
+ MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, rxa_w))
MCFG_RS232_PORT_ADD(RS232_B_TAG, default_rs232_devices, NULL)
- MCFG_SERIAL_OUT_RX_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, rxb_w))
+ MCFG_RS232_RXD_HANDLER(DEVWRITELINE(Z80DART_TAG, z80dart_device, rxb_w))
MCFG_CENTRONICS_ADD(CENTRONICS_TAG, centronics_printers, "image")
MCFG_CENTRONICS_DATA_INPUT_BUFFER("cent_data_in")