diff options
author | yz70s <yz70s@users.noreply.github.com> | 2021-08-03 15:11:22 +0200 |
---|---|---|
committer | yz70s <yz70s@users.noreply.github.com> | 2021-08-03 15:18:51 +0200 |
commit | e08214f60f27118ed9678b4d9004ec02846078b4 (patch) | |
tree | 7f9f0a99ada70e6c6733d241898a543db8d259da | |
parent | f6c71a1f8e719317ca35ca1ca2b5d353c704e62d (diff) |
fdc37c93x.cpp: use ns16550 instead of ns16450 for rs232 as per datasheet
-rw-r--r-- | src/devices/machine/fdc37c93x.cpp | 4 | ||||
-rw-r--r-- | src/devices/machine/fdc37c93x.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/fdc37c93x.cpp b/src/devices/machine/fdc37c93x.cpp index 2378f63be9a..8f4b4a88e2e 100644 --- a/src/devices/machine/fdc37c93x.cpp +++ b/src/devices/machine/fdc37c93x.cpp @@ -255,13 +255,13 @@ void fdc37c93x_device::device_add_mconfig(machine_config &config) pc_lpt_lptdev->irq_handler().set(FUNC(fdc37c93x_device::irq_parallel_w)); // serial ports - NS16450(config, pc_serial1_comdev, XTAL(1'843'200)); // or NS16550 ? + NS16550(config, pc_serial1_comdev, XTAL(1'843'200)); pc_serial1_comdev->out_int_callback().set(FUNC(fdc37c93x_device::irq_serial1_w)); pc_serial1_comdev->out_tx_callback().set(FUNC(fdc37c93x_device::txd_serial1_w)); pc_serial1_comdev->out_dtr_callback().set(FUNC(fdc37c93x_device::dtr_serial1_w)); pc_serial1_comdev->out_rts_callback().set(FUNC(fdc37c93x_device::rts_serial1_w)); - NS16450(config, pc_serial2_comdev, XTAL(1'843'200)); + NS16550(config, pc_serial2_comdev, XTAL(1'843'200)); pc_serial2_comdev->out_int_callback().set(FUNC(fdc37c93x_device::irq_serial2_w)); pc_serial2_comdev->out_tx_callback().set(FUNC(fdc37c93x_device::txd_serial2_w)); pc_serial2_comdev->out_dtr_callback().set(FUNC(fdc37c93x_device::dtr_serial2_w)); diff --git a/src/devices/machine/fdc37c93x.h b/src/devices/machine/fdc37c93x.h index adce3266cf9..3d771fa596e 100644 --- a/src/devices/machine/fdc37c93x.h +++ b/src/devices/machine/fdc37c93x.h @@ -150,8 +150,8 @@ private: devcb_write_line m_nrts2_callback; required_device<smc37c78_device> floppy_controller_fdcdev; required_device<pc_lpt_device> pc_lpt_lptdev; - required_device<ns16450_device> pc_serial1_comdev; - required_device<ns16450_device> pc_serial2_comdev; + required_device<ns16550_device> pc_serial1_comdev; + required_device<ns16550_device> pc_serial2_comdev; required_device<ds12885_device> ds12885_rtcdev; required_device<kbdc8042_device> m_kbdc; int sysopt_pin; |