summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/dps1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/dps1.cpp')
-rw-r--r--src/mame/drivers/dps1.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/drivers/dps1.cpp b/src/mame/drivers/dps1.cpp
index 123a7ec0efa..d78efb8be14 100644
--- a/src/mame/drivers/dps1.cpp
+++ b/src/mame/drivers/dps1.cpp
@@ -17,8 +17,8 @@ ToDo:
#include "cpu/z80/z80.h"
#include "imagedev/floppy.h"
#include "machine/am9519.h"
+#include "machine/scn_pci.h"
#include "machine/upd765.h"
-#include "machine/mc2661.h"
#include "bus/rs232/rs232.h"
//#include "bus/s100/s100.h"
#include "softlist.h"
@@ -73,7 +73,7 @@ void dps1_state::io_map(address_map &map)
{
map.global_mask(0xff);
map.unmap_value_high();
- map(0x00, 0x03).rw("uart", FUNC(mc2661_device::read), FUNC(mc2661_device::write)); // S2651
+ map(0x00, 0x03).rw("uart", FUNC(scn2651_device::read), FUNC(scn2651_device::write));
map(0xb0, 0xb1).m(m_fdc, FUNC(upd765_family_device::map));
map(0xb2, 0xb3).w(FUNC(dps1_state::portb2_w)); // set dma fdc->memory
map(0xb4, 0xb5).w(FUNC(dps1_state::portb4_w)); // set dma memory->fdc
@@ -84,7 +84,7 @@ void dps1_state::io_map(address_map &map)
map(0xbe, 0xbf).w(FUNC(dps1_state::portbe_w)); // disable eprom
map(0xff, 0xff).rw(FUNC(dps1_state::portff_r), FUNC(dps1_state::portff_w));
// other allocated ports, optional
- // map(0x04, 0x07).rw("uart2", FUNC(mc2661_device::read), FUNC(mc2661_device::write)); // S2651
+ // map(0x04, 0x07).rw("uart2", FUNC(scn2651_device::read), FUNC(scn2651_device::write));
// map(0x08, 0x0b) parallel ports
// map(0x10, 0x11) // interrupt response
map(0x14, 0x14).rw("am9519a", FUNC(am9519_device::data_r), FUNC(am9519_device::data_w));
@@ -206,15 +206,15 @@ void dps1_state::dps1(machine_config &config)
m_maincpu->set_addrmap(AS_IO, &dps1_state::io_map);
/* video hardware */
- mc2661_device &uart(MC2661(config, "uart", 5.0688_MHz_XTAL)); // Signetics 2651N
+ scn2651_device &uart(SCN2651(config, "uart", 5.0688_MHz_XTAL)); // Signetics 2651N
uart.txd_handler().set("rs232", FUNC(rs232_port_device::write_txd));
uart.rts_handler().set("rs232", FUNC(rs232_port_device::write_rts));
uart.dtr_handler().set("rs232", FUNC(rs232_port_device::write_dtr));
rs232_port_device &rs232(RS232_PORT(config, "rs232", default_rs232_devices, "terminal"));
- rs232.rxd_handler().set(uart, FUNC(mc2661_device::rx_w));
- rs232.dsr_handler().set(uart, FUNC(mc2661_device::dsr_w));
- rs232.cts_handler().set(uart, FUNC(mc2661_device::cts_w));
+ rs232.rxd_handler().set(uart, FUNC(scn2651_device::rxd_w));
+ rs232.dsr_handler().set(uart, FUNC(scn2651_device::dsr_w));
+ rs232.cts_handler().set(uart, FUNC(scn2651_device::cts_w));
AM9519(config, "am9519a", 0);
AM9519(config, "am9519b", 0);